platform_build_soong/scripts
Inseob Kim 4288274f14 Implement sysprop_library API stability check
sysprop_library now checks the API stability itself, cutting dependency
on java_sdk_library. Under the directory {module_dir}/api,
{module_name}-current.txt and {module_name}-latest.txt hold API
signatures.

When sysprop_library is built, or a user run "m {module_name}-check-api"
command, API check is performed. First, current.txt must have exactly
same signature with built sysprop_library module. Second, current.txt
must be compatible with latest.txt.

Build system emits a handy error message to generate/update those API
files, in case of missing or mismatching. Also, a script file for
freezing API files is introduced.

Bug: 131637873
Test: 1) m && boot blueline
Test: 2) m {sysprop_library} performs API check
Test: 3) manual test for check-api, freezing api
Change-Id: I9d25f5dc64299e666527ca8e23d7233966901c4e
Merged-In: I9d25f5dc64299e666527ca8e23d7233966901c4e
Merged-In: Ib7ad4f17e82c90da5ef3f80e2ab88c0b53112c60
(cherry picked from commit 093f0eb133)
2019-08-23 06:28:34 +00:00
..
Android.bp Add jsonmodify tool 2019-08-02 00:08:05 +09:00
OWNERS Move system-clang-format to a central location. 2019-01-22 13:27:45 -08:00
TEST_MAPPING Add manifest_check tool 2019-05-24 13:43:27 -07:00
build-ndk-prebuilts.sh Allow NDK APIs to be marked as drafts. 2018-11-28 09:52:12 -08:00
build_broken_logs.go Remove BUILD_BROKEN_ANDROIDMK_EXPORTS 2019-05-25 17:13:55 -07:00
diff_build_graphs.sh Have diff_build_graphs.sh print the number of lines in the diff 2017-11-29 12:54:43 -08:00
freeze-sysprop-api-files.sh Implement sysprop_library API stability check 2019-08-23 06:28:34 +00:00
gen-java-current-api-files.sh Refine error messages in case of missing api files 2019-03-20 15:33:06 +09:00
gen-kotlin-build-file.sh Don't hide *.kotlin_module in turbine dependencies 2019-05-08 14:30:12 -07:00
gen-sysprop-api-files.sh Implement sysprop_library API stability check 2019-08-23 06:28:34 +00:00
gen_sorted_bss_symbols.sh Add sort_bss_symbols_by_size property for shared libs 2019-07-29 13:25:55 -07:00
jar-args.sh Add license headers to all go and shell files 2017-11-17 23:05:26 +00:00
jar-wrapper.sh Allow jar wrapper to take quoted arguments 2019-07-16 11:12:04 -07:00
jars-to-module-info-java.sh Add license headers to all go and shell files 2017-11-17 23:05:26 +00:00
jsonmodify.py Add jsonmodify tool 2019-08-02 00:08:05 +09:00
manifest.py Add manifest_check tool 2019-05-24 13:43:27 -07:00
manifest_check.py Add manifest_check tool 2019-05-24 13:43:27 -07:00
manifest_check_test.py Add manifest_check tool 2019-05-24 13:43:27 -07:00
manifest_fixer.py Touch up manifest if there's no source code. 2019-06-03 10:51:42 -07:00
manifest_fixer_test.py Touch up manifest if there's no source code. 2019-06-03 10:51:42 -07:00
mergenotice.py Notice support for APEX 2019-03-21 08:05:50 +09:00
microfactory.bash Add a unified status reporting UI 2018-07-12 14:15:31 -07:00
package-check.sh Check package restrictions for Java libs. 2019-04-08 14:02:14 +01:00
setup_go_workspace_for_soong.sh Add robolectric-shadows to setup_go_workspace_for_soong.sh 2019-04-08 05:46:07 +00:00
strip.sh Use double dashes before llvm-strip arguments 2019-07-19 16:41:51 +00:00
system-clang-format system-clang-format: Add Standard: Cpp11 2019-07-10 15:04:04 -07:00
system-clang-format-2 system-clang-format: Add Standard: Cpp11 2019-07-10 15:04:04 -07:00
toc.sh Enable toc support for Darwin and Windows 2018-09-10 23:12:11 -07:00