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:
parent
d637872f44
commit
896237b7b9
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue