platform_hardware_interfaces/health/1.0/default/Android.mk
Steven Moreland 7e73d5b908 Remove viral dependency on libhwbinder. (2/2)
find hardware/interfaces -name Android.mk -exec sed -i -e '/libhwbinder
\\/d' {} \;
find hardware/interfaces -name Android.bp -exec sed -i -e
'/"libhwbinder"/d' {} \;
./hardware/interfaces/update-makefiles.sh

Note, automotive has some actual dependencies on libhwbinder, filed
b/35758626 for this.

Test: everything links
Test: (sanity) booted marlin on internal master with these changes
Bug: 35710429
Change-Id: I6d0726c8130d00684b978efbdd48e3ae396f12e5
2017-02-24 12:18:01 -08:00

59 lines
1.4 KiB
Makefile

LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := android.hardware.health@1.0-impl
LOCAL_PROPRIETARY_MODULE := true
LOCAL_MODULE_RELATIVE_PATH := hw
LOCAL_C_INCLUDES := system/core/healthd/include system/core/base/include
LOCAL_SRC_FILES := \
Health.cpp \
LOCAL_SHARED_LIBRARIES := \
libcutils \
libhidlbase \
libhidltransport \
liblog \
libutils \
android.hardware.health@1.0 \
LOCAL_STATIC_LIBRARIES := android.hardware.health@1.0-convert
LOCAL_HAL_STATIC_LIBRARIES := libhealthd
include $(BUILD_SHARED_LIBRARY)
include $(CLEAR_VARS)
LOCAL_MODULE := android.hardware.health@1.0-convert
LOCAL_SRC_FILES := convert.cpp
LOCAL_C_INCLUDES := system/core/healthd/include system/core/base/include
LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include
LOCAL_SHARED_LIBRARIES := \
libcutils \
libhidlbase \
libhidltransport \
libutils \
android.hardware.health@1.0 \
include $(BUILD_STATIC_LIBRARY)
include $(CLEAR_VARS)
LOCAL_PROPRIETARY_MODULE := true
LOCAL_MODULE_RELATIVE_PATH := hw
LOCAL_MODULE := android.hardware.health@1.0-service
LOCAL_INIT_RC := android.hardware.health@1.0-service.rc
LOCAL_SRC_FILES := \
HealthService.cpp \
LOCAL_SHARED_LIBRARIES := \
liblog \
libcutils \
libdl \
libbase \
libutils \
libhidlbase \
libhidltransport \
android.hardware.health@1.0 \
include $(BUILD_EXECUTABLE)
include $(call first-makefiles-under,$(LOCAL_PATH))