diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2024-03-12 23:07:32 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2024-03-12 23:07:32 +0000 |
commit | 47562fa92998f8f4289ae9a8048349067754d52e (patch) | |
tree | c1643be8ab17fc607cea748a8bb1d621a5964873 /pw_string/BUILD.gn | |
parent | eeec55b65fe2c3c7647bb70ea44b3c839eb1267c (diff) | |
parent | 646563934a3e2ee26f50171f94d95173a1662e2c (diff) | |
download | pigweed-47562fa92998f8f4289ae9a8048349067754d52e.tar.gz |
Snap for 11566117 from 646563934a3e2ee26f50171f94d95173a1662e2c to sdk-releaseplatform-tools-35.0.1
Change-Id: Iec629b181a2c6905754a4c340e334884e13fd3b4
Diffstat (limited to 'pw_string/BUILD.gn')
-rw-r--r-- | pw_string/BUILD.gn | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/pw_string/BUILD.gn b/pw_string/BUILD.gn index bc73a2504..ef3fda62c 100644 --- a/pw_string/BUILD.gn +++ b/pw_string/BUILD.gn @@ -66,6 +66,9 @@ pw_source_set("builder") { dir_pw_span, dir_pw_status, ] + + # TODO: b/259746255 - Remove this when everything compiles with -Wconversion. + configs = [ "$dir_pw_build:conversion_warnings" ] } pw_source_set("format") { @@ -73,10 +76,14 @@ pw_source_set("format") { public = [ "public/pw_string/format.h" ] sources = [ "format.cc" ] public_deps = [ + ":string", dir_pw_preprocessor, dir_pw_span, dir_pw_status, ] + + # TODO: b/259746255 - Remove this when everything compiles with -Wconversion. + configs = [ "$dir_pw_build:conversion_warnings" ] } pw_source_set("string") { @@ -90,6 +97,9 @@ pw_source_set("string") { dir_pw_assert, dir_pw_polyfill, ] + + # TODO: b/259746255 - Remove this when everything compiles with -Wconversion. + configs = [ "$dir_pw_build:conversion_warnings" ] } pw_source_set("to_string") { @@ -106,6 +116,10 @@ pw_source_set("to_string") { dir_pw_span, dir_pw_status, ] + deps = [ "$dir_pw_third_party/fuchsia:stdcompat" ] + + # TODO: b/259746255 - Remove this when everything compiles with -Wconversion. + configs = [ "$dir_pw_build:conversion_warnings" ] } pw_source_set("util") { @@ -139,17 +153,26 @@ pw_test_group("tests") { pw_test("format_test") { deps = [ ":format" ] sources = [ "format_test.cc" ] + + # TODO: b/259746255 - Remove this when everything compiles with -Wconversion. + configs = [ "$dir_pw_build:conversion_warnings" ] } pw_test("string_test") { deps = [ ":string" ] sources = [ "string_test.cc" ] negative_compilation_tests = true + + # TODO: b/259746255 - Remove this when everything compiles with -Wconversion. + configs = [ "$dir_pw_build:conversion_warnings" ] } pw_test("string_builder_test") { deps = [ ":builder" ] sources = [ "string_builder_test.cc" ] + + # TODO: b/259746255 - Remove this when everything compiles with -Wconversion. + configs = [ "$dir_pw_build:conversion_warnings" ] } pw_test("to_string_test") { @@ -158,21 +181,31 @@ pw_test("to_string_test") { ":pw_string", ] sources = [ "to_string_test.cc" ] + + # TODO: b/259746255 - Remove this when everything compiles with -Wconversion. + configs = [ "$dir_pw_build:conversion_warnings" ] } pw_test("type_to_string_test") { deps = [ ":to_string" ] sources = [ "type_to_string_test.cc" ] + + # TODO: b/259746255 - Remove this when everything compiles with -Wconversion. + configs = [ "$dir_pw_build:conversion_warnings" ] } pw_test("util_test") { deps = [ ":util" ] sources = [ "util_test.cc" ] + + # TODO: b/259746255 - Remove this when everything compiles with -Wconversion. + configs = [ "$dir_pw_build:conversion_warnings" ] } pw_doc_group("docs") { sources = [ "api.rst", + "code_size.rst", "design.rst", "docs.rst", "guide.rst", |