Remove Make side (system/test-)api-stubs droiddoc targets
Remove old droiddoc targets for api-stubs, system-api-stubs, and test-api-stubs.
And also set api_tag_name, api_filename, private_api_filename, and etc.
properties in Android.bp for new droiddoc.
Test: manually compare if dependencies change after Soong based droiddoc runs.
Bug: b/70351683
Change-Id: I8d944c83de120ec8148276adc1c9872113d9d29b
Merged-In: I8d944c83de120ec8148276adc1c9872113d9d29b
diff --git a/Android.bp b/Android.bp
index a5134a7..f73a419 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1016,6 +1016,7 @@
],
resourcesdir: "docs/html/reference/images",
resourcesoutdir: "reference/android/images",
+ installable: false,
}
droiddoc {
@@ -1027,14 +1028,9 @@
"core/java/overview.html",
":current-support-api",
],
- args: framework_docs_args +
- "-referenceonly -api $(genDir)/PACKAGING/public_api.txt -privateApi $(genDir)/PACKAGING/private.txt "+
- "-privateDexApi $(genDir)/PACKAGING/private-dex.txt -removedApi $(genDir)/PACKAGING/removed.txt -nodocs",
- out: [
- "PACKAGING/public_api.txt",
- "PACKAGING/private.txt",
- "PACKAGING/private-dex.txt",
- ]
+ api_filename: "public_api.txt",
+ removed_api_filename: "removed.txt",
+ args: framework_docs_args + " -referenceonly -nodocs",
}
droiddoc {
@@ -1046,16 +1042,11 @@
"core/java/overview.html",
":current-support-api",
],
- args: framework_docs_args +
- "-referenceonly -showAnnotation android.annotation.SystemApi " +
- "-api $(genDir)/PACKAGING/system-api.txt -privateApi $(genDir)/PACKAGING/system-private.txt " +
- "-privateDexApi $(genDir)/PACKAGING/system-private-dex.txt -removedApi $(genDir)/PACKAGING/system-removed.txt " +
- "-exactApi $(genDir)/PACKAGING/system-exact.txt -nodocs",
- out: [
- "PACKAGING/system-api.txt",
- "PACKAGING/system-private.txt",
- "PACKAGING/system-private-dex.txt",
- ]
+ api_tag_name: "SYSTEM",
+ api_filename: "system-api.txt",
+ removed_api_filename: "system-removed.txt",
+ exact_api_filename: "system-exact.txt",
+ args: framework_docs_args + " -referenceonly -showAnnotation android.annotation.SystemApi -nodocs",
}
droiddoc {
@@ -1067,12 +1058,9 @@
"core/java/overview.html",
":current-support-api",
],
- args: framework_docs_args +
- "-referenceonly -showAnnotation android.annotation.TestApi " +
- "-api $(genDir)/PACKAGING/test-api.txt " +
- "-removedApi $(genDir)/PACKAGING/test-removed.txt " +
- "-exactApi $(genDir)/PACKAGING/test-exact.txt -nodocs",
- out: [
- "PACKAGING/test-api.txt",
- ]
+ api_tag_name: "TEST",
+ api_filename: "test-api.txt",
+ removed_api_filename: "test-removed.txt",
+ exact_api_filename: "test-exact.txt",
+ args: framework_docs_args + " -referenceonly -showAnnotation android.annotation.TestApi -nodocs",
}