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

Side by Side Diff: build/config/BUILDCONFIG.gn

Issue 1598523002: GN: Move x86 Clang -mstackrealign workaround to its own config, elide it where problematic (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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') | build/config/compiler/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 (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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 # ============================================================================= 5 # =============================================================================
6 # PLATFORM SELECTION 6 # PLATFORM SELECTION
7 # ============================================================================= 7 # =============================================================================
8 # 8 #
9 # There are two main things to set: "os" and "cpu". The "toolchain" is the name 9 # There are two main things to set: "os" and "cpu". The "toolchain" is the name
10 # of the GN thing that encodes combinations of these things. 10 # of the GN thing that encodes combinations of these things.
(...skipping 431 matching lines...) Expand 10 before | Expand all | Expand 10 after
442 # Set up the default configuration for every build target of the given type. 442 # Set up the default configuration for every build target of the given type.
443 # The values configured here will be automatically set on the scope of the 443 # The values configured here will be automatically set on the scope of the
444 # corresponding target. Target definitions can add or remove to the settings 444 # corresponding target. Target definitions can add or remove to the settings
445 # here as needed. 445 # here as needed.
446 446
447 # Holds all configs used for making native executables and libraries, to avoid 447 # Holds all configs used for making native executables and libraries, to avoid
448 # duplication in each target below. 448 # duplication in each target below.
449 _native_compiler_configs = [ 449 _native_compiler_configs = [
450 "//build/config:feature_flags", 450 "//build/config:feature_flags",
451 "//build/config/compiler:compiler", 451 "//build/config/compiler:compiler",
452 "//build/config/compiler:clang_stackrealign",
452 "//build/config/compiler:compiler_arm_fpu", 453 "//build/config/compiler:compiler_arm_fpu",
453 "//build/config/compiler:chromium_code", 454 "//build/config/compiler:chromium_code",
454 "//build/config/compiler:default_include_dirs", 455 "//build/config/compiler:default_include_dirs",
455 "//build/config/compiler:default_optimization", 456 "//build/config/compiler:default_optimization",
456 "//build/config/compiler:default_symbols", 457 "//build/config/compiler:default_symbols",
457 "//build/config/compiler:no_rtti", 458 "//build/config/compiler:no_rtti",
458 "//build/config/compiler:runtime_library", 459 "//build/config/compiler:runtime_library",
459 "//build/config/sanitizers:default_sanitizer_flags", 460 "//build/config/sanitizers:default_sanitizer_flags",
460 "//build/config/sanitizers:default_sanitizer_coverage_flags", 461 "//build/config/sanitizers:default_sanitizer_coverage_flags",
461 ] 462 ]
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
601 forward_variables_from(invoker, "*") 602 forward_variables_from(invoker, "*")
602 603
603 # All shared libraries must have the sanitizer deps to properly link in 604 # All shared libraries must have the sanitizer deps to properly link in
604 # asan mode (this target will be empty in other cases). 605 # asan mode (this target will be empty in other cases).
605 if (!defined(deps)) { 606 if (!defined(deps)) {
606 deps = [] 607 deps = []
607 } 608 }
608 deps += [ "//build/config/sanitizers:deps" ] 609 deps += [ "//build/config/sanitizers:deps" ]
609 } 610 }
610 } 611 }
OLDNEW
« no previous file with comments | « breakpad/BUILD.gn ('k') | build/config/compiler/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698