diff options
author | Colin Cross <ccross@android.com> | 2022-03-08 15:12:51 -0800 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2022-03-08 15:12:51 -0800 |
commit | 46089112a58fc7569bdb058d28069fa7784d19f9 (patch) | |
tree | 096d350312787c858e6f0f65d2665031156b8f5c | |
parent | d91b1440d938585794683ad45c5cee8132957036 (diff) | |
download | vixl-46089112a58fc7569bdb058d28069fa7784d19f9.tar.gz |
Tweak linux_glibc properties for musl builds in external/vixl
For convenience, builds against musl libc currently use the
linux_glibc properties because they are almost always linux-specific
and not glibc-specific. In preparation for removing this hack,
tweak the linux_glibc properties by either moving them to host_linux,
which will apply to linux_glibc, linux_musl and linux_bionic, or
by setting appropriate musl or linux_musl properties. Properties
that must not be repeated while musl uses linux_musl and also still
uses the linux_glibc properties are moved to glibc properties, which
don't apply to musl. Whether these stay as glibc properties or get
moved back to linux_glibc later once the musl hack is removed is TBD.
Bug: 223257095
Test: m checkbuild
Test: m USE_HOST_MUSL=true host-native
Change-Id: Ib0d3182fa8372d7ae26af474a27a1f7606f89219
-rw-r--r-- | Android.bp | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -249,5 +249,8 @@ cc_test_host { linux_glibc_x86_64: { enabled: true, }, + linux_musl_x86_64: { + enabled: true, + }, }, } |