| OLD | NEW |
| 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/nacl/config.gni") | 5 import("//build/config/nacl/config.gni") |
| 6 import("//build/config/sanitizers/sanitizers.gni") | 6 import("//build/config/sanitizers/sanitizers.gni") |
| 7 import("//build/toolchain/ccache.gni") | 7 import("//build/toolchain/ccache.gni") |
| 8 import("//build/toolchain/goma.gni") | 8 import("//build/toolchain/goma.gni") |
| 9 import("//build/toolchain/toolchain.gni") | 9 import("//build/toolchain/toolchain.gni") |
| 10 | 10 |
| (...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 352 ]) | 352 ]) |
| 353 | 353 |
| 354 if (defined(invoker.clear_sanitizers) && invoker.clear_sanitizers) { | 354 if (defined(invoker.clear_sanitizers) && invoker.clear_sanitizers) { |
| 355 is_asan = false | 355 is_asan = false |
| 356 is_cfi = false | 356 is_cfi = false |
| 357 is_lsan = false | 357 is_lsan = false |
| 358 is_msan = false | 358 is_msan = false |
| 359 is_syzyasan = false | 359 is_syzyasan = false |
| 360 is_tsan = false | 360 is_tsan = false |
| 361 is_ubsan = false | 361 is_ubsan = false |
| 362 is_ubsan_vptr = false |
| 362 } | 363 } |
| 363 } | 364 } |
| 364 | 365 |
| 365 forward_variables_from(invoker, [ "deps" ]) | 366 forward_variables_from(invoker, [ "deps" ]) |
| 366 } | 367 } |
| 367 } | 368 } |
| 368 | 369 |
| 369 # This is a shorthand for gcc_toolchain instances based on the | 370 # This is a shorthand for gcc_toolchain instances based on the |
| 370 # Chromium-built version of Clang. Only the toolchain_cpu and | 371 # Chromium-built version of Clang. Only the toolchain_cpu and |
| 371 # toolchain_os variables need to be specified by the invoker, and | 372 # toolchain_os variables need to be specified by the invoker, and |
| (...skipping 25 matching lines...) Expand all Loading... |
| 397 nm = "${toolprefix}nm" | 398 nm = "${toolprefix}nm" |
| 398 | 399 |
| 399 forward_variables_from(invoker, | 400 forward_variables_from(invoker, |
| 400 [ | 401 [ |
| 401 "toolchain_cpu", | 402 "toolchain_cpu", |
| 402 "toolchain_os", | 403 "toolchain_os", |
| 403 "use_gold", | 404 "use_gold", |
| 404 ]) | 405 ]) |
| 405 } | 406 } |
| 406 } | 407 } |
| OLD | NEW |