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:
Rico Wind
2022-09-22 10:41:42 +02:00
parent eb30142616
commit 351bac996c
7 changed files with 64 additions and 11 deletions

View File

@@ -63,6 +63,8 @@ type DexProperties struct {
// classes referenced by the app manifest. Defaults to false.
No_aapt_flags *bool
Shrink_resources *bool
// Flags to pass to proguard.
Proguard_flags []string