diff options
author | Tony Mak <tonymak@google.com> | 2021-02-08 21:13:56 +0000 |
---|---|---|
committer | Chang Li <licha@google.com> | 2021-06-18 14:06:06 +0000 |
commit | 25fc02b7f766a54bfefd7b1bfe9f73e0f54eefea (patch) | |
tree | 2d2cf803130b891be15affe251290d447fcc3ecf /native | |
parent | 48be8f52d74f697192e0ae4840736f39398db682 (diff) | |
download | libtextclassifier-25fc02b7f766a54bfefd7b1bfe9f73e0f54eefea.tar.gz |
Add back the workaround for coverage
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)
Diffstat (limited to 'native')
-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 5cfd46e..a0ca6a4 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, } // ------------------------------------ |