Age | Commit message (Collapse) | Author |
|
Bug: 154796679
Test: run the generation with and without new parameters
Change-Id: I9449d82d6aef14feef53c0049f5ac3ccc4ef6b8f
|
|
This change allows you to specify a flat file to add
@CorePlatformApi(status=STABLE) to (previously it only supported bare
@CorePlatformApi). This would have been possible using the JSON format
before, but this would be more verbose and error-prone in the case (as
with conscrypt) where the whole surface is stable.
Test: external/conscrypt/srcgen/generate_android_src.sh (and check result)
Bug: 157640067
Change-Id: Ie69e2805ed6c76cde395e48532236fdd31bb0c67
|
|
Existing annotations in libcore/ and frameworks/ will deleted after the migration. This also means that any java library that compiles @UnsupportedAppUsage requires a direct dependency on "unsupportedappusage" java_library.
Bug: 145132366
Test: m && diff unsupportedappusage_index.csv
Change-Id: I94f5016048f78f0be20bb1be7dcd495f797662bc
|
|
Running a script like external/conscrypt/srcgen/generate_android_src.sh
removed the TEST_MAPPING files. This change restores them by checking
them out of git. This does mean that if a TEST_MAPPING file has been
edited that the changes will be lost.
Test: external/conscrypt/srcgen/generate_android_src.sh
Change-Id: Ifedff3823f14a7a098a677709bf1ce89b5a8c22d
|
|
Currysrc can be used to repackage source files. The repackage-common.sh
currently references 'make' in this process, which is now not supported
by build/make/core/main.mk. Instead, build/soong needs to be used for
this operation.
Bug: 141146348
Test: make
Change-Id: I468a7417fcac92f248bd395bb19d8bce46b5433c
|
|
Test: manual test with file with comments
Change-Id: Ib7000c1969b9a4d9725cdbd3fcca12ae956cde76
|
|
This script makes it easier to use currysrc to repackage source files
by removing the need for each repository to create its own custom
script for invoking currysrc. Instead they simply have to specify a
few fields, include this script to do the repackaging, and then, if
necessary do any post repackaging cleanup.
This script also checks that every change that it requested to be
made is actually made and fails otherwise. This ensures that an update
does not accidentally remove a method that is part of the hiddenapi and
which could cause app compatibility issues.
Bug: 119243026
Test: external/libphonenumber/srcgen/generate_android_src.sh
Change-Id: Ib60d6e035e65d99ff5b90e35e9a4aff43023311b
|