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", |
15 ":lib", | 16 ":lib", |
16 ":loader", | 17 ":loader", |
| 18 ":view_manager_java", |
17 "native_viewport", | 19 "native_viewport", |
18 ] | 20 ] |
19 } | 21 } |
20 | 22 |
| 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 |
21 source_set("loader") { | 39 source_set("loader") { |
22 sources = [ | 40 sources = [ |
23 "android_loader.cc", | 41 "android_loader.cc", |
24 "android_loader.h", | 42 "android_loader.h", |
25 ] | 43 ] |
26 | 44 |
27 deps = [ | 45 deps = [ |
28 "public/interfaces", | 46 "public/interfaces", |
29 "//third_party/mojo/src/mojo/public/cpp/bindings", | 47 "//third_party/mojo/src/mojo/public/cpp/bindings", |
30 ] | 48 ] |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
204 "//base/test:test_config", | 222 "//base/test:test_config", |
205 "//components/view_manager/public/cpp", | 223 "//components/view_manager/public/cpp", |
206 "//components/view_manager/public/interfaces", | 224 "//components/view_manager/public/interfaces", |
207 "//mojo/application/public/cpp:test_support", | 225 "//mojo/application/public/cpp:test_support", |
208 "//ui/mojo/geometry:interfaces", | 226 "//ui/mojo/geometry:interfaces", |
209 "//ui/mojo/geometry:util", | 227 "//ui/mojo/geometry:util", |
210 ] | 228 ] |
211 | 229 |
212 data_deps = [ ":view_manager" ] | 230 data_deps = [ ":view_manager" ] |
213 } | 231 } |
OLD | NEW |