OLD | NEW |
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/features.gni") | 5 import("//build/config/features.gni") |
6 import("//build/config/sanitizers/sanitizers.gni") | 6 import("//build/config/sanitizers/sanitizers.gni") |
7 import("//build/config/ui.gni") | 7 import("//build/config/ui.gni") |
8 import("//build/config/win/console_app.gni") | 8 import("//build/config/win/console_app.gni") |
9 import("//build/config/win/manifest.gni") | 9 import("//build/config/win/manifest.gni") |
10 import("//media/media_options.gni") | 10 import("//media/media_options.gni") |
(...skipping 470 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
481 } | 481 } |
482 mac_app_bundle("content_shell") { | 482 mac_app_bundle("content_shell") { |
483 testonly = true | 483 testonly = true |
484 output_name = content_shell_product_name | 484 output_name = content_shell_product_name |
485 sources = [ | 485 sources = [ |
486 "app/shell_main.cc", | 486 "app/shell_main.cc", |
487 ] | 487 ] |
488 deps = [ | 488 deps = [ |
489 ":content_shell_framework_bundle_data", | 489 ":content_shell_framework_bundle_data", |
490 ":content_shell_resources_bundle_data", | 490 ":content_shell_resources_bundle_data", |
491 "//build/config/sanitizers:deps", | 491 "//build/config:exe_and_shlib_deps", |
492 | 492 |
493 # TODO(rsesek): Remove this after GYP is gone, since it only needs to | 493 # TODO(rsesek): Remove this after GYP is gone, since it only needs to |
494 # be here per the comment in blink_test_platform_support_mac.mm about | 494 # be here per the comment in blink_test_platform_support_mac.mm about |
495 # the bundle structure. | 495 # the bundle structure. |
496 "//content/shell/test_runner:resources", | 496 "//content/shell/test_runner:resources", |
497 ] | 497 ] |
498 ldflags = [ | 498 ldflags = [ |
499 # The main app is at Content Shell.app/Contents/MacOS/Content Shell | 499 # The main app is at Content Shell.app/Contents/MacOS/Content Shell |
500 # so set the rpath up to Contents/ so that the loader can find | 500 # so set the rpath up to Contents/ so that the loader can find |
501 # Framworks/. | 501 # Framworks/. |
(...skipping 12 matching lines...) Expand all Loading... |
514 | 514 |
515 if (is_win) { | 515 if (is_win) { |
516 sources += [ "app/shell.rc" ] | 516 sources += [ "app/shell.rc" ] |
517 } | 517 } |
518 | 518 |
519 defines = [] | 519 defines = [] |
520 | 520 |
521 deps = [ | 521 deps = [ |
522 ":content_shell_lib", | 522 ":content_shell_lib", |
523 ":pak", | 523 ":pak", |
524 "//build/config/sanitizers:deps", | 524 "//build/config:exe_and_shlib_deps", |
525 "//build/win:default_exe_manifest", | 525 "//build/win:default_exe_manifest", |
526 ] | 526 ] |
527 | 527 |
528 data_deps = [ | 528 data_deps = [ |
529 ":pak", | 529 ":pak", |
530 ] | 530 ] |
531 | 531 |
532 if (is_win) { | 532 if (is_win) { |
533 deps += [ "//sandbox" ] | 533 deps += [ "//sandbox" ] |
534 | 534 |
(...skipping 18 matching lines...) Expand all Loading... |
553 } | 553 } |
554 | 554 |
555 if (is_win) { | 555 if (is_win) { |
556 executable("content_shell_crash_service") { | 556 executable("content_shell_crash_service") { |
557 sources = [ | 557 sources = [ |
558 "tools/content_shell_crash_service.cc", | 558 "tools/content_shell_crash_service.cc", |
559 ] | 559 ] |
560 | 560 |
561 deps = [ | 561 deps = [ |
562 "//base", | 562 "//base", |
563 "//build/config/sanitizers:deps", | 563 "//build/config:exe_and_shlib_deps", |
564 "//build/win:default_exe_manifest", | 564 "//build/win:default_exe_manifest", |
565 "//components/crash/content/tools:crash_service", | 565 "//components/crash/content/tools:crash_service", |
566 ] | 566 ] |
567 | 567 |
568 configs -= [ "//build/config/win:console" ] | 568 configs -= [ "//build/config/win:console" ] |
569 configs += [ "//build/config/win:windowed" ] | 569 configs += [ "//build/config/win:windowed" ] |
570 } | 570 } |
571 | 571 |
572 if (is_syzyasan) { | 572 if (is_syzyasan) { |
573 syzygy_asan("content_shell_syzyasan") { | 573 syzygy_asan("content_shell_syzyasan") { |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
719 } | 719 } |
720 | 720 |
721 mac_app_bundle("content_shell_helper_app") { | 721 mac_app_bundle("content_shell_helper_app") { |
722 testonly = true | 722 testonly = true |
723 output_name = content_shell_helper_name | 723 output_name = content_shell_helper_name |
724 sources = [ | 724 sources = [ |
725 "app/shell_main.cc", | 725 "app/shell_main.cc", |
726 ] | 726 ] |
727 deps = [ | 727 deps = [ |
728 ":content_shell_framework+link", | 728 ":content_shell_framework+link", |
729 "//build/config/sanitizers:deps", | 729 "//build/config:exe_and_shlib_deps", |
730 ] | 730 ] |
731 ldflags = [ | 731 ldflags = [ |
732 # The helper is in Content Shell.app/Contents/Frameworks/Content Shell Hel
per.app/Contents/MacOS/ | 732 # The helper is in Content Shell.app/Contents/Frameworks/Content Shell Hel
per.app/Contents/MacOS/ |
733 # so set rpath up to Contents/ so that the loader can find Frameworks/. | 733 # so set rpath up to Contents/ so that the loader can find Frameworks/. |
734 "-rpath", | 734 "-rpath", |
735 "@executable_path/../../../..", | 735 "@executable_path/../../../..", |
736 ] | 736 ] |
737 info_plist_target = ":content_shell_helper_plist" | 737 info_plist_target = ":content_shell_helper_plist" |
738 } | 738 } |
739 | 739 |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
809 data_deps += [ | 809 data_deps += [ |
810 "//breakpad:dump_syms", | 810 "//breakpad:dump_syms", |
811 "//breakpad:microdump_stackwalk", | 811 "//breakpad:microdump_stackwalk", |
812 "//breakpad:minidump_dump", | 812 "//breakpad:minidump_dump", |
813 "//breakpad:minidump_stackwalk", | 813 "//breakpad:minidump_stackwalk", |
814 "//breakpad:symupload", | 814 "//breakpad:symupload", |
815 "//tools/android/forwarder2", | 815 "//tools/android/forwarder2", |
816 ] | 816 ] |
817 } | 817 } |
818 } | 818 } |
OLD | NEW |