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

Commit 615b87e4 authored by Ray Essick's avatar Ray Essick
Browse files

disable code coverage for Q media modules

Code coverage for Q modules requires files from the system
image that are not present in all Q devices. This should not propagate
on to the R branches; merged-in lines should prevent that.

Bug: 151611818
Test: build, examination
Merged-In: I9d5880343347ddc586e50f9eafb65e1ff7ba3748
Merged-In: I34213fbc93ca51696b6a5a3c60bfd3ffa7ce6764
Change-Id: I1293a124d862a1539c6f916a4184d66e24c8215f
parent 22452540
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -66,6 +66,5 @@ prebuilt_etc {
    },
    required: [
        "crash_dump.policy",
        "code_coverage.policy",
    ],
}
+1 −1
Original line number Diff line number Diff line
@@ -72,7 +72,7 @@ include $(CLEAR_VARS)
LOCAL_MODULE := mediacodec.policy
LOCAL_MODULE_CLASS := ETC
LOCAL_MODULE_PATH := $(TARGET_OUT)/etc/seccomp_policy
LOCAL_REQUIRED_MODULES := crash_dump.policy code_coverage.policy
LOCAL_REQUIRED_MODULES := crash_dump.policy
# mediacodec runs in 32-bit combatibility mode. For 64 bit architectures,
# use the 32 bit policy
ifdef TARGET_2ND_ARCH
+0 −2
Original line number Diff line number Diff line
@@ -59,5 +59,3 @@ getdents64: 1
getrandom: 1

@include /system/etc/seccomp_policy/crash_dump.arm.policy

@include /system/etc/seccomp_policy/code_coverage.arm.policy
+0 −1
Original line number Diff line number Diff line
@@ -69,4 +69,3 @@ getpid: 1
gettid: 1

@include /system/etc/seccomp_policy/crash_dump.x86.policy
@include /system/etc/seccomp_policy/code_coverage.x86.policy
+0 −1
Original line number Diff line number Diff line
@@ -85,4 +85,3 @@ getgid32: 1
getegid32: 1
getgroups32: 1
@include /system/etc/seccomp_policy/code_coverage.arm.policy
Loading