platform_system_core/code_coverage/Android.bp
Ray Essick 1e9375d6ac build code_coverage.policy with Android.bp
use Android.bp instead of Android.mk;
This also allows build to include the files within an apex

Bug: 147914640
Test: build, check filesystem
Change-Id: I574d9ce984e09af95c7673494c8c714169f69b08
2020-02-11 10:33:38 -08:00

83 lines
2.3 KiB
Text

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",
},
},
},
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",
},
},
},
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",
},
},
},
},
}