This makes use of Bazel's configuration feature 'label_flag' to create
a set of configurations that have overridable defaults from the command
line.
No-Docs-Update-Reason: Docs further up the stack in 41561.
Change-Id: Id4064c8f11bc6ec468aad18ef4d02fa472fdc590
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/41560
Reviewed-by: Keir Mierle <keir@google.com>
Reviewed-by: Ewout van Bekkum <ewout@google.com>
Reviewed-by: Akira Baruah <akirabaruah@google.com>
Commit-Queue: Keir Mierle <keir@google.com>
* Split pw_assert targets as in pwrev/9000.
* Add many missing dependencies (mostly on //pw_unit_test)
* Added visibility and licenses to pw_minimal_cpp_stdlib/BUILD
* Used explicit template params in pw_result/result_test.cc
* Added missing #include of pw_kvs/pw_kvs_private/macros.h
Change-Id: I9bdc875b585e47792ca926f7c75cfe055b02fa48
Bug: 101
Some Pigweed compilation options do not work for C files, and Bazel
doesn't provide a way to split C and C++ compmile options at the
cc_library level. This change updates the pw build rules to build C
code, if any, in a separate cc_library that the C++ library depends on.
Change-Id: I7c1b3c95665a382e35c69f3ec57d4a1cca8abe2d
Instead of having a global list of -I include paths, have each library
provide a -I for the public/ directory using the includes argument.
Change-Id: I2e321752906920cd94beaaab97b8796af85078e4
This change adds a pw_protobuf module containing a lightweight protobuf
wire format encoder. The encoder comes with a Python script that plugs
into protoc to generate C++ classes from Protobuf files that wrap its
functionality.
Bug: 20
Change-Id: I867655ab64c2f6ddd2a731054b1fbe7ccc97ba70
This change moves the gtest/gtest.h header override provided by
pw_unit_test into public_overrides/ to conform the Pigweed's module
structure.
Change-Id: Ie6c30e8db3acbe948c99b18e6843dba6d58e7cdc