OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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/ui.gni") | 5 import("//build/config/ui.gni") |
6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
7 import("//mojo/public/mojo_application.gni") | 7 import("//mojo/public/mojo_application.gni") |
8 | 8 |
9 if (is_android) { | 9 if (is_android) { |
10 import("//build/config/android/config.gni") | 10 import("//build/config/android/config.gni") |
11 import("//build/config/android/rules.gni") | 11 import("//build/config/android/rules.gni") |
12 | 12 |
13 group("view_manager") { | 13 group("view_manager") { |
14 deps = [ | 14 deps = [ |
15 ":jni_headers", | |
16 ":lib", | 15 ":lib", |
17 ":loader", | 16 ":loader", |
18 ":view_manager_java", | |
19 "native_viewport", | 17 "native_viewport", |
20 ] | 18 ] |
21 } | 19 } |
22 | 20 |
23 android_library("view_manager_java") { | |
24 java_files = [ "native_viewport/android/src/org/chromium/mojo/PlatformViewpo
rtAndroid.java" ] | |
25 | |
26 deps = [ | |
27 "//base:base_java", | |
28 ] | |
29 } | |
30 | |
31 generate_jni("jni_headers") { | |
32 sources = [ | |
33 "native_viewport/android/src/org/chromium/mojo/PlatformViewportAndroid.jav
a", | |
34 ] | |
35 | |
36 jni_package = "mojo" | |
37 } | |
38 | |
39 source_set("loader") { | 21 source_set("loader") { |
40 sources = [ | 22 sources = [ |
41 "android_loader.cc", | 23 "android_loader.cc", |
42 "android_loader.h", | 24 "android_loader.h", |
43 ] | 25 ] |
44 | 26 |
45 deps = [ | 27 deps = [ |
46 "public/interfaces", | 28 "public/interfaces", |
47 "//third_party/mojo/src/mojo/public/cpp/bindings", | 29 "//third_party/mojo/src/mojo/public/cpp/bindings", |
48 ] | 30 ] |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
222 "//base/test:test_config", | 204 "//base/test:test_config", |
223 "//components/view_manager/public/cpp", | 205 "//components/view_manager/public/cpp", |
224 "//components/view_manager/public/interfaces", | 206 "//components/view_manager/public/interfaces", |
225 "//mojo/application/public/cpp:test_support", | 207 "//mojo/application/public/cpp:test_support", |
226 "//ui/mojo/geometry:interfaces", | 208 "//ui/mojo/geometry:interfaces", |
227 "//ui/mojo/geometry:util", | 209 "//ui/mojo/geometry:util", |
228 ] | 210 ] |
229 | 211 |
230 data_deps = [ ":view_manager" ] | 212 data_deps = [ ":view_manager" ] |
231 } | 213 } |
OLD | NEW |