OLD | NEW |
| 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 |
| 3 # found in the LICENSE file. |
| 4 |
1 import("//build/config/android/rules.gni") | 5 import("//build/config/android/rules.gni") |
2 | 6 |
3 assert(is_android) | 7 assert(is_android) |
4 | 8 |
5 component("android") { | 9 component("android") { |
6 output_name = "ui_android" | 10 output_name = "ui_android" |
7 sources = [ | 11 sources = [ |
8 "resources/resource_manager.cc", | 12 "resources/resource_manager.cc", |
9 "resources/resource_manager.h", | 13 "resources/resource_manager.h", |
10 "resources/resource_manager_impl.cc", | 14 "resources/resource_manager_impl.cc", |
11 "resources/resource_manager_impl.h", | 15 "resources/resource_manager_impl.h", |
12 "resources/ui_resource_android.cc", | 16 "resources/ui_resource_android.cc", |
13 "resources/ui_resource_android.h", | 17 "resources/ui_resource_android.h", |
14 "resources/ui_resource_client_android.h", | 18 "resources/ui_resource_client_android.h", |
15 "resources/ui_resource_provider.cc", | 19 "resources/ui_resource_provider.cc", |
16 "resources/ui_resource_provider.h", | 20 "resources/ui_resource_provider.h", |
17 "ui_android_export.h", | 21 "ui_android_export.h", |
18 "ui_android_jni_registrar.cc", | 22 "ui_android_jni_registrar.cc", |
19 "ui_android_jni_registrar.h", | 23 "ui_android_jni_registrar.h", |
20 ] | 24 ] |
21 | 25 |
22 defines = [ "UI_ANDROID_IMPLEMENTATION" ] | 26 defines = [ "UI_ANDROID_IMPLEMENTATION" ] |
23 | 27 |
24 deps = [ | 28 deps = [ |
| 29 "//base", |
25 "//cc", | 30 "//cc", |
26 "//skia", | 31 "//skia", |
27 "//ui/gfx", | 32 "//ui/gfx", |
28 "//ui/gfx/geometry", | 33 "//ui/gfx/geometry", |
29 ":ui_android_jni_headers", | 34 ":ui_android_jni_headers", |
30 ] | 35 ] |
31 } | 36 } |
32 | 37 |
33 generate_jni("ui_android_jni_headers") { | 38 generate_jni("ui_android_jni_headers") { |
34 sources = [ | 39 sources = [ |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 ] | 161 ] |
157 } | 162 } |
158 | 163 |
159 unittest_apk("ui_android_unittests_apk") { | 164 unittest_apk("ui_android_unittests_apk") { |
160 deps = [ | 165 deps = [ |
161 ":ui_android_unittests", | 166 ":ui_android_unittests", |
162 ":ui_java", | 167 ":ui_java", |
163 ] | 168 ] |
164 unittests_dep = ":ui_android_unittests" | 169 unittests_dep = ":ui_android_unittests" |
165 } | 170 } |
OLD | NEW |