Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1c9fd37f authored by Jooyung Han's avatar Jooyung Han Committed by Automerger Merge Worker
Browse files

Remove ApexBundleDepsInfo.MinSdkVersion() am: 93a06c10

Change-Id: Ic2c3b71d865238cd81f53df2f82a75c7259e8304
parents ee3e0389 93a06c10
Loading
Loading
Loading
Loading
+2 −10
Original line number Diff line number Diff line
@@ -421,21 +421,15 @@ type ApexModuleDepInfo struct {
type DepNameToDepInfoMap map[string]ApexModuleDepInfo

type ApexBundleDepsInfo struct {
	minSdkVersion string
	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