diff options
author | 2022-10-20 16:49:30 -0700 | |
---|---|---|
committer | 2022-10-20 16:49:30 -0700 | |
commit | f5eae990bca7717641dc226f51ec335d5cfb401a (patch) | |
tree | d136e27471f003e83427388bcb39f1a7633a4e30 /java/builder.go | |
parent | a9e1df1522e739fd20cd6eb91ee7474fba94ed23 (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