summaryrefslogtreecommitdiff
path: root/android/apex.go
diff options
context:
space:
mode:
author Liz Kammer <eakammer@google.com> 2022-05-20 19:57:13 +0000
committer Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> 2022-05-20 19:57:13 +0000
commit910f7feb823a4d10dbd43bfd75cec810c23b412c (patch)
tree85e0e63ea590cdf9c6de10e3d97ca6c37bc5bb47 /android/apex.go
parent54edbbb90fa75776a46542f35062c0a34a5a7a9e (diff)
parentdbd8eb11f421a3d852d0b593874e77b9c9ce12da (diff)
Remove unused uses_sdks property for apexes am: dbd8eb11f4
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/soong/+/18491851 Change-Id: I0c85f30679009e16195efd31fc423aafc7c02837 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
Diffstat (limited to 'android/apex.go')
-rw-r--r--android/apex.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/android/apex.go b/android/apex.go
index b127f7410..63cdaaf5e 100644
--- a/android/apex.go
+++ b/android/apex.go
@@ -58,9 +58,6 @@ type ApexInfo struct {
// to true.
UsePlatformApis bool
- // The list of SDK modules that the containing apexBundle depends on.
- RequiredSdks SdkRefs
-
// List of Apex variant names that this module is associated with. This initially is the
// same as the `ApexVariationName` field. Then when multiple apex variants are merged in
// mergeApexVariations, ApexInfo struct of the merged variant holds the list of apexBundles
@@ -110,9 +107,6 @@ func (i ApexInfo) AddJSONData(d *map[string]interface{}) {
// thus wouldn't be merged.
func (i ApexInfo) mergedName(ctx PathContext) string {
name := "apex" + strconv.Itoa(i.MinSdkVersion.FinalOrFutureInt())
- for _, sdk := range i.RequiredSdks {
- name += "_" + sdk.Name + "_" + sdk.Version
- }
return name
}