Don't link with libbinder itself just for the headers
am: 3287b21975
Change-Id: Ibfb62642bda004e69b7261311e463381d17dde21
diff --git a/transport/token/1.0/utils/Android.bp b/transport/token/1.0/utils/Android.bp
index cdbdd97..8e23c62 100644
--- a/transport/token/1.0/utils/Android.bp
+++ b/transport/token/1.0/utils/Android.bp
@@ -25,16 +25,22 @@
"HybridInterface.cpp",
],
+ header_libs: [
+ "libbinder_headers",
+ ],
+
shared_libs: [
"android.hidl.token@1.0",
- "libbinder",
"libhidlbase",
"liblog",
"libutils",
],
+ export_header_lib_headers: [
+ "libbinder_headers",
+ ],
+
export_shared_lib_headers: [
- "libbinder",
"libhidlbase",
],