Add soong support for resource shrinking
This adds a new flag to the optimize section to allow invoking the resource shrinker Bug: 246217952 Test: m Change-Id: I2e7851af1189db2a6adf6f9f9f444a1d7f3a8d60
This commit is contained in:
@@ -165,6 +165,7 @@ func init() {
|
||||
pctx.HostBinToolVariable("ApiCheckCmd", "apicheck")
|
||||
pctx.HostBinToolVariable("D8Cmd", "d8")
|
||||
pctx.HostBinToolVariable("R8Cmd", "r8")
|
||||
pctx.HostBinToolVariable("ResourceShrinkerCmd", "resourceshrinker")
|
||||
pctx.HostBinToolVariable("HiddenAPICmd", "hiddenapi")
|
||||
pctx.HostBinToolVariable("ExtractApksCmd", "extract_apks")
|
||||
pctx.VariableFunc("TurbineJar", func(ctx android.PackageVarContext) string {
|
||||
|
Reference in New Issue
Block a user