summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Mak <tonymak@google.com>2021-02-08 21:13:56 +0000
committerChang Li <licha@google.com>2021-07-22 09:42:33 +0000
commitc830e226e3b71ee51e29ba0345ce0bde1e90363a (patch)
tree572b42eac97af62bb5f19764d10ec9251ed93489
parent5be296072af7fe3eaafd51dd5baeb29e1ee0736d (diff)
downloadlibtextclassifier-android12-qpr1-d-release.tar.gz
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.bp3
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,
}
// ------------------------------------