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

Commit 1aa7f26a authored by Colin Cross's avatar Colin Cross
Browse files

pom2bp: add jar deps to -nodeps modules

The dependency type in the pom file is not always accurate, just
add all jar and aar dependencies to both the -nodeps and final
module.

Test: cd prebuilts/sdk/current/androidx && pom2bp -regen Android.bp && mma
Change-Id: I1784b8ebf3485db19405cb353c9bb5fb3ae837d8
parent cb4e0551
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -328,6 +328,9 @@ var bpTemplate = template.Must(template.New("bp").Parse(`
    {{- if .IsAar}}
    min_sdk_version: "{{.MinSdkVersion}}",
    static_libs: [
        {{- range .BpJarDeps}}
        "{{.}}",
        {{- end}}
        {{- range .BpAarDeps}}
        "{{.}}",
        {{- end}}