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

Side by Side Diff: chrome/tools/build/win/syzygy/BUILD.gn

Issue 1324623005: Move sanitizer and symbol flags out of BUILDCONFIG (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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 | « chrome/test/BUILD.gn ('k') | content/shell/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 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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/sanitizers/sanitizers.gni") 7 import("//build/config/sanitizers/sanitizers.gni")
7 8
8 declare_args() { 9 declare_args() {
9 # Generate Syzygy optimized binaries. Syzygy optimize mode is a profile 10 # Generate Syzygy optimized binaries. Syzygy optimize mode is a profile
10 # guided optimization that reorders code for better locality. 11 # guided optimization that reorders code for better locality.
11 syzygy_optimize = 12 syzygy_optimize =
12 is_win && is_official_build && !is_clang && symbol_level == 2 13 is_win && is_official_build && !is_clang && symbol_level == 2
13 } 14 }
14 15
15 assert(!syzygy_optimize || !is_syzyasan, 16 assert(!syzygy_optimize || !is_syzyasan,
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 ] 213 ]
213 214
214 outputs = [ 215 outputs = [
215 "$syzygy_dest_dir/{{source_file_part}}", 216 "$syzygy_dest_dir/{{source_file_part}}",
216 ] 217 ]
217 } 218 }
218 } 219 }
219 220
220 # Prevent unused variable warning for code paths where this is unused. 221 # Prevent unused variable warning for code paths where this is unused.
221 assert(syzygy_dest_dir != "") 222 assert(syzygy_dest_dir != "")
OLDNEW
« no previous file with comments | « chrome/test/BUILD.gn ('k') | content/shell/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698