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