Automatically greylist code in 3P packages

Bug: 129387816
Test: m appcompat
Test: frameworks/base/tools/hiddenapi/generate_hiddenapi_lists_test.py
Change-Id: Id55abed766a6de6a2c032ee12d5153ab73a8d65c
This commit is contained in:
Andrei Onea 2019-03-29 13:45:58 +00:00
parent d637872f44
commit 896237b7b9
1 changed files with 2 additions and 0 deletions

View File

@ -236,6 +236,8 @@ func flagsRule(ctx android.SingletonContext) android.Path {
android.PathForSource(ctx, "frameworks/base/config/hiddenapi-greylist-max-o.txt")).
FlagWithInput("--blacklist ",
android.PathForSource(ctx, "frameworks/base/config/hiddenapi-force-blacklist.txt")).
FlagWithInput("--greylist-packages ",
android.PathForSource(ctx, "frameworks/base/config/hiddenapi-greylist-packages.txt")).
FlagWithOutput("--output ", tempPath)
commitChangeForRestat(rule, tempPath, outputPath)