Jiyong Park | 7fb4b18 | 2019-12-20 14:35:43 +0900 | [diff] [blame] | 1 | // Copyright (C) 2019 The Android Open Source Project |
| 2 | // |
| 3 | // Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | // you may not use this file except in compliance with the License. |
| 5 | // You may obtain a copy of the License at |
| 6 | // |
| 7 | // http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | // |
| 9 | // Unless required by applicable law or agreed to in writing, software |
| 10 | // distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | // See the License for the specific language governing permissions and |
| 13 | // limitations under the License. |
| 14 | |
| 15 | // How API docs are generated: |
| 16 | // |
| 17 | // raw source files --(metalava)--> stub source files --(doclava)--> API doc |
| 18 | // |
| 19 | // The metalava conversion is done by droidstub modules framework-doc-*-stubs. |
| 20 | // The API doc generation is done by the various droiddoc modules each of which |
| 21 | // is for different format. |
| 22 | |
| 23 | ///////////////////////////////////////////////////////////////////// |
| 24 | // stub source files are generated using metalava |
| 25 | ///////////////////////////////////////////////////////////////////// |
| 26 | |
| 27 | framework_docs_only_libs = [ |
| 28 | "voip-common", |
| 29 | "android.test.mock", |
| 30 | "android-support-annotations", |
| 31 | "android-support-compat", |
| 32 | "android-support-core-ui", |
| 33 | "android-support-core-utils", |
| 34 | "android-support-design", |
| 35 | "android-support-dynamic-animation", |
| 36 | "android-support-exifinterface", |
| 37 | "android-support-fragment", |
| 38 | "android-support-media-compat", |
| 39 | "android-support-percent", |
| 40 | "android-support-transition", |
| 41 | "android-support-v7-cardview", |
| 42 | "android-support-v7-gridlayout", |
| 43 | "android-support-v7-mediarouter", |
| 44 | "android-support-v7-palette", |
| 45 | "android-support-v7-preference", |
| 46 | "android-support-v13", |
| 47 | "android-support-v14-preference", |
| 48 | "android-support-v17-leanback", |
| 49 | "android-support-vectordrawable", |
| 50 | "android-support-animatedvectordrawable", |
| 51 | "android-support-v7-appcompat", |
| 52 | "android-support-v7-recyclerview", |
| 53 | "android-support-v8-renderscript", |
| 54 | "android-support-multidex", |
| 55 | "android-support-multidex-instrumentation", |
| 56 | ] |
| 57 | |
| 58 | stubs_defaults { |
Anton Hansson | c7f5e7d | 2021-05-05 10:32:31 +0100 | [diff] [blame] | 59 | name: "android-non-updatable-doc-stubs-defaults", |
| 60 | defaults: ["android-non-updatable-stubs-defaults"], |
| 61 | srcs: [ |
| 62 | // No longer part of the stubs, but are included in the docs. |
| 63 | "test-base/src/**/*.java", |
| 64 | "test-mock/src/**/*.java", |
| 65 | "test-runner/src/**/*.java", |
| 66 | ], |
| 67 | libs: framework_docs_only_libs, |
| 68 | create_doc_stubs: true, |
| 69 | write_sdk_values: true, |
| 70 | } |
| 71 | |
| 72 | stubs_defaults { |
Jiyong Park | 7fb4b18 | 2019-12-20 14:35:43 +0900 | [diff] [blame] | 73 | name: "framework-doc-stubs-default", |
| 74 | srcs: [ |
Anton Hansson | c7f5e7d | 2021-05-05 10:32:31 +0100 | [diff] [blame] | 75 | ":android-non-updatable-stub-sources", |
Anton Hansson | 703cde0 | 2021-03-30 10:46:48 +0100 | [diff] [blame] | 76 | |
| 77 | // Module sources |
Paul Duffin | 404b26a | 2020-09-16 14:26:47 +0100 | [diff] [blame] | 78 | ":art.module.public.api{.public.stubs.source}", |
Paul Duffin | e55d4e3 | 2020-05-14 17:55:46 +0100 | [diff] [blame] | 79 | ":conscrypt.module.public.api{.public.stubs.source}", |
Anton Hansson | 703cde0 | 2021-03-30 10:46:48 +0100 | [diff] [blame] | 80 | ":framework-connectivity-sources", |
| 81 | ":framework-mediaprovider-sources", |
| 82 | ":framework-permission-sources", |
| 83 | ":framework-sdkextensions-sources", |
| 84 | ":framework-statsd-sources", |
| 85 | ":framework-tethering-srcs", |
| 86 | ":framework-wifi-updatable-sources", |
Paul Duffin | 5a4e8f2 | 2020-11-25 15:45:43 +0000 | [diff] [blame] | 87 | ":i18n.module.public.api{.public.stubs.source}", |
Anton Hansson | 703cde0 | 2021-03-30 10:46:48 +0100 | [diff] [blame] | 88 | ":ike-srcs", |
| 89 | ":updatable-media-srcs", |
| 90 | |
| 91 | // No longer part of the stubs, but are included in the docs. |
Anton Hansson | 2e25fdc | 2021-05-10 12:40:05 +0100 | [diff] [blame^] | 92 | ":android-test-base-sources", |
| 93 | ":android-test-mock-sources", |
| 94 | ":android-test-runner-sources", |
Jiyong Park | 7fb4b18 | 2019-12-20 14:35:43 +0900 | [diff] [blame] | 95 | ], |
| 96 | libs: framework_docs_only_libs, |
| 97 | create_doc_stubs: true, |
| 98 | annotations_enabled: true, |
| 99 | api_levels_annotations_enabled: true, |
| 100 | api_levels_annotations_dirs: [ |
| 101 | "sdk-dir", |
| 102 | "api-versions-jars-dir", |
| 103 | ], |
Anton Hansson | f68ddea | 2020-05-02 17:49:26 +0100 | [diff] [blame] | 104 | previous_api: ":android.api.public.latest", |
Jiyong Park | 7fb4b18 | 2019-12-20 14:35:43 +0900 | [diff] [blame] | 105 | merge_annotations_dirs: [ |
| 106 | "metalava-manual", |
| 107 | ], |
| 108 | } |
| 109 | |
| 110 | droidstubs { |
Anton Hansson | c7f5e7d | 2021-05-05 10:32:31 +0100 | [diff] [blame] | 111 | name: "android-non-updatable-doc-stubs", |
| 112 | defaults: ["android-non-updatable-doc-stubs-defaults"], |
| 113 | args: metalava_framework_docs_args, |
| 114 | } |
| 115 | |
| 116 | droidstubs { |
| 117 | name: "android-non-updatable-doc-stubs-system", |
| 118 | defaults: ["android-non-updatable-doc-stubs-defaults"], |
| 119 | args: metalava_framework_docs_args + |
| 120 | " --show-annotation android.annotation.SystemApi\\(client=android.annotation.SystemApi.Client.PRIVILEGED_APPS\\) ", |
| 121 | } |
| 122 | |
| 123 | droidstubs { |
Jiyong Park | 7fb4b18 | 2019-12-20 14:35:43 +0900 | [diff] [blame] | 124 | name: "framework-doc-stubs", |
| 125 | defaults: ["framework-doc-stubs-default"], |
| 126 | arg_files: [ |
| 127 | "core/res/AndroidManifest.xml", |
| 128 | ], |
Anton Hansson | 26c843f | 2021-05-05 11:11:57 +0100 | [diff] [blame] | 129 | args: metalava_framework_docs_args, |
Jiyong Park | 7fb4b18 | 2019-12-20 14:35:43 +0900 | [diff] [blame] | 130 | write_sdk_values: true, |
| 131 | } |
| 132 | |
| 133 | droidstubs { |
| 134 | name: "framework-doc-system-stubs", |
| 135 | defaults: ["framework-doc-stubs-default"], |
| 136 | arg_files: [ |
| 137 | "core/res/AndroidManifest.xml", |
| 138 | ], |
Anton Hansson | 121ccbc | 2020-12-17 14:56:06 +0000 | [diff] [blame] | 139 | args: metalava_framework_docs_args + |
Anton Hansson | 121ccbc | 2020-12-17 14:56:06 +0000 | [diff] [blame] | 140 | " --show-annotation android.annotation.SystemApi\\(client=android.annotation.SystemApi.Client.PRIVILEGED_APPS\\) ", |
Jiyong Park | 7fb4b18 | 2019-12-20 14:35:43 +0900 | [diff] [blame] | 141 | write_sdk_values: true, |
| 142 | } |
| 143 | |
| 144 | ///////////////////////////////////////////////////////////////////// |
| 145 | // API docs are created from the generated stub source files |
| 146 | // using droiddoc |
| 147 | ///////////////////////////////////////////////////////////////////// |
| 148 | |
| 149 | framework_docs_only_args = " -android -manifest $(location core/res/AndroidManifest.xml) " + |
| 150 | "-werror -lerror -hide 111 -hide 113 -hide 125 -hide 126 -hide 127 -hide 128 " + |
| 151 | "-overview $(location core/java/overview.html) " + |
| 152 | // Federate Support Library references against local API file. |
| 153 | "-federate SupportLib https://developer.android.com " + |
| 154 | "-federationapi SupportLib $(location :current-support-api) " + |
| 155 | // Federate Support Library references against local API file. |
| 156 | "-federate AndroidX https://developer.android.com " + |
| 157 | "-federationapi AndroidX $(location :current-androidx-api) " |
| 158 | |
| 159 | doc_defaults { |
| 160 | name: "framework-docs-default", |
Artur Satayev | ffd7f95 | 2020-01-13 16:16:27 +0000 | [diff] [blame] | 161 | libs: framework_docs_only_libs + [ |
| 162 | "stub-annotations", |
| 163 | "unsupportedappusage", |
| 164 | ], |
Jiyong Park | 7fb4b18 | 2019-12-20 14:35:43 +0900 | [diff] [blame] | 165 | html_dirs: [ |
| 166 | "docs/html", |
| 167 | ], |
| 168 | knowntags: [ |
| 169 | "docs/knowntags.txt", |
Paul Duffin | 8c083f6 | 2020-09-08 20:22:49 +0100 | [diff] [blame] | 170 | ":art.module.public.api{.doctags}", |
Jiyong Park | 7fb4b18 | 2019-12-20 14:35:43 +0900 | [diff] [blame] | 171 | ], |
| 172 | custom_template: "droiddoc-templates-sdk", |
| 173 | resourcesdir: "docs/html/reference/images/", |
| 174 | resourcesoutdir: "reference/android/images/", |
| 175 | hdf: [ |
| 176 | "dac true", |
| 177 | "sdk.codename O", |
| 178 | "sdk.preview.version 1", |
| 179 | "sdk.version 7.0", |
| 180 | "sdk.rel.id 1", |
| 181 | "sdk.preview 0", |
| 182 | ], |
| 183 | arg_files: [ |
| 184 | "core/res/AndroidManifest.xml", |
| 185 | "core/java/overview.html", |
| 186 | ":current-support-api", |
| 187 | ":current-androidx-api", |
| 188 | ], |
Jiyong Park | 7fb4b18 | 2019-12-20 14:35:43 +0900 | [diff] [blame] | 189 | } |
| 190 | |
| 191 | doc_defaults { |
| 192 | name: "framework-dokka-docs-default", |
Jiyong Park | 7fb4b18 | 2019-12-20 14:35:43 +0900 | [diff] [blame] | 193 | } |
| 194 | |
| 195 | droiddoc { |
| 196 | name: "doc-comment-check-docs", |
| 197 | defaults: ["framework-docs-default"], |
| 198 | srcs: [ |
| 199 | ":framework-doc-stubs", |
| 200 | ], |
| 201 | args: framework_docs_only_args + " -referenceonly -parsecomments", |
| 202 | installable: false, |
| 203 | } |
| 204 | |
| 205 | droiddoc { |
| 206 | name: "offline-sdk-docs", |
| 207 | defaults: ["framework-docs-default"], |
| 208 | srcs: [ |
| 209 | ":framework-doc-stubs", |
| 210 | ], |
| 211 | hdf: [ |
| 212 | "android.whichdoc offline", |
| 213 | ], |
atrost | b1ee27b | 2020-02-03 11:03:16 +0000 | [diff] [blame] | 214 | compat_config: ":global-compat-config", |
Jiyong Park | 7fb4b18 | 2019-12-20 14:35:43 +0900 | [diff] [blame] | 215 | proofread_file: "offline-sdk-docs-proofrerad.txt", |
| 216 | args: framework_docs_only_args + " -offlinemode -title \"Android SDK\"", |
| 217 | static_doc_index_redirect: "docs/docs-preview-index.html", |
| 218 | } |
| 219 | |
| 220 | droiddoc { |
| 221 | // Please sync with android-api-council@ before making any changes for the name property below. |
| 222 | // Since there's cron jobs that fetch offline-sdk-referenceonly-docs-docs.zip periodically. |
| 223 | // See b/116221385 for reference. |
| 224 | name: "offline-sdk-referenceonly-docs", |
| 225 | defaults: ["framework-docs-default"], |
| 226 | srcs: [ |
| 227 | ":framework-doc-stubs", |
| 228 | ], |
| 229 | hdf: [ |
| 230 | "android.whichdoc offline", |
| 231 | ], |
| 232 | proofread_file: "offline-sdk-referenceonly-docs-proofrerad.txt", |
| 233 | args: framework_docs_only_args + " -offlinemode -title \"Android SDK\" -referenceonly", |
| 234 | static_doc_index_redirect: "docs/docs-documentation-redirect.html", |
| 235 | static_doc_properties: "docs/source.properties", |
| 236 | } |
| 237 | |
| 238 | droiddoc { |
| 239 | // Please sync with android-api-council@ before making any changes for the name property below. |
| 240 | // Since there's cron jobs that fetch offline-system-sdk-referenceonly-docs-docs.zip periodically. |
| 241 | // See b/116221385 for reference. |
| 242 | name: "offline-system-sdk-referenceonly-docs", |
| 243 | defaults: ["framework-docs-default"], |
| 244 | srcs: [ |
| 245 | ":framework-doc-system-stubs", |
| 246 | ], |
| 247 | hdf: [ |
| 248 | "android.whichdoc offline", |
| 249 | ], |
| 250 | proofread_file: "offline-system-sdk-referenceonly-docs-proofrerad.txt", |
| 251 | args: framework_docs_only_args + " -hide 101 -hide 104 -hide 108" + |
| 252 | " -offlinemode -title \"Android System SDK\" -referenceonly", |
| 253 | static_doc_index_redirect: "docs/docs-documentation-redirect.html", |
| 254 | static_doc_properties: "docs/source.properties", |
| 255 | } |
| 256 | |
| 257 | droiddoc { |
| 258 | name: "online-sdk-docs", |
| 259 | defaults: ["framework-docs-default"], |
| 260 | srcs: [ |
| 261 | ":framework-doc-stubs", |
| 262 | ], |
| 263 | hdf: [ |
| 264 | "android.whichdoc online", |
| 265 | "android.hasSamples true", |
| 266 | ], |
| 267 | proofread_file: "online-sdk-docs-proofrerad.txt", |
| 268 | args: framework_docs_only_args + |
| 269 | " -toroot / -samplegroup Admin " + |
| 270 | " -samplegroup Background " + |
| 271 | " -samplegroup Connectivity " + |
| 272 | " -samplegroup Content " + |
| 273 | " -samplegroup Input " + |
| 274 | " -samplegroup Media " + |
| 275 | " -samplegroup Notification " + |
| 276 | " -samplegroup RenderScript " + |
| 277 | " -samplegroup Security " + |
| 278 | " -samplegroup Sensors " + |
| 279 | " -samplegroup System " + |
| 280 | " -samplegroup Testing " + |
| 281 | " -samplegroup UI " + |
| 282 | " -samplegroup Views " + |
| 283 | " -samplegroup Wearable -samplesdir development/samples/browseable ", |
| 284 | } |
| 285 | |
| 286 | droiddoc { |
| 287 | name: "online-system-api-sdk-docs", |
| 288 | defaults: ["framework-docs-default"], |
| 289 | srcs: [ |
| 290 | ":framework-doc-system-stubs", |
| 291 | ], |
| 292 | hdf: [ |
| 293 | "android.whichdoc online", |
| 294 | "android.hasSamples true", |
| 295 | ], |
| 296 | proofread_file: "online-system-api-sdk-docs-proofrerad.txt", |
| 297 | args: framework_docs_only_args + |
| 298 | " -referenceonly " + |
| 299 | " -title \"Android SDK - Including system APIs.\" " + |
| 300 | " -hide 101 " + |
| 301 | " -hide 104 " + |
| 302 | " -hide 108 " + |
| 303 | " -toroot / -samplegroup Admin " + |
| 304 | " -samplegroup Background " + |
| 305 | " -samplegroup Connectivity " + |
| 306 | " -samplegroup Content " + |
| 307 | " -samplegroup Input " + |
| 308 | " -samplegroup Media " + |
| 309 | " -samplegroup Notification " + |
| 310 | " -samplegroup RenderScript " + |
| 311 | " -samplegroup Security " + |
| 312 | " -samplegroup Sensors " + |
| 313 | " -samplegroup System " + |
| 314 | " -samplegroup Testing " + |
| 315 | " -samplegroup UI " + |
| 316 | " -samplegroup Views " + |
| 317 | " -samplegroup Wearable -samplesdir development/samples/browseable ", |
| 318 | installable: false, |
| 319 | } |
| 320 | |
| 321 | droiddoc { |
| 322 | name: "ds-docs-java", |
| 323 | defaults: ["framework-docs-default"], |
| 324 | srcs: [ |
| 325 | ":framework-doc-stubs", |
| 326 | ], |
| 327 | hdf: [ |
| 328 | "android.whichdoc online", |
| 329 | "android.hasSamples true", |
| 330 | ], |
| 331 | proofread_file: "ds-docs-proofrerad.txt", |
| 332 | args: framework_docs_only_args + |
| 333 | " -toroot / -yamlV2 -metalavaApiSince -samplegroup Admin " + |
| 334 | " -samplegroup Background " + |
| 335 | " -samplegroup Connectivity " + |
| 336 | " -samplegroup Content " + |
| 337 | " -samplegroup Input " + |
| 338 | " -samplegroup Media " + |
| 339 | " -samplegroup Notification " + |
| 340 | " -samplegroup RenderScript " + |
| 341 | " -samplegroup Security " + |
| 342 | " -samplegroup Sensors " + |
| 343 | " -samplegroup System " + |
| 344 | " -samplegroup Testing " + |
| 345 | " -samplegroup UI " + |
| 346 | " -samplegroup Views " + |
| 347 | " -samplegroup Wearable -devsite -samplesdir development/samples/browseable ", |
| 348 | } |
| 349 | |
| 350 | droiddoc { |
| 351 | name: "ds-docs-kt", |
| 352 | defaults: ["framework-dokka-docs-default"], |
| 353 | srcs: [ |
| 354 | ":framework-doc-stubs", |
| 355 | ], |
| 356 | args: "-noJdkLink -links https://kotlinlang.org/api/latest/jvm/stdlib/^external/dokka/package-list " + |
Dan Willemsen | cece97c | 2020-04-20 22:32:45 -0700 | [diff] [blame] | 357 | "-noStdlibLink", |
Jiyong Park | 7fb4b18 | 2019-12-20 14:35:43 +0900 | [diff] [blame] | 358 | proofread_file: "ds-dokka-proofread.txt", |
| 359 | dokka_enabled: true, |
| 360 | } |
| 361 | |
| 362 | java_genrule { |
| 363 | name: "ds-docs", |
| 364 | tools: [ |
| 365 | "zip2zip", |
| 366 | "merge_zips", |
| 367 | ], |
| 368 | srcs: [ |
| 369 | ":ds-docs-java{.docs.zip}", |
| 370 | ":ds-docs-kt{.docs.zip}", |
| 371 | ], |
| 372 | out: ["ds-docs.zip"], |
| 373 | dist: { |
| 374 | targets: ["docs"], |
| 375 | }, |
| 376 | cmd: "$(location zip2zip) -i $(location :ds-docs-kt{.docs.zip}) -o $(genDir)/ds-docs-kt-moved.zip **/*:en/reference/kotlin && " + |
Dan Willemsen | cece97c | 2020-04-20 22:32:45 -0700 | [diff] [blame] | 377 | "$(location merge_zips) $(out) $(location :ds-docs-java{.docs.zip}) $(genDir)/ds-docs-kt-moved.zip", |
Jiyong Park | 7fb4b18 | 2019-12-20 14:35:43 +0900 | [diff] [blame] | 378 | } |
| 379 | |
| 380 | java_genrule { |
| 381 | name: "ds-docs-switched", |
| 382 | tools: [ |
| 383 | "switcher4", |
| 384 | "soong_zip", |
| 385 | ], |
| 386 | srcs: [ |
| 387 | ":ds-docs-java{.docs.zip}", |
| 388 | ":ds-docs-kt{.docs.zip}", |
| 389 | ], |
| 390 | out: ["ds-docs-switched.zip"], |
| 391 | dist: { |
| 392 | targets: ["docs"], |
| 393 | }, |
Colin Cross | a2410eb | 2020-02-26 13:04:57 -0800 | [diff] [blame] | 394 | cmd: "unzip -q $(location :ds-docs-java{.docs.zip}) -d $(genDir) && " + |
Dan Willemsen | cece97c | 2020-04-20 22:32:45 -0700 | [diff] [blame] | 395 | "unzip -q $(location :ds-docs-kt{.docs.zip}) -d $(genDir)/en/reference/kotlin && " + |
| 396 | "SWITCHER=$$(cd $$(dirname $(location switcher4)) && pwd)/$$(basename $(location switcher4)) && " + |
| 397 | "(cd $(genDir)/en/reference && $$SWITCHER --work platform) > /dev/null && " + |
| 398 | "$(location soong_zip) -o $(out) -C $(genDir) -D $(genDir)", |
Jiyong Park | 7fb4b18 | 2019-12-20 14:35:43 +0900 | [diff] [blame] | 399 | } |
| 400 | |
| 401 | droiddoc { |
| 402 | name: "ds-static-docs", |
| 403 | defaults: ["framework-docs-default"], |
| 404 | srcs: [ |
| 405 | ":framework-doc-stubs", |
| 406 | ], |
| 407 | hdf: [ |
| 408 | "android.whichdoc online", |
| 409 | ], |
Jiyong Park | 7fb4b18 | 2019-12-20 14:35:43 +0900 | [diff] [blame] | 410 | args: framework_docs_only_args + |
| 411 | " -staticonly " + |
| 412 | " -toroot / " + |
| 413 | " -devsite " + |
| 414 | " -ignoreJdLinks ", |
| 415 | } |
| 416 | |
| 417 | droiddoc { |
| 418 | name: "ds-ref-navtree-docs", |
| 419 | defaults: ["framework-docs-default"], |
| 420 | srcs: [ |
| 421 | ":framework-doc-stubs", |
| 422 | ], |
| 423 | hdf: [ |
| 424 | "android.whichdoc online", |
| 425 | ], |
Jiyong Park | 7fb4b18 | 2019-12-20 14:35:43 +0900 | [diff] [blame] | 426 | args: framework_docs_only_args + |
| 427 | " -toroot / " + |
| 428 | " -atLinksNavtree " + |
| 429 | " -navtreeonly ", |
| 430 | } |
| 431 | |
| 432 | droiddoc { |
| 433 | name: "online-sdk-dev-docs", |
| 434 | defaults: ["framework-docs-default"], |
| 435 | srcs: [ |
| 436 | ":framework-doc-stubs", |
| 437 | ], |
| 438 | hdf: [ |
| 439 | "android.whichdoc online", |
| 440 | "android.hasSamples true", |
| 441 | ], |
| 442 | proofread_file: "online-sdk-dev-docs-proofrerad.txt", |
| 443 | args: framework_docs_only_args + |
| 444 | " -toroot / -samplegroup Admin " + |
| 445 | " -samplegroup Background " + |
| 446 | " -samplegroup Connectivity " + |
| 447 | " -samplegroup Content " + |
| 448 | " -samplegroup Input " + |
| 449 | " -samplegroup Media " + |
| 450 | " -samplegroup Notification " + |
| 451 | " -samplegroup RenderScript " + |
| 452 | " -samplegroup Security " + |
| 453 | " -samplegroup Sensors " + |
| 454 | " -samplegroup System " + |
| 455 | " -samplegroup Testing " + |
| 456 | " -samplegroup UI " + |
| 457 | " -samplegroup Views " + |
| 458 | " -samplegroup Wearable -samplesdir development/samples/browseable ", |
| 459 | } |
| 460 | |
| 461 | droiddoc { |
| 462 | name: "hidden-docs", |
| 463 | defaults: ["framework-docs-default"], |
| 464 | srcs: [ |
| 465 | ":framework-doc-stubs", |
| 466 | ], |
| 467 | proofread_file: "hidden-docs-proofrerad.txt", |
| 468 | args: framework_docs_only_args + |
| 469 | " -referenceonly " + |
| 470 | " -title \"Android SDK - Including hidden APIs.\"", |
| 471 | } |