OLD | NEW |
1 import("//build/config/android/rules.gni") | 1 import("//build/config/android/rules.gni") |
2 | 2 |
3 assert(is_android) | 3 assert(is_android) |
4 | 4 |
5 component("android") { | 5 component("android") { |
6 output_name = "ui_android" | 6 output_name = "ui_android" |
7 sources = [ | 7 sources = [ |
8 "resources/resource_manager.cc", | 8 "resources/resource_manager.cc", |
9 "resources/resource_manager.h", | 9 "resources/resource_manager.h", |
10 "resources/ui_resource_android.cc", | 10 "resources/ui_resource_android.cc", |
11 "resources/ui_resource_android.h", | 11 "resources/ui_resource_android.h", |
| 12 "resources/ui_resource_client_android.h", |
| 13 "resources/ui_resource_provider.cc", |
| 14 "resources/ui_resource_provider.h", |
12 "ui_android_export.h", | 15 "ui_android_export.h", |
13 "ui_android_jni_registrar.cc", | 16 "ui_android_jni_registrar.cc", |
14 "ui_android_jni_registrar.h", | 17 "ui_android_jni_registrar.h", |
15 ] | 18 ] |
16 | 19 |
17 defines = [ "UI_ANDROID_IMPLEMENTATION" ] | 20 defines = [ "UI_ANDROID_IMPLEMENTATION" ] |
18 | 21 |
19 deps = [ | 22 deps = [ |
20 "//cc", | 23 "//cc", |
21 "//skia", | 24 "//skia", |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 android_library("ui_javatests") { | 127 android_library("ui_javatests") { |
125 DEPRECATED_java_in_dir = "javatests/src" | 128 DEPRECATED_java_in_dir = "javatests/src" |
126 testonly = true | 129 testonly = true |
127 deps = [ | 130 deps = [ |
128 ":ui_java_resources", | 131 ":ui_java_resources", |
129 ":ui_java", | 132 ":ui_java", |
130 "//base:base_java", | 133 "//base:base_java", |
131 "//base:base_java_test_support", | 134 "//base:base_java_test_support", |
132 ] | 135 ] |
133 } | 136 } |
| 137 |
| 138 test("ui_android_unittests") { |
| 139 sources = [ |
| 140 "resources/resource_manager_unittest.cc", |
| 141 "run_all_unittests.cc", |
| 142 ] |
| 143 deps = [ |
| 144 ":android", |
| 145 "//base", |
| 146 "//base/test:test_support", |
| 147 "//cc", |
| 148 "//skia", |
| 149 "//testing/android:native_test_native_code", |
| 150 "//testing/gtest", |
| 151 "//ui/base", |
| 152 "//ui/gfx", |
| 153 "//ui/resources:ui_test_pak", |
| 154 ] |
| 155 } |
| 156 |
| 157 unittest_apk("ui_android_unittests_apk") { |
| 158 deps = [ |
| 159 ":ui_android_unittests", |
| 160 ":ui_java", |
| 161 ] |
| 162 unittests_dep = ":ui_android_unittests" |
| 163 } |
OLD | NEW |