commit | 3a6c095145e653ff0ab7bf693db6173e0e0e10f6 | [log] [tgz] |
---|---|---|
author | Paul Duffin <paulduffin@google.com> | Wed Mar 04 14:22:45 2020 +0000 |
committer | Paul Duffin <paulduffin@google.com> | Wed Apr 22 12:51:30 2020 +0100 |
tree | 970a1588a24ab19a4668b1d9a3d3cc80bcce5b2f | |
parent | 28d70c74db150fc2366edb7175e8f61b3b614d1a [diff] [blame] |
Copy apex_available properties to snapshot modules Bug: 142935992 Bug: 153306490 Test: m nothing Merged-In: I1cdaae5b4e13a89dc46541dacd34ef5a44735b6a Change-Id: I1cdaae5b4e13a89dc46541dacd34ef5a44735b6a
diff --git a/android/apex.go b/android/apex.go index 2b5072b..6d2210d 100644 --- a/android/apex.go +++ b/android/apex.go
@@ -126,6 +126,10 @@ return m } +func (m *ApexModuleBase) ApexAvailable() []string { + return m.ApexProperties.Apex_available +} + func (m *ApexModuleBase) BuildForApexes(apexes []ApexInfo) { m.apexVariationsLock.Lock() defer m.apexVariationsLock.Unlock()