blob: da75e1a6a448cf18cc6734e0911fcea26792605d [file] [log] [blame]
Steven Moreland81f5da92016-09-30 16:32:24 -07001LOCAL_PATH := $(call my-dir)
2
3include $(CLEAR_VARS)
4LOCAL_MODULE := android.hardware.light@2.0-impl
Steven Morelanda0da1a12017-02-13 09:59:06 -08005LOCAL_PROPRIETARY_MODULE := true
Steven Moreland81f5da92016-09-30 16:32:24 -07006LOCAL_MODULE_RELATIVE_PATH := hw
7LOCAL_SRC_FILES := \
8 Light.cpp \
9
Chih-Hung Hsieh1b275a22017-11-20 14:06:42 -080010LOCAL_CFLAGS := -Wall -Werror
11
Steven Moreland81f5da92016-09-30 16:32:24 -070012LOCAL_SHARED_LIBRARIES := \
Yifan Hong6b920e42016-11-16 14:17:58 -080013 libhidlbase \
14 libhidltransport \
Steven Moreland81f5da92016-09-30 16:32:24 -070015 libutils \
16 liblog \
17 libcutils \
18 libhardware \
19 libbase \
20 libcutils \
21 android.hardware.light@2.0 \
22
23include $(BUILD_SHARED_LIBRARY)
Steven Moreland41db6ab2016-10-03 09:20:36 -070024
25include $(CLEAR_VARS)
26LOCAL_MODULE_RELATIVE_PATH := hw
Steven Morelanda0da1a12017-02-13 09:59:06 -080027LOCAL_PROPRIETARY_MODULE := true
Steven Moreland41db6ab2016-10-03 09:20:36 -070028LOCAL_MODULE := android.hardware.light@2.0-service
29LOCAL_INIT_RC := android.hardware.light@2.0-service.rc
30LOCAL_SRC_FILES := \
31 service.cpp \
32
Chih-Hung Hsieh1b275a22017-11-20 14:06:42 -080033LOCAL_CFLAGS := -Wall -Werror
34
Steven Moreland41db6ab2016-10-03 09:20:36 -070035LOCAL_SHARED_LIBRARIES := \
36 liblog \
37 libcutils \
38 libdl \
39 libbase \
40 libutils \
Steven Moreland41db6ab2016-10-03 09:20:36 -070041 libhardware \
42
43LOCAL_SHARED_LIBRARIES += \
Yifan Hong6b920e42016-11-16 14:17:58 -080044 libhidlbase \
45 libhidltransport \
Steven Moreland41db6ab2016-10-03 09:20:36 -070046 android.hardware.light@2.0 \
47
48include $(BUILD_EXECUTABLE)