Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit 87a80ef1 authored by Alex Naidis's avatar Alex Naidis
Browse files

mediacodec/mediaextractor: allow multiple Seccomp extensions



This is useful if we have multiple device
layers and want to have common extensions while
supporting device specific extensions at the same time.

Change-Id: Iefbff9c1ec680963a7ea4c2db09d8e888dd87702
Signed-off-by: default avatarAlex Naidis <alex.naidis@linux.com>
parent f521451f
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -15,9 +15,8 @@ else
endif

# allow device specific additions to the syscall whitelist
ifneq (,$(wildcard $(BOARD_SECCOMP_POLICY)/mediacodec-seccomp.policy))
    LOCAL_SRC_FILES += $(BOARD_SECCOMP_POLICY)/mediacodec-seccomp.policy
endif
LOCAL_SRC_FILES += $(foreach dir, $(BOARD_SECCOMP_POLICY), \
                     $(dir)/mediacodec-seccomp.policy)

include $(BUILD_SYSTEM)/base_rules.mk

+2 −3
Original line number Diff line number Diff line
@@ -15,9 +15,8 @@ else
endif

# allow device specific additions to the syscall whitelist
ifneq (,$(wildcard $(BOARD_SECCOMP_POLICY)/mediaextractor-seccomp.policy))
    LOCAL_SRC_FILES += $(BOARD_SECCOMP_POLICY)/mediaextractor-seccomp.policy
endif
LOCAL_SRC_FILES += $(foreach dir, $(BOARD_SECCOMP_POLICY), \
                     $(dir)/mediaextractor-seccomp.policy)

include $(BUILD_SYSTEM)/base_rules.mk