Merge "Automatically greylist code in 3P packages"

am: dca6ac3e35

Change-Id: Ic9d2843e446f0207ead6b83692c7fa50c34deb43
This commit is contained in:
Andrei-Valentin Onea 2019-04-02 06:25:27 -07:00 committed by android-build-merger
commit 595282ced1
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)