Merge "Set min_sdk_version for java imports in pom2bp" am: 85822e9b5f
am: 35a40611a7
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1655693 Change-Id: I1c8c1502590f74824390d95710f9053543daf54e
This commit is contained in:
commit
5a8e5100d6
|
@ -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}}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue