diff options
author | 2025-02-19 17:23:34 -0800 | |
---|---|---|
committer | 2025-02-20 22:27:18 -0800 | |
commit | 1dcf9e45c1859da296b5a08d2f14fe57ece1c3da (patch) | |
tree | e61aec252198846adc6fc3e3f38cf2657d66775c /java/dex.go | |
parent | 9e735e2059264b853c8fd0bdc7ccc034e9a4d886 (diff) |
Build proguard zips in soong-only builds
This builds the zips but doesn't dist them, I'll do that in a followup.
Bug: 395160816
Test: Diffed proguard-dict.zip proguard-usage.zip and proguard-dict-mapping.textproto between soong and make
Change-Id: Ic112427e4a2fdaf92a1d0a96d0f1c100b57be37a
Diffstat (limited to 'java/dex.go')
-rw-r--r-- | java/dex.go | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/java/dex.go b/java/dex.go index 311657fa6..ed2df2103 100644 --- a/java/dex.go +++ b/java/dex.go @@ -697,3 +697,13 @@ func (d *dexer) compileDex(ctx android.ModuleContext, dexParams *compileDexParam return javalibJar, artProfileOutputPath } + +type ProguardInfo struct { + ModuleName string + Class string + ProguardDictionary android.Path + ProguardUsageZip android.Path + ClassesJar android.Path +} + +var ProguardProvider = blueprint.NewProvider[ProguardInfo]() |