| 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 470 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 481 "//chrome/common:version_header", | 481 "//chrome/common:version_header", |
| 482 ] | 482 ] |
| 483 | 483 |
| 484 # Remove the default strip configuration (which strips all symbols) so that | 484 # Remove the default strip configuration (which strips all symbols) so that |
| 485 # a saves file can be specified. | 485 # a saves file can be specified. |
| 486 if (enable_stripping) { | 486 if (enable_stripping) { |
| 487 remove_configs = [ "//build/config/mac:strip_all" ] | 487 remove_configs = [ "//build/config/mac:strip_all" ] |
| 488 | 488 |
| 489 ldflags = | 489 ldflags = |
| 490 [ "-Wcrl,strip,-s," + rebase_path("app/app.saves", root_build_dir) ] | 490 [ "-Wcrl,strip,-s," + rebase_path("app/app.saves", root_build_dir) ] |
| 491 |
| 492 linker_inputs = [ |
| 493 "app/app.saves" |
| 494 ] |
| 491 } | 495 } |
| 492 } | 496 } |
| 493 | 497 |
| 494 compiled_action("chrome_app_strings") { | 498 compiled_action("chrome_app_strings") { |
| 495 tool = "//chrome/tools/mac_helpers:infoplist_strings_tool" | 499 tool = "//chrome/tools/mac_helpers:infoplist_strings_tool" |
| 496 | 500 |
| 497 inputs = [ | 501 inputs = [ |
| 498 chrome_version_file, | 502 chrome_version_file, |
| 499 ] | 503 ] |
| 500 | 504 |
| (...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 634 "@loader_path/../../../../../../..", | 638 "@loader_path/../../../../../../..", |
| 635 ] | 639 ] |
| 636 | 640 |
| 637 # Remove the default strip configuration (which strips all symbols) so that | 641 # Remove the default strip configuration (which strips all symbols) so that |
| 638 # a saves file can be specified. | 642 # a saves file can be specified. |
| 639 if (enable_stripping) { | 643 if (enable_stripping) { |
| 640 remove_configs = [ "//build/config/mac:strip_all" ] | 644 remove_configs = [ "//build/config/mac:strip_all" ] |
| 641 | 645 |
| 642 ldflags += | 646 ldflags += |
| 643 [ "-Wcrl,strip,-s," + rebase_path("app/app.saves", root_build_dir) ] | 647 [ "-Wcrl,strip,-s," + rebase_path("app/app.saves", root_build_dir) ] |
| 648 |
| 649 linker_inputs = [ |
| 650 "app/app.saves", |
| 651 ] |
| 644 } | 652 } |
| 645 } | 653 } |
| 646 | 654 |
| 647 bundle_data("chrome_framework_locales") { | 655 bundle_data("chrome_framework_locales") { |
| 648 sources = [] | 656 sources = [] |
| 649 public_deps = [ | 657 public_deps = [ |
| 650 ":repack_locales_pack", | 658 ":repack_locales_pack", |
| 651 ] | 659 ] |
| 652 | 660 |
| 653 foreach(locale, locales_as_mac_outputs) { | 661 foreach(locale, locales_as_mac_outputs) { |
| (...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 968 | 976 |
| 969 ldflags = [ | 977 ldflags = [ |
| 970 "-Wl,-install_name,@executable_path/../Versions/$chrome_version_full/$chro
me_framework_name.framework/$chrome_framework_name", | 978 "-Wl,-install_name,@executable_path/../Versions/$chrome_version_full/$chro
me_framework_name.framework/$chrome_framework_name", |
| 971 "-compatibility_version", | 979 "-compatibility_version", |
| 972 chrome_dylib_version, | 980 chrome_dylib_version, |
| 973 "-current_version", | 981 "-current_version", |
| 974 chrome_dylib_version, | 982 chrome_dylib_version, |
| 975 "-Wl,-order_file," + rebase_path("app/framework.order", root_build_dir), | 983 "-Wl,-order_file," + rebase_path("app/framework.order", root_build_dir), |
| 976 ] | 984 ] |
| 977 | 985 |
| 986 linker_inputs = [ |
| 987 "app/framework.order", |
| 988 ] |
| 989 |
| 978 if (is_component_build) { | 990 if (is_component_build) { |
| 979 ldflags += [ | 991 ldflags += [ |
| 980 "-rpath", | 992 "-rpath", |
| 981 "@loader_path/../../../../..", | 993 "@loader_path/../../../../..", |
| 982 "-Wl,-reexport_library,libchrome_dll.dylib", | 994 "-Wl,-reexport_library,libchrome_dll.dylib", |
| 983 ] | 995 ] |
| 984 | 996 |
| 985 data_deps = [ | 997 data_deps = [ |
| 986 ":chrome_dll", | 998 ":chrome_dll", |
| 987 ] | 999 ] |
| (...skipping 786 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1774 "//chrome/app/theme/$branding_path_component/product_logo_48.png", | 1786 "//chrome/app/theme/$branding_path_component/product_logo_48.png", |
| 1775 "//chrome/tools/build/linux/chrome-wrapper", | 1787 "//chrome/tools/build/linux/chrome-wrapper", |
| 1776 "//third_party/xdg-utils/scripts/xdg-mime", | 1788 "//third_party/xdg-utils/scripts/xdg-mime", |
| 1777 "//third_party/xdg-utils/scripts/xdg-settings", | 1789 "//third_party/xdg-utils/scripts/xdg-settings", |
| 1778 ] | 1790 ] |
| 1779 outputs = [ | 1791 outputs = [ |
| 1780 "$root_out_dir/{{source_file_part}}", | 1792 "$root_out_dir/{{source_file_part}}", |
| 1781 ] | 1793 ] |
| 1782 } | 1794 } |
| 1783 } | 1795 } |
| OLD | NEW |