mirror of
https://fuchsia.googlesource.com/third_party/pigweed.googlesource.com/pigweed/pigweed
synced 2024-07-12 01:23:34 +00:00
pw_presubmit: Add check for rp2040_binary transition
Change-Id: Ie6de3159296382bcd7077184d5b2d54bd7a3e252 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/218273 Pigweed-Auto-Submit: Taylor Cramer <cramertj@google.com> Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com> Reviewed-by: Armando Montanez <amontanez@google.com> Commit-Queue: Taylor Cramer <cramertj@google.com>
This commit is contained in:
parent
0ea6a01ffe
commit
1dbd4a434d
|
@ -869,6 +869,7 @@ def bazel_build(ctx: PresubmitContext) -> None:
|
|||
)
|
||||
|
||||
# Build upstream Pigweed for the rp2040.
|
||||
# First using the config.
|
||||
build_bazel(
|
||||
ctx,
|
||||
'build',
|
||||
|
@ -881,6 +882,15 @@ def bazel_build(ctx: PresubmitContext) -> None:
|
|||
# will return an error instead of skipping it.)
|
||||
'//pw_system:system_example',
|
||||
)
|
||||
# Then using the transition.
|
||||
#
|
||||
# This ensures that the rp2040_binary rule transition includes all required
|
||||
# backends.
|
||||
build_bazel(
|
||||
ctx,
|
||||
'build',
|
||||
'//pw_system:rp2040_system_example',
|
||||
)
|
||||
|
||||
# Build upstream Pigweed for the Discovery board using STM32Cube.
|
||||
build_bazel(
|
||||
|
|
Loading…
Reference in New Issue
Block a user