diff options
author | Wyatt Hepler <hepler@google.com> | 2021-05-03 15:30:58 -0700 |
---|---|---|
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2021-05-04 22:30:42 +0000 |
commit | 8bd4fb003ca6d4fb86f606572d80d2e3d23524d4 (patch) | |
tree | 98c68844bbf99320db87b5025ce5848bcf37f00f /pw_sys_io | |
parent | bf3a3aff814fed0444fb101bd712cbf76617a509 (diff) | |
download | pigweed-8bd4fb003ca6d4fb86f606572d80d2e3d23524d4.tar.gz |
pw_build: Support specifying final link dependencies
- pw_build_LINK_DEPS is a list of build targets that are linked into
all build artifacts produced by pw_executable, pw_static_library, and
pw_shared_library.
- Add a ":deps" group to the pw_assert build interface. Require
$dir_pw_assert:deps to be listed in pw_build_LINK_DEPS if
pw_assert_BACKEND is set.
Change-Id: Icc01dbe86f95d971e76aa357c7b7174ce85546ba
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/43521
Pigweed-Auto-Submit: Wyatt Hepler <hepler@google.com>
Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com>
Reviewed-by: Armando Montanez <amontanez@google.com>
Diffstat (limited to 'pw_sys_io')
-rw-r--r-- | pw_sys_io/BUILD.gn | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pw_sys_io/BUILD.gn b/pw_sys_io/BUILD.gn index 47feb4377..a15e99907 100644 --- a/pw_sys_io/BUILD.gn +++ b/pw_sys_io/BUILD.gn @@ -19,13 +19,13 @@ import("$dir_pw_build/target_types.gni") import("$dir_pw_docgen/docs.gni") import("backend.gni") -config("default_config") { +config("public_include_path") { include_dirs = [ "public" ] } pw_facade("pw_sys_io") { backend = pw_sys_io_BACKEND - public_configs = [ ":default_config" ] + public_configs = [ ":public_include_path" ] public_deps = [ dir_pw_status ] public = [ "public/pw_sys_io/sys_io.h" ] } |