Skip to content

Commit

Permalink
Disable code_coverage.other for riscv64
Browse files Browse the repository at this point in the history
code_coverage.policy.other is supposed to install a policy for the
"other" architecture, e.g. arm for arm64.  riscv64 doesn't have an
"other" architecture, disable the module.

Test: builds
Change-Id: Ic42c706dd9c1efe4b0fe9fa7c9823a2a379ba56b
  • Loading branch information
colincross committed Oct 13, 2022
1 parent 862f8b1 commit 83fc304
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions code_coverage/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,8 @@ prebuilt_etc {
},
},
riscv64: {
src: "empty_policy/code_coverage.riscv64.policy",
product_variables: {
native_coverage: {
src: "seccomp_policy/code_coverage.riscv64.policy",
},
},
// riscv64 doesn't have a secondary architecture.
enabled: false,
},
x86: {
src: "empty_policy/code_coverage.x86_64.policy",
Expand Down

0 comments on commit 83fc304

Please sign in to comment.