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

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

Issue 1236503002: GN: Use lib.unstripped rather than lib.stripped. Add a toolchain.gni (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn15
Patch Set: forgot to add toolchain.gni Created 5 years, 4 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
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") 5 import("//mojo/generate_mojo_shell_assets_list.gni")
6 import("//mojo/public/mojo_application.gni") 6 import("//mojo/public/mojo_application.gni")
7 import("//testing/test.gni") 7 import("//testing/test.gni")
8 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") 8 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni")
9 9
10 # We don't support building in the component build since mojo apps are 10 # We don't support building in the component build since mojo apps are
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 deps = [ 299 deps = [
300 ":bootstrap", 300 ":bootstrap",
301 ":bootstrap_java", 301 ":bootstrap_java",
302 "//components/clipboard:apptests", 302 "//components/clipboard:apptests",
303 "//components/resource_provider:apptests", 303 "//components/resource_provider:apptests",
304 "//components/view_manager:apptests", 304 "//components/view_manager:apptests",
305 "//mojo/services/network:apptests", 305 "//mojo/services/network:apptests",
306 ] 306 ]
307 307
308 sources = [ 308 sources = [
309 "$root_out_dir/lib.stripped/libbootstrap$android_product_extension",
310 "$root_out_dir/obj/mojo/runner/bootstrap_java.dex.jar", 309 "$root_out_dir/obj/mojo/runner/bootstrap_java.dex.jar",
310 "$root_shlib_dir/${shlib_prefix}bootstrap$shlib_extension",
311 ] 311 ]
312 312
313 apptest_outputs = [ 313 apptest_outputs = [
314 "clipboard", 314 "clipboard",
315 "clipboard_apptests", 315 "clipboard_apptests",
316 "resource_provider", 316 "resource_provider",
317 "resource_provider_apptests", 317 "resource_provider_apptests",
318 "view_manager_apptests", 318 "view_manager_apptests",
319 "network_service", 319 "network_service",
320 "network_service_apptests", 320 "network_service_apptests",
(...skipping 12 matching lines...) Expand all
333 ":copy_mojo_runner_apptests_assets", 333 ":copy_mojo_runner_apptests_assets",
334 ] 334 ]
335 dir = mojo_runner_apptests_assets_dir 335 dir = mojo_runner_apptests_assets_dir
336 } 336 }
337 337
338 copy("copy_mojo_runner") { 338 copy("copy_mojo_runner") {
339 sources = [ 339 sources = [
340 "$root_out_dir/exe.stripped/mojo_runner", 340 "$root_out_dir/exe.stripped/mojo_runner",
341 ] 341 ]
342 outputs = [ 342 outputs = [
343 "$root_out_dir/lib.stripped/libmojo_runner$android_product_extension", 343 "$root_shlib_dir/${shlib_prefix}mojo_runner$shlib_extension",
344 ] 344 ]
345 deps = [ 345 deps = [
346 ":mojo_runner", 346 ":mojo_runner",
347 ] 347 ]
348 } 348 }
349 349
350 copy_ex("copy_mojo_runner_test_assets") { 350 copy_ex("copy_mojo_runner_test_assets") {
351 testonly = true 351 testonly = true
352 clear_dir = true 352 clear_dir = true
353 dest = mojo_runner_test_assets_dir 353 dest = mojo_runner_test_assets_dir
354 deps = [ 354 deps = [
355 "//mojo/services/test_service:test_app", 355 "//mojo/services/test_service:test_app",
356 "//mojo/services/test_service:test_request_tracker_app", 356 "//mojo/services/test_service:test_request_tracker_app",
357 ] 357 ]
358 358
359 # Directories can't be specified as sources so pass manually to the script. 359 # Directories can't be specified as sources so pass manually to the script.
360 args = [ 360 args = [
361 "--files=" + rebase_path("$root_out_dir/test_app", root_build_dir), 361 "--files=" + rebase_path("$root_out_dir/test_app", root_build_dir),
362 "--files=" + 362 "--files=" +
363 rebase_path("$root_out_dir/test_request_tracker_app", root_build_dir), 363 rebase_path("$root_out_dir/test_request_tracker_app", root_build_dir),
364 ] 364 ]
365 } 365 }
366 366
367 android_apk("mojo_runner_apptests_apk") { 367 android_apk("mojo_runner_apptests_apk") {
368 testonly = true 368 testonly = true
369 apk_name = "MojoRunnerApptests" 369 apk_name = "MojoRunnerApptests"
370 android_manifest = "android/apk/AndroidManifest.xml" 370 android_manifest = "android/apk/AndroidManifest.xml"
371 native_libs = [ "libmojo_runner$android_product_extension" ] 371 native_libs = [ "${shlib_prefix}mojo_runner$shlib_extension" ]
372 asset_location = mojo_runner_apptests_assets_dir 372 asset_location = mojo_runner_apptests_assets_dir
373 373
374 deps = [ 374 deps = [
375 ":build_mojo_runner_apptests_assets", 375 ":build_mojo_runner_apptests_assets",
376 ":copy_mojo_runner", 376 ":copy_mojo_runner",
377 ":java", 377 ":java",
378 ":resources", 378 ":resources",
379 "//base:base_java", 379 "//base:base_java",
380 "//third_party/android_tools:google_play_services_default_resources", 380 "//third_party/android_tools:google_play_services_default_resources",
381 "//ui/platform_window/android:platform_window_java", 381 "//ui/platform_window/android:platform_window_java",
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
474 ] 474 ]
475 475
476 deps = [ 476 deps = [
477 "//base", 477 "//base",
478 "//mojo/application/public/cpp:test_support", 478 "//mojo/application/public/cpp:test_support",
479 "//mojo/runner/test:bindings", 479 "//mojo/runner/test:bindings",
480 "//mojo/services/network/public/interfaces", 480 "//mojo/services/network/public/interfaces",
481 "//third_party/mojo/src/mojo/public/cpp/bindings:callback", 481 "//third_party/mojo/src/mojo/public/cpp/bindings:callback",
482 ] 482 ]
483 } 483 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698