Merge "Automatically greylist code in 3P packages"

This commit is contained in:
Andrei-Valentin Onea 2019-04-02 13:10:37 +00:00 committed by Gerrit Code Review
commit dca6ac3e35

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)