Make bionic tests build for linux_bionic
Adds a necessary library, and disables the glibc host tests when
building for bionic host.
Bug: 31559095
Test: mmma bionic
Change-Id: Ie825db59a21bf8e9b4dbdadc63ff14bf8da23087
diff --git a/tests/Android.bp b/tests/Android.bp
index 25af05e..fb8b886 100644
--- a/tests/Android.bp
+++ b/tests/Android.bp
@@ -169,7 +169,7 @@
],
target: {
- android: {
+ bionic: {
whole_static_libs: ["libasync_safe"],
},
},
@@ -618,6 +618,12 @@
sanitize: {
never: false,
},
+
+ target: {
+ linux_bionic: {
+ enabled: false,
+ },
+ },
}
subdirs = ["libs"]