| 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/buildflag_header.gni") | 5 import("//build/buildflag_header.gni") |
| 6 import("//build/config/chrome_build.gni") | 6 import("//build/config/chrome_build.gni") |
| 7 import("//build/config/compiler/compiler.gni") | 7 import("//build/config/compiler/compiler.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 454 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 465 extra_substitutions = [ | 465 extra_substitutions = [ |
| 466 "CHROMIUM_BUNDLE_ID=$chrome_mac_bundle_id", | 466 "CHROMIUM_BUNDLE_ID=$chrome_mac_bundle_id", |
| 467 "CHROMIUM_SHORT_NAME=$chrome_product_short_name", | 467 "CHROMIUM_SHORT_NAME=$chrome_product_short_name", |
| 468 "CHROMIUM_CREATOR=$chrome_mac_creator_code", | 468 "CHROMIUM_CREATOR=$chrome_mac_creator_code", |
| 469 ] | 469 ] |
| 470 | 470 |
| 471 sources = [ | 471 sources = [ |
| 472 "app/chrome_exe_main_mac.c", | 472 "app/chrome_exe_main_mac.c", |
| 473 ] | 473 ] |
| 474 | 474 |
| 475 extra_configs = [ "//build/config/compiler:wexit_time_destructors" ] |
| 476 |
| 475 deps = [ | 477 deps = [ |
| 476 ":chrome_app_strings_bundle_data", | 478 ":chrome_app_strings_bundle_data", |
| 477 ":chrome_resources", | 479 ":chrome_resources", |
| 478 ":chrome_versioned_bundle_data", | 480 ":chrome_versioned_bundle_data", |
| 479 "//chrome/common:version_header", | 481 "//chrome/common:version_header", |
| 480 ] | 482 ] |
| 481 | 483 |
| 482 # Remove the default strip configuration (which strips all symbols) so that | 484 # Remove the default strip configuration (which strips all symbols) so that |
| 483 # a saves file can be specified. | 485 # a saves file can be specified. |
| 484 if (enable_stripping) { | 486 if (enable_stripping) { |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 610 info_plist_target = ":chrome_helper_plist" | 612 info_plist_target = ":chrome_helper_plist" |
| 611 extra_substitutions = [ | 613 extra_substitutions = [ |
| 612 "CHROMIUM_BUNDLE_ID=$chrome_mac_bundle_id", | 614 "CHROMIUM_BUNDLE_ID=$chrome_mac_bundle_id", |
| 613 "CHROMIUM_SHORT_NAME=$chrome_product_short_name", | 615 "CHROMIUM_SHORT_NAME=$chrome_product_short_name", |
| 614 ] | 616 ] |
| 615 | 617 |
| 616 sources = [ | 618 sources = [ |
| 617 "app/chrome_exe_main_mac.c", | 619 "app/chrome_exe_main_mac.c", |
| 618 ] | 620 ] |
| 619 | 621 |
| 622 extra_configs = [ "//build/config/compiler:wexit_time_destructors" ] |
| 623 |
| 620 defines = [ "HELPER_EXECUTABLE" ] | 624 defines = [ "HELPER_EXECUTABLE" ] |
| 621 | 625 |
| 622 deps = [ | 626 deps = [ |
| 623 "//chrome/common:version_header", | 627 "//chrome/common:version_header", |
| 624 ] | 628 ] |
| 625 | 629 |
| 626 ldflags = [ | 630 ldflags = [ |
| 627 # The helper is in Chromium.app/Contents/Versions/X/Chromium Helper.app/Co
nents/MacOS/ | 631 # The helper is in Chromium.app/Contents/Versions/X/Chromium Helper.app/Co
nents/MacOS/ |
| 628 # so set rpath up to the base. | 632 # so set rpath up to the base. |
| 629 "-rpath", | 633 "-rpath", |
| (...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 921 "-ObjC", | 925 "-ObjC", |
| 922 ] | 926 ] |
| 923 | 927 |
| 924 if (enable_plugins && enable_pdf) { | 928 if (enable_plugins && enable_pdf) { |
| 925 deps += [ "//pdf" ] | 929 deps += [ "//pdf" ] |
| 926 } | 930 } |
| 927 | 931 |
| 928 if (enable_package_mash_services) { | 932 if (enable_package_mash_services) { |
| 929 deps += [ "//chrome/app/mash" ] | 933 deps += [ "//chrome/app/mash" ] |
| 930 } | 934 } |
| 935 |
| 936 configs += [ "//build/config/compiler:wexit_time_destructors" ] |
| 931 } | 937 } |
| 932 | 938 |
| 933 mac_framework_bundle("chrome_framework") { | 939 mac_framework_bundle("chrome_framework") { |
| 934 output_name = chrome_framework_name | 940 output_name = chrome_framework_name |
| 935 | 941 |
| 936 configs += [ "//build/config/compiler:wexit_time_destructors" ] | 942 configs += [ "//build/config/compiler:wexit_time_destructors" ] |
| 937 | 943 |
| 938 info_plist_target = ":chrome_framework_plist" | 944 info_plist_target = ":chrome_framework_plist" |
| 939 extra_substitutions = [ | 945 extra_substitutions = [ |
| 940 "CHROMIUM_BUNDLE_ID=$chrome_mac_bundle_id", | 946 "CHROMIUM_BUNDLE_ID=$chrome_mac_bundle_id", |
| (...skipping 827 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1768 "//chrome/app/theme/$branding_path_component/product_logo_48.png", | 1774 "//chrome/app/theme/$branding_path_component/product_logo_48.png", |
| 1769 "//chrome/tools/build/linux/chrome-wrapper", | 1775 "//chrome/tools/build/linux/chrome-wrapper", |
| 1770 "//third_party/xdg-utils/scripts/xdg-mime", | 1776 "//third_party/xdg-utils/scripts/xdg-mime", |
| 1771 "//third_party/xdg-utils/scripts/xdg-settings", | 1777 "//third_party/xdg-utils/scripts/xdg-settings", |
| 1772 ] | 1778 ] |
| 1773 outputs = [ | 1779 outputs = [ |
| 1774 "$root_out_dir/{{source_file_part}}", | 1780 "$root_out_dir/{{source_file_part}}", |
| 1775 ] | 1781 ] |
| 1776 } | 1782 } |
| 1777 } | 1783 } |
| OLD | NEW |