diff options
author | Tony Mak <tonymak@google.com> | 2021-02-08 21:13:56 +0000 |
---|---|---|
committer | Chang Li <licha@google.com> | 2021-07-22 09:42:33 +0000 |
commit | c830e226e3b71ee51e29ba0345ce0bde1e90363a (patch) | |
tree | 572b42eac97af62bb5f19764d10ec9251ed93489 | |
parent | 5be296072af7fe3eaafd51dd5baeb29e1ee0736d (diff) | |
download | libtextclassifier-android12-qpr1-d-s1-release.tar.gz |
Add back the workaround for coverageandroid-12.0.0_r32android-12.0.0_r29android-12.0.0_r28android-12.0.0_r27android-12.0.0_r26android-12.0.0_r21android-12.0.0_r20android-12.0.0_r19android-12.0.0_r18android-12.0.0_r16android12-qpr1-releaseandroid12-qpr1-d-s3-releaseandroid12-qpr1-d-s2-releaseandroid12-qpr1-d-s1-releaseandroid12-qpr1-d-releaseandroid12-dev
It was added in ag/12595075 to workaround an issue that some methods
are not considered as tested although they are.
Somehow I accidentally removed it in ag/13332198...
Adding it back and hopefully this gives us back the missing 2%
coverage.
Bug: 179686141
Change-Id: Ice399b12ea004acb3c9e441a8e938b080828c60c
(cherry picked from commit eb2ae76ddb6dfb6cefc9817cba4674b53c7c778a)
-rw-r--r-- | native/Android.bp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/native/Android.bp b/native/Android.bp index 32a58c3..61b7ade 100644 --- a/native/Android.bp +++ b/native/Android.bp @@ -218,6 +218,9 @@ cc_test { ], compile_multilib: "prefer32", + + // A workaround for code coverage. See b/166040889#comment23 + sdk_variant_only: true, } // ------------------------------------ |