1 LOCAL_PATH := $(call my-dir) 2 3 include $(CLEAR_VARS) 4 LOCAL_MODULE := android.hardware.light (a] 2.0-impl 5 LOCAL_PROPRIETARY_MODULE := true 6 LOCAL_MODULE_RELATIVE_PATH := hw 7 LOCAL_SRC_FILES := \ 8 Light.cpp \ 9 10 LOCAL_SHARED_LIBRARIES := \ 11 libhidlbase \ 12 libhidltransport \ 13 libutils \ 14 liblog \ 15 libcutils \ 16 libhardware \ 17 libbase \ 18 libcutils \ 19 android.hardware.light (a] 2.0 \ 20 21 include $(BUILD_SHARED_LIBRARY) 22 23 include $(CLEAR_VARS) 24 LOCAL_MODULE_RELATIVE_PATH := hw 25 LOCAL_PROPRIETARY_MODULE := true 26 LOCAL_MODULE := android.hardware.light (a] 2.0-service 27 LOCAL_INIT_RC := android.hardware.light (a] 2.0-service.rc 28 LOCAL_SRC_FILES := \ 29 service.cpp \ 30 31 LOCAL_SHARED_LIBRARIES := \ 32 liblog \ 33 libcutils \ 34 libdl \ 35 libbase \ 36 libutils \ 37 libhardware \ 38 39 LOCAL_SHARED_LIBRARIES += \ 40 libhidlbase \ 41 libhidltransport \ 42 android.hardware.light (a] 2.0 \ 43 44 include $(BUILD_EXECUTABLE) 45