bazelbuild/rules_android

Support `emulator/qemu/linux-aarch64/qemu-system-aarch64`

Offen

#305 geöffnet am 17.08.2022

 (0 Kommentare) (1 Reaktion) (0 zugewiesene Personen)Java (88 Forks)auto 404
P2feature requestgood first issue

Repository-Metriken

Stars
 (202 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

Description of the bug:

when emulator/qemu/linux-aarch64/qemu-system-aarch64 exists in the android SDK on arm linux, bazel doesn't find it.

Might need to add something like:

         "@bazel_tools//src/conditions:linux_aarch64": ["emulator/qemu/linux-aarch64/qemu-system-aarch64"], 

here: https://github.com/bazelbuild/bazel/blob/6621495b7510ff9599e103c04907598b672eab9f/src/main/java/com/google/devtools/build/lib/bazel/rules/android/android_sdk_repository_template.txt#L69-L76

What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.

Try to build https://github.com/android/android-test on linux running on apple silicon (ARM)

preview of linux_aarch64 emulator is available here: https://ci.android.com/builds/branches/aosp-emu-master-dev/grid?

Which operating system are you running Bazel on?

linux on apple silicon (ARM)

Have you found anything relevant by searching the web?

Related: https://issuetracker.google.com/issues/242699119

Contributor Guide