Only clear system_shared_libs when building for bionic am: 74985fccfb am: 293b5a5bc8 am: c4df296ad5 am: 7621d7701f
Original change: https://android-review.googlesource.com/c/platform/external/arm-optimized-routines/+/1968802
Change-Id: I9174171f2ae0726057235d73e2a173a7aa2a04c6
diff --git a/Android.bp b/Android.bp
index ba814eb..8fe656e 100755
--- a/Android.bp
+++ b/Android.bp
@@ -56,10 +56,14 @@
],
stl: "none",
- static: {
- system_shared_libs: [],
+ target: {
+ bionic: {
+ static: {
+ system_shared_libs: [],
+ },
+ header_libs: ["libc_headers"],
+ },
},
- header_libs: ["libc_headers"],
}
cc_library_static {