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

Side by Side Diff: mojo/runner/BUILD.gn

Issue 1492963004: GN: asset_location -> android_assets() for mandoline_apk (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@build_config_java_binary
Patch Set: Created 5 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 | « mojo/generate_mojo_shell_assets_list.gni ('k') | mojo/runner/host/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 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("//mojo/generate_mojo_shell_assets_list.gni")
6 import("//mojo/public/mojo_application.gni") 5 import("//mojo/public/mojo_application.gni")
7 import("//mojo/public/tools/bindings/mojom.gni") 6 import("//mojo/public/tools/bindings/mojom.gni")
8 import("//testing/test.gni") 7 import("//testing/test.gni")
9 8
10 group("runner") { 9 group("runner") {
11 testonly = true 10 testonly = true
12 11
13 deps = [ 12 deps = [
14 ":mojo_runner", 13 ":mojo_runner",
15 "//mojo/runner/child", 14 "//mojo/runner/child",
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 ":resources", 260 ":resources",
262 "//base:base_java", 261 "//base:base_java",
263 ] 262 ]
264 } 263 }
265 264
266 android_resources("resources") { 265 android_resources("resources") {
267 resource_dirs = [ "android/apk/res" ] 266 resource_dirs = [ "android/apk/res" ]
268 custom_package = "org.chromium.mojo.shell" 267 custom_package = "org.chromium.mojo.shell"
269 } 268 }
270 269
270 android_assets("android_assets") {
271 deps = [
272 ":bootstrap",
273 ":bootstrap_java",
274 ]
275 sources = [
276 "$root_out_dir/obj/mojo/runner/bootstrap_java.dex.jar",
277 "$root_shlib_dir/${shlib_prefix}bootstrap$shlib_extension",
278 ]
279 }
280
271 android_assets("mojo_runner_apptests_assets") { 281 android_assets("mojo_runner_apptests_assets") {
272 testonly = true 282 testonly = true
273
274 deps = [ 283 deps = [
275 ":bootstrap", 284 ":android_assets",
276 ":bootstrap_java",
277 "//components/clipboard:apptests_assets", 285 "//components/clipboard:apptests_assets",
278 "//components/clipboard:clipboard_assets", 286 "//components/clipboard:clipboard_assets",
279 "//components/mus/ws:apptests_assets", 287 "//components/mus/ws:apptests_assets",
280 "//components/resource_provider:apptests_assets", 288 "//components/resource_provider:apptests_assets",
281 "//components/resource_provider:resource_provider_assets", 289 "//components/resource_provider:resource_provider_assets",
282 "//mojo/services/network:apptests_assets", 290 "//mojo/services/network:apptests_assets",
283 "//mojo/services/network:network_assets", 291 "//mojo/services/network:network_assets",
284 "//third_party/icu:icu_assets", 292 "//third_party/icu:icu_assets",
285 ] 293 ]
286
287 sources = [
288 "$root_out_dir/obj/mojo/runner/bootstrap_java.dex.jar",
289 "$root_shlib_dir/${shlib_prefix}bootstrap$shlib_extension",
290 ]
291 } 294 }
292 295
293 copy("copy_mojo_runner") { 296 copy("copy_mojo_runner") {
294 sources = [ 297 sources = [
295 "$root_out_dir/mojo_runner", 298 "$root_out_dir/mojo_runner",
296 ] 299 ]
297 outputs = [ 300 outputs = [
298 "$root_shlib_dir/${shlib_prefix}mojo_runner$shlib_extension", 301 "$root_shlib_dir/${shlib_prefix}mojo_runner$shlib_extension",
299 ] 302 ]
300 deps = [ 303 deps = [
(...skipping 12 matching lines...) Expand all
313 ":copy_mojo_runner", 316 ":copy_mojo_runner",
314 ":java", 317 ":java",
315 ":mojo_runner_apptests_assets", 318 ":mojo_runner_apptests_assets",
316 ":resources", 319 ":resources",
317 "//base:base_java", 320 "//base:base_java",
318 "//ui/platform_window/android:platform_window_java", 321 "//ui/platform_window/android:platform_window_java",
319 google_play_services_resources, 322 google_play_services_resources,
320 ] 323 ]
321 } 324 }
322 } 325 }
OLDNEW
« no previous file with comments | « mojo/generate_mojo_shell_assets_list.gni ('k') | mojo/runner/host/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698