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