diff options
| author | 2020-05-14 23:13:21 +0000 | |
|---|---|---|
| committer | 2020-05-14 23:13:21 +0000 | |
| commit | b9d65417c39b02c04a4b1247907fa88c64ca1b47 (patch) | |
| tree | d38508fa01eb044653ea29bb6e2d718c4f6c50fd | |
| parent | dcd0fc4be7577bfb10b3a3fabb61efcd4f0060eb (diff) | |
| parent | 98d63e1cc7057c2204ab1fdd303f70fbf45e47c4 (diff) | |
Merge "Remove ApexBundleDepsInfo.MinSdkVersion()"
| -rw-r--r-- | android/apex.go | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/android/apex.go b/android/apex.go index 9056c3de7..75be15026 100644 --- a/android/apex.go +++ b/android/apex.go @@ -421,21 +421,15 @@ type ApexModuleDepInfo struct { type DepNameToDepInfoMap map[string]ApexModuleDepInfo type ApexBundleDepsInfo struct { - minSdkVersion string - flatListPath OutputPath - fullListPath OutputPath + flatListPath OutputPath + fullListPath OutputPath } type ApexDepsInfoIntf interface { - MinSdkVersion() string FlatListPath() Path FullListPath() Path } -func (d *ApexBundleDepsInfo) MinSdkVersion() string { - return d.minSdkVersion -} - func (d *ApexBundleDepsInfo) FlatListPath() Path { return d.flatListPath } @@ -450,8 +444,6 @@ var _ ApexDepsInfoIntf = (*ApexBundleDepsInfo)(nil) // 1. FullList with transitive deps and their parents in the dep graph // 2. FlatList with a flat list of transitive deps func (d *ApexBundleDepsInfo) BuildDepsInfoLists(ctx ModuleContext, minSdkVersion string, depInfos DepNameToDepInfoMap) { - d.minSdkVersion = minSdkVersion - var fullContent strings.Builder var flatContent strings.Builder |