aboutsummaryrefslogtreecommitdiff
path: root/pw_string/BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'pw_string/BUILD.gn')
-rw-r--r--pw_string/BUILD.gn22
1 files changed, 22 insertions, 0 deletions
diff --git a/pw_string/BUILD.gn b/pw_string/BUILD.gn
index 3221e0214..1e5481be1 100644
--- a/pw_string/BUILD.gn
+++ b/pw_string/BUILD.gn
@@ -28,9 +28,11 @@ source_set("pw_string") {
"public/pw_string/format.h",
"public/pw_string/to_string.h",
"public/pw_string/type_to_string.h",
+ "public/pw_string/util.h",
]
sources = [
"format.cc",
+ "string_builder.cc",
"type_to_string.cc",
]
sources += public
@@ -63,6 +65,16 @@ pw_test("format_test") {
]
}
+pw_test("string_builder_test") {
+ deps = [
+ ":pw_string",
+ "$dir_pw_unit_test:main",
+ ]
+ sources = [
+ "string_builder_test.cc",
+ ]
+}
+
pw_test("to_string_test") {
deps = [
":pw_string",
@@ -81,6 +93,16 @@ pw_test("type_to_string_test") {
]
}
+pw_test("util_test") {
+ deps = [
+ ":pw_string",
+ "$dir_pw_unit_test:main",
+ ]
+ sources = [
+ "util_test.cc",
+ ]
+}
+
pw_size_report("format_size_report") {
title = "Using pw::string::Format instead of snprintf"