Merge "Revert^2 "Set min_sdk_version for java imports in pom2bp"" am: da42a5a209 am: ddc1eb8a6a am: ece1249dbb

Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1666020

Change-Id: I7431b83fbbd239d0779fc30780b105d478364fb0
This commit is contained in:
Anton Hansson 2021-04-07 12:27:35 +00:00 committed by Automerger Merge Worker
commit 5a4da029a1
1 changed files with 4 additions and 0 deletions

View File

@ -401,6 +401,8 @@ var bpTemplate = template.Must(template.New("bp").Parse(`
{{- end}}
],
{{- end}}
{{- else if not .IsHostOnly}}
min_sdk_version: "{{.DefaultMinSdkVersion}}",
{{- end}}
}
`))
@ -442,6 +444,8 @@ var bpDepsTemplate = template.Must(template.New("bp").Parse(`
{{- end}}
],
{{- end}}
{{- else if not .IsHostOnly}}
min_sdk_version: "{{.DefaultMinSdkVersion}}",
{{- end}}
}