diff options
author | Wyatt Hepler <hepler@google.com> | 2020-01-15 15:40:51 -0800 |
---|---|---|
committer | Wyatt Hepler <hepler@google.com> | 2020-01-16 11:41:15 -0800 |
commit | 2119240da17395d323df8c4f71d307da38818dc6 (patch) | |
tree | 6d4112f7a7003d99f8da82d063a51c821c6cddf7 /pw_varint/BUILD.gn | |
parent | 0ce4806c51438160f55bd28f592af996ca588d88 (diff) | |
download | pigweed-2119240da17395d323df8c4f71d307da38818dc6.tar.gz |
GN build: Override built-in targets
- Override built-in targets, which gives more flexibility than
set_defaults.
- Provide the default C++ in the toolchain, which can be overridden by
explicitly specifying a config on a target.
- Remove the C++17 default flags from public configs, since it is no
longer needed.
Change-Id: If211bada971c46cef83909bf15811a4f2c1eb7fd
Diffstat (limited to 'pw_varint/BUILD.gn')
-rw-r--r-- | pw_varint/BUILD.gn | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/pw_varint/BUILD.gn b/pw_varint/BUILD.gn index cb46782de..b79418092 100644 --- a/pw_varint/BUILD.gn +++ b/pw_varint/BUILD.gn @@ -19,10 +19,7 @@ config("default_config") { } source_set("pw_varint") { - public_configs = [ - "$dir_pw_build:pw_default_cpp", - ":default_config", - ] + public_configs = [ ":default_config" ] public_deps = [ "$dir_pw_span", ] |