Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b669398c authored by Romain Jobredeaux's avatar Romain Jobredeaux
Browse files

remove redundant 'deps' section from template with 'exports' section.

Test: pom2bp -regen prebuilts/sdk/current/support/BUILD.bazel
Bug: 198418951
Change-Id: I4d0e3d100d0e319473723a75077e2520fc1535e1
parent f05bea08
Loading
Loading
Loading
Loading
+0 −17
Original line number Diff line number Diff line
@@ -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}}
        "{{.}}",