Commit Graph

13 Commits

Author SHA1 Message Date
Liz Kammer
16f2f94b7e Remove create_stubs: false from droiddoc
`create_stubs: false` is the default behavior in soong as of
https://r.android.com/1380730

Test: m docs
Bug: 144248501
Bug: 143136634
Change-Id: If13de5c0a4071b032bc460f5c57e27819b33051d
2020-08-03 14:48:04 -07:00
Ramy Medhat
602016c7db Revert "Enable metalava sandbox in StubLibraries.bp and ApiDocs.bp."
Reason for revert: breaking several builds downstream
Reverted Changes:
Ia5767debc:Enable metalava sandbox in StubLibraries.bp and Ap...
I7256d29f1:Add sandbox property to the javadoc rule.
Ia69440800:Only report a violation when the file exists.

Change-Id: I5651212314fd39b7ba404936dee416f566c682c9
2020-06-20 13:02:35 +00:00
Ramy Medhat
7462d23b12 Enable metalava sandbox in StubLibraries.bp and ApiDocs.bp.
Test: built entire topic with and without RBE_METALAVA.
Change-Id: Ia5767debc713a420b8d008943903238413d0816d
2020-06-18 09:47:16 -04:00
Paul Duffin
e55d4e3b62 Use tags to access conscrypt sources
Avoids direct access to the stub sources and instead access them via
tags passed to the java_sdk_library.

Bug: 155164730
Test: m checkapi
Change-Id: I93dfb8bfac60bd7ab628292667c8d7a9d5e8eb82
2020-05-26 14:08:01 +01:00
Anton Hansson
f68ddeaa8a Change last-released filegroup
There were two different filegroups referencing the same last released
APIs. Delete the manually defined one and switch references over to use
the one defined by prebuilt_apis.

Bug: 155197156
Test: m
Change-Id: Ib15d2c08e6400546ca03de6bfd4e5cbcc938c992
Merged-In: Ib15d2c08e6400546ca03de6bfd4e5cbcc938c992
2020-05-04 13:54:10 +01:00
Jiyong Park
022553332d Remove process parameter from SystemApi
SystemApi no longer has the process parameter. Fixing the last remaining
place where the parameter was still used.

Bug: 155531519
Test: m
Merged-In: I4b1395b3a6e17ff8ce634059f8787c1b6392b1b9
(cherry picked from commit 92514d5b71)
Change-Id: I4b1395b3a6e17ff8ce634059f8787c1b6392b1b9
2020-05-03 10:38:21 +09:00
Dan Willemsen
cece97c664 Remove proofread files that aren't created
These would cause these actions (and any that depended upon them) to
re-run during every incremental build. These now produce warnings:

ninja: output file missing after successful execution: out/soong/.intermediates/frameworks/base/ds-ref-navtree-docs/android_common/ds-ref-navtree-docs-proofrerad.txt

It turns out that the -proofread argument to doclava is ignored with the
following argument combinations:

 * -static -devsite
 * -navtreeonly

Test: m docs; m docs (nothing to do)
Change-Id: I21b939951f5a2f33914e9fc9414df8206091d262
2020-04-20 22:43:18 -07:00
Paul Duffin
29adf462b6 Rename conscrypt-module-public-api-stubs-source
Renamed conscrypt-module-public-api-stubs-source to
conscrypt.module.public.api.stubs.source to match the format of the
name created by java_sdk_library.

This is in preparation for switching to use java_sdk_library to
generate conscrypt's public API.

Bug: 153443117
Test: m nothing
Change-Id: I26ad21cf74ad3600de250df8e84deec65b91b3f9
2020-04-09 21:45:27 +01:00
Paul Duffin
5c89e70a1f Reference libcore, conscrypt and icu sources directly
Avoids an extra aggregation step in the creation of the API sources.

Test: m nothing
Bug: 142935992
Change-Id: Ia15c3ceb9fc59e7945687536c60ce265ec95781e
2020-03-26 15:41:25 +00:00
Colin Cross
a2410ebbb9 Quiet ds-docs-switched
The ds-docs-switched genrule was producing 18947 lines of output,
including a single line with 266986 bytes.  Quiet all the tools
used in the genrule.

Test: m ds-docs-switched
Change-Id: I5549c34f6310469e7791b56190d5b7c1f386a5f7
2020-02-26 13:10:07 -08:00
atrost
b1ee27b3b7 Build rules for compat config docs.
Add compat_config to offline SDK docs for now, to generate the
compatibility changes documentation.

Test: m -j offline-sdk-docs
Bug: 144927670
Change-Id: I856a0972212cb23ff97800243671e9c8280d5287
2020-02-03 11:05:43 +00:00
Artur Satayev
ffd7f95db9 Use android.compat.annotation.UnsupportedAppUsage everywhere.
The new annotation replaces existing two annotations in libcore/ and frameworks/base/. This helps avoid human confusion and allows better and correct tool support.

Bug: 145132366
Test: m
Change-Id: I9078b124ddf0273250c645fe17f27088092c8b18
2020-01-13 17:37:52 +00:00
Jiyong Park
7fb4b183d8 Separate modules for API docs and API stubs
frameworks/base/Android.bp became too big. Modularize it into multiple
files for better readability and extensibility.

droidstubs and java_library modules for API stub libraries are moved to
StubLibraries.bp.

droidstubs and droiddoc modules for API documents are moved to
ApiDocs.bp

Also, added some documentation to explain the roles of the many modules
and how they are related with each other.

Bug: N/A
Test: m

Exempt-From-Owner-Approval: cherry-pick from internal

Merged-In: I285e8c82078d5bd3ed85b0343db2f6375ce7ffb7
(cherry picked from commit 0d7e86d03c)
Change-Id: I285e8c82078d5bd3ed85b0343db2f6375ce7ffb7
2019-12-22 17:27:49 +09:00