| 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 661 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 672 ] | 672 ] |
| 673 | 673 |
| 674 extra_configs = [ "//build/config/compiler:wexit_time_destructors" ] | 674 extra_configs = [ "//build/config/compiler:wexit_time_destructors" ] |
| 675 | 675 |
| 676 defines = [ "HELPER_EXECUTABLE" ] | 676 defines = [ "HELPER_EXECUTABLE" ] |
| 677 | 677 |
| 678 deps = [ | 678 deps = [ |
| 679 "//chrome/common:version_header", | 679 "//chrome/common:version_header", |
| 680 ] | 680 ] |
| 681 | 681 |
| 682 if (is_component_build) { | 682 ldflags = [ |
| 683 ldflags = [ | 683 # The helper is in Chromium.app/Contents/Versions/X/Chromium Helper.app/Co
nents/MacOS/ |
| 684 # The helper is in Chromium.app/Contents/Versions/X/Chromium Helper.app/
Conents/MacOS/ | 684 # so set rpath up to the base. |
| 685 # so set rpath up to the base. | 685 "-rpath", |
| 686 "-rpath", | 686 "@loader_path/../../../../../../..", |
| 687 "@loader_path/../../../../../../..", | 687 ] |
| 688 ] | |
| 689 } | |
| 690 | 688 |
| 691 # Remove the default strip configuration (which strips all symbols) so that | 689 # Remove the default strip configuration (which strips all symbols) so that |
| 692 # a saves file can be specified. | 690 # a saves file can be specified. |
| 693 if (enable_stripping) { | 691 if (enable_stripping) { |
| 694 remove_configs = [ "//build/config/mac:strip_all" ] | 692 remove_configs = [ "//build/config/mac:strip_all" ] |
| 695 | 693 |
| 696 ldflags += | 694 ldflags += |
| 697 [ "-Wcrl,strip,-s," + rebase_path("app/app.saves", root_build_dir) ] | 695 [ "-Wcrl,strip,-s," + rebase_path("app/app.saves", root_build_dir) ] |
| 698 } | 696 } |
| 699 } | 697 } |
| (...skipping 1130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1830 "//chrome/app/theme/$branding_path_component/product_logo_48.png", | 1828 "//chrome/app/theme/$branding_path_component/product_logo_48.png", |
| 1831 "//chrome/tools/build/linux/chrome-wrapper", | 1829 "//chrome/tools/build/linux/chrome-wrapper", |
| 1832 "//third_party/xdg-utils/scripts/xdg-mime", | 1830 "//third_party/xdg-utils/scripts/xdg-mime", |
| 1833 "//third_party/xdg-utils/scripts/xdg-settings", | 1831 "//third_party/xdg-utils/scripts/xdg-settings", |
| 1834 ] | 1832 ] |
| 1835 outputs = [ | 1833 outputs = [ |
| 1836 "$root_out_dir/{{source_file_part}}", | 1834 "$root_out_dir/{{source_file_part}}", |
| 1837 ] | 1835 ] |
| 1838 } | 1836 } |
| 1839 } | 1837 } |
| OLD | NEW |