Commit Graph

3 Commits

Author SHA1 Message Date
Ted Pudlik
e4224c5161 bazel: Add module configuration support
This CL adds label_flags allowing the injection of module configuration
for all Pigweed modules. It's a followup to http://pwrev.dev/181032,
which introduced and documented this pattern, but implemented it for
only one module (pw_thread_freertos).

Fixes: b/234872811
Change-Id: I8f05f7636e96a5009e3a6eb6fe7b2af89dcb9811
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/186725
Commit-Queue: Auto-Submit <auto-submit@pigweed-service-accounts.iam.gserviceaccount.com>
Reviewed-by: Armando Montanez <amontanez@google.com>
Pigweed-Auto-Submit: Ted Pudlik <tpudlik@google.com>
2024-01-08 21:33:53 +00:00
Ted Pudlik
77dbd41823 bazel: Replace pw_cc_library with cc_library
This change was automatically generated by running,

    buildozer 'set kind cc_library' ...:%pw_cc_library
    buildozer 'fix unusedLoads' ...:__pkg__

The first command converted all `pw_cc_library` targets to `cc_library`.
The second removed the (now unused) loads of `pw_cc_library` from the
affected BUILD.bazel files.

This change is just a no-op cleanup, since `pw_cc_library` became an
alias for `cc_library` in http://pwrev.dev/178924.

Bug: 267498492
Change-Id: Iefcc21fc5819a21612bbaffaafd1ffbec42faa26
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/186763
Reviewed-by: Armando Montanez <amontanez@google.com>
Pigweed-Auto-Submit: Ted Pudlik <tpudlik@google.com>
Commit-Queue: Auto-Submit <auto-submit@pigweed-service-accounts.iam.gserviceaccount.com>
Presubmit-Verified: CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com>
2024-01-03 23:59:35 +00:00
Akira Baruah
40a9c3f128 bazel: Rename BUILD to BUILD.bazel
Avoids potential naming conflicts with other build systems.

Change-Id: Ib6569cc05c028d5680879724304b17dfc1fae0af
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/49306
Commit-Queue: Akira Baruah <akirabaruah@google.com>
Reviewed-by: Rob Mohr <mohrr@google.com>
Reviewed-by: Nathaniel Brough <nathaniel.brough@gmail.com>
Reviewed-by: Wyatt Hepler <hepler@google.com>
2021-07-14 19:36:41 +00:00