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

Side by Side Diff: shell/BUILD.gn

Issue 1509323002: Mojom updates for Motown. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: sync Created 4 years, 11 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 | « services/media/common/media_pipe_base.cc ('k') | 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/mojo_application.gni") 7 import("//mojo/public/mojo_application.gni")
8 import("//mojo/public/tools/bindings/mojom.gni") 8 import("//mojo/public/tools/bindings/mojom.gni")
9 import("//mojo/tools/embed/rules.gni") 9 import("//mojo/tools/embed/rules.gni")
10 import("//testing/test.gni") 10 import("//testing/test.gni")
11 11
12 # We don't support building in the component build since mojo apps are 12 # We don't support building in the component build since mojo apps are
13 # inherently components. 13 # inherently components.
14 assert(!is_component_build) 14 assert(!is_component_build)
15 15
16 group("shell") { 16 group("shell") {
17 testonly = true 17 testonly = true
18 18
19 deps = [ 19 deps = [
20 ":copy_symbols",
20 ":mojo_shell", 21 ":mojo_shell",
21 ":tests", 22 ":tests",
22 ":copy_symbols",
23 ] 23 ]
24 24
25 if (is_android) { 25 if (is_android) {
26 deps += [ 26 deps += [
27 ":mojo_shell_apk", 27 ":mojo_shell_apk",
28 ":mojo_shell_tests_apk", 28 ":mojo_shell_tests_apk",
29 ] 29 ]
30 } 30 }
31 } 31 }
32 32
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 "tracer.h", 193 "tracer.h",
194 "url_resolver.cc", 194 "url_resolver.cc",
195 "url_resolver.h", 195 "url_resolver.h",
196 "url_response_disk_cache_loader.cc", 196 "url_response_disk_cache_loader.cc",
197 "url_response_disk_cache_loader.h", 197 "url_response_disk_cache_loader.h",
198 ] 198 ]
199 199
200 deps = [ 200 deps = [
201 ":child_controller_bindings", 201 ":child_controller_bindings",
202 "//base", 202 "//base",
203 "//base:base_static",
203 "//base/third_party/dynamic_annotations", 204 "//base/third_party/dynamic_annotations",
204 "//base:base_static",
205 "//mojo/application", 205 "//mojo/application",
206 "//mojo/common", 206 "//mojo/common",
207 "//mojo/common:tracing_impl", 207 "//mojo/common:tracing_impl",
208 "//mojo/data_pipe_utils", 208 "//mojo/data_pipe_utils",
209 "//mojo/edk/base_edk", 209 "//mojo/edk/base_edk",
210 "//mojo/edk/system", 210 "//mojo/edk/system",
211 "//mojo/public/cpp/bindings", 211 "//mojo/public/cpp/bindings",
212 "//mojo/public/interfaces/application", 212 "//mojo/public/interfaces/application",
213 "//mojo/services/media/audio/interfaces",
214 "//mojo/services/media/common/interfaces",
215 "//mojo/services/media/control/interfaces",
213 "//mojo/services/network/interfaces", 216 "//mojo/services/network/interfaces",
214 "//mojo/services/tracing/interfaces", 217 "//mojo/services/tracing/interfaces",
215 "//services/url_response_disk_cache", 218 "//services/url_response_disk_cache",
216 "//shell/application_manager", 219 "//shell/application_manager",
217 "//url", 220 "//url",
218 ] 221 ]
219 222
220 public_deps = [ 223 public_deps = [
221 ":common_lib", 224 ":common_lib",
222 ] 225 ]
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
409 copy_ex("copy_mojo_shell_assets") { 412 copy_ex("copy_mojo_shell_assets") {
410 clear_dir = true 413 clear_dir = true
411 dest = mojo_shell_assets_dir 414 dest = mojo_shell_assets_dir
412 sources = [ 415 sources = [
413 "$root_out_dir/exe.stripped/mojo_shell_child", 416 "$root_out_dir/exe.stripped/mojo_shell_child",
414 "$root_out_dir/lib.stripped/libbootstrap.so", 417 "$root_out_dir/lib.stripped/libbootstrap.so",
415 "$root_out_dir/network_service.mojo", 418 "$root_out_dir/network_service.mojo",
416 "$root_out_dir/obj/shell/bootstrap_java.dex.jar", 419 "$root_out_dir/obj/shell/bootstrap_java.dex.jar",
417 ] 420 ]
418 deps = [ 421 deps = [
419 ":mojo_shell_child",
420 ":bootstrap", 422 ":bootstrap",
421 ":bootstrap_java", 423 ":bootstrap_java",
424 ":mojo_shell_child",
422 "//mojo/public/tools:copy_network_service", 425 "//mojo/public/tools:copy_network_service",
423 ] 426 ]
424 427
425 if (!is_debug) { 428 if (!is_debug) {
426 sources += [ 429 sources += [
427 "$root_out_dir/authenticating_url_loader_interceptor.mojo", 430 "$root_out_dir/authenticating_url_loader_interceptor.mojo",
428 "$root_out_dir/dart_content_handler.mojo", 431 "$root_out_dir/dart_content_handler.mojo",
429 "$root_out_dir/device_info.mojo", 432 "$root_out_dir/device_info.mojo",
430 "$root_out_dir/icu_data.mojo", 433 "$root_out_dir/icu_data.mojo",
431 "$root_out_dir/java_handler.mojo", 434 "$root_out_dir/java_handler.mojo",
432 "$root_out_dir/kiosk_wm.mojo", 435 "$root_out_dir/kiosk_wm.mojo",
433 "$root_out_dir/surfaces_service.mojo", 436 "$root_out_dir/surfaces_service.mojo",
434 "$root_out_dir/tracing.mojo", 437 "$root_out_dir/tracing.mojo",
435 "$root_out_dir/view_manager.mojo", 438 "$root_out_dir/view_manager.mojo",
436 ] 439 ]
437 440
438 deps += [ 441 deps += [
439 "//services/authenticating_url_loader_interceptor", 442 "//services/authenticating_url_loader_interceptor",
440 "//services/java_handler",
441 "//services/dart:dart_content_handler", 443 "//services/dart:dart_content_handler",
442 "//services/device_info", 444 "//services/device_info",
443 "//services/icu_data", 445 "//services/icu_data",
446 "//services/java_handler",
444 "//services/kiosk_wm", 447 "//services/kiosk_wm",
445 "//services/surfaces", 448 "//services/surfaces",
446 "//services/tracing", 449 "//services/tracing",
447 "//services/view_manager", 450 "//services/view_manager",
448 ] 451 ]
449 } 452 }
450 } 453 }
451 454
452 copy_ex("copy_mojo_shell_test_assets") { 455 copy_ex("copy_mojo_shell_test_assets") {
453 clear_dir = true 456 clear_dir = true
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
582 "shell_test_base.h", 585 "shell_test_base.h",
583 "shell_test_base_android.cc", 586 "shell_test_base_android.cc",
584 "shell_test_base_unittest.cc", 587 "shell_test_base_unittest.cc",
585 "shell_test_main.cc", 588 "shell_test_main.cc",
586 "url_resolver_unittest.cc", 589 "url_resolver_unittest.cc",
587 ] 590 ]
588 591
589 deps = [ 592 deps = [
590 ":parent_lib", 593 ":parent_lib",
591 "//base", 594 "//base",
595 "//base:i18n",
592 "//base/test:test_support", 596 "//base/test:test_support",
593 "//base:i18n",
594 "//mojo/common", 597 "//mojo/common",
595 "//mojo/edk/system", 598 "//mojo/edk/system",
596 "//mojo/environment:chromium", 599 "//mojo/environment:chromium",
597 "//mojo/message_pump", 600 "//mojo/message_pump",
598 "//mojo/public/cpp/bindings", 601 "//mojo/public/cpp/bindings",
599 "//services/test_service:bindings", 602 "//services/test_service:bindings",
600 "//shell/application_manager", 603 "//shell/application_manager",
601 "//testing/gtest", 604 "//testing/gtest",
602 "//url", 605 "//url",
603 ] 606 ]
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
648 mojo_native_application("apptests") { 651 mojo_native_application("apptests") {
649 output_name = "shell_apptests" 652 output_name = "shell_apptests"
650 653
651 testonly = true 654 testonly = true
652 655
653 sources = [ 656 sources = [
654 "shell_apptest.cc", 657 "shell_apptest.cc",
655 ] 658 ]
656 659
657 deps = [ 660 deps = [
661 ":embed_pingable",
658 "//base", 662 "//base",
659 "//mojo/application", 663 "//mojo/application",
660 "//mojo/application:test_support", 664 "//mojo/application:test_support",
661 "//mojo/data_pipe_utils", 665 "//mojo/data_pipe_utils",
662 "//mojo/public/cpp/bindings:callback", 666 "//mojo/public/cpp/bindings:callback",
663 "//mojo/public/cpp/environment", 667 "//mojo/public/cpp/environment",
664 "//mojo/public/cpp/system:system", 668 "//mojo/public/cpp/system:system",
665 "//mojo/public/interfaces/application", 669 "//mojo/public/interfaces/application",
666 "//mojo/services/http_server/cpp", 670 "//mojo/services/http_server/cpp",
667 "//mojo/services/http_server/interfaces", 671 "//mojo/services/http_server/interfaces",
668 "//mojo/services/network/interfaces", 672 "//mojo/services/network/interfaces",
669 "//shell/test:bindings", 673 "//shell/test:bindings",
670 ":embed_pingable",
671 ] 674 ]
672 675
673 data_deps = [ 676 data_deps = [
674 "//services/http_server:http_server($default_toolchain)", 677 "//services/http_server:http_server($default_toolchain)",
675 ] 678 ]
676 } 679 }
677 680
678 mojo_native_application("shell_nfc_apptests") { 681 mojo_native_application("shell_nfc_apptests") {
679 output_name = "shell_nfc_apptests" 682 output_name = "shell_nfc_apptests"
680 683
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
717 "${root_out_dir}/libmojo_shell.so", 720 "${root_out_dir}/libmojo_shell.so",
718 ] 721 ]
719 } else { 722 } else {
720 sources += [ "${root_out_dir}/mojo_shell" ] 723 sources += [ "${root_out_dir}/mojo_shell" ]
721 } 724 }
722 725
723 outputs = [ 726 outputs = [
724 "${root_out_dir}/symbols/{{source_file_part}}", 727 "${root_out_dir}/symbols/{{source_file_part}}",
725 ] 728 ]
726 } 729 }
OLDNEW
« no previous file with comments | « services/media/common/media_pipe_base.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698