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 import("//mojo/public/mojo.gni") |
7 import("//mojo/public/tools/bindings/mojom.gni") | 7 import("//mojo/public/tools/bindings/mojom.gni") |
8 | 8 |
9 # We don't support building in the component build since mojo apps are | 9 # We don't support building in the component build since mojo apps are |
10 # inherently components. | 10 # inherently components. |
11 assert(!is_component_build) | 11 assert(!is_component_build) |
12 | 12 |
13 group("shell") { | 13 group("shell") { |
14 testonly = true | 14 testonly = true |
15 | 15 |
16 deps = [ | 16 deps = [ |
17 ":mojo_shell", | 17 ":mojo_shell", |
18 ":tests", | 18 ":tests", |
19 ] | 19 ] |
20 | 20 |
21 if (!is_win) { | 21 if (!is_win) { |
22 deps += [ ":mojo_launcher" ] | 22 deps += [ ":mojo_launcher" ] |
23 } | 23 } |
24 | |
25 if (is_android) { | |
26 deps += [ ":mojo_shell_apk" ] | |
27 } | |
24 } | 28 } |
25 | 29 |
26 group("tests") { | 30 group("tests") { |
27 testonly = true | 31 testonly = true |
28 deps = [ | 32 deps = [ |
29 ":external_application_unittests", | 33 ":external_application_unittests", |
30 ":mojo_shell_tests", | 34 ":mojo_shell_tests", |
31 ] | 35 ] |
32 } | 36 } |
33 | 37 |
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
235 source_set("run_android_application_function") { | 239 source_set("run_android_application_function") { |
236 sources = [ | 240 sources = [ |
237 "android/run_android_application_function.h", | 241 "android/run_android_application_function.h", |
238 ] | 242 ] |
239 } | 243 } |
240 | 244 |
241 android_library("java") { | 245 android_library("java") { |
242 java_files = [ | 246 java_files = [ |
243 "android/apk/src/org/chromium/mojo_shell_apk/AndroidHandler.java", | 247 "android/apk/src/org/chromium/mojo_shell_apk/AndroidHandler.java", |
244 "android/apk/src/org/chromium/mojo_shell_apk/FileHelper.java", | 248 "android/apk/src/org/chromium/mojo_shell_apk/FileHelper.java", |
249 "android/apk/src/org/chromium/mojo_shell_apk/LauncherService.java", | |
ppi
2014/12/08 16:03:35
Did you mean that?
| |
245 "android/apk/src/org/chromium/mojo_shell_apk/MojoMain.java", | 250 "android/apk/src/org/chromium/mojo_shell_apk/MojoMain.java", |
246 "android/apk/src/org/chromium/mojo_shell_apk/MojoShellActivity.java", | 251 "android/apk/src/org/chromium/mojo_shell_apk/MojoShellActivity.java", |
247 "android/apk/src/org/chromium/mojo_shell_apk/MojoShellApplication.java", | 252 "android/apk/src/org/chromium/mojo_shell_apk/MojoShellApplication.java", |
248 ] | 253 ] |
249 | 254 |
250 deps = [ | 255 deps = [ |
251 "//base:base_java", | 256 "//base:base_java", |
252 "//net/android:net_java", | 257 "//net/android:net_java", |
253 ] | 258 ] |
254 } | 259 } |
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
434 | 439 |
435 deps -= [ | 440 deps -= [ |
436 ":lib", | 441 ":lib", |
437 ":external_application_registrar_connection", | 442 ":external_application_registrar_connection", |
438 ":external_application_registrar_bindings", | 443 ":external_application_registrar_bindings", |
439 "//shell/domain_socket", | 444 "//shell/domain_socket", |
440 "//shell/domain_socket:tests", | 445 "//shell/domain_socket:tests", |
441 ] | 446 ] |
442 } | 447 } |
443 } | 448 } |
OLD | NEW |