libnativehelper: restrict libbase dependency
The libbase dependency is only required on Windows for translating
Windows error codes to strings.
Test: m
Change-Id: I17add6fc847673957c8c76435afe820a829c337a
diff --git a/Android.bp b/Android.bp
index b33edfb..eda2519 100644
--- a/Android.bp
+++ b/Android.bp
@@ -58,10 +58,7 @@
"JniInvocation.cpp",
"toStringArray.cpp",
],
- shared_libs: [
- "libbase",
- "liblog",
- ],
+ shared_libs: ["liblog"],
cflags: [
"-Werror",
"-fvisibility=protected",
@@ -77,6 +74,7 @@
},
target: {
windows: {
+ shared_libs: ["libbase"],
enabled: true,
},
},