commit | b82b44083c1d1f0abd21ddfede241102587dddb8 | [log] [tgz] |
---|---|---|
author | Wyatt Hepler <hepler@google.com> | Thu Feb 24 15:34:59 2022 -0800 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Feb 28 20:36:20 2022 +0000 |
tree | f1a1087ed9532e8f3e215de6724ed870fda03580 | |
parent | c351f7dfee00a992a5a55fd371075f99d582642a [diff] |
pw_build: Check in the modules lists .gni Supporting a generated modules list becomes very complicated if builds import the modules list in a .gn or BUILDCONFIG.gn file, since these are executed before root_build_dir is defined. - Instead of generating the modules list .gni during gn gen, use a checked-in copy of it. - Add the check_modules Ninja target that checks the modules list and warns or aborts the build if something needs to be fixed. - Add the update_modules Ninja target updates the checked-in modules list if there are no warnings or errors. Change-Id: Iee939b4fadb22b832635db4f6bcd2170be14a8df Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/85680 Reviewed-by: Rob Oliver <rgoliver@google.com> Reviewed-by: Keir Mierle <keir@google.com> Commit-Queue: Wyatt Hepler <hepler@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/