| OLD | NEW | 
|---|
| 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  Loading... | 
| 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 != "") | 
| OLD | NEW | 
|---|