Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(50)

Side by Side Diff: shell/BUILD.gn

Issue 783893004: Adding the MojoShell apk in the default targets on android (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698