1LOCAL_PATH := $(call my-dir) 2 3################################################################################ 4include $(CLEAR_VARS) 5LOCAL_MODULE := android.hardware.configstore@1.1-service 6# seccomp is not required for coverage build. 7ifneq ($(NATIVE_COVERAGE),true) 8LOCAL_REQUIRED_MODULES_arm64 := configstore@1.1.policy 9endif 10LOCAL_VENDOR_MODULE := true 11LOCAL_MODULE_CLASS := EXECUTABLES 12LOCAL_MODULE_RELATIVE_PATH := hw 13LOCAL_INIT_RC := android.hardware.configstore@1.1-service.rc 14LOCAL_SRC_FILES:= service.cpp 15 16include $(LOCAL_PATH)/surfaceflinger.mk 17 18LOCAL_SHARED_LIBRARIES := \ 19 libhidlbase \ 20 libhidltransport \ 21 libbase \ 22 libhwminijail \ 23 liblog \ 24 libutils \ 25 android.hardware.configstore@1.0 \ 26 android.hardware.configstore@1.1 27 28include $(BUILD_EXECUTABLE) 29 30# seccomp filter for configstore 31ifeq ($(TARGET_ARCH), $(filter $(TARGET_ARCH), arm64)) 32include $(CLEAR_VARS) 33LOCAL_MODULE := configstore@1.1.policy 34LOCAL_MODULE_CLASS := ETC 35LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR)/etc/seccomp_policy 36LOCAL_SRC_FILES := seccomp_policy/configstore@1.1-$(TARGET_ARCH).policy 37include $(BUILD_PREBUILT) 38endif 39