blob: 7a4ef2ab325a21f147f333d7410d48a8945f1bcb [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
58stubs_defaults {
Anton Hansson867f94c2021-05-05 10:32:31 +010059 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
72stubs_defaults {
Jiyong Park7fb4b182019-12-20 14:35:43 +090073 name: "framework-doc-stubs-default",
74 srcs: [
Anton Hansson867f94c2021-05-05 10:32:31 +010075 ":android-non-updatable-stub-sources",
Anton Hansson35c0b092021-03-30 10:46:48 +010076
77 // Module sources
Paul Duffin404b26a2020-09-16 14:26:47 +010078 ":art.module.public.api{.public.stubs.source}",
Paul Duffine55d4e32020-05-14 17:55:46 +010079 ":conscrypt.module.public.api{.public.stubs.source}",
Paul Duffin5a4e8f22020-11-25 15:45:43 +000080 ":i18n.module.public.api{.public.stubs.source}",
Anton Hansson35c0b092021-03-30 10:46:48 +010081
82 // No longer part of the stubs, but are included in the docs.
Anton Hansson2e25fdc2021-05-10 12:40:05 +010083 ":android-test-base-sources",
84 ":android-test-mock-sources",
85 ":android-test-runner-sources",
Jiyong Park7fb4b182019-12-20 14:35:43 +090086 ],
Anton Hanssonfa5d0bc2021-09-17 16:09:08 +010087 arg_files: [
88 "core/res/AndroidManifest.xml",
89 ],
Jiyong Park7fb4b182019-12-20 14:35:43 +090090 libs: framework_docs_only_libs,
91 create_doc_stubs: true,
92 annotations_enabled: true,
Anton Hansson76ac4cc2021-05-05 19:22:52 +010093 filter_packages: packages_to_document,
Jiyong Park7fb4b182019-12-20 14:35:43 +090094 api_levels_annotations_enabled: true,
95 api_levels_annotations_dirs: [
96 "sdk-dir",
97 "api-versions-jars-dir",
98 ],
Anton Hanssonf68ddea2020-05-02 17:49:26 +010099 previous_api: ":android.api.public.latest",
Jiyong Park7fb4b182019-12-20 14:35:43 +0900100 merge_annotations_dirs: [
101 "metalava-manual",
102 ],
Anton Hanssonfa5d0bc2021-09-17 16:09:08 +0100103 write_sdk_values: true,
Ytai Ben-Tsvida7c21e2020-09-16 13:04:31 -0700104 // TODO(b/169090544): remove below aidl includes.
105 aidl: {
106 local_include_dirs: ["media/aidl"],
Jeff Sharkey75d4f932021-07-26 15:41:01 -0600107 include_dirs: [
108 "frameworks/av/aidl",
109 "frameworks/native/libs/permission/aidl",
110 ],
Ytai Ben-Tsvida7c21e2020-09-16 13:04:31 -0700111 },
Jiyong Park7fb4b182019-12-20 14:35:43 +0900112}
113
Anton Hanssonfa5d0bc2021-09-17 16:09:08 +0100114// Defaults module for doc-stubs targets that use module source code as input.
Anton Hanssonfa5d0bc2021-09-17 16:09:08 +0100115stubs_defaults {
116 name: "framework-doc-stubs-sources-default",
117 defaults: ["framework-doc-stubs-default"],
118 srcs: [
119 ":framework-appsearch-sources",
120 ":framework-connectivity-sources",
121 ":framework-graphics-srcs",
122 ":framework-mediaprovider-sources",
Chun Zhanga615ce52021-10-29 14:57:55 -0700123 ":framework-nearby-sources",
Anton Hanssonfa5d0bc2021-09-17 16:09:08 +0100124 ":framework-permission-sources",
125 ":framework-permission-s-sources",
126 ":framework-scheduling-sources",
127 ":framework-sdkextensions-sources",
128 ":framework-statsd-sources",
Gavin Corkerybc006442021-11-16 22:33:10 +0000129 ":framework-supplementalprocess-sources",
Anton Hanssonfa5d0bc2021-09-17 16:09:08 +0100130 ":framework-tethering-srcs",
Roshan Piusde6f1ca2021-10-14 07:34:07 -0700131 ":framework-uwb-updatable-sources",
Anton Hanssonfa5d0bc2021-09-17 16:09:08 +0100132 ":framework-wifi-updatable-sources",
133 ":ike-srcs",
134 ":updatable-media-srcs",
135 ],
136}
137
Jiyong Park7fb4b182019-12-20 14:35:43 +0900138droidstubs {
Anton Hansson867f94c2021-05-05 10:32:31 +0100139 name: "android-non-updatable-doc-stubs",
140 defaults: ["android-non-updatable-doc-stubs-defaults"],
141 args: metalava_framework_docs_args,
142}
143
144droidstubs {
145 name: "android-non-updatable-doc-stubs-system",
146 defaults: ["android-non-updatable-doc-stubs-defaults"],
147 args: metalava_framework_docs_args +
148 " --show-annotation android.annotation.SystemApi\\(client=android.annotation.SystemApi.Client.PRIVILEGED_APPS\\) ",
149}
150
151droidstubs {
Jiyong Park7fb4b182019-12-20 14:35:43 +0900152 name: "framework-doc-system-stubs",
Anton Hanssonfa5d0bc2021-09-17 16:09:08 +0100153 defaults: ["framework-doc-stubs-sources-default"],
Anton Hansson121ccbc2020-12-17 14:56:06 +0000154 args: metalava_framework_docs_args +
Anton Hansson121ccbc2020-12-17 14:56:06 +0000155 " --show-annotation android.annotation.SystemApi\\(client=android.annotation.SystemApi.Client.PRIVILEGED_APPS\\) ",
satayevbc7c83e2021-06-29 22:27:06 +0100156 api_levels_sdk_type: "system",
Jiyong Park7fb4b182019-12-20 14:35:43 +0900157}
158
Anton Hanssonfa5d0bc2021-09-17 16:09:08 +0100159droidstubs {
Anton Hansson111e1582021-10-26 14:12:10 +0000160 name: "framework-doc-stubs",
Anton Hanssonfa5d0bc2021-09-17 16:09:08 +0100161 defaults: ["framework-doc-stubs-default"],
162 args: metalava_framework_docs_args,
163 srcs: [
164 ":android.net.ipsec.ike{.public.stubs.source}",
165 ":framework-appsearch{.public.stubs.source}",
166 ":framework-connectivity{.public.stubs.source}",
167 ":framework-graphics{.public.stubs.source}",
168 ":framework-media{.public.stubs.source}",
169 ":framework-mediaprovider{.public.stubs.source}",
Chun Zhanga615ce52021-10-29 14:57:55 -0700170 ":framework-nearby{.public.stubs.source}",
Anton Hanssonfa5d0bc2021-09-17 16:09:08 +0100171 ":framework-permission{.public.stubs.source}",
172 ":framework-permission-s{.public.stubs.source}",
173 ":framework-scheduling{.public.stubs.source}",
174 ":framework-sdkextensions{.public.stubs.source}",
175 ":framework-statsd{.public.stubs.source}",
Gavin Corkerybc006442021-11-16 22:33:10 +0000176 ":framework-supplementalprocess{.public.stubs.source}",
Anton Hanssonfa5d0bc2021-09-17 16:09:08 +0100177 ":framework-tethering{.public.stubs.source}",
Roshan Piusde6f1ca2021-10-14 07:34:07 -0700178 ":framework-uwb{.public.stubs.source}",
Anton Hanssonfa5d0bc2021-09-17 16:09:08 +0100179 ":framework-wifi{.public.stubs.source}",
180 ],
181 aidl: {
182 local_include_dirs: [
183 "apex/media/aidl/stable",
184 ],
185 include_dirs: [
186 "packages/modules/Connectivity/framework/aidl-export",
187 ],
188 },
189}
190
Anton Hansson1bf568e2021-09-24 13:16:19 +0100191// This produces the same annotations.zip as framework-doc-stubs, but by using
192// outputs from individual modules instead of all the source code.
193genrule {
194 name: "sdk-annotations.zip",
195 srcs: [
196 ":android-non-updatable-doc-stubs{.annotations.zip}",
197
198 // Conscrypt and i18n currently do not enable annotations
199 // ":conscrypt.module.public.api{.public.annotations.zip}",
200 // ":i18n.module.public.api{.public.annotations.zip}",
201
202 // Modules that enable annotations below
203 ":android.net.ipsec.ike{.public.annotations.zip}",
204 ":art.module.public.api{.public.annotations.zip}",
205 ":framework-appsearch{.public.annotations.zip}",
206 ":framework-connectivity{.public.annotations.zip}",
207 ":framework-graphics{.public.annotations.zip}",
208 ":framework-media{.public.annotations.zip}",
209 ":framework-mediaprovider{.public.annotations.zip}",
Chun Zhanga615ce52021-10-29 14:57:55 -0700210 ":framework-nearby{.public.annotations.zip}",
Anton Hansson1bf568e2021-09-24 13:16:19 +0100211 ":framework-permission{.public.annotations.zip}",
212 ":framework-permission-s{.public.annotations.zip}",
213 ":framework-scheduling{.public.annotations.zip}",
214 ":framework-sdkextensions{.public.annotations.zip}",
215 ":framework-statsd{.public.annotations.zip}",
Gavin Corkerybc006442021-11-16 22:33:10 +0000216 ":framework-supplementalprocess{.public.annotations.zip}",
Anton Hansson1bf568e2021-09-24 13:16:19 +0100217 ":framework-tethering{.public.annotations.zip}",
Roshan Piusde6f1ca2021-10-14 07:34:07 -0700218 ":framework-uwb{.public.annotations.zip}",
Anton Hansson1bf568e2021-09-24 13:16:19 +0100219 ":framework-wifi{.public.annotations.zip}",
220 ],
221 out: ["annotations.zip"],
222 tools: [
223 "merge_annotation_zips",
224 "soong_zip",
225 ],
226 cmd: "$(location merge_annotation_zips) $(genDir)/out $(in) && " +
227 "$(location soong_zip) -o $(out) -C $(genDir)/out -D $(genDir)/out",
228}
229
Jiyong Park7fb4b182019-12-20 14:35:43 +0900230/////////////////////////////////////////////////////////////////////
231// API docs are created from the generated stub source files
232// using droiddoc
233/////////////////////////////////////////////////////////////////////
234
235framework_docs_only_args = " -android -manifest $(location core/res/AndroidManifest.xml) " +
236 "-werror -lerror -hide 111 -hide 113 -hide 125 -hide 126 -hide 127 -hide 128 " +
237 "-overview $(location core/java/overview.html) " +
238 // Federate Support Library references against local API file.
239 "-federate SupportLib https://developer.android.com " +
240 "-federationapi SupportLib $(location :current-support-api) " +
241 // Federate Support Library references against local API file.
242 "-federate AndroidX https://developer.android.com " +
243 "-federationapi AndroidX $(location :current-androidx-api) "
244
245doc_defaults {
246 name: "framework-docs-default",
Artur Satayevffd7f952020-01-13 16:16:27 +0000247 libs: framework_docs_only_libs + [
248 "stub-annotations",
249 "unsupportedappusage",
250 ],
Jiyong Park7fb4b182019-12-20 14:35:43 +0900251 html_dirs: [
252 "docs/html",
253 ],
254 knowntags: [
255 "docs/knowntags.txt",
Paul Duffin8c083f62020-09-08 20:22:49 +0100256 ":art.module.public.api{.doctags}",
Jiyong Park7fb4b182019-12-20 14:35:43 +0900257 ],
258 custom_template: "droiddoc-templates-sdk",
259 resourcesdir: "docs/html/reference/images/",
260 resourcesoutdir: "reference/android/images/",
261 hdf: [
262 "dac true",
263 "sdk.codename O",
264 "sdk.preview.version 1",
265 "sdk.version 7.0",
266 "sdk.rel.id 1",
267 "sdk.preview 0",
268 ],
269 arg_files: [
270 "core/res/AndroidManifest.xml",
271 "core/java/overview.html",
272 ":current-support-api",
273 ":current-androidx-api",
274 ],
Ytai Ben-Tsvida7c21e2020-09-16 13:04:31 -0700275 // TODO(b/169090544): remove below aidl includes.
276 aidl: {
277 local_include_dirs: ["media/aidl"],
Jeff Sharkey75d4f932021-07-26 15:41:01 -0600278 include_dirs: [
279 "frameworks/av/aidl",
280 "frameworks/native/libs/permission/aidl",
281 ],
Ytai Ben-Tsvida7c21e2020-09-16 13:04:31 -0700282 },
Jiyong Park7fb4b182019-12-20 14:35:43 +0900283}
284
285doc_defaults {
286 name: "framework-dokka-docs-default",
Jiyong Park7fb4b182019-12-20 14:35:43 +0900287}
288
289droiddoc {
290 name: "doc-comment-check-docs",
291 defaults: ["framework-docs-default"],
292 srcs: [
293 ":framework-doc-stubs",
294 ],
295 args: framework_docs_only_args + " -referenceonly -parsecomments",
296 installable: false,
297}
298
299droiddoc {
300 name: "offline-sdk-docs",
301 defaults: ["framework-docs-default"],
302 srcs: [
303 ":framework-doc-stubs",
304 ],
305 hdf: [
306 "android.whichdoc offline",
307 ],
atrostb1ee27b2020-02-03 11:03:16 +0000308 compat_config: ":global-compat-config",
Jiyong Park7fb4b182019-12-20 14:35:43 +0900309 proofread_file: "offline-sdk-docs-proofrerad.txt",
310 args: framework_docs_only_args + " -offlinemode -title \"Android SDK\"",
311 static_doc_index_redirect: "docs/docs-preview-index.html",
312}
313
314droiddoc {
315 // Please sync with android-api-council@ before making any changes for the name property below.
316 // Since there's cron jobs that fetch offline-sdk-referenceonly-docs-docs.zip periodically.
317 // See b/116221385 for reference.
318 name: "offline-sdk-referenceonly-docs",
319 defaults: ["framework-docs-default"],
320 srcs: [
321 ":framework-doc-stubs",
322 ],
323 hdf: [
324 "android.whichdoc offline",
325 ],
326 proofread_file: "offline-sdk-referenceonly-docs-proofrerad.txt",
327 args: framework_docs_only_args + " -offlinemode -title \"Android SDK\" -referenceonly",
328 static_doc_index_redirect: "docs/docs-documentation-redirect.html",
329 static_doc_properties: "docs/source.properties",
330}
331
332droiddoc {
333 // Please sync with android-api-council@ before making any changes for the name property below.
334 // Since there's cron jobs that fetch offline-system-sdk-referenceonly-docs-docs.zip periodically.
335 // See b/116221385 for reference.
336 name: "offline-system-sdk-referenceonly-docs",
337 defaults: ["framework-docs-default"],
338 srcs: [
339 ":framework-doc-system-stubs",
340 ],
341 hdf: [
342 "android.whichdoc offline",
343 ],
344 proofread_file: "offline-system-sdk-referenceonly-docs-proofrerad.txt",
345 args: framework_docs_only_args + " -hide 101 -hide 104 -hide 108" +
346 " -offlinemode -title \"Android System SDK\" -referenceonly",
347 static_doc_index_redirect: "docs/docs-documentation-redirect.html",
348 static_doc_properties: "docs/source.properties",
349}
350
351droiddoc {
352 name: "online-sdk-docs",
353 defaults: ["framework-docs-default"],
354 srcs: [
355 ":framework-doc-stubs",
356 ],
357 hdf: [
358 "android.whichdoc online",
359 "android.hasSamples true",
360 ],
361 proofread_file: "online-sdk-docs-proofrerad.txt",
362 args: framework_docs_only_args +
363 " -toroot / -samplegroup Admin " +
364 " -samplegroup Background " +
365 " -samplegroup Connectivity " +
366 " -samplegroup Content " +
367 " -samplegroup Input " +
368 " -samplegroup Media " +
369 " -samplegroup Notification " +
370 " -samplegroup RenderScript " +
371 " -samplegroup Security " +
372 " -samplegroup Sensors " +
373 " -samplegroup System " +
374 " -samplegroup Testing " +
375 " -samplegroup UI " +
376 " -samplegroup Views " +
377 " -samplegroup Wearable -samplesdir development/samples/browseable ",
378}
379
380droiddoc {
381 name: "online-system-api-sdk-docs",
382 defaults: ["framework-docs-default"],
383 srcs: [
384 ":framework-doc-system-stubs",
385 ],
386 hdf: [
387 "android.whichdoc online",
388 "android.hasSamples true",
389 ],
390 proofread_file: "online-system-api-sdk-docs-proofrerad.txt",
391 args: framework_docs_only_args +
392 " -referenceonly " +
393 " -title \"Android SDK - Including system APIs.\" " +
394 " -hide 101 " +
395 " -hide 104 " +
396 " -hide 108 " +
397 " -toroot / -samplegroup Admin " +
398 " -samplegroup Background " +
399 " -samplegroup Connectivity " +
400 " -samplegroup Content " +
401 " -samplegroup Input " +
402 " -samplegroup Media " +
403 " -samplegroup Notification " +
404 " -samplegroup RenderScript " +
405 " -samplegroup Security " +
406 " -samplegroup Sensors " +
407 " -samplegroup System " +
408 " -samplegroup Testing " +
409 " -samplegroup UI " +
410 " -samplegroup Views " +
411 " -samplegroup Wearable -samplesdir development/samples/browseable ",
412 installable: false,
413}
414
415droiddoc {
416 name: "ds-docs-java",
417 defaults: ["framework-docs-default"],
418 srcs: [
419 ":framework-doc-stubs",
420 ],
421 hdf: [
422 "android.whichdoc online",
423 "android.hasSamples true",
424 ],
425 proofread_file: "ds-docs-proofrerad.txt",
426 args: framework_docs_only_args +
427 " -toroot / -yamlV2 -metalavaApiSince -samplegroup Admin " +
428 " -samplegroup Background " +
429 " -samplegroup Connectivity " +
430 " -samplegroup Content " +
431 " -samplegroup Input " +
432 " -samplegroup Media " +
433 " -samplegroup Notification " +
434 " -samplegroup RenderScript " +
435 " -samplegroup Security " +
436 " -samplegroup Sensors " +
437 " -samplegroup System " +
438 " -samplegroup Testing " +
439 " -samplegroup UI " +
440 " -samplegroup Views " +
441 " -samplegroup Wearable -devsite -samplesdir development/samples/browseable ",
442}
443
444droiddoc {
445 name: "ds-docs-kt",
446 defaults: ["framework-dokka-docs-default"],
447 srcs: [
448 ":framework-doc-stubs",
449 ],
450 args: "-noJdkLink -links https://kotlinlang.org/api/latest/jvm/stdlib/^external/dokka/package-list " +
Dan Willemsencece97c2020-04-20 22:32:45 -0700451 "-noStdlibLink",
Jiyong Park7fb4b182019-12-20 14:35:43 +0900452 proofread_file: "ds-dokka-proofread.txt",
453 dokka_enabled: true,
454}
455
456java_genrule {
457 name: "ds-docs",
458 tools: [
459 "zip2zip",
460 "merge_zips",
461 ],
462 srcs: [
463 ":ds-docs-java{.docs.zip}",
464 ":ds-docs-kt{.docs.zip}",
465 ],
466 out: ["ds-docs.zip"],
467 dist: {
468 targets: ["docs"],
469 },
470 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 -0700471 "$(location merge_zips) $(out) $(location :ds-docs-java{.docs.zip}) $(genDir)/ds-docs-kt-moved.zip",
Jiyong Park7fb4b182019-12-20 14:35:43 +0900472}
473
474java_genrule {
475 name: "ds-docs-switched",
476 tools: [
477 "switcher4",
478 "soong_zip",
479 ],
480 srcs: [
481 ":ds-docs-java{.docs.zip}",
482 ":ds-docs-kt{.docs.zip}",
483 ],
484 out: ["ds-docs-switched.zip"],
485 dist: {
486 targets: ["docs"],
487 },
Colin Crossa2410eb2020-02-26 13:04:57 -0800488 cmd: "unzip -q $(location :ds-docs-java{.docs.zip}) -d $(genDir) && " +
Dan Willemsencece97c2020-04-20 22:32:45 -0700489 "unzip -q $(location :ds-docs-kt{.docs.zip}) -d $(genDir)/en/reference/kotlin && " +
490 "SWITCHER=$$(cd $$(dirname $(location switcher4)) && pwd)/$$(basename $(location switcher4)) && " +
491 "(cd $(genDir)/en/reference && $$SWITCHER --work platform) > /dev/null && " +
492 "$(location soong_zip) -o $(out) -C $(genDir) -D $(genDir)",
Jiyong Park7fb4b182019-12-20 14:35:43 +0900493}
494
495droiddoc {
496 name: "ds-static-docs",
497 defaults: ["framework-docs-default"],
498 srcs: [
499 ":framework-doc-stubs",
500 ],
501 hdf: [
502 "android.whichdoc online",
503 ],
Jiyong Park7fb4b182019-12-20 14:35:43 +0900504 args: framework_docs_only_args +
505 " -staticonly " +
506 " -toroot / " +
507 " -devsite " +
508 " -ignoreJdLinks ",
509}
510
511droiddoc {
512 name: "ds-ref-navtree-docs",
513 defaults: ["framework-docs-default"],
514 srcs: [
515 ":framework-doc-stubs",
516 ],
517 hdf: [
518 "android.whichdoc online",
519 ],
Jiyong Park7fb4b182019-12-20 14:35:43 +0900520 args: framework_docs_only_args +
521 " -toroot / " +
522 " -atLinksNavtree " +
523 " -navtreeonly ",
524}
525
526droiddoc {
527 name: "online-sdk-dev-docs",
528 defaults: ["framework-docs-default"],
529 srcs: [
530 ":framework-doc-stubs",
531 ],
532 hdf: [
533 "android.whichdoc online",
534 "android.hasSamples true",
535 ],
536 proofread_file: "online-sdk-dev-docs-proofrerad.txt",
537 args: framework_docs_only_args +
538 " -toroot / -samplegroup Admin " +
539 " -samplegroup Background " +
540 " -samplegroup Connectivity " +
541 " -samplegroup Content " +
542 " -samplegroup Input " +
543 " -samplegroup Media " +
544 " -samplegroup Notification " +
545 " -samplegroup RenderScript " +
546 " -samplegroup Security " +
547 " -samplegroup Sensors " +
548 " -samplegroup System " +
549 " -samplegroup Testing " +
550 " -samplegroup UI " +
551 " -samplegroup Views " +
552 " -samplegroup Wearable -samplesdir development/samples/browseable ",
553}
554
555droiddoc {
556 name: "hidden-docs",
557 defaults: ["framework-docs-default"],
558 srcs: [
559 ":framework-doc-stubs",
560 ],
561 proofread_file: "hidden-docs-proofrerad.txt",
562 args: framework_docs_only_args +
563 " -referenceonly " +
564 " -title \"Android SDK - Including hidden APIs.\"",
565}