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