Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 364388b3 authored by Andrei-Valentin Onea's avatar Andrei-Valentin Onea Committed by android-build-merger
Browse files

Merge "Automatically greylist code in 3P packages" am: dca6ac3e

am: 595282ce

Change-Id: I596b2a6f788c2a29495a0aa622cbf695f12ee211
parents 92270109 595282ce
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -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)