summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Charles Munger <clm@google.com> 2019-11-19 14:01:19 -0800
committer Charles Munger <clm@google.com> 2019-11-19 14:01:19 -0800
commit1b1c0ca9ee52e9538341c25beb51a56f1d19dca7 (patch)
tree1ea54ec053c2f99568e38cd375b0faebe34fdd13
parente3d6061a6759214a50629bc5fa70e7d606b81cf8 (diff)
Include androidx stubs in framework docs
This will allow javadoc links to androidx packages to resolve. Test: No behavior changes Bug: 144042891 Change-Id: I01c1cd637f46c666c28669c1796a1d5a0d249c24
-rw-r--r--Android.bp6
1 files changed, 5 insertions, 1 deletions
diff --git a/Android.bp b/Android.bp
index 543e65601517..0da799bb5e8a 100644
--- a/Android.bp
+++ b/Android.bp
@@ -897,7 +897,10 @@ framework_docs_only_args = " -android -manifest $(location core/res/AndroidManif
"-overview $(location core/java/overview.html) " +
// Federate Support Library references against local API file.
"-federate SupportLib https://developer.android.com " +
- "-federationapi SupportLib $(location :current-support-api) "
+ "-federationapi SupportLib $(location :current-support-api) " +
+ // Federate Support Library references against local API file.
+ "-federate AndroidX https://developer.android.com " +
+ "-federationapi AndroidX $(location :current-androidx-api) "
framework_docs_only_libs = [
"voip-common",
@@ -1015,6 +1018,7 @@ doc_defaults {
"core/res/AndroidManifest.xml",
"core/java/overview.html",
":current-support-api",
+ ":current-androidx-api",
],
create_stubs: false,
}