| 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/cc_wrapper.gni") | 7 import("//build/toolchain/cc_wrapper.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 396 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 407 | 407 | 
| 408       # These values need to be passed through unchanged. | 408       # These values need to be passed through unchanged. | 
| 409       host_toolchain = host_toolchain | 409       host_toolchain = host_toolchain | 
| 410       target_os = target_os | 410       target_os = target_os | 
| 411       target_cpu = target_cpu | 411       target_cpu = target_cpu | 
| 412 | 412 | 
| 413       forward_variables_from(invoker, | 413       forward_variables_from(invoker, | 
| 414                              [ | 414                              [ | 
| 415                                "use_allocator", | 415                                "use_allocator", | 
| 416                                "use_gold", | 416                                "use_gold", | 
| 417                                "symbol_level", |  | 
| 418                              ]) | 417                              ]) | 
| 419 | 418 | 
| 420       if (defined(invoker.is_clang)) { | 419       if (defined(invoker.is_clang)) { | 
| 421         is_clang = invoker.is_clang | 420         is_clang = invoker.is_clang | 
| 422       } | 421       } | 
| 423       if (defined(invoker.is_component_build)) { | 422       if (defined(invoker.is_component_build)) { | 
| 424         is_component_build = invoker.is_component_build | 423         is_component_build = invoker.is_component_build | 
| 425       } | 424       } | 
| 426       if (defined(invoker.is_nacl_glibc)) { | 425       if (defined(invoker.is_nacl_glibc)) { | 
| 427         is_nacl_glibc = invoker.is_nacl_glibc | 426         is_nacl_glibc = invoker.is_nacl_glibc | 
| 428       } | 427       } | 
|  | 428       if (defined(invoker.symbol_level)) { | 
|  | 429         symbol_level = invoker.symbol_level | 
|  | 430       } | 
| 429 | 431 | 
| 430       if (defined(invoker.clear_sanitizers) && invoker.clear_sanitizers) { | 432       if (defined(invoker.clear_sanitizers) && invoker.clear_sanitizers) { | 
| 431         is_asan = false | 433         is_asan = false | 
| 432         is_cfi = false | 434         is_cfi = false | 
| 433         is_lsan = false | 435         is_lsan = false | 
| 434         is_msan = false | 436         is_msan = false | 
| 435         is_syzyasan = false | 437         is_syzyasan = false | 
| 436         is_tsan = false | 438         is_tsan = false | 
| 437         is_ubsan = false | 439         is_ubsan = false | 
| 438         is_ubsan_vptr = false | 440         is_ubsan_vptr = false | 
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 475 | 477 | 
| 476     forward_variables_from(invoker, | 478     forward_variables_from(invoker, | 
| 477                            [ | 479                            [ | 
| 478                              "toolchain_cpu", | 480                              "toolchain_cpu", | 
| 479                              "toolchain_os", | 481                              "toolchain_os", | 
| 480                              "use_gold", | 482                              "use_gold", | 
| 481                              "strip", | 483                              "strip", | 
| 482                            ]) | 484                            ]) | 
| 483   } | 485   } | 
| 484 } | 486 } | 
| OLD | NEW | 
|---|