summaryrefslogtreecommitdiff
path: root/java/builder.go
diff options
context:
space:
mode:
author Cole Faust <colefaust@google.com> 2022-10-20 16:49:30 -0700
committer Cole Faust <colefaust@google.com> 2022-10-20 16:49:30 -0700
commitf5eae990bca7717641dc226f51ec335d5cfb401a (patch)
treed136e27471f003e83427388bcb39f1a7633a4e30 /java/builder.go
parenta9e1df1522e739fd20cd6eb91ee7474fba94ed23 (diff)
Fix bazel builds with unspecified arch
//build/bazel/platforms:android_target is an alias to android_{arch}, so on bulids like "ndk" that don't specify an arch, it fails. It's also questionable if we should be setting the platform to android in a mixed build in the first place. What if we were mixed-building a host tool? This reproduces when running `OUT_DIR=out ./build/soong/scripts/build-ndk-prebuilts.sh` with aosp/2263623. That script specifies --soong-only, which is important because even without bazel, `m nothing` on ndk-userdebug will fail with errors in makefile code. Bug: 254701254 Test: Described above Change-Id: I34cae0287830a19c4865fbd398f3c4e1ee1d2d66
Diffstat (limited to 'java/builder.go')
0 files changed, 0 insertions, 0 deletions