From b7df6cba8ebd3ff7dcb0f761d53256111b3b47e7 Mon Sep 17 00:00:00 2001 From: Jiyong Park Date: Thu, 13 Apr 2017 21:19:48 -0700 Subject: [PATCH] libbinder: really make it available to vendors Fixed a bug that vendor variant of the lib is not built due to missing global include path. Bug: 36426473 Bug: 36079834 Test: BOARD_VNDK_VERSION=current m -j libbinder.vendor successful Change-Id: Ice32a23023d7fd9b78c084c3bef455f7008fe4da --- libs/binder/Android.bp | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/libs/binder/Android.bp b/libs/binder/Android.bp index 77a8c022c4..087718eaa8 100644 --- a/libs/binder/Android.bp +++ b/libs/binder/Android.bp @@ -15,6 +15,17 @@ cc_library_headers { name: "libbinder_headers", export_include_dirs: ["include"], + vendor_available: true, + header_libs: [ + "libbase_headers", + "libcutils_headers", + "libutils_headers", + ], + export_header_lib_headers: [ + "libbase_headers", + "libcutils_headers", + "libutils_headers", + ], } cc_library { @@ -70,9 +81,13 @@ cc_library { "libcutils", "libutils", ], - export_shared_lib_headers: [ - "libbase", - "libutils", + + header_libs: [ + "libbinder_headers", + ], + + export_header_lib_headers: [ + "libbinder_headers", ], clang: true, -- 2.11.0