1LOCAL_PATH := $(call my-dir) 2 3# vendor service seccomp policy 4ifeq ($(TARGET_ARCH),$(filter $(TARGET_ARCH), x86 x86_64 arm arm64)) 5include $(CLEAR_VARS) 6LOCAL_MODULE := codec2.vendor.base.policy 7LOCAL_VENDOR_MODULE := true 8LOCAL_MODULE_CLASS := ETC 9LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR)/etc/seccomp_policy 10LOCAL_REQUIRED_MODULES := crash_dump.policy 11ifdef TARGET_2ND_ARCH 12 ifneq ($(TARGET_TRANSLATE_2ND_ARCH),true) 13 LOCAL_SRC_FILES := seccomp_policy/codec2.vendor.base-$(TARGET_2ND_ARCH).policy 14 else 15 LOCAL_SRC_FILES := seccomp_policy/codec2.vendor.base-$(TARGET_ARCH).policy 16 endif 17else 18 LOCAL_SRC_FILES := seccomp_policy/codec2.vendor.base-$(TARGET_ARCH).policy 19endif 20include $(BUILD_PREBUILT) 21endif 22 23include $(call all-makefiles-under, $(LOCAL_PATH)) 24 25