diff options
author | 2023-08-02 18:00:35 -0400 | |
---|---|---|
committer | 2023-08-18 15:43:56 +0000 | |
commit | 95d709402a74e7831460df3b6d06fd84bb5dcf1b (patch) | |
tree | 9b4c93675837968e7cbacb9ce2806462c848093a /java/dex.go | |
parent | 34a1c57b058634733b2bdafa779083999f2cb18f (diff) |
export_proguard_spec for libs deps
Add a property to export proguard flags files for libs dependencies.
Currently only proguard flags files from static deps are propagated up
to reverse dependencies, but it is necessary sometimes to have flags
from libs dependencies also be propagated.
Bug: 289087274
Test: go test ./java
Change-Id: Ic0aa22b086792bf322041aa5780db6c4f4eb2770
Diffstat (limited to 'java/dex.go')
-rw-r--r-- | java/dex.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/java/dex.go b/java/dex.go index 7e7da00fd..df501bffa 100644 --- a/java/dex.go +++ b/java/dex.go @@ -71,6 +71,10 @@ type DexProperties struct { // Specifies the locations of files containing proguard flags. Proguard_flags_files []string `android:"path"` + + // If true, transitive reverse dependencies of this module will have this + // module's proguard spec appended to their optimization action + Export_proguard_flags_files *bool } // Keep the data uncompressed. We always need uncompressed dex for execution, |