From e99ae12e6237ba89b076c176b65448092b5ccc84 Mon Sep 17 00:00:00 2001 From: Alex Yakavenka Date: Thu, 11 May 2017 17:18:13 -0700 Subject: [PATCH] Compile manager-lib shared library bug: 38424350 Test: Local build Change-Id: Idd03b8bac365f17b7fc418016d2c250a199384fe --- automotive/vehicle/2.0/default/Android.mk | 29 +++++++++++++++++++---- 1 file changed, 25 insertions(+), 4 deletions(-) diff --git a/automotive/vehicle/2.0/default/Android.mk b/automotive/vehicle/2.0/default/Android.mk index 3c56159e78..6c2de0035f 100644 --- a/automotive/vehicle/2.0/default/Android.mk +++ b/automotive/vehicle/2.0/default/Android.mk @@ -37,13 +37,37 @@ LOCAL_EXPORT_C_INCLUDE_DIRS := \ LOCAL_SHARED_LIBRARIES := \ libhidlbase \ libhidltransport \ - libhwbinder \ liblog \ libutils \ $(vhal_v2_0) \ include $(BUILD_STATIC_LIBRARY) + +include $(CLEAR_VARS) +LOCAL_MODULE := $(vhal_v2_0)-manager-lib-shared +LOCAL_SRC_FILES := \ + common/src/SubscriptionManager.cpp \ + common/src/VehicleHalManager.cpp \ + common/src/VehicleObjectPool.cpp \ + common/src/VehiclePropertyStore.cpp \ + common/src/VehicleUtils.cpp \ + +LOCAL_C_INCLUDES := \ + $(LOCAL_PATH)/common/include/vhal_v2_0 + +LOCAL_EXPORT_C_INCLUDE_DIRS := \ + $(LOCAL_PATH)/common/include + +LOCAL_SHARED_LIBRARIES := \ + libhidlbase \ + libhidltransport \ + liblog \ + libutils \ + $(vhal_v2_0) \ + +include $(BUILD_SHARED_LIBRARY) + ############################################################################### # Vehicle HAL Protobuf library ############################################################################### @@ -91,7 +115,6 @@ LOCAL_SHARED_LIBRARIES := \ libbase \ libhidlbase \ libhidltransport \ - libhwbinder \ liblog \ libprotobuf-cpp-lite \ libutils \ @@ -125,7 +148,6 @@ LOCAL_SRC_FILES:= \ LOCAL_SHARED_LIBRARIES := \ libhidlbase \ libhidltransport \ - libhwbinder \ liblog \ libutils \ $(vhal_v2_0) \ @@ -152,7 +174,6 @@ LOCAL_SHARED_LIBRARIES := \ libbase \ libhidlbase \ libhidltransport \ - libhwbinder \ liblog \ libprotobuf-cpp-lite \ libutils \