commit | 05acad3061c43719490b152cacfff0b2cae2fd82 | [log] [tgz] |
---|---|---|
author | Ted Pudlik <tpudlik@google.com> | Tue Nov 07 18:11:17 2023 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Nov 07 18:11:17 2023 +0000 |
tree | 2bc78f0094f3e26027f9a8f3837ae9c1f001dde8 | |
parent | 4e43f63c083bb14ef1ff0c0c59b3ad8762d44478 [diff] |
bazel: Make pw_cc_library an alias for cc_library This is done by removing the last modification that pw_cc_library applied on top of cc_library, i.e. setting `linkstatic` to `True`. This is safe for Bazel users, because the toolchains we define in Pigweed don't have a `supports_dynamic_linker` feature (so `linkstatic` is a no-op). The internal host toolchain does have this feature, but I verified that nothing breaks with this change (cl/579948365). Followup CLs will replace all `pw_cc_library` instances with native `cc_library`, allowing us to finally retire this macro. Bug: b/267498492 Change-Id: I0ab501ffb5e7298962a2dc3ad2352348c3a561a3 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/178924 Reviewed-by: Armando Montanez <amontanez@google.com> Presubmit-Verified: CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> Commit-Queue: Ted Pudlik <tpudlik@google.com>
Pigweed is an open source collection of embedded-targeted libraries–or as we like to call them, modules. These modules are building blocks and infrastructure that enable faster and more reliable development on small-footprint MMU-less 32-bit microcontrollers like the STMicroelectronics STM32L452 or the Nordic nRF52832.
For more information please see our website: https://pigweed.dev/.