Set the default --platforms value to android_arm. am: 6333b0e460

Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1713488

Change-Id: I0f4f240998621e4458722972787972b99ca00e72
This commit is contained in:
Jingwen Chen
2021-05-20 06:35:36 +00:00
committed by Automerger Merge Worker

View File

@@ -333,7 +333,7 @@ func (r *builtinBazelRunner) issueBazelCommand(paths *bazelPaths, runName bazel.
// The actual platform values here may be overridden by configuration
// transitions from the buildroot.
cmdFlags = append(cmdFlags,
fmt.Sprintf("--platforms=%s", "//build/bazel/platforms:android_x86_64"))
fmt.Sprintf("--platforms=%s", "//build/bazel/platforms:android_arm"))
cmdFlags = append(cmdFlags,
fmt.Sprintf("--extra_toolchains=%s", "//prebuilts/clang/host/linux-x86:all"))
// This should be parameterized on the host OS, but let's restrict to linux