diff options
author | Alexei Frolov <frolv@google.com> | 2020-06-09 19:11:27 -0700 |
---|---|---|
committer | Wyatt Hepler <hepler@google.com> | 2020-06-16 09:50:59 -0700 |
commit | edd2f148be609f3938eb5ab95b8738823463f621 (patch) | |
tree | c41ae401360646422a88bfdfa4eb717e1037b2a9 /pw_sys_io | |
parent | 844ff0f056df8268b8d4088433d7fbb8e2829ebd (diff) | |
download | pigweed-edd2f148be609f3938eb5ab95b8738823463f621.tar.gz |
pw_build: Switch to pw_* target types
This change replaces the implicit overrides of the default GN target
types in BUILDCONFIG.gn with explicit pw_* versions. This is done to
allow Pigweed to build within larger GN projects without modifying their
BUILDCONFIG files.
Change-Id: I1d1e41d5e9bde8fe076f7031f3c2b98b9630ff70
Diffstat (limited to 'pw_sys_io')
-rw-r--r-- | pw_sys_io/BUILD.gn | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pw_sys_io/BUILD.gn b/pw_sys_io/BUILD.gn index 0c48cf65d..b7afcc58e 100644 --- a/pw_sys_io/BUILD.gn +++ b/pw_sys_io/BUILD.gn @@ -13,6 +13,7 @@ # the License. import("$dir_pw_build/facade.gni") +import("$dir_pw_build/target_types.gni") import("$dir_pw_docgen/docs.gni") config("default_config") { @@ -29,7 +30,7 @@ pw_facade("pw_sys_io") { public = [ "public/pw_sys_io/sys_io.h" ] } -source_set("default_putget_bytes") { +pw_source_set("default_putget_bytes") { deps = [ ":facade" ] sources = [ "sys_io.cc" ] } |