blob: 6461c00b1dcd1fa4dab6472e1ca918fb6c8812ad [file] [log] [blame]
Jiyong Park7fb4b182019-12-20 14:35:43 +09001// 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
27framework_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
Anton Hansson5aa59332022-01-21 16:32:31 +000058// These defaults enable doc-stub generation, api lint database generation and sdk value generation.
Jiyong Park7fb4b182019-12-20 14:35:43 +090059stubs_defaults {
Anton Hansson867f94c2021-05-05 10:32:31 +010060 name: "android-non-updatable-doc-stubs-defaults",
Anton Hansson87f04b82022-01-17 19:27:06 +000061 defaults: ["android-non-updatable-stubs-defaults"],
Jiyong Park7fb4b182019-12-20 14:35:43 +090062 srcs: [
Anton Hansson35c0b092021-03-30 10:46:48 +010063 // No longer part of the stubs, but are included in the docs.
Anton Hansson2e25fdc2021-05-10 12:40:05 +010064 ":android-test-base-sources",
65 ":android-test-mock-sources",
66 ":android-test-runner-sources",
Jiyong Park7fb4b182019-12-20 14:35:43 +090067 ],
68 libs: framework_docs_only_libs,
69 create_doc_stubs: true,
Anton Hanssonfa5d0bc2021-09-17 16:09:08 +010070 write_sdk_values: true,
Jiyong Park7fb4b182019-12-20 14:35:43 +090071}
72
Anton Hanssonfa5d0bc2021-09-17 16:09:08 +010073// Defaults module for doc-stubs targets that use module source code as input.
Anton Hanssonfa5d0bc2021-09-17 16:09:08 +010074stubs_defaults {
75 name: "framework-doc-stubs-sources-default",
Anton Hansson5aa59332022-01-21 16:32:31 +000076 defaults: ["android-non-updatable-doc-stubs-defaults"],
Anton Hanssonfa5d0bc2021-09-17 16:09:08 +010077 srcs: [
Anton Hanssonecf9fc32022-01-14 12:10:01 +000078 ":art.module.public.api{.public.stubs.source}",
79 ":conscrypt.module.public.api{.public.stubs.source}",
80 ":i18n.module.public.api{.public.stubs.source}",
81
Neha Pattanfa46dd22022-02-18 19:46:09 +000082 ":framework-adservices-sources",
Anton Hanssonfa5d0bc2021-09-17 16:09:08 +010083 ":framework-appsearch-sources",
84 ":framework-connectivity-sources",
Roopa Sattiraju8e305772022-01-20 10:05:19 -080085 ":framework-bluetooth-sources",
paulhuf45fe962021-12-14 23:09:55 +080086 ":framework-connectivity-tiramisu-updatable-sources",
Anton Hanssonfa5d0bc2021-09-17 16:09:08 +010087 ":framework-graphics-srcs",
88 ":framework-mediaprovider-sources",
Chun Zhanga615ce52021-10-29 14:57:55 -070089 ":framework-nearby-sources",
Frank Wange97ff9e2022-02-13 07:06:31 +000090 ":framework-ondevicepersonalization-sources",
Anton Hanssonfa5d0bc2021-09-17 16:09:08 +010091 ":framework-permission-sources",
92 ":framework-permission-s-sources",
93 ":framework-scheduling-sources",
94 ":framework-sdkextensions-sources",
95 ":framework-statsd-sources",
Nikita Ioffe59029ad2022-02-24 01:56:44 +000096 ":framework-sdksandbox-sources",
Anton Hanssonfa5d0bc2021-09-17 16:09:08 +010097 ":framework-tethering-srcs",
Roshan Piusde6f1ca2021-10-14 07:34:07 -070098 ":framework-uwb-updatable-sources",
Anton Hanssonfa5d0bc2021-09-17 16:09:08 +010099 ":framework-wifi-updatable-sources",
100 ":ike-srcs",
101 ":updatable-media-srcs",
102 ],
103}
104
Jiyong Park7fb4b182019-12-20 14:35:43 +0900105droidstubs {
Anton Hansson867f94c2021-05-05 10:32:31 +0100106 name: "android-non-updatable-doc-stubs",
Anton Hansson5aa59332022-01-21 16:32:31 +0000107 defaults: [
108 "android-non-updatable-doc-stubs-defaults",
109 "module-classpath-stubs-defaults",
110 ],
Anton Hansson867f94c2021-05-05 10:32:31 +0100111 args: metalava_framework_docs_args,
112}
113
114droidstubs {
115 name: "android-non-updatable-doc-stubs-system",
Anton Hansson5aa59332022-01-21 16:32:31 +0000116 defaults: [
117 "android-non-updatable-doc-stubs-defaults",
118 "module-classpath-stubs-defaults",
119 ],
Anton Hansson867f94c2021-05-05 10:32:31 +0100120 args: metalava_framework_docs_args +
121 " --show-annotation android.annotation.SystemApi\\(client=android.annotation.SystemApi.Client.PRIVILEGED_APPS\\) ",
122}
123
124droidstubs {
Cole Faustdcda3702022-10-04 14:46:35 -0700125 name: "android-non-updatable-doc-stubs-module-lib",
126 defaults: [
127 "android-non-updatable-doc-stubs-defaults",
128 "module-classpath-stubs-defaults",
Anton Hansson5aa59332022-01-21 16:32:31 +0000129 ],
Cole Faustdcda3702022-10-04 14:46:35 -0700130 args: metalava_framework_docs_args +
131 " --show-annotation android.annotation.SystemApi\\(client=android.annotation.SystemApi.Client.PRIVILEGED_APPS\\) " +
132 " --show-annotation android.annotation.SystemApi\\(client=android.annotation.SystemApi.Client.MODULE_LIBRARIES\\) ",
133 generate_stubs: false, // We're only using this module for the annotations.zip output, disable doc-stubs.
134 write_sdk_values: false,
135}
136
137droidstubs {
138 name: "android-non-updatable-doc-stubs-system-server",
139 defaults: [
140 "android-non-updatable-doc-stubs-defaults",
141 "module-classpath-stubs-defaults",
142 ],
143 args: metalava_framework_docs_args +
144 " --show-annotation android.annotation.SystemApi\\(client=android.annotation.SystemApi.Client.PRIVILEGED_APPS\\) " +
145 " --show-annotation android.annotation.SystemApi\\(client=android.annotation.SystemApi.Client.MODULE_LIBRARIES\\) " +
146 " --show-annotation android.annotation.SystemApi\\(client=android.annotation.SystemApi.Client.SYSTEM_SERVER\\) ",
147 generate_stubs: false, // We're only using this module for the annotations.zip output, disable doc-stubs.
148 write_sdk_values: false,
Jiyong Park7fb4b182019-12-20 14:35:43 +0900149}
150
Anton Hanssonfa5d0bc2021-09-17 16:09:08 +0100151droidstubs {
Anton Hansson111e1582021-10-26 14:12:10 +0000152 name: "framework-doc-stubs",
Anton Hansson5aa59332022-01-21 16:32:31 +0000153 defaults: ["android-non-updatable-doc-stubs-defaults"],
Anton Hanssonecf9fc32022-01-14 12:10:01 +0000154 srcs: [":all-modules-public-stubs-source"],
Anton Hanssonfa5d0bc2021-09-17 16:09:08 +0100155 args: metalava_framework_docs_args,
Anton Hansson247c5f22022-05-09 09:53:12 +0000156 api_levels_module: "api_versions_public",
Anton Hanssonfa5d0bc2021-09-17 16:09:08 +0100157 aidl: {
Anton Hanssonfa5d0bc2021-09-17 16:09:08 +0100158 include_dirs: [
159 "packages/modules/Connectivity/framework/aidl-export",
Baligh Uddinb8b46fd2022-02-11 14:20:10 +0000160 "packages/modules/Media/apex/aidl/stable",
Anton Hanssonfa5d0bc2021-09-17 16:09:08 +0100161 ],
162 },
Mårten Kongstad54845332022-09-06 15:50:37 +0200163 extensions_info_file: ":sdk-extensions-info",
Anton Hanssonfa5d0bc2021-09-17 16:09:08 +0100164}
165
Cole Faustdcda3702022-10-04 14:46:35 -0700166droidstubs {
167 name: "framework-doc-system-stubs",
168 defaults: ["framework-doc-stubs-sources-default"],
169 args: metalava_framework_docs_args +
170 " --show-annotation android.annotation.SystemApi\\(client=android.annotation.SystemApi.Client.PRIVILEGED_APPS\\) ",
171 api_levels_annotations_enabled: true,
172 api_levels_annotations_dirs: [
173 "sdk-dir",
174 "api-versions-jars-dir",
175 ],
176 api_levels_sdk_type: "system",
177 extensions_info_file: ":sdk-extensions-info",
178}
179
Jiyong Park7fb4b182019-12-20 14:35:43 +0900180/////////////////////////////////////////////////////////////////////
181// API docs are created from the generated stub source files
182// using droiddoc
183/////////////////////////////////////////////////////////////////////
184
Anton Hanssonca6e67a2023-03-03 17:55:09 +0000185framework_docs_only_args = " -android -manifest $(location :frameworks-base-core-AndroidManifest.xml) " +
Mårten Kongstad7f769482022-11-18 08:27:45 +0100186 "-metalavaApiSince " +
Jiyong Park7fb4b182019-12-20 14:35:43 +0900187 "-werror -lerror -hide 111 -hide 113 -hide 125 -hide 126 -hide 127 -hide 128 " +
Anton Hanssonca6e67a2023-03-03 17:55:09 +0000188 "-overview $(location :frameworks-base-java-overview) " +
Jiyong Park7fb4b182019-12-20 14:35:43 +0900189 // Federate Support Library references against local API file.
190 "-federate SupportLib https://developer.android.com " +
191 "-federationapi SupportLib $(location :current-support-api) " +
192 // Federate Support Library references against local API file.
193 "-federate AndroidX https://developer.android.com " +
194 "-federationapi AndroidX $(location :current-androidx-api) "
195
196doc_defaults {
197 name: "framework-docs-default",
Artur Satayevffd7f952020-01-13 16:16:27 +0000198 libs: framework_docs_only_libs + [
199 "stub-annotations",
200 "unsupportedappusage",
201 ],
Jiyong Park7fb4b182019-12-20 14:35:43 +0900202 html_dirs: [
203 "docs/html",
204 ],
205 knowntags: [
206 "docs/knowntags.txt",
Paul Duffin8c083f62020-09-08 20:22:49 +0100207 ":art.module.public.api{.doctags}",
Jiyong Park7fb4b182019-12-20 14:35:43 +0900208 ],
209 custom_template: "droiddoc-templates-sdk",
210 resourcesdir: "docs/html/reference/images/",
211 resourcesoutdir: "reference/android/images/",
Anton Hansson0a715502023-10-03 12:13:25 +0000212 lint_baseline: "javadoc-lint-baseline",
Jiyong Park7fb4b182019-12-20 14:35:43 +0900213 hdf: [
214 "dac true",
215 "sdk.codename O",
216 "sdk.preview.version 1",
217 "sdk.version 7.0",
218 "sdk.rel.id 1",
219 "sdk.preview 0",
220 ],
221 arg_files: [
Anton Hanssonca6e67a2023-03-03 17:55:09 +0000222 ":frameworks-base-core-AndroidManifest.xml",
223 ":frameworks-base-java-overview",
Jiyong Park7fb4b182019-12-20 14:35:43 +0900224 ":current-support-api",
225 ":current-androidx-api",
226 ],
Ytai Ben-Tsvida7c21e2020-09-16 13:04:31 -0700227 // TODO(b/169090544): remove below aidl includes.
228 aidl: {
Jeff Sharkey75d4f932021-07-26 15:41:01 -0600229 include_dirs: [
230 "frameworks/av/aidl",
Anton Hanssonca6e67a2023-03-03 17:55:09 +0000231 "frameworks/base/media/aidl",
Jeff Sharkey75d4f932021-07-26 15:41:01 -0600232 "frameworks/native/libs/permission/aidl",
233 ],
Ytai Ben-Tsvida7c21e2020-09-16 13:04:31 -0700234 },
Jiyong Park7fb4b182019-12-20 14:35:43 +0900235}
236
237doc_defaults {
238 name: "framework-dokka-docs-default",
Jiyong Park7fb4b182019-12-20 14:35:43 +0900239}
240
241droiddoc {
242 name: "doc-comment-check-docs",
243 defaults: ["framework-docs-default"],
244 srcs: [
245 ":framework-doc-stubs",
246 ],
247 args: framework_docs_only_args + " -referenceonly -parsecomments",
248 installable: false,
249}
250
251droiddoc {
252 name: "offline-sdk-docs",
253 defaults: ["framework-docs-default"],
254 srcs: [
255 ":framework-doc-stubs",
256 ],
257 hdf: [
258 "android.whichdoc offline",
259 ],
atrostb1ee27b2020-02-03 11:03:16 +0000260 compat_config: ":global-compat-config",
Mårten Kongstad2598fe02022-03-30 12:31:33 +0000261 proofread_file: "offline-sdk-docs-proofread.txt",
Jiyong Park7fb4b182019-12-20 14:35:43 +0900262 args: framework_docs_only_args + " -offlinemode -title \"Android SDK\"",
263 static_doc_index_redirect: "docs/docs-preview-index.html",
264}
265
266droiddoc {
267 // Please sync with android-api-council@ before making any changes for the name property below.
268 // Since there's cron jobs that fetch offline-sdk-referenceonly-docs-docs.zip periodically.
269 // See b/116221385 for reference.
270 name: "offline-sdk-referenceonly-docs",
271 defaults: ["framework-docs-default"],
272 srcs: [
273 ":framework-doc-stubs",
274 ],
275 hdf: [
276 "android.whichdoc offline",
277 ],
Mårten Kongstad2598fe02022-03-30 12:31:33 +0000278 proofread_file: "offline-sdk-referenceonly-docs-proofread.txt",
Jiyong Park7fb4b182019-12-20 14:35:43 +0900279 args: framework_docs_only_args + " -offlinemode -title \"Android SDK\" -referenceonly",
280 static_doc_index_redirect: "docs/docs-documentation-redirect.html",
281 static_doc_properties: "docs/source.properties",
282}
283
284droiddoc {
285 // Please sync with android-api-council@ before making any changes for the name property below.
286 // Since there's cron jobs that fetch offline-system-sdk-referenceonly-docs-docs.zip periodically.
287 // See b/116221385 for reference.
288 name: "offline-system-sdk-referenceonly-docs",
289 defaults: ["framework-docs-default"],
290 srcs: [
291 ":framework-doc-system-stubs",
292 ],
293 hdf: [
294 "android.whichdoc offline",
295 ],
Mårten Kongstad2598fe02022-03-30 12:31:33 +0000296 proofread_file: "offline-system-sdk-referenceonly-docs-proofread.txt",
Jiyong Park7fb4b182019-12-20 14:35:43 +0900297 args: framework_docs_only_args + " -hide 101 -hide 104 -hide 108" +
298 " -offlinemode -title \"Android System SDK\" -referenceonly",
299 static_doc_index_redirect: "docs/docs-documentation-redirect.html",
300 static_doc_properties: "docs/source.properties",
301}
302
303droiddoc {
304 name: "online-sdk-docs",
305 defaults: ["framework-docs-default"],
306 srcs: [
307 ":framework-doc-stubs",
308 ],
309 hdf: [
310 "android.whichdoc online",
311 "android.hasSamples true",
312 ],
Mårten Kongstad2598fe02022-03-30 12:31:33 +0000313 proofread_file: "online-sdk-docs-proofread.txt",
Jiyong Park7fb4b182019-12-20 14:35:43 +0900314 args: framework_docs_only_args +
315 " -toroot / -samplegroup Admin " +
316 " -samplegroup Background " +
317 " -samplegroup Connectivity " +
318 " -samplegroup Content " +
319 " -samplegroup Input " +
320 " -samplegroup Media " +
321 " -samplegroup Notification " +
322 " -samplegroup RenderScript " +
323 " -samplegroup Security " +
324 " -samplegroup Sensors " +
325 " -samplegroup System " +
326 " -samplegroup Testing " +
327 " -samplegroup UI " +
328 " -samplegroup Views " +
329 " -samplegroup Wearable -samplesdir development/samples/browseable ",
330}
331
332droiddoc {
333 name: "online-system-api-sdk-docs",
334 defaults: ["framework-docs-default"],
335 srcs: [
336 ":framework-doc-system-stubs",
337 ],
338 hdf: [
339 "android.whichdoc online",
340 "android.hasSamples true",
341 ],
Mårten Kongstad2598fe02022-03-30 12:31:33 +0000342 proofread_file: "online-system-api-sdk-docs-proofread.txt",
Jiyong Park7fb4b182019-12-20 14:35:43 +0900343 args: framework_docs_only_args +
344 " -referenceonly " +
345 " -title \"Android SDK - Including system APIs.\" " +
346 " -hide 101 " +
347 " -hide 104 " +
348 " -hide 108 " +
349 " -toroot / -samplegroup Admin " +
350 " -samplegroup Background " +
351 " -samplegroup Connectivity " +
352 " -samplegroup Content " +
353 " -samplegroup Input " +
354 " -samplegroup Media " +
355 " -samplegroup Notification " +
356 " -samplegroup RenderScript " +
357 " -samplegroup Security " +
358 " -samplegroup Sensors " +
359 " -samplegroup System " +
360 " -samplegroup Testing " +
361 " -samplegroup UI " +
362 " -samplegroup Views " +
363 " -samplegroup Wearable -samplesdir development/samples/browseable ",
364 installable: false,
365}
366
367droiddoc {
368 name: "ds-docs-java",
369 defaults: ["framework-docs-default"],
370 srcs: [
371 ":framework-doc-stubs",
372 ],
373 hdf: [
374 "android.whichdoc online",
375 "android.hasSamples true",
376 ],
Mårten Kongstad2598fe02022-03-30 12:31:33 +0000377 proofread_file: "ds-docs-proofread.txt",
Jiyong Park7fb4b182019-12-20 14:35:43 +0900378 args: framework_docs_only_args +
Mårten Kongstad7f769482022-11-18 08:27:45 +0100379 " -toroot / -yamlV2 -samplegroup Admin " +
Jiyong Park7fb4b182019-12-20 14:35:43 +0900380 " -samplegroup Background " +
381 " -samplegroup Connectivity " +
382 " -samplegroup Content " +
383 " -samplegroup Input " +
384 " -samplegroup Media " +
385 " -samplegroup Notification " +
386 " -samplegroup RenderScript " +
387 " -samplegroup Security " +
388 " -samplegroup Sensors " +
389 " -samplegroup System " +
390 " -samplegroup Testing " +
391 " -samplegroup UI " +
392 " -samplegroup Views " +
393 " -samplegroup Wearable -devsite -samplesdir development/samples/browseable ",
394}
395
396droiddoc {
397 name: "ds-docs-kt",
398 defaults: ["framework-dokka-docs-default"],
399 srcs: [
400 ":framework-doc-stubs",
401 ],
402 args: "-noJdkLink -links https://kotlinlang.org/api/latest/jvm/stdlib/^external/dokka/package-list " +
Dan Willemsencece97c2020-04-20 22:32:45 -0700403 "-noStdlibLink",
Jiyong Park7fb4b182019-12-20 14:35:43 +0900404 proofread_file: "ds-dokka-proofread.txt",
405 dokka_enabled: true,
406}
407
408java_genrule {
409 name: "ds-docs",
410 tools: [
411 "zip2zip",
412 "merge_zips",
413 ],
414 srcs: [
415 ":ds-docs-java{.docs.zip}",
416 ":ds-docs-kt{.docs.zip}",
417 ],
418 out: ["ds-docs.zip"],
419 dist: {
420 targets: ["docs"],
421 },
422 cmd: "$(location zip2zip) -i $(location :ds-docs-kt{.docs.zip}) -o $(genDir)/ds-docs-kt-moved.zip **/*:en/reference/kotlin && " +
Dan Willemsencece97c2020-04-20 22:32:45 -0700423 "$(location merge_zips) $(out) $(location :ds-docs-java{.docs.zip}) $(genDir)/ds-docs-kt-moved.zip",
Jiyong Park7fb4b182019-12-20 14:35:43 +0900424}
425
Sorin Basca2fd4b162023-03-14 20:51:48 +0000426java_genrule {
427 name: "ds-docs-switched",
428 tools: [
429 "switcher4",
430 "soong_zip",
431 ],
432 srcs: [
433 ":ds-docs-java{.docs.zip}",
434 ":ds-docs-kt{.docs.zip}",
435 ],
436 out: ["ds-docs-switched.zip"],
437 dist: {
438 targets: ["docs"],
439 },
440 cmd: "unzip -q $(location :ds-docs-java{.docs.zip}) -d $(genDir) && " +
441 "unzip -q $(location :ds-docs-kt{.docs.zip}) -d $(genDir)/en/reference/kotlin && " +
442 "SWITCHER=$$(cd $$(dirname $(location switcher4)) && pwd)/$$(basename $(location switcher4)) && " +
443 "(cd $(genDir)/en/reference && $$SWITCHER --work platform) > /dev/null && " +
444 "$(location soong_zip) -o $(out) -C $(genDir) -D $(genDir)",
445}
Jiyong Park7fb4b182019-12-20 14:35:43 +0900446
447droiddoc {
448 name: "ds-static-docs",
449 defaults: ["framework-docs-default"],
450 srcs: [
451 ":framework-doc-stubs",
452 ],
453 hdf: [
454 "android.whichdoc online",
455 ],
Jiyong Park7fb4b182019-12-20 14:35:43 +0900456 args: framework_docs_only_args +
457 " -staticonly " +
458 " -toroot / " +
459 " -devsite " +
460 " -ignoreJdLinks ",
461}
462
463droiddoc {
464 name: "ds-ref-navtree-docs",
465 defaults: ["framework-docs-default"],
466 srcs: [
467 ":framework-doc-stubs",
468 ],
469 hdf: [
470 "android.whichdoc online",
471 ],
Jiyong Park7fb4b182019-12-20 14:35:43 +0900472 args: framework_docs_only_args +
473 " -toroot / " +
474 " -atLinksNavtree " +
475 " -navtreeonly ",
476}
477
478droiddoc {
479 name: "online-sdk-dev-docs",
480 defaults: ["framework-docs-default"],
481 srcs: [
482 ":framework-doc-stubs",
483 ],
484 hdf: [
485 "android.whichdoc online",
486 "android.hasSamples true",
487 ],
Mårten Kongstad2598fe02022-03-30 12:31:33 +0000488 proofread_file: "online-sdk-dev-docs-proofread.txt",
Jiyong Park7fb4b182019-12-20 14:35:43 +0900489 args: framework_docs_only_args +
490 " -toroot / -samplegroup Admin " +
491 " -samplegroup Background " +
492 " -samplegroup Connectivity " +
493 " -samplegroup Content " +
494 " -samplegroup Input " +
495 " -samplegroup Media " +
496 " -samplegroup Notification " +
497 " -samplegroup RenderScript " +
498 " -samplegroup Security " +
499 " -samplegroup Sensors " +
500 " -samplegroup System " +
501 " -samplegroup Testing " +
502 " -samplegroup UI " +
503 " -samplegroup Views " +
504 " -samplegroup Wearable -samplesdir development/samples/browseable ",
505}
506
507droiddoc {
508 name: "hidden-docs",
509 defaults: ["framework-docs-default"],
510 srcs: [
511 ":framework-doc-stubs",
512 ],
Mårten Kongstad2598fe02022-03-30 12:31:33 +0000513 proofread_file: "hidden-docs-proofread.txt",
Jiyong Park7fb4b182019-12-20 14:35:43 +0900514 args: framework_docs_only_args +
515 " -referenceonly " +
516 " -title \"Android SDK - Including hidden APIs.\"",
517}