Jiyong Park | c5d7c8a | 2017-01-14 19:40:33 +0900 | [diff] [blame] | 1 | LOCAL_PATH := $(call my-dir) |
| 2 | |
| 3 | ################################################################################ |
| 4 | include $(CLEAR_VARS) |
Sundong Ahn | e64a228 | 2019-02-22 11:52:42 +0900 | [diff] [blame] | 5 | LOCAL_MODULE := android.hardware.configstore@1.1-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) |
Sundong Ahn | e64a228 | 2019-02-22 11:52:42 +0900 | [diff] [blame] | 8 | LOCAL_REQUIRED_MODULES_arm64 := configstore@1.1.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 |
Sundong Ahn | e64a228 | 2019-02-22 11:52:42 +0900 | [diff] [blame] | 13 | LOCAL_INIT_RC := android.hardware.configstore@1.1-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 \ |
Jaesoo Lee | 2d66f61 | 2017-03-20 13:57:10 +0900 | [diff] [blame] | 20 | libbase \ |
Jeff Vander Stoep | ed95043 | 2017-07-06 22:29:12 -0700 | [diff] [blame] | 21 | libhwminijail \ |
Jaesoo Lee | 2d66f61 | 2017-03-20 13:57:10 +0900 | [diff] [blame] | 22 | liblog \ |
| 23 | libutils \ |
Jaesoo Lee | 712ee82 | 2017-04-28 18:29:40 +0900 | [diff] [blame] | 24 | android.hardware.configstore@1.0 \ |
Sundong Ahn | e64a228 | 2019-02-22 11:52:42 +0900 | [diff] [blame] | 25 | android.hardware.configstore@1.1 |
Jiyong Park | c5d7c8a | 2017-01-14 19:40:33 +0900 | [diff] [blame] | 26 | |
| 27 | include $(BUILD_EXECUTABLE) |
Jeff Vander Stoep | ed95043 | 2017-07-06 22:29:12 -0700 | [diff] [blame] | 28 | |
| 29 | # seccomp filter for configstore |
| 30 | ifeq ($(TARGET_ARCH), $(filter $(TARGET_ARCH), arm64)) |
| 31 | include $(CLEAR_VARS) |
Sundong Ahn | e64a228 | 2019-02-22 11:52:42 +0900 | [diff] [blame] | 32 | LOCAL_MODULE := configstore@1.1.policy |
Jeff Vander Stoep | ed95043 | 2017-07-06 22:29:12 -0700 | [diff] [blame] | 33 | LOCAL_MODULE_CLASS := ETC |
| 34 | LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR)/etc/seccomp_policy |
Sundong Ahn | e64a228 | 2019-02-22 11:52:42 +0900 | [diff] [blame] | 35 | LOCAL_SRC_FILES := seccomp_policy/configstore@1.1-$(TARGET_ARCH).policy |
Jeff Vander Stoep | ed95043 | 2017-07-06 22:29:12 -0700 | [diff] [blame] | 36 | include $(BUILD_PREBUILT) |
| 37 | endif |
Sundong Ahn | 775bd7c | 2020-03-13 17:51:26 +0900 | [diff] [blame^] | 38 | |
| 39 | # disable configstore |
| 40 | include $(CLEAR_VARS) |
| 41 | LOCAL_MODULE := disable_configstore |
| 42 | LOCAL_MODULE_CLASS := EXECUTABLES |
| 43 | LOCAL_SRC_FILES:= disable_configstore.cpp |
| 44 | LOCAL_OVERRIDES_MODULES := android.hardware.configstore@1.1-service |
| 45 | LOCAL_VENDOR_MODULE := true |
| 46 | LOCAL_UNINSTALLABLE_MODULE := true |
| 47 | |
| 48 | include $(BUILD_EXECUTABLE) |