commit | 52db0c3e7eca3e6e4d19e2553b1da9cc4b6a5144 | [log] [tgz] |
---|---|---|
author | Alexei Frolov <frolv@google.com> | Wed Aug 17 20:55:00 2022 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Aug 17 20:55:00 2022 +0000 |
tree | 2f77c3606c994e9a96831c4d29d11dea93d82dc8 | |
parent | cad987cd6edf7fcb8056c05c10a8ff590cf8caea [diff] |
pw_build: Shorten script path in generated_modules_lists This updates the script path written to the generated modules file to only show the parent directory and script file (i.e. pw_build/generate_modules_lists.py). This ensures that the generated output is the same when invoked by Ninja or from another Python module. Otherwise, the import case results in a script path starting in .environment/ causing the module list diff to fail. Additionally, this fixes a bug where the module list diff was not being printed due to the generator being consumed. Change-Id: I048d1864e313956381149fc533d4784f750a18a9 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/107190 Reviewed-by: Wyatt Hepler <hepler@google.com> Commit-Queue: Alexei Frolov <frolv@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/.