diff options
Diffstat (limited to 'pw_toolchain/host_clang/toolchains.gni')
-rw-r--r-- | pw_toolchain/host_clang/toolchains.gni | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/pw_toolchain/host_clang/toolchains.gni b/pw_toolchain/host_clang/toolchains.gni index e148c86e1..3ee4c4fed 100644 --- a/pw_toolchain/host_clang/toolchains.gni +++ b/pw_toolchain/host_clang/toolchains.gni @@ -14,6 +14,7 @@ import("//build_overrides/pigweed.gni") +import("$dir_pw_build/defaults.gni") import("$dir_pw_toolchain/clang_tools.gni") declare_args() { @@ -58,11 +59,11 @@ _defaults = { # TODO: b/234888755 - amend toolchain declaration process to # remove this hack. default_configs = [] - default_configs = [ - "$dir_pw_build:extra_debugging", - "$dir_pw_toolchain/host_clang:no_system_libcpp", - "$dir_pw_toolchain/host_clang:xcode_sysroot", - ] + default_configs = pigweed_default_configs + [ + "$dir_pw_build:extra_debugging", + "$dir_pw_toolchain/host_clang:no_system_libcpp", + "$dir_pw_toolchain/host_clang:xcode_sysroot", + ] # OSS-Fuzz uses -stdlib=libc++, which isn't included in the CIPD-provided # Linux sysroot (it instead provides libstdc++). @@ -141,9 +142,9 @@ pw_toolchain_host_clang = { pw_toolchain_FUZZING_ENABLED = true if (pw_toolchain_OSS_FUZZ_ENABLED) { - default_configs += [ "$dir_pw_fuzzer:fuzz_instrumentation" ] - } else { default_configs += [ "$dir_pw_fuzzer:oss_fuzz_instrumentation" ] + } else { + default_configs += [ "$dir_pw_fuzzer:instrumentation" ] } # Fuzz faster. |