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

Side by Side Diff: mandoline/app/android/BUILD.gn

Issue 1186683008: Revert of Build Mojo apps in subdirectories, like application packages. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 months 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 | « components/resource_provider/BUILD.gn ('k') | mandoline/ui/browser/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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 assert(is_android) 5 assert(is_android)
6 6
7 import("//build/config/android/config.gni") 7 import("//build/config/android/config.gni")
8 import("//build/config/android/rules.gni") 8 import("//build/config/android/rules.gni")
9 import("//mojo/generate_mojo_shell_assets_list.gni") 9 import("//mojo/generate_mojo_shell_assets_list.gni")
10 10
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 "$root_out_dir/lib.stripped/libmandoline_runner.so", 47 "$root_out_dir/lib.stripped/libmandoline_runner.so",
48 ] 48 ]
49 } 49 }
50 50
51 copy_ex("copy_mandoline_assets") { 51 copy_ex("copy_mandoline_assets") {
52 clear_dir = true 52 clear_dir = true
53 dest = mandoline_assets_dir 53 dest = mandoline_assets_dir
54 deps = [ 54 deps = [
55 "//components/devtools_service", 55 "//components/devtools_service",
56 "//components/html_viewer", 56 "//components/html_viewer",
57 "//components/view_manager",
58 "//components/view_manager/surfaces",
57 "//mandoline/services/core_services", 59 "//mandoline/services/core_services",
58 "//mojo/runner:bootstrap", 60 "//mojo/runner:bootstrap",
59 "//mojo/runner:bootstrap_java", 61 "//mojo/runner:bootstrap_java",
62 "//mojo/services/network",
60 ] 63 ]
61 sources = [ 64 sources = [
65 "$root_out_dir/core_services.mojo",
66 "$root_out_dir/devtools_service.mojo",
62 "$root_out_dir/lib.stripped/libbootstrap.so", 67 "$root_out_dir/lib.stripped/libbootstrap.so",
68 "$root_out_dir/network_service.mojo",
63 "$root_out_dir/obj/mojo/runner/bootstrap_java.dex.jar", 69 "$root_out_dir/obj/mojo/runner/bootstrap_java.dex.jar",
70 "$root_out_dir/surfaces_service.mojo",
64 ] 71 ]
65 72
66 # Directories can't be specified as sources so pass manually to the script. 73 # Directories can't be specified as sources so pass manually to the script.
67 args = [ 74 args =
68 "--files=" + rebase_path("$root_out_dir/core_services", root_build_dir), 75 [ "--files=" + rebase_path("$root_out_dir/html_viewer", root_build_dir) ]
69 "--files=" + rebase_path("$root_out_dir/devtools_service", root_build_dir),
70 "--files=" + rebase_path("$root_out_dir/html_viewer", root_build_dir),
71 ]
72 76
73 if (use_aura) { 77 if (use_aura) {
74 deps += [ 78 deps += [
75 "//mandoline/ui/browser", 79 "//mandoline/ui/browser",
76 "//mandoline/ui/omnibox", 80 "//mandoline/ui/omnibox",
77 ] 81 ]
78 82
79 args += [ 83 args +=
80 "--files=" + rebase_path("$root_out_dir/browser", root_build_dir), 84 [ "--files=" + rebase_path("$root_out_dir/browser", root_build_dir) ] +
81 "--files=" + rebase_path("$root_out_dir/omnibox", root_build_dir), 85 [ "--files=" + rebase_path("$root_out_dir/omnibox", root_build_dir) ]
82 ]
83 } 86 }
84 } 87 }
85 88
86 generate_mojo_shell_assets_list("build_mandoline_assets") { 89 generate_mojo_shell_assets_list("build_mandoline_assets") {
87 deps = [ 90 deps = [
88 ":copy_mandoline_assets", 91 ":copy_mandoline_assets",
89 ] 92 ]
90 dir = mandoline_assets_dir 93 dir = mandoline_assets_dir
91 } 94 }
92 95
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 ":copy_mandoline_runner", 128 ":copy_mandoline_runner",
126 ":java", 129 ":java",
127 ":mandoline_apk_resources", 130 ":mandoline_apk_resources",
128 "//mojo/runner:java", 131 "//mojo/runner:java",
129 "//mojo/runner:resources", 132 "//mojo/runner:resources",
130 "//base:base_java", 133 "//base:base_java",
131 "//third_party/android_tools:google_play_services_default_resources", 134 "//third_party/android_tools:google_play_services_default_resources",
132 "//ui/platform_window/android:platform_window_java", 135 "//ui/platform_window/android:platform_window_java",
133 ] 136 ]
134 } 137 }
OLDNEW
« no previous file with comments | « components/resource_provider/BUILD.gn ('k') | mandoline/ui/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698