- Oct 11, 2023
-
-
Anton Hansson authored
- the *-check-docs target doesn't do anything the other targets don't - online-* are, I think, the old d.a.c targets but the ds-* targets are what's currently used - the hidden-* target isn't meaningfully different from others, either Test: presubmit Change-Id: Icab977d40917aa14c629629965c6126e20f4f3ee
-
- Feb 14, 2022
-
-
Bob Badour authored
Bug: 151177513 Test: m all dist reportmissinglicenses Change-Id: I1ca40c2f26633f23583ac4af10437503f458c4d2
-
- Jul 15, 2020
-
-
Anton Hansson authored
This has been empty since Ibdfe1cbf34d97c43f4857c2c5d7604fa72d5b5a4. Test: m Change-Id: I7ac973f82dc07fb74e0aae80c10a68d3ae6e1d72
-
- Apr 28, 2020
-
-
Dan Willemsen authored
ninja: Missing `restat`? An output file is older than the most recent input: output: out/target/common/obj/PACKAGING/framework-doc-stubs-metadata_intermediates/activity_actions.txt input: out/target/common/obj/PACKAGING/framework-doc-stubs-metadata.zip ninja: Missing `restat`? An output file is older than the most recent input: output: out/target/common/obj/PACKAGING/framework-doc-stubs-metadata_intermediates/broadcast_actions.txt input: out/target/common/obj/PACKAGING/framework-doc-stubs-metadata.zip ninja: Missing `restat`? An output file is older than the most recent input: output: out/target/common/obj/PACKAGING/framework-doc-stubs-metadata_intermediates/categories.txt input: out/target/common/obj/PACKAGING/framework-doc-stubs-metadata.zip ninja: Missing `restat`? An output file is older than the most recent input: output: out/target/common/obj/PACKAGING/framework-doc-stubs-metadata_intermediates/features.txt input: out/target/common/obj/PACKAGING/framework-doc-stubs-metadata.zip ninja: Missing `restat`? An output file is older than the most recent input: output: out/target/common/obj/PACKAGING/framework-doc-stubs-metadata_intermediates/service_actions.txt input: out/target/common/obj/PACKAGING/framework-doc-stubs-metadata.zip ninja: Missing `restat`? An output file is older than the most recent input: output: out/target/common/obj/PACKAGING/framework-doc-stubs-metadata_intermediates/widgets.txt input: out/target/common/obj/PACKAGING/framework-doc-stubs-metadata.zip Which was caused by unzip setting the timestamps of the output files to 2008. Test: m out/target/common/obj/PACKAGING/framework-doc-stubs-metadata_intermediates/activity_actions.txt Change-Id: Ie62b0f52eb9aae11db7899c363780daf7d2c0e95
-
- Apr 17, 2020
-
-
Anton Hansson authored
The API files are disted to the apistubs/ subdir now, and all known users have been updated to use that path. Bug: 152479829 Test: No Change-Id: I224fd5af8ba740c6ad94bbbdb20f5d53509e51f6 Merged-In: I224fd5af8ba740c6ad94bbbdb20f5d53509e51f6
-
Anton Hansson authored
The API files are disted to the apistubs/ subdir now, and all known users have been updated to use that path. Bug: 152479829 Test: No Change-Id: I224fd5af8ba740c6ad94bbbdb20f5d53509e51f6
-
Anton Hansson authored
droidstubs dist now dists the api file, so convert these manual mk rules into bp dist instead. Bug: 149293194 Test: m dist sdk && find out/dist/apistubs -name /android\.txt Change-Id: I96052b427dc01a6d24b040ad0006129d4d1e48fb Merged-In: I96052b427dc01a6d24b040ad0006129d4d1e48fb
-
- Mar 23, 2020
-
-
Anton Hansson authored
droidstubs dist now dists the api file, so convert these manual mk rules into bp dist instead. Bug: 149293194 Test: m dist sdk && find out/dist/apistubs -name /android\.txt Change-Id: I96052b427dc01a6d24b040ad0006129d4d1e48fb
-
- Mar 21, 2020
-
-
Artur Satayev authored
Bug: 145132366 Test: m dist Change-Id: I0863d428cdeb56551caa0fd548ab50fdcad96ece Merged-In: I0863d428cdeb56551caa0fd548ab50fdcad96ece
-
- Mar 20, 2020
-
-
Anton Hansson authored
Makes these artifacts available for the update_prebuilts script. Bug: 149293194 Test: m win_sdk dist && find out/dist -type f Change-Id: Ia1064e50e987433e5e308527c6770ba2d3e8bde3 Merged-In: Ia1064e50e987433e5e308527c6770ba2d3e8bde3 (cherry picked from commit 7b0414be)
-
- Mar 19, 2020
-
-
Anton Hansson authored
Makes these artifacts available for the update_prebuilts script. Bug: 149293194 Test: m win_sdk dist && find out/dist -type f Change-Id: Ia1064e50e987433e5e308527c6770ba2d3e8bde3
-
- Feb 25, 2020
-
-
Artur Satayev authored
Bug: 145132366 Test: m dist Change-Id: I0863d428cdeb56551caa0fd548ab50fdcad96ece
-
- Nov 18, 2019
-
-
Jerome Gaillard authored
Metalava, not Doclava, should be used to extract the metadata used in devtools. The files created then need to be copied into the SDK. Bug: 142480924 Test: m sdk Change-Id: I7eb15341fde9520d51a696a6416a63e6c19c71f9 Merged-In: I7eb15341fde9520d51a696a6416a63e6c19c71f9
-
- Oct 17, 2019
-
-
Jerome Gaillard authored
Metalava, not Doclava, should be used to extract the metadata used in devtools. The files created then need to be copied into the SDK. Bug: 142480924 Test: m sdk Change-Id: I7eb15341fde9520d51a696a6416a63e6c19c71f9
-
- Apr 22, 2019
-
-
Colin Cross authored
They are now located in build/soong/java/sdk.go. Bug: 130798034 Bug: 122332340 Test: m checkbuild Change-Id: I4e8ee725e660e52aa56c2a10b626dff517669869 Merged-In: I4e8ee725e660e52aa56c2a10b626dff517669869 (cherry picked from commit 196fa294)
-
- Apr 18, 2019
-
-
Colin Cross authored
They are now located in build/soong/java/sdk.go. Bug: 130798034 Bug: 122332340 Test: m checkbuild Change-Id: I4e8ee725e660e52aa56c2a10b626dff517669869
-
- Feb 14, 2019
-
-
Colin Cross authored
update-api would be fast except that it spends ~4 minutes doing doc-comment-check-docs. doc-comment-check-docs isn't really related to update-api, so lets just remove it. Fixes: 124386818 Test: m update-api Change-Id: I0f5311e98063786671c0d8b6a8db52351d9fcfd7
-
- Feb 08, 2019
-
-
Colin Cross authored
offline-sdk-docs is the most useful target for local developers verifying documentation changes. Unzip offline-sdk-docs.zip into out/target/common/docs/offline-sdk/ whenever the offline-sdk-docs or docs targets are built. Fixes: 124115897 Test: m offline-sdk-docs Change-Id: I92ce65742e7475cc64a688f2b1893c96ecfd2a52
-
- Feb 05, 2019
-
-
Colin Cross authored
The hiddenapi rules are now in build/soong/java/hiddenapi_singleton.go. The dist goals are still here for now. Bug: 123645297 Test: m checkbuild Change-Id: Id25b2bf0d6b49be2f908a4613f012773fb1f02c4
-
- Jan 19, 2019
-
-
David Brazdil authored
Refactor of `hiddenapi` changed the output format of public/private API lists to a single CSV file. Change API list generation accordingly. In order to avoid special-casing this CSV file, it is treated the same as the CSV files produced by `class2greylist`. The merging rules are relaxed so that signatures in CSV files are not checked against a pre-initialized set of all signatures (previously generated from the public/private API files). This should not lead to build errors as the CSV files are always auto-generated, and a missing/extra signature will be caught by `hiddenapi`. API lists in frameworks/base/config are processed later and checked that they are a subset of the signatures in CSV. Bug: 119068555 Test: compiles, hiddenapi-flags.csv unchanged Change-Id: I33f2cbaa15f2d423a75e6ca64abe1c5b0c40c86f
-
- Jan 18, 2019
-
-
David Brazdil authored
Hiddenapi build logic has moved to soong and list of flags.csv files is now being passed to make files through SOONG_HIDDENAPI_FLAGS variable. Adjust the build rule for hiddenapi_flags.csv accordingly. Test: aosp compiles Change-Id: I930f918fb36ce3532478035e83c2632559fd07b6
-
- Jan 17, 2019
-
-
Adrian Roos authored
Fixes: 122957987 Test: UNSAFE_DISABLE_HIDDENAPI_FLAGS=true make droid Change-Id: I0b5a18b9d989667122ad942b185b826b637fad89
-
- Dec 05, 2018
-
-
David Brazdil authored
Rename files to reflect new API list naming convention: light-greylist => greylist max-sdk-p-blacklist => greylist-max-p This also removes unused files (private-dex.txt, public-dex.txt, removed-dex.txt) and merges vendor.txt into greylist.txt. Test: m appcompat Test: frameworks/base/tools/hiddenapi/generate_hiddenapi_lists_test.py Merged-In: I4922ecb011a03bef3fa105f8181d1851d2cc496a Change-Id: I4922ecb011a03bef3fa105f8181d1851d2cc496a
-
David Brazdil authored
Rename files to reflect new API list naming convention: light-greylist => greylist max-sdk-p-blacklist => greylist-max-p This also removes unused files (private-dex.txt, public-dex.txt, removed-dex.txt) and merges vendor.txt into greylist.txt. The CL also starts using greylist-max-p.txt (which is currently empty). Test: m appcompat Test: frameworks/base/tools/hiddenapi/generate_hiddenapi_lists_test.py Change-Id: I4922ecb011a03bef3fa105f8181d1851d2cc496a
-
- Nov 30, 2018
-
-
Nan Zhang authored
Test: m -j checkbuild, and build was failed as expected. Bug: b/118815658 b/120229228 Change-Id: I3a8e869f22e5040a63208169203feec15b847f2f
-
- Nov 29, 2018
-
-
David Brazdil authored
Maintaining multiple text files has become too cumbersome as adding each new category of API requires changes across many projects. This patch changes generate_hiddenapi_lists.py to produce a single CSV file in the format: <api_signature>,<flag1>,...,<flagN> It can accept legacy API list files as input (for existing frameworks/base/config/hiddenapi-*.txt files) as well as per-package CSVs produced by class2greylist. Test: m, check lists have not changed Test: phone boots Test: tools/hiddenapi/generate_hiddenapi_lists_test.py Change-Id: Iebcef426ec93ea1d72b662bbff91d4e068fa0a70
-
- Oct 16, 2018
-
-
Mathew Inwood authored
Add a python script to merge the CSV files, dealing with the fact that the source columns may differ due to the annotation properties present in the source. Add this new file and the existing greylist.txt files as dependencies of the 'dist' target, so that they appear as artifacts on the build server. This allows them to be processed later by reading them from the build server. Test: m out/target/common/obj/PACKAGING/hiddenapi-greylist.csv Bug: 117314178 Change-Id: Ib9e5da90e4c32333a3f4f02ee7f159f77086ae5e
-
- Oct 15, 2018
-
-
Mathew Inwood authored
This will contain greylist entries accessible by apps with a targetSdkVersion of less than Q. Currently empty, will be populated in follow up CLs. For now, these APIs are just merged into the light greylist at build time, pending support in the runtime for implementing the correct runtime behavior. Also fix a bug in sort_api.sh so it deals with empty API lists correctly. Bug: 115609023 Test: m Change-Id: I213874062f393f96d120648a934ae5ad7aba93af
-
- Sep 17, 2018
-
-
Nan Zhang authored
And also clean legacy MK code in Android.mk Test: api-stubs-docs-diff Bug: b/78245848 Change-Id: I733e0e2c29f8273db3ffb9730c70d5b4e2b1438d
-
- Sep 11, 2018
-
-
David Brazdil authored
This reverts commit 3cc74c71. We saw app crashes due stricter classification of non-SDK APIs. Bug: 115284625 Bug: 113881436 Test: phone boots Change-Id: I689d0fbf66fabeffa5032e13f2f1f314c50b6cc5 (cherry picked from commit 4a55eebf)
-
David Brazdil authored
This reverts commit 3cc74c71. We saw app crashes due stricter classification of non-SDK APIs. Bug: 115284625 Bug: 113881436 Test: phone boots Change-Id: I689d0fbf66fabeffa5032e13f2f1f314c50b6cc5
-
- Sep 07, 2018
-
-
Mathew Inwood authored
@UnsupportedAppUsage annotations support setting a maxTargetSdk property on the which results in the member being placed on the dark grey list, or in future on a P or Q blacklist. Bug: 114361293 Test: m Change-Id: I33be28f8afb034a030bdf5cf29d43ba72f50bfcd
-
- Sep 06, 2018
-
-
David Brazdil authored
Change hidden API list generation build rule so that it checks if outputs have changed and only commit them when changes have been made. .KATI_RESTAT instructs ninja to restat the outputs and remove reverse dependencies when rebuilding dependencies is not needed. Bug: 113278235 Test: m appcompat Change-Id: Ic3ec82534a6d79b6a85f865a6e9eb5f0b3f12424
-
David Brazdil authored
We want to preserve the same semantics as P wrt dark greylist. This will eventually become the "blacklist for target SDK >= P". Bug: 113881436 Test: phone boots Change-Id: I3bb72102e1d054eb0f2cae089ab633a0bc2bb276
-
- Sep 03, 2018
-
-
Sundong Ahn authored
The dist path of the api files are changed for consistency of dist path. Test: make -j40 PRODUCT-sdk_phone_armv7-sdk dist sdk_repo Change-Id: I8dae352288458f6305ab6a0e5210c042ab372e33
-
- Aug 30, 2018
-
-
David Brazdil authored
Generating hidden API lists has grown in complexity and the original Makefile rule has become a bottleneck for build times. Rewrite the logic in Python. Bug: 113278235 Bug: 73736106 Test: frameworks/base/tools/hiddenapi/generate_hiddenapi_lists_test.py Change-Id: I63f03133d70260d06c55f482b844a4980dc6f734
-
- Aug 23, 2018
-
-
David Brazdil authored
Whitelist used to be the same as all entries in API stubs. This is no longer true as libcore will generate hidden bridge methods which are supposed to be whitelisted. CL in build/make calls class2greylist on each boot classpath module to dump their list and this patch creates a build rule for the new whitelist. Bug: 112186571 Test: m appcompat, diff public-list.txt whitelist.txt Change-Id: I7b3957ea9ed8bebb483609d94b1e6f169f4379dd
-
- Aug 20, 2018
-
-
Colin Cross authored
See build/soong/README.md for more information. Test: m checkbuild Change-Id: Icfb0001df2e35b5ed799511ff4f2f563d626134b
-
- Aug 03, 2018
-
-
David Brazdil authored
The `hiddenapi` build tool has been extended to provide a full list of non-SDK APIs in an effort to remove dependency on Doclava. This patch changes the build rules generating non-SDK API lists to start using hiddenapi's list instead of Doclava's. Consequences: (a) some greylist entries change signature (fixing Doclava varargs bug) (b) cloned public fields are now whitelisted (b/79432238) (c) new APIs need to be greylisted because they are used by apps Bug: 79432238 Bug: 79409988 Bug: 76424618 Test: phone boots Merged-In: I681c1e97d0929cfb1d357b2243ecb210d18f9e87 Change-Id: I681c1e97d0929cfb1d357b2243ecb210d18f9e87 (cherry picked from commit b59c36f5)
-
- Aug 02, 2018
-
-
Nan Zhang authored
Since support libraries have been migrated to Soong, these docs modules currently are ready to be supported in Soong. Bug: b/70351683 Test: m -j offline-sdk-docs Change-Id: I8739d94909c7cc830c30fa3d1047d26761cc5076 Merged-In: I8739d94909c7cc830c30fa3d1047d26761cc5076
-