aboutsummaryrefslogtreecommitdiff
path: root/pw_sys_io_stdio
diff options
context:
space:
mode:
authorAlexei Frolov <frolv@google.com>2020-06-09 19:11:27 -0700
committerWyatt Hepler <hepler@google.com>2020-06-16 09:50:59 -0700
commitedd2f148be609f3938eb5ab95b8738823463f621 (patch)
treec41ae401360646422a88bfdfa4eb717e1037b2a9 /pw_sys_io_stdio
parent844ff0f056df8268b8d4088433d7fbb8e2829ebd (diff)
downloadpigweed-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.gn3
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",