Steven Moreland | 81f5da9 | 2016-09-30 16:32:24 -0700 | [diff] [blame] | 1 | LOCAL_PATH := $(call my-dir) |
| 2 | |
| 3 | include $(CLEAR_VARS) |
| 4 | LOCAL_MODULE := android.hardware.light@2.0-impl |
Steven Moreland | a0da1a1 | 2017-02-13 09:59:06 -0800 | [diff] [blame] | 5 | LOCAL_PROPRIETARY_MODULE := true |
Steven Moreland | 81f5da9 | 2016-09-30 16:32:24 -0700 | [diff] [blame] | 6 | LOCAL_MODULE_RELATIVE_PATH := hw |
| 7 | LOCAL_SRC_FILES := \ |
| 8 | Light.cpp \ |
| 9 | |
Chih-Hung Hsieh | 1b275a2 | 2017-11-20 14:06:42 -0800 | [diff] [blame] | 10 | LOCAL_CFLAGS := -Wall -Werror |
| 11 | |
Steven Moreland | 81f5da9 | 2016-09-30 16:32:24 -0700 | [diff] [blame] | 12 | LOCAL_SHARED_LIBRARIES := \ |
Yifan Hong | 6b920e4 | 2016-11-16 14:17:58 -0800 | [diff] [blame] | 13 | libhidlbase \ |
| 14 | libhidltransport \ |
Steven Moreland | 81f5da9 | 2016-09-30 16:32:24 -0700 | [diff] [blame] | 15 | libutils \ |
| 16 | liblog \ |
| 17 | libcutils \ |
| 18 | libhardware \ |
| 19 | libbase \ |
| 20 | libcutils \ |
| 21 | android.hardware.light@2.0 \ |
| 22 | |
| 23 | include $(BUILD_SHARED_LIBRARY) |
Steven Moreland | 41db6ab | 2016-10-03 09:20:36 -0700 | [diff] [blame] | 24 | |
| 25 | include $(CLEAR_VARS) |
| 26 | LOCAL_MODULE_RELATIVE_PATH := hw |
Steven Moreland | a0da1a1 | 2017-02-13 09:59:06 -0800 | [diff] [blame] | 27 | LOCAL_PROPRIETARY_MODULE := true |
Steven Moreland | 41db6ab | 2016-10-03 09:20:36 -0700 | [diff] [blame] | 28 | LOCAL_MODULE := android.hardware.light@2.0-service |
| 29 | LOCAL_INIT_RC := android.hardware.light@2.0-service.rc |
| 30 | LOCAL_SRC_FILES := \ |
| 31 | service.cpp \ |
| 32 | |
Chih-Hung Hsieh | 1b275a2 | 2017-11-20 14:06:42 -0800 | [diff] [blame] | 33 | LOCAL_CFLAGS := -Wall -Werror |
| 34 | |
Steven Moreland | 41db6ab | 2016-10-03 09:20:36 -0700 | [diff] [blame] | 35 | LOCAL_SHARED_LIBRARIES := \ |
| 36 | liblog \ |
| 37 | libcutils \ |
| 38 | libdl \ |
| 39 | libbase \ |
| 40 | libutils \ |
Steven Moreland | 41db6ab | 2016-10-03 09:20:36 -0700 | [diff] [blame] | 41 | libhardware \ |
| 42 | |
| 43 | LOCAL_SHARED_LIBRARIES += \ |
Yifan Hong | 6b920e4 | 2016-11-16 14:17:58 -0800 | [diff] [blame] | 44 | libhidlbase \ |
| 45 | libhidltransport \ |
Steven Moreland | 41db6ab | 2016-10-03 09:20:36 -0700 | [diff] [blame] | 46 | android.hardware.light@2.0 \ |
| 47 | |
| 48 | include $(BUILD_EXECUTABLE) |