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_stdio | |
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_stdio')
-rw-r--r-- | pw_sys_io_stdio/BUILD.gn | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pw_sys_io_stdio/BUILD.gn b/pw_sys_io_stdio/BUILD.gn index a683ab90d..48a182430 100644 --- a/pw_sys_io_stdio/BUILD.gn +++ b/pw_sys_io_stdio/BUILD.gn @@ -12,12 +12,13 @@ # License for the specific language governing permissions and limitations under # the License. +import("$dir_pw_build/target_types.gni") import("$dir_pw_docgen/docs.gni") # This if statement allows docs to always build even if the target isn't # compatible with this backend. if (dir_pw_sys_io_backend == dir_pw_sys_io_stdio) { - source_set("pw_sys_io_stdio") { + pw_source_set("pw_sys_io_stdio") { deps = [ "$dir_pw_sys_io:default_putget_bytes", "$dir_pw_sys_io:facade", |