platform_system_core/code_coverage/Android.bp
Chen Guoyin 0d77b388f5 Add code_coverage seccomp policy for riscv64
Signed-off-by: Chen Guoyin <chenguoyin.cgy@linux.alibaba.com>
Signed-off-by: Mao Han <han_mao@linux.alibaba.com>
Change-Id: I840cce02a087d05587bfa61824e9071732c16218
2022-10-12 22:22:09 +08:00

103 lines
2.9 KiB
Text

package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
prebuilt_etc {
name: "code_coverage.policy",
sub_dir: "seccomp_policy",
filename_from_src: true,
arch: {
arm: {
src: "empty_policy/code_coverage.arm.policy",
product_variables: {
native_coverage: {
src: "seccomp_policy/code_coverage.arm.policy",
},
},
},
arm64: {
src: "empty_policy/code_coverage.arm64.policy",
product_variables: {
native_coverage: {
src: "seccomp_policy/code_coverage.arm64.policy",
},
},
},
riscv64: {
src: "empty_policy/code_coverage.riscv64.policy",
product_variables: {
native_coverage: {
src: "seccomp_policy/code_coverage.riscv64.policy",
},
},
},
x86: {
src: "empty_policy/code_coverage.x86.policy",
product_variables: {
native_coverage: {
src: "seccomp_policy/code_coverage.x86.policy",
},
},
},
x86_64: {
src: "empty_policy/code_coverage.x86_64.policy",
product_variables: {
native_coverage: {
src: "seccomp_policy/code_coverage.x86_64.policy",
},
},
},
},
required: [
"code_coverage.policy.other",
],
}
prebuilt_etc {
name: "code_coverage.policy.other",
sub_dir: "seccomp_policy",
filename_from_src: true,
arch: {
arm: {
src: "empty_policy/code_coverage.arm64.policy",
product_variables: {
native_coverage: {
src: "seccomp_policy/code_coverage.arm64.policy",
},
},
},
arm64: {
src: "empty_policy/code_coverage.arm.policy",
product_variables: {
native_coverage: {
src: "seccomp_policy/code_coverage.arm.policy",
},
},
},
riscv64: {
src: "empty_policy/code_coverage.riscv64.policy",
product_variables: {
native_coverage: {
src: "seccomp_policy/code_coverage.riscv64.policy",
},
},
},
x86: {
src: "empty_policy/code_coverage.x86_64.policy",
product_variables: {
native_coverage: {
src: "seccomp_policy/code_coverage.x86_64.policy",
},
},
},
x86_64: {
src: "empty_policy/code_coverage.x86.policy",
product_variables: {
native_coverage: {
src: "seccomp_policy/code_coverage.x86.policy",
},
},
},
},
}