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("//mojo/public/mojo.gni") |
6 | 7 |
7 group("mojo") { | 8 group("mojo") { |
8 # Meta-target, don't link into production code. | 9 # Meta-target, don't link into production code. |
9 testonly = true | 10 testonly = true |
10 declare_args() { | 11 declare_args() { |
11 mojo_use_go = false | 12 mojo_use_go = false |
12 } | 13 } |
13 deps = [ | 14 deps = [ |
14 ":tests", | 15 ":tests", |
15 "//mojo/apps/js:mojo_js_content_handler", | 16 "//mojo/apps/js:mojo_js_content_handler", |
16 "//mojo/apps/js:mojo_js_standalone", | 17 "//mojo/apps/js:mojo_js_standalone", |
17 "//mojo/common", | 18 "//mojo/common", |
18 "//mojo/examples", | 19 "//mojo/examples", |
19 "//mojo/public", | 20 "//mojo/public", |
20 "//mojo/services", | 21 "//mojo/services", |
21 "//mojo/shell:mojo_shell", | |
22 "//mojo/tools/package_manager", | 22 "//mojo/tools/package_manager", |
23 ] | 23 ] |
24 | 24 |
| 25 if (use_prebuilt_mojo_shell) { |
| 26 deps += [ "//mojo/public/tools:copy_mojo_shell" ] |
| 27 } else { |
| 28 deps += [ "//mojo/shell:mojo_shell" ] |
| 29 } |
| 30 |
25 if (is_android) { | 31 if (is_android) { |
26 deps += [ | 32 deps += [ |
27 "//mojo/android", | 33 "//mojo/android", |
28 ] | 34 ] |
29 } | 35 } |
30 | 36 |
31 if (is_linux) { | 37 if (is_linux) { |
32 deps += [ | 38 deps += [ |
33 "//mojo/python", | 39 "//mojo/python", |
34 ] | 40 ] |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 sources = [ | 84 sources = [ |
79 "android/javatests/src/org/chromium/mojo/MojoTestCase.java", | 85 "android/javatests/src/org/chromium/mojo/MojoTestCase.java", |
80 "android/javatests/src/org/chromium/mojo/bindings/ValidationTestUtil.java"
, | 86 "android/javatests/src/org/chromium/mojo/bindings/ValidationTestUtil.java"
, |
81 "android/system/src/org/chromium/mojo/system/impl/CoreImpl.java", | 87 "android/system/src/org/chromium/mojo/system/impl/CoreImpl.java", |
82 "services/native_viewport/android/src/org/chromium/mojo/PlatformViewportAn
droid.java", | 88 "services/native_viewport/android/src/org/chromium/mojo/PlatformViewportAn
droid.java", |
83 ] | 89 ] |
84 | 90 |
85 jni_package = "mojo" | 91 jni_package = "mojo" |
86 } | 92 } |
87 } | 93 } |
OLD | NEW |