Merge "Automatically greylist code in 3P packages"
This commit is contained in:
@@ -236,6 +236,8 @@ func flagsRule(ctx android.SingletonContext) android.Path {
|
|||||||
android.PathForSource(ctx, "frameworks/base/config/hiddenapi-greylist-max-o.txt")).
|
android.PathForSource(ctx, "frameworks/base/config/hiddenapi-greylist-max-o.txt")).
|
||||||
FlagWithInput("--blacklist ",
|
FlagWithInput("--blacklist ",
|
||||||
android.PathForSource(ctx, "frameworks/base/config/hiddenapi-force-blacklist.txt")).
|
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)
|
FlagWithOutput("--output ", tempPath)
|
||||||
|
|
||||||
commitChangeForRestat(rule, tempPath, outputPath)
|
commitChangeForRestat(rule, tempPath, outputPath)
|
||||||
|
Reference in New Issue
Block a user