Merge "Set min_sdk_version for java imports in pom2bp" am: 85822e9b5f

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

Change-Id: I7cc8506089ded17a902b4df5f2931e442fb7e542
This commit is contained in:
Anton Hansson 2021-04-06 12:35:50 +00:00 committed by Automerger Merge Worker
commit 35a40611a7
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}}
}