remove redundant 'deps' section from template with 'exports' section.
Test: pom2bp -regen prebuilts/sdk/current/support/BUILD.bazel Bug: 198418951 Change-Id: I4d0e3d100d0e319473723a75077e2520fc1535e1
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