diff options
author | Paul Duffin <paulduffin@google.com> | 2021-04-08 12:37:41 +0100 |
---|---|---|
committer | Paul Duffin <paulduffin@google.com> | 2021-04-08 12:37:41 +0100 |
commit | bba4f57089bea36c4b8c59e672c14e963155342e (patch) | |
tree | 9d5f5f55f2fc50a9287d24b462d5b9ac7e590545 | |
parent | 808547956e8ce61ee123d9b3197f6e9f46c0bfb9 (diff) | |
download | dalvik-bba4f57089bea36c4b8c59e672c14e963155342e.tar.gz |
Fix build error due to null annotations in core platform API
Change https://r.android.com/1667508 adds nullability annotations to
the core platform APIs which broke this code with the error:
com.sun.tools.javac.code.Symbol$CompletionFailure: class file for androidx.annotation.RecentlyNonNull not found
This change adds the stub-annotations library to provide the definition
for that class.
Bug: 183938110
Test: m checkbuild
Change-Id: I8f9560aaa314a47d85b8d4c33c8fe285b2eba194
-rw-r--r-- | tools/dexdeps/src/Android.bp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/dexdeps/src/Android.bp b/tools/dexdeps/src/Android.bp index 1181bda2b..74879024e 100644 --- a/tools/dexdeps/src/Android.bp +++ b/tools/dexdeps/src/Android.bp @@ -34,5 +34,8 @@ droiddoc { srcs: [ ":dexdeps-doc-stubs", ], + libs: [ + "stub-annotations", + ], custom_template: "droiddoc-templates-sdk", } |