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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 # The contents of this string, if specified, will be passed as a #define | 53 # The contents of this string, if specified, will be passed as a #define |
54 # to the toolchain. It can be used to force recompiles whenever a | 54 # to the toolchain. It can be used to force recompiles whenever a |
55 # toolchain is updated. | 55 # toolchain is updated. |
56 # - shlib_extension | 56 # - shlib_extension |
57 # If this string is specified it will be used for the file extension | 57 # If this string is specified it will be used for the file extension |
58 # for a shared library, rather than default value specified in | 58 # for a shared library, rather than default value specified in |
59 # toolchain.gni | 59 # toolchain.gni |
60 # - strip | 60 # - strip |
61 # Location of the strip executable. When specified, strip will be run on | 61 # Location of the strip executable. When specified, strip will be run on |
62 # all shared libraries and executables as they are built. The pre-stripped | 62 # all shared libraries and executables as they are built. The pre-stripped |
63 # artifacts will be put in lib.stripped/ and exe.stripped/. | 63 # artifacts will be put in lib.unstripped/ and exe.unstripped/. |
64 # | 64 # |
65 # Optional build argument contols. | 65 # Optional build argument contols. |
66 # | 66 # |
67 # - clear_sanitizers | 67 # - clear_sanitizers |
68 # When set to true, is_asan, is_msan, etc.will all be set to false. Often | 68 # When set to true, is_asan, is_msan, etc.will all be set to false. Often |
69 # secondary toolchains do not want to run with sanitizers. | 69 # secondary toolchains do not want to run with sanitizers. |
70 # - is_clang | 70 # - is_clang |
71 # Whether to use clang instead of gcc. | 71 # Whether to use clang instead of gcc. |
72 # - is_component_build | 72 # - is_component_build |
73 # Whether to forcibly enable or disable component builds for this | 73 # Whether to forcibly enable or disable component builds for this |
(...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
445 nm = "${toolprefix}nm" | 445 nm = "${toolprefix}nm" |
446 | 446 |
447 forward_variables_from(invoker, | 447 forward_variables_from(invoker, |
448 [ | 448 [ |
449 "toolchain_cpu", | 449 "toolchain_cpu", |
450 "toolchain_os", | 450 "toolchain_os", |
451 "use_gold", | 451 "use_gold", |
452 ]) | 452 ]) |
453 } | 453 } |
454 } | 454 } |
OLD | NEW |