summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Colin Cross <ccross@android.com> 2022-03-08 18:25:24 -0800
committer Colin Cross <ccross@android.com> 2022-03-08 18:25:24 -0800
commit4a4a85f5bb2460e6c1057b95a6a32b48ae8161f7 (patch)
treea694014a9566544fb57820838701a264a099b304
parent27223c51a4feede01708cca6b252f59063b5bf9a (diff)
Tweak linux_glibc properties for musl builds in frameworks/native
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: Ie6ff6754641d482439aba85fb1415d4845e2a860
-rw-r--r--libs/input/Android.bp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/input/Android.bp b/libs/input/Android.bp
index e73c3b8518..71a129141d 100644
--- a/libs/input/Android.bp
+++ b/libs/input/Android.bp
@@ -113,7 +113,7 @@ cc_library {
"frameworks/native/libs/arect/include",
],
},
- linux_glibc: {
+ host_linux: {
srcs: [
"InputTransport.cpp",
"android/os/IInputConstants.aidl",