Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(65)

Side by Side Diff: chrome/BUILD.gn

Issue 2892493002: Replace sanitizers:deps with exe_and_shlib_deps (Chromium repo only) (Closed)
Patch Set: Fix find/replace error in nacl Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « breakpad/BUILD.gn ('k') | chrome/android/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 145
146 # Because the sources list varies so significantly per-platform, generally 146 # Because the sources list varies so significantly per-platform, generally
147 # each platform lists its own files rather than relying on filtering or 147 # each platform lists its own files rather than relying on filtering or
148 # removing unused files. 148 # removing unused files.
149 sources = [ 149 sources = [
150 "app/chrome_exe_resource.h", 150 "app/chrome_exe_resource.h",
151 ] 151 ]
152 defines = [] 152 defines = []
153 public_deps = [] 153 public_deps = []
154 deps = [ 154 deps = [
155 "//build/config/sanitizers:deps", 155 "//build/config:exe_and_shlib_deps",
156 "//printing/features", 156 "//printing/features",
157 ] 157 ]
158 158
159 data = [ 159 data = [
160 "$root_out_dir/resources.pak", 160 "$root_out_dir/resources.pak",
161 ] 161 ]
162 if (is_linux || is_win) { 162 if (is_linux || is_win) {
163 data += [ 163 data += [
164 "$root_out_dir/chrome_100_percent.pak", 164 "$root_out_dir/chrome_100_percent.pak",
165 "$root_out_dir/locales/en-US.pak", 165 "$root_out_dir/locales/en-US.pak",
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
340 "app/chrome_main_mac.mm", 340 "app/chrome_main_mac.mm",
341 ] 341 ]
342 342
343 output_name = "chrome" 343 output_name = "chrome"
344 344
345 deps = [ 345 deps = [
346 ":browser_dependencies", 346 ":browser_dependencies",
347 ":chrome_dll_manifest", 347 ":chrome_dll_manifest",
348 ":chrome_dll_version", 348 ":chrome_dll_version",
349 "//base/trace_event/etw_manifest:chrome_events_win", 349 "//base/trace_event/etw_manifest:chrome_events_win",
350 "//build/config/sanitizers:deps", 350 "//build/config:exe_and_shlib_deps",
351 "//chrome/app:chrome_dll_resources", 351 "//chrome/app:chrome_dll_resources",
352 "//chrome/app:command_ids", 352 "//chrome/app:command_ids",
353 "//chrome/app/theme:chrome_unscaled_resources", 353 "//chrome/app/theme:chrome_unscaled_resources",
354 "//chrome/common:features", 354 "//chrome/common:features",
355 "//chrome/install_static:install_static_util", 355 "//chrome/install_static:install_static_util",
356 "//chrome/install_static:secondary_module", 356 "//chrome/install_static:secondary_module",
357 "//chrome_elf", 357 "//chrome_elf",
358 "//components/crash/content/app", 358 "//components/crash/content/app",
359 "//components/policy:generated", 359 "//components/policy:generated",
360 "//content/app/resources", 360 "//content/app/resources",
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
436 "app/chrome_main_delegate.h", 436 "app/chrome_main_delegate.h",
437 ] 437 ]
438 438
439 configs += [ "//build/config/compiler:wexit_time_destructors" ] 439 configs += [ "//build/config/compiler:wexit_time_destructors" ]
440 defines = [ "CHROME_MULTIPLE_DLL_CHILD" ] 440 defines = [ "CHROME_MULTIPLE_DLL_CHILD" ]
441 441
442 deps = [ 442 deps = [
443 ":child_dependencies", 443 ":child_dependencies",
444 ":chrome_child_manifest", 444 ":chrome_child_manifest",
445 ":chrome_dll_version", 445 ":chrome_dll_version",
446 "//build/config/sanitizers:deps", 446 "//build/config:exe_and_shlib_deps",
447 "//chrome/browser/policy:path_parser", 447 "//chrome/browser/policy:path_parser",
448 "//chrome/common:features", 448 "//chrome/common:features",
449 "//chrome/install_static:install_static_util", 449 "//chrome/install_static:install_static_util",
450 "//chrome/install_static:secondary_module", 450 "//chrome/install_static:secondary_module",
451 "//chrome_elf", 451 "//chrome_elf",
452 "//components/browser_watcher:browser_watcher_client", 452 "//components/browser_watcher:browser_watcher_client",
453 "//components/crash/content/app", 453 "//components/crash/content/app",
454 "//content/public/app:child", 454 "//content/public/app:child",
455 "//content/public/common:service_names", 455 "//content/public/common:service_names",
456 "//headless:headless_shell_child_lib", 456 "//headless:headless_shell_child_lib",
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
551 sources = [ 551 sources = [
552 "app/chrome_exe_main_mac.c", 552 "app/chrome_exe_main_mac.c",
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:exe_and_shlib_deps",
562 "//chrome/common:version_header", 562 "//chrome/common:version_header",
563 ] 563 ]
564 564
565 if (is_chrome_branded) { 565 if (is_chrome_branded) {
566 deps += [ ":chrome_helpers" ] 566 deps += [ ":chrome_helpers" ]
567 } 567 }
568 568
569 # Remove the default strip configuration (which strips all symbols) so that 569 # Remove the default strip configuration (which strips all symbols) so that
570 # a saves file can be specified. 570 # a saves file can be specified.
571 if (enable_stripping) { 571 if (enable_stripping) {
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
737 737
738 sources = [ 738 sources = [
739 "app/chrome_exe_main_mac.c", 739 "app/chrome_exe_main_mac.c",
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:exe_and_shlib_deps",
748 "//chrome/common:version_header", 748 "//chrome/common:version_header",
749 ] 749 ]
750 750
751 ldflags = [] 751 ldflags = []
752 752
753 if (is_component_build) { 753 if (is_component_build) {
754 ldflags += [ 754 ldflags += [
755 # The helper is in Chromium.app/Contents/Versions/X/Chromium Helper.app/ Conents/MacOS/ 755 # The helper is in Chromium.app/Contents/Versions/X/Chromium Helper.app/ Conents/MacOS/
756 # so set rpath up to the base. 756 # so set rpath up to the base.
757 "-rpath", 757 "-rpath",
(...skipping 413 matching lines...) Expand 10 before | Expand all | Expand 10 after
1171 ":chrome_dll", 1171 ":chrome_dll",
1172 ] 1172 ]
1173 1173
1174 deps = [ 1174 deps = [
1175 ":chrome_framework_helpers", 1175 ":chrome_framework_helpers",
1176 ":chrome_framework_plugins", 1176 ":chrome_framework_plugins",
1177 ":chrome_framework_resources", 1177 ":chrome_framework_resources",
1178 ":chrome_framework_services", 1178 ":chrome_framework_services",
1179 ":packed_resources", 1179 ":packed_resources",
1180 ":widevine_cdm_library", 1180 ":widevine_cdm_library",
1181 "//build/config/sanitizers:deps", 1181 "//build/config:exe_and_shlib_deps",
1182 "//chrome/app/nibs:chrome_xibs", 1182 "//chrome/app/nibs:chrome_xibs",
1183 ] 1183 ]
1184 1184
1185 if (is_chrome_branded) { 1185 if (is_chrome_branded) {
1186 deps += [ ":default_apps" ] 1186 deps += [ ":default_apps" ]
1187 } 1187 }
1188 1188
1189 ldflags = [ 1189 ldflags = [
1190 "-Wl,-install_name,@executable_path/../Versions/$chrome_version_full/$chro me_framework_name.framework/$chrome_framework_name", 1190 "-Wl,-install_name,@executable_path/../Versions/$chrome_version_full/$chro me_framework_name.framework/$chrome_framework_name",
1191 "-compatibility_version", 1191 "-compatibility_version",
(...skipping 576 matching lines...) Expand 10 before | Expand all | Expand 10 after
1768 "//chrome/app/theme/$branding_path_component/product_logo_48.png", 1768 "//chrome/app/theme/$branding_path_component/product_logo_48.png",
1769 "//chrome/tools/build/linux/chrome-wrapper", 1769 "//chrome/tools/build/linux/chrome-wrapper",
1770 "//third_party/xdg-utils/scripts/xdg-mime", 1770 "//third_party/xdg-utils/scripts/xdg-mime",
1771 "//third_party/xdg-utils/scripts/xdg-settings", 1771 "//third_party/xdg-utils/scripts/xdg-settings",
1772 ] 1772 ]
1773 outputs = [ 1773 outputs = [
1774 "$root_out_dir/{{source_file_part}}", 1774 "$root_out_dir/{{source_file_part}}",
1775 ] 1775 ]
1776 } 1776 }
1777 } 1777 }
OLDNEW
« no previous file with comments | « breakpad/BUILD.gn ('k') | chrome/android/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698