| 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/chrome_build.gni") | 5 import("//build/config/chrome_build.gni") |
| 6 import("//build/config/compiler/compiler.gni") | 6 import("//build/config/compiler/compiler.gni") |
| 7 import("//build/config/compiler/pgo/pgo.gni") | 7 import("//build/config/compiler/pgo/pgo.gni") |
| 8 import("//build/config/features.gni") | 8 import("//build/config/features.gni") |
| 9 import("//build/config/locales.gni") | 9 import("//build/config/locales.gni") |
| 10 import("//build/config/sanitizers/sanitizers.gni") | 10 import("//build/config/sanitizers/sanitizers.gni") |
| (...skipping 531 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 542 output_name = chrome_product_full_name | 542 output_name = chrome_product_full_name |
| 543 | 543 |
| 544 info_plist_target = ":chrome_app_plist" | 544 info_plist_target = ":chrome_app_plist" |
| 545 extra_substitutions = [ | 545 extra_substitutions = [ |
| 546 "CHROMIUM_BUNDLE_ID=$chrome_mac_bundle_id", | 546 "CHROMIUM_BUNDLE_ID=$chrome_mac_bundle_id", |
| 547 "CHROMIUM_SHORT_NAME=$chrome_product_short_name", | 547 "CHROMIUM_SHORT_NAME=$chrome_product_short_name", |
| 548 "CHROMIUM_CREATOR=$chrome_mac_creator_code", | 548 "CHROMIUM_CREATOR=$chrome_mac_creator_code", |
| 549 ] | 549 ] |
| 550 | 550 |
| 551 sources = [ | 551 sources = [ |
| 552 "app/chrome_exe_main_mac.c", | 552 "app/chrome_exe_main_mac.cc", |
| 553 ] | 553 ] |
| 554 | 554 |
| 555 extra_configs = [ "//build/config/compiler:wexit_time_destructors" ] | 555 extra_configs = [ "//build/config/compiler:wexit_time_destructors" ] |
| 556 | 556 |
| 557 deps = [ | 557 deps = [ |
| 558 ":chrome_app_strings_bundle_data", | 558 ":chrome_app_strings_bundle_data", |
| 559 ":chrome_resources", | 559 ":chrome_resources", |
| 560 ":chrome_versioned_bundle_data", | 560 ":chrome_versioned_bundle_data", |
| 561 "//build/config/sanitizers:deps", | 561 "//build/config/sanitizers:deps", |
| 562 "//chrome/common:version_header", | 562 "//chrome/common:version_header", |
| (...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 729 mac_app_bundle("chrome_helper_app") { | 729 mac_app_bundle("chrome_helper_app") { |
| 730 output_name = chrome_helper_name | 730 output_name = chrome_helper_name |
| 731 | 731 |
| 732 info_plist_target = ":chrome_helper_plist" | 732 info_plist_target = ":chrome_helper_plist" |
| 733 extra_substitutions = [ | 733 extra_substitutions = [ |
| 734 "CHROMIUM_BUNDLE_ID=$chrome_mac_bundle_id", | 734 "CHROMIUM_BUNDLE_ID=$chrome_mac_bundle_id", |
| 735 "CHROMIUM_SHORT_NAME=$chrome_product_short_name", | 735 "CHROMIUM_SHORT_NAME=$chrome_product_short_name", |
| 736 ] | 736 ] |
| 737 | 737 |
| 738 sources = [ | 738 sources = [ |
| 739 "app/chrome_exe_main_mac.c", | 739 "app/chrome_exe_main_mac.cc", |
| 740 ] | 740 ] |
| 741 | 741 |
| 742 extra_configs = [ "//build/config/compiler:wexit_time_destructors" ] | 742 extra_configs = [ "//build/config/compiler:wexit_time_destructors" ] |
| 743 | 743 |
| 744 defines = [ "HELPER_EXECUTABLE" ] | 744 defines = [ "HELPER_EXECUTABLE" ] |
| 745 | 745 |
| 746 deps = [ | 746 deps = [ |
| 747 "//build/config/sanitizers:deps", | 747 "//build/config/sanitizers:deps", |
| 748 "//chrome/common:version_header", | 748 "//chrome/common:version_header", |
| 749 "//sandbox/mac:seatbelt", |
| 749 ] | 750 ] |
| 750 | 751 |
| 751 ldflags = [] | 752 ldflags = [] |
| 752 | 753 |
| 753 if (is_component_build) { | 754 if (is_component_build) { |
| 754 ldflags += [ | 755 ldflags += [ |
| 755 # The helper is in Chromium.app/Contents/Versions/X/Chromium Helper.app/
Conents/MacOS/ | 756 # The helper is in Chromium.app/Contents/Versions/X/Chromium Helper.app/
Conents/MacOS/ |
| 756 # so set rpath up to the base. | 757 # so set rpath up to the base. |
| 757 "-rpath", | 758 "-rpath", |
| 758 "@loader_path/../../../../../../..", | 759 "@loader_path/../../../../../../..", |
| (...skipping 1009 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1768 "//chrome/app/theme/$branding_path_component/product_logo_48.png", | 1769 "//chrome/app/theme/$branding_path_component/product_logo_48.png", |
| 1769 "//chrome/tools/build/linux/chrome-wrapper", | 1770 "//chrome/tools/build/linux/chrome-wrapper", |
| 1770 "//third_party/xdg-utils/scripts/xdg-mime", | 1771 "//third_party/xdg-utils/scripts/xdg-mime", |
| 1771 "//third_party/xdg-utils/scripts/xdg-settings", | 1772 "//third_party/xdg-utils/scripts/xdg-settings", |
| 1772 ] | 1773 ] |
| 1773 outputs = [ | 1774 outputs = [ |
| 1774 "$root_out_dir/{{source_file_part}}", | 1775 "$root_out_dir/{{source_file_part}}", |
| 1775 ] | 1776 ] |
| 1776 } | 1777 } |
| 1777 } | 1778 } |
| OLD | NEW |