| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import("//build/config/android/rules.gni") | 5 import("//build/config/android/rules.gni") |
| 6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
| 7 | 7 |
| 8 assert(is_android) | 8 assert(is_android) |
| 9 | 9 |
| 10 component("android") { | 10 component("android") { |
| 11 output_name = "ui_android" | 11 output_name = "ui_android" |
| 12 sources = [ | 12 sources = [ |
| 13 "animation_utils.h", |
| 14 "edge_effect.cc", |
| 15 "edge_effect.h", |
| 16 "edge_effect_base.cc", |
| 17 "edge_effect_base.h", |
| 18 "edge_effect_l.cc", |
| 19 "edge_effect_l.h", |
| 20 "overscroll_glow.cc", |
| 21 "overscroll_glow.h", |
| 22 "overscroll_refresh.cc", |
| 23 "overscroll_refresh.h", |
| 13 "resources/resource_manager.cc", | 24 "resources/resource_manager.cc", |
| 14 "resources/resource_manager.h", | 25 "resources/resource_manager.h", |
| 15 "resources/resource_manager_impl.cc", | 26 "resources/resource_manager_impl.cc", |
| 16 "resources/resource_manager_impl.h", | 27 "resources/resource_manager_impl.h", |
| 17 "resources/ui_resource_provider.h", | 28 "resources/ui_resource_provider.h", |
| 18 "ui_android_export.h", | 29 "ui_android_export.h", |
| 19 "ui_android_jni_registrar.cc", | 30 "ui_android_jni_registrar.cc", |
| 20 "ui_android_jni_registrar.h", | 31 "ui_android_jni_registrar.h", |
| 21 "view_android.cc", | 32 "view_android.cc", |
| 22 "view_android.h", | 33 "view_android.h", |
| 23 "window_android.cc", | 34 "window_android.cc", |
| 24 "window_android.h", | 35 "window_android.h", |
| 36 "window_android_compositor.cc", |
| 25 "window_android_compositor.h", | 37 "window_android_compositor.h", |
| 26 "window_android_observer.h", | 38 "window_android_observer.h", |
| 27 ] | 39 ] |
| 28 | 40 |
| 29 defines = [ "UI_ANDROID_IMPLEMENTATION" ] | 41 defines = [ "UI_ANDROID_IMPLEMENTATION" ] |
| 30 | 42 |
| 31 deps = [ | 43 deps = [ |
| 32 "//base", | 44 "//base", |
| 33 "//cc", | 45 "//cc", |
| 34 "//skia", | 46 "//skia", |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 deps = [ | 153 deps = [ |
| 142 ":ui_java_resources", | 154 ":ui_java_resources", |
| 143 ":ui_java", | 155 ":ui_java", |
| 144 "//base:base_java", | 156 "//base:base_java", |
| 145 "//base:base_java_test_support", | 157 "//base:base_java_test_support", |
| 146 ] | 158 ] |
| 147 } | 159 } |
| 148 | 160 |
| 149 test("ui_android_unittests") { | 161 test("ui_android_unittests") { |
| 150 sources = [ | 162 sources = [ |
| 163 "overscroll_refresh_unittest.cc", |
| 151 "resources/resource_manager_impl_unittest.cc", | 164 "resources/resource_manager_impl_unittest.cc", |
| 152 "run_all_unittests.cc", | 165 "run_all_unittests.cc", |
| 153 ] | 166 ] |
| 154 deps = [ | 167 deps = [ |
| 155 ":android", | 168 ":android", |
| 156 "//base", | 169 "//base", |
| 157 "//base/test:test_support", | 170 "//base/test:test_support", |
| 158 "//cc", | 171 "//cc", |
| 159 "//cc:test_support", | 172 "//cc:test_support", |
| 160 "//skia", | 173 "//skia", |
| 161 "//testing/gmock", | 174 "//testing/gmock", |
| 162 "//testing/gtest", | 175 "//testing/gtest", |
| 163 "//ui/base", | 176 "//ui/base", |
| 164 "//ui/gfx", | 177 "//ui/gfx", |
| 165 "//ui/resources:ui_test_pak", | 178 "//ui/resources:ui_test_pak", |
| 166 ] | 179 ] |
| 167 apk_deps = [ ":ui_java" ] | 180 apk_deps = [ ":ui_java" ] |
| 168 } | 181 } |
| OLD | NEW |