e2b6cd28f2
The recent change to detect missing source files broke reading makefiles for mips, since this didn't specify a source file. Bug: 73904572 Test: lunch aosp_mips-eng; m nothing Test: lunch aosp_arm-eng; m crash_dump.policy Test: lunch aosp_arm64-eng; m crash_dump.policy Test: lunch aosp_x86-eng; m crash_dump.policy Test: lunch aosp_x86_64-eng; m crash_dump.policy Change-Id: I28864b5af59267f1ab83084128f2c59b04039374
24 lines
837 B
Makefile
24 lines
837 B
Makefile
LOCAL_PATH := $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
LOCAL_MODULE := crash_dump.policy
|
|
LOCAL_MODULE_CLASS := ETC
|
|
LOCAL_MULTILIB := both
|
|
|
|
ifeq ($(TARGET_ARCH), $(filter $(TARGET_ARCH), arm arm64))
|
|
LOCAL_MODULE_STEM_32 := crash_dump.arm.policy
|
|
LOCAL_MODULE_STEM_64 := crash_dump.arm64.policy
|
|
endif
|
|
|
|
ifeq ($(TARGET_ARCH), $(filter $(TARGET_ARCH), x86 x86_64))
|
|
LOCAL_MODULE_STEM_32 := crash_dump.x86.policy
|
|
LOCAL_MODULE_STEM_64 := crash_dump.x86_64.policy
|
|
endif
|
|
|
|
LOCAL_MODULE_PATH := $(TARGET_OUT)/etc/seccomp_policy
|
|
LOCAL_SRC_FILES_arm := seccomp_policy/crash_dump.arm.policy
|
|
LOCAL_SRC_FILES_arm64 := seccomp_policy/crash_dump.arm64.policy
|
|
LOCAL_SRC_FILES_x86 := seccomp_policy/crash_dump.x86.policy
|
|
LOCAL_SRC_FILES_x86_64 := seccomp_policy/crash_dump.x86_64.policy
|
|
LOCAL_MODULE_TARGET_ARCH := arm arm64 x86 x86_64
|
|
include $(BUILD_PREBUILT)
|