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

Side by Side Diff: build/config/compiler/BUILD.gn

Issue 2873513003: Reland of Ensure that builders that use goma strip absolute paths by default. (Closed)
Patch Set: 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 | « no previous file | tools/mb/mb_config.pyl » ('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 import("//build/config/android/config.gni") 5 import("//build/config/android/config.gni")
6 import("//build/config/chrome_build.gni") 6 import("//build/config/chrome_build.gni")
7 import("//build/config/chromecast_build.gni") 7 import("//build/config/chromecast_build.gni")
8 import("//build/config/compiler/compiler.gni") 8 import("//build/config/compiler/compiler.gni")
9 import("//build/config/nacl/config.gni") 9 import("//build/config/nacl/config.gni")
10 import("//build/toolchain/cc_wrapper.gni") 10 import("//build/toolchain/cc_wrapper.gni")
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 # AFDO (Automatic Feedback Directed Optimizer) is a form of profile-guided 87 # AFDO (Automatic Feedback Directed Optimizer) is a form of profile-guided
88 # optimization that GCC supports. It used by ChromeOS in their official 88 # optimization that GCC supports. It used by ChromeOS in their official
89 # builds. To use it, set auto_profile_path to the path to a file containing 89 # builds. To use it, set auto_profile_path to the path to a file containing
90 # the needed gcov profiling data. 90 # the needed gcov profiling data.
91 auto_profile_path = "" 91 auto_profile_path = ""
92 92
93 # Optimize for coverage guided fuzzing (balance between speed and number of 93 # Optimize for coverage guided fuzzing (balance between speed and number of
94 # branches) 94 # branches)
95 optimize_for_fuzzing = false 95 optimize_for_fuzzing = false
96 96
97 # Optimize symbol files for maximizing goma cache hit rate. 97 # Optimize symbol files for maximizing goma cache hit rate. This isn't
98 # on by default when goma is enabled because setting this to true may make
99 # it harder to debug binaries.
98 strip_absolute_paths_from_debug_symbols = false 100 strip_absolute_paths_from_debug_symbols = false
99 } 101 }
100 102
101 if (is_clang && !is_nacl) { 103 if (is_clang && !is_nacl) {
102 update_args = [ "--print-revision" ] 104 update_args = [ "--print-revision" ]
103 if (llvm_force_head_revision) { 105 if (llvm_force_head_revision) {
104 update_args += [ "--llvm-force-head-revision" ] 106 update_args += [ "--llvm-force-head-revision" ]
105 } 107 }
106 clang_revision = 108 clang_revision =
107 exec_script("//tools/clang/scripts/update.py", update_args, "trim string") 109 exec_script("//tools/clang/scripts/update.py", update_args, "trim string")
(...skipping 1623 matching lines...) Expand 10 before | Expand all | Expand 10 after
1731 1733
1732 if (is_ios || is_mac) { 1734 if (is_ios || is_mac) {
1733 # On Mac and iOS, this enables support for ARC (automatic ref-counting). 1735 # On Mac and iOS, this enables support for ARC (automatic ref-counting).
1734 # See http://clang.llvm.org/docs/AutomaticReferenceCounting.html. 1736 # See http://clang.llvm.org/docs/AutomaticReferenceCounting.html.
1735 config("enable_arc") { 1737 config("enable_arc") {
1736 common_flags = [ "-fobjc-arc" ] 1738 common_flags = [ "-fobjc-arc" ]
1737 cflags_objc = common_flags 1739 cflags_objc = common_flags
1738 cflags_objcc = common_flags 1740 cflags_objcc = common_flags
1739 } 1741 }
1740 } 1742 }
OLDNEW
« no previous file with comments | « no previous file | tools/mb/mb_config.pyl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698