| 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 368 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 379 | 379 |
| 380 # These values need to be passed through unchanged. | 380 # These values need to be passed through unchanged. |
| 381 target_os = target_os | 381 target_os = target_os |
| 382 target_cpu = target_cpu | 382 target_cpu = target_cpu |
| 383 | 383 |
| 384 forward_variables_from(invoker, | 384 forward_variables_from(invoker, |
| 385 [ | 385 [ |
| 386 "is_clang", | 386 "is_clang", |
| 387 "is_component_build", | 387 "is_component_build", |
| 388 "is_nacl_glibc", | 388 "is_nacl_glibc", |
| 389 "is_nacl_nonsfi", |
| 389 "use_gold", | 390 "use_gold", |
| 390 "symbol_level", | 391 "symbol_level", |
| 391 ]) | 392 ]) |
| 392 | 393 |
| 393 if (defined(invoker.clear_sanitizers) && invoker.clear_sanitizers) { | 394 if (defined(invoker.clear_sanitizers) && invoker.clear_sanitizers) { |
| 394 is_asan = false | 395 is_asan = false |
| 395 is_cfi = false | 396 is_cfi = false |
| 396 is_lsan = false | 397 is_lsan = false |
| 397 is_msan = false | 398 is_msan = false |
| 398 is_syzyasan = false | 399 is_syzyasan = false |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 437 nm = "${toolprefix}nm" | 438 nm = "${toolprefix}nm" |
| 438 | 439 |
| 439 forward_variables_from(invoker, | 440 forward_variables_from(invoker, |
| 440 [ | 441 [ |
| 441 "toolchain_cpu", | 442 "toolchain_cpu", |
| 442 "toolchain_os", | 443 "toolchain_os", |
| 443 "use_gold", | 444 "use_gold", |
| 444 ]) | 445 ]) |
| 445 } | 446 } |
| 446 } | 447 } |
| OLD | NEW |