pw_build: Extend colors across multiple log lines colorized cmake will start with a color code on one line, and send the color code reset many lines later. This CL updates project_builder.py to save any non-reset color codes and apply them to the follow log lines. Bug: 413077856 Test: colorized cmake logs now look correct Change-Id: I8a42455e1016328fe273e1042e807c6218f22d87 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/285892 Docs-Not-Needed: Alan Rosenthal <alanrosenthal@google.com> Presubmit-Verified: CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Chad Norvell <chadnorvell@google.com> Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com> Commit-Queue: Alan Rosenthal <alanrosenthal@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/.