Jiyong Park | c5d7c8a | 2017-01-14 19:40:33 +0900 | [diff] [blame] | 1 | LOCAL_PATH := $(call my-dir) |
| 2 | |
| 3 | ################################################################################ |
| 4 | include $(CLEAR_VARS) |
Peiyong Lin | 2b3f826 | 2018-07-20 16:03:46 -0700 | [diff] [blame^] | 5 | LOCAL_MODULE := android.hardware.configstore@1.2-service |
Zhuoyao Zhang | 207e97c | 2018-01-05 13:41:19 -0800 | [diff] [blame] | 6 | # seccomp is not required for coverage build. |
| 7 | ifneq ($(NATIVE_COVERAGE),true) |
Peiyong Lin | 2b3f826 | 2018-07-20 16:03:46 -0700 | [diff] [blame^] | 8 | LOCAL_REQUIRED_MODULES_arm64 := configstore.policy |
Zhuoyao Zhang | 207e97c | 2018-01-05 13:41:19 -0800 | [diff] [blame] | 9 | endif |
Peiyong Lin | 2b3f826 | 2018-07-20 16:03:46 -0700 | [diff] [blame^] | 10 | LOCAL_VENDOR_MODULE := true |
Jiyong Park | c5d7c8a | 2017-01-14 19:40:33 +0900 | [diff] [blame] | 11 | LOCAL_MODULE_CLASS := EXECUTABLES |
| 12 | LOCAL_MODULE_RELATIVE_PATH := hw |
Peiyong Lin | 2b3f826 | 2018-07-20 16:03:46 -0700 | [diff] [blame^] | 13 | LOCAL_INIT_RC := android.hardware.configstore@1.2-service.rc |
Jiyong Park | c5d7c8a | 2017-01-14 19:40:33 +0900 | [diff] [blame] | 14 | LOCAL_SRC_FILES:= service.cpp |
| 15 | |
Jaesoo Lee | 2d66f61 | 2017-03-20 13:57:10 +0900 | [diff] [blame] | 16 | include $(LOCAL_PATH)/surfaceflinger.mk |
| 17 | |
Jiyong Park | c5d7c8a | 2017-01-14 19:40:33 +0900 | [diff] [blame] | 18 | LOCAL_SHARED_LIBRARIES := \ |
Jiyong Park | c5d7c8a | 2017-01-14 19:40:33 +0900 | [diff] [blame] | 19 | libhidlbase \ |
| 20 | libhidltransport \ |
Jaesoo Lee | 2d66f61 | 2017-03-20 13:57:10 +0900 | [diff] [blame] | 21 | libbase \ |
Jeff Vander Stoep | ed95043 | 2017-07-06 22:29:12 -0700 | [diff] [blame] | 22 | libhwminijail \ |
Jaesoo Lee | 2d66f61 | 2017-03-20 13:57:10 +0900 | [diff] [blame] | 23 | liblog \ |
| 24 | libutils \ |
Jaesoo Lee | 712ee82 | 2017-04-28 18:29:40 +0900 | [diff] [blame] | 25 | android.hardware.configstore@1.0 \ |
Peiyong Lin | 2b3f826 | 2018-07-20 16:03:46 -0700 | [diff] [blame^] | 26 | android.hardware.configstore@1.1 \ |
| 27 | android.hardware.configstore@1.2 |
Jiyong Park | c5d7c8a | 2017-01-14 19:40:33 +0900 | [diff] [blame] | 28 | |
| 29 | include $(BUILD_EXECUTABLE) |
Jeff Vander Stoep | ed95043 | 2017-07-06 22:29:12 -0700 | [diff] [blame] | 30 | |
| 31 | # seccomp filter for configstore |
| 32 | ifeq ($(TARGET_ARCH), $(filter $(TARGET_ARCH), arm64)) |
| 33 | include $(CLEAR_VARS) |
Peiyong Lin | 2b3f826 | 2018-07-20 16:03:46 -0700 | [diff] [blame^] | 34 | LOCAL_MODULE := configstore.policy |
Jeff Vander Stoep | ed95043 | 2017-07-06 22:29:12 -0700 | [diff] [blame] | 35 | LOCAL_MODULE_CLASS := ETC |
| 36 | LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR)/etc/seccomp_policy |
Peiyong Lin | 2b3f826 | 2018-07-20 16:03:46 -0700 | [diff] [blame^] | 37 | LOCAL_SRC_FILES := seccomp_policy/configstore-$(TARGET_ARCH).policy |
Jeff Vander Stoep | ed95043 | 2017-07-06 22:29:12 -0700 | [diff] [blame] | 38 | include $(BUILD_PREBUILT) |
| 39 | endif |