aboutsummaryrefslogtreecommitdiff
path: root/pw_string
diff options
context:
space:
mode:
authorRob Mohr <mohrr@google.com>2020-02-27 11:43:49 -0800
committerCQ Bot Account <commit-bot@chromium.org>2020-02-28 01:33:18 +0000
commita0ba54f64805b5b156ef7fe00c543a910e31bd7d (patch)
treedbffeb942349f329e286544354a37bc08edc7f31 /pw_string
parent7862749df0a2e9e328637693b5c81ec091ac631f (diff)
downloadpigweed-a0ba54f64805b5b156ef7fe00c543a910e31bd7d.tar.gz
Roll GN to 239533d
This caused gn format to flag many things which were also fixed. Change-Id: Ie1d9081a1b08047bec52c60f54d2a94366be1ba6
Diffstat (limited to 'pw_string')
-rw-r--r--pw_string/BUILD.gn44
-rw-r--r--pw_string/size_report/BUILD.gn48
2 files changed, 23 insertions, 69 deletions
diff --git a/pw_string/BUILD.gn b/pw_string/BUILD.gn
index 01bf37f60..69513da76 100644
--- a/pw_string/BUILD.gn
+++ b/pw_string/BUILD.gn
@@ -58,54 +58,32 @@ pw_test_group("tests") {
}
pw_test("format_test") {
- deps = [
- ":pw_string",
- ]
- sources = [
- "format_test.cc",
- ]
+ deps = [ ":pw_string" ]
+ sources = [ "format_test.cc" ]
}
pw_test("string_builder_test") {
- deps = [
- ":pw_string",
- ]
- sources = [
- "string_builder_test.cc",
- ]
+ deps = [ ":pw_string" ]
+ sources = [ "string_builder_test.cc" ]
}
pw_test("to_string_test") {
- deps = [
- ":pw_string",
- ]
- sources = [
- "to_string_test.cc",
- ]
+ deps = [ ":pw_string" ]
+ sources = [ "to_string_test.cc" ]
}
pw_test("type_to_string_test") {
- deps = [
- ":pw_string",
- ]
- sources = [
- "type_to_string_test.cc",
- ]
+ deps = [ ":pw_string" ]
+ sources = [ "type_to_string_test.cc" ]
}
pw_test("util_test") {
- deps = [
- ":pw_string",
- ]
- sources = [
- "util_test.cc",
- ]
+ deps = [ ":pw_string" ]
+ sources = [ "util_test.cc" ]
}
pw_doc_group("docs") {
- sources = [
- "docs.rst",
- ]
+ sources = [ "docs.rst" ]
report_deps = [
":format_size_report",
":string_builder_size_report",
diff --git a/pw_string/size_report/BUILD.gn b/pw_string/size_report/BUILD.gn
index 6c16b3daf..cb11f7648 100644
--- a/pw_string/size_report/BUILD.gn
+++ b/pw_string/size_report/BUILD.gn
@@ -15,9 +15,7 @@
import("$dir_pw_build/pw_executable.gni")
pw_executable("single_write_snprintf") {
- sources = [
- "format_single.cc",
- ]
+ sources = [ "format_single.cc" ]
deps = [
"$dir_pw_bloat:bloat_this_binary",
"..",
@@ -26,9 +24,7 @@ pw_executable("single_write_snprintf") {
}
pw_executable("single_write_format") {
- sources = [
- "format_single.cc",
- ]
+ sources = [ "format_single.cc" ]
deps = [
"$dir_pw_bloat:bloat_this_binary",
"..",
@@ -37,9 +33,7 @@ pw_executable("single_write_format") {
}
pw_executable("multiple_writes_snprintf") {
- sources = [
- "format_multiple.cc",
- ]
+ sources = [ "format_multiple.cc" ]
deps = [
"$dir_pw_bloat:bloat_this_binary",
"..",
@@ -48,9 +42,7 @@ pw_executable("multiple_writes_snprintf") {
}
pw_executable("multiple_writes_format") {
- sources = [
- "format_multiple.cc",
- ]
+ sources = [ "format_multiple.cc" ]
deps = [
"$dir_pw_bloat:bloat_this_binary",
"..",
@@ -59,9 +51,7 @@ pw_executable("multiple_writes_format") {
}
pw_executable("many_writes_snprintf") {
- sources = [
- "format_many_without_error_handling.cc",
- ]
+ sources = [ "format_many_without_error_handling.cc" ]
deps = [
"$dir_pw_bloat:bloat_this_binary",
"..",
@@ -70,9 +60,7 @@ pw_executable("many_writes_snprintf") {
}
pw_executable("many_writes_format") {
- sources = [
- "format_many_without_error_handling.cc",
- ]
+ sources = [ "format_many_without_error_handling.cc" ]
deps = [
"$dir_pw_bloat:bloat_this_binary",
"..",
@@ -81,9 +69,7 @@ pw_executable("many_writes_format") {
}
pw_executable("build_string_with_snprintf_no_base_snprintf") {
- sources = [
- "string_builder_size_report.cc",
- ]
+ sources = [ "string_builder_size_report.cc" ]
deps = [
"$dir_pw_bloat:bloat_this_binary",
"..",
@@ -95,9 +81,7 @@ pw_executable("build_string_with_snprintf_no_base_snprintf") {
}
pw_executable("build_string_with_string_builder_no_base_snprintf") {
- sources = [
- "string_builder_size_report.cc",
- ]
+ sources = [ "string_builder_size_report.cc" ]
deps = [
"$dir_pw_bloat:bloat_this_binary",
"..",
@@ -109,9 +93,7 @@ pw_executable("build_string_with_string_builder_no_base_snprintf") {
}
pw_executable("build_string_with_snprintf") {
- sources = [
- "string_builder_size_report.cc",
- ]
+ sources = [ "string_builder_size_report.cc" ]
deps = [
"$dir_pw_bloat:bloat_this_binary",
"..",
@@ -123,9 +105,7 @@ pw_executable("build_string_with_snprintf") {
}
pw_executable("build_string_with_string_builder") {
- sources = [
- "string_builder_size_report.cc",
- ]
+ sources = [ "string_builder_size_report.cc" ]
deps = [
"$dir_pw_bloat:bloat_this_binary",
"..",
@@ -137,9 +117,7 @@ pw_executable("build_string_with_string_builder") {
}
pw_executable("build_string_incremental_with_snprintf") {
- sources = [
- "string_builder_size_report_incremental.cc",
- ]
+ sources = [ "string_builder_size_report_incremental.cc" ]
deps = [
"$dir_pw_bloat:bloat_this_binary",
"..",
@@ -148,9 +126,7 @@ pw_executable("build_string_incremental_with_snprintf") {
}
pw_executable("build_string_incremental_with_string_builder") {
- sources = [
- "string_builder_size_report_incremental.cc",
- ]
+ sources = [ "string_builder_size_report_incremental.cc" ]
deps = [
"$dir_pw_bloat:bloat_this_binary",
"..",