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 632 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
643 | 643 |
644 mac_app_bundle("content_shell_helper_app") { | 644 mac_app_bundle("content_shell_helper_app") { |
645 testonly = true | 645 testonly = true |
646 output_name = content_shell_helper_name | 646 output_name = content_shell_helper_name |
647 sources = [ | 647 sources = [ |
648 "app/shell_main.cc", | 648 "app/shell_main.cc", |
649 ] | 649 ] |
650 deps = [ | 650 deps = [ |
651 ":content_shell_framework+link", | 651 ":content_shell_framework+link", |
652 ] | 652 ] |
| 653 ldflags = [ |
| 654 "-rpath", |
| 655 "@loader_path/../../../../../..", |
| 656 ] |
653 info_plist_target = ":content_shell_helper_plist" | 657 info_plist_target = ":content_shell_helper_plist" |
654 } | 658 } |
655 | 659 |
656 # The install_name_tool can only operate in-place, rather than producing a | 660 # The install_name_tool can only operate in-place, rather than producing a |
657 # unique output. Use the xcrun wrapper script to write a fake stamp output | 661 # unique output. Use the xcrun wrapper script to write a fake stamp output |
658 # file. After :content_shell_helper_app has been built and bundled, this | 662 # file. After :content_shell_helper_app has been built and bundled, this |
659 # will run, modifying the executable in the bundle and writing out the | 663 # will run, modifying the executable in the bundle and writing out the |
660 # --stamp specified. This will change the mtime on the executable, but | 664 # --stamp specified. This will change the mtime on the executable, but |
661 # because the stamp will also be updated, the | 665 # because the stamp will also be updated, the |
662 # :content_shell_framework_bundle_data will re-copy the output. This only | 666 # :content_shell_framework_bundle_data will re-copy the output. This only |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
717 "{{bundle_resources_dir}}/{{source_file_part}}", | 721 "{{bundle_resources_dir}}/{{source_file_part}}", |
718 ] | 722 ] |
719 } | 723 } |
720 } | 724 } |
721 | 725 |
722 mojom("mojo_bindings") { | 726 mojom("mojo_bindings") { |
723 sources = [ | 727 sources = [ |
724 "common/layout_test/layout_test_bluetooth_fake_adapter_setter.mojom", | 728 "common/layout_test/layout_test_bluetooth_fake_adapter_setter.mojom", |
725 ] | 729 ] |
726 } | 730 } |
OLD | NEW |