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

Commit b89663b7 authored by Alan Viverette's avatar Alan Viverette Committed by Gerrit Code Review
Browse files

Merge "Patch "Add support for --optional-uses-libs to pom2bp" to match master"

parents f6c37cc8 bcbfc5f5
Loading
Loading
Loading
Loading
+2 −6
Original line number Diff line number Diff line
@@ -406,6 +406,7 @@ var bpTemplate = template.Must(template.New("bp").Parse(`
        "{{.}}",
        {{- end}}
    ],
    {{- end}}
    {{- if .BpOptionalUsesLibs}}
    optional_uses_libs: [
        {{- range .BpOptionalUsesLibs}}
@@ -455,12 +456,6 @@ var bpDepsTemplate = template.Must(template.New("bp").Parse(`
        "{{.}}",
        {{- end}}
    ],
    {{- if .BpOptionalUsesLibs}}
    optional_uses_libs: [
        {{- range .BpOptionalUsesLibs}}
        "{{.}}",
        {{- end}}
    ],
    {{- end}}
    {{- else if not .IsHostOnly}}
    min_sdk_version: "{{.DefaultMinSdkVersion}}",
@@ -505,6 +500,7 @@ var bpDepsTemplate = template.Must(template.New("bp").Parse(`
        "{{.}}",
        {{- end}}
    ],
    {{- end}}
    {{- if .BpOptionalUsesLibs}}
    optional_uses_libs: [
        {{- range .BpOptionalUsesLibs}}