2020-02-11 19:33:38 +01:00
|
|
|
|
2021-02-17 04:02:14 +01:00
|
|
|
package {
|
|
|
|
default_applicable_licenses: ["Android-Apache-2.0"],
|
|
|
|
}
|
|
|
|
|
2020-02-11 19:33:38 +01:00
|
|
|
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",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
2022-10-12 16:22:09 +02:00
|
|
|
riscv64: {
|
|
|
|
src: "empty_policy/code_coverage.riscv64.policy",
|
|
|
|
product_variables: {
|
|
|
|
native_coverage: {
|
|
|
|
src: "seccomp_policy/code_coverage.riscv64.policy",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
2020-02-11 19:33:38 +01:00
|
|
|
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",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
2022-10-12 16:22:09 +02:00
|
|
|
riscv64: {
|
2022-10-13 22:46:29 +02:00
|
|
|
// riscv64 doesn't have a secondary architecture.
|
|
|
|
enabled: false,
|
2022-10-12 16:22:09 +02:00
|
|
|
},
|
2020-02-11 19:33:38 +01:00
|
|
|
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",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
}
|