Bind mount etc files because vendor_overlay/29/etc makes device to reboot to recovery from pstore vdc: Command: cryptfs enablefilecrypto Failed: Status(-8, EX_SERVICE_SPECIFIC): '0: '
42 lines
1,021 B
Makefile
42 lines
1,021 B
Makefile
LOCAL_PATH := $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE := android.hardware.light@2.0-service.lenovo_kunlun2
|
|
LOCAL_MODULE_TAGS := optional
|
|
|
|
LOCAL_MODULE_PATH := $(TARGET_OUT_PRODUCT)/vendor_overlay/$(PRODUCT_TARGET_VNDK_VERSION)/bin
|
|
LOCAL_MODULE_RELATIVE_PATH := hw
|
|
LOCAL_MODULE_STEM := android.hardware.light@2.0-service
|
|
|
|
LOCAL_SRC_FILES := \
|
|
service.cpp \
|
|
Light.cpp
|
|
|
|
LOCAL_REQUIRED_MODULES := \
|
|
android.hardware.light@2.0-service.lenovo_kunlun2.rc
|
|
|
|
LOCAL_SHARED_LIBRARIES := \
|
|
libhardware \
|
|
libhidlbase \
|
|
liblog \
|
|
android.hardware.light@2.0
|
|
|
|
LOCAL_STATIC_LIBRARIES := \
|
|
libbase \
|
|
libutils
|
|
|
|
include $(BUILD_EXECUTABLE)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE := android.hardware.light@2.0-service.lenovo_kunlun2.rc
|
|
LOCAL_MODULE_TAGS := optional
|
|
LOCAL_MODULE_CLASS := ETC
|
|
|
|
LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/init
|
|
LOCAL_MODULE_STEM := android.hardware.light@2.0-service.rc
|
|
|
|
LOCAL_SRC_FILES := android.hardware.light@2.0-service.lenovo_kunlun2.rc
|
|
|
|
include $(BUILD_PREBUILT)
|