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

Commit 461ba49a authored by Colin Cross's avatar Colin Cross
Browse files

pom2bp: move misplaced {{end}}

manifest property should only be added to aar imports and not jar
imports.

Bug: 110848854
Test: cd prebuilts/sdk/current/support && pom2bp -regen Android.bp
Change-Id: Ifaab81582c87f0af4419f90c3928d0d5d52cec33
parent 73ea6a3c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -281,8 +281,8 @@ var bpTemplate = template.Must(template.New("bp").Parse(`
{{if .IsAar}}android_library{{else}}java_library_static{{end}} {
    name: "{{.BpName}}",
    sdk_version: "{{.SdkVersion}}",{{if .IsAar}}
    min_sdk_version: "{{.MinSdkVersion}}",{{end}}
    manifest: "manifests/{{.BpName}}/AndroidManifest.xml",
    min_sdk_version: "{{.MinSdkVersion}}",
    manifest: "manifests/{{.BpName}}/AndroidManifest.xml",{{end}}
    static_libs: [
        "{{.BpName}}-nodeps",{{range .BpJarDeps}}
        "{{.}}",{{end}}{{range .BpAarDeps}}