Merge "remove redundant 'deps' section from template with 'exports' section." am: 6a779a4b50
am: 4fd093f787
am: e799597782
am: f158c85ae9
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1832978 Change-Id: I4eedd07c5f9f8206b5fb44403a7423424021eb17
This commit is contained in:
@@ -663,23 +663,6 @@ var bazelDepsTemplate = template.Must(template.New("bp").Parse(`
|
||||
name = "{{.BpName}}",
|
||||
{{.BazelImportProperty}} = {{- if not .IsAar}}[{{- end}}"{{.ArtifactFile}}"{{- if not .IsAar}}]{{- end}},
|
||||
visibility = ["//visibility:public"],
|
||||
deps = [
|
||||
{{- range .BazelJarDeps}}
|
||||
"{{.}}",
|
||||
{{- end}}
|
||||
{{- range .BazelAarDeps}}
|
||||
"{{.}}",
|
||||
{{- end}}
|
||||
{{- range .BpExtraStaticLibs}}
|
||||
"{{.}}",
|
||||
{{- end}}
|
||||
{{- range .BpExtraLibs}}
|
||||
"{{.}}",
|
||||
{{- end}}
|
||||
{{- range .BpOptionalUsesLibs}}
|
||||
"{{.}}",
|
||||
{{- end}}
|
||||
],
|
||||
exports = [
|
||||
{{- range .BazelJarDeps}}
|
||||
"{{.}}",
|
||||
|
Reference in New Issue
Block a user