Index: build/android/gradle/dependencies.jinja |
diff --git a/build/android/gradle/dependencies.jinja b/build/android/gradle/dependencies.jinja |
index c7e884a8be63606aed0dc6d70339955526f7ae06..e978304a9dd7a59c70ffbb7f28663de72a306e0f 100644 |
--- a/build/android/gradle/dependencies.jinja |
+++ b/build/android/gradle/dependencies.jinja |
@@ -3,16 +3,22 @@ |
{# found in the LICENSE file. #} |
{% macro expand_deps(variables, prefix) %} |
{% if variables is defined %} |
+{% if variables.prebuilts is defined %} |
{% for path in variables.prebuilts %} |
{{ prefix }} files("{{ path }}") |
{% endfor %} |
+{% endif %} |
+{% if variables.java_project_deps is defined %} |
{% for proj in variables.java_project_deps %} |
{{ prefix }} project(":{{ proj }}") |
{% endfor %} |
+{% endif %} |
+{% if variables.android_project_deps is defined %} |
{% for proj in variables.android_project_deps %} |
{{ prefix }} project(path: ":{{ proj }}", configuration: "debug") |
{% endfor %} |
{% endif %} |
+{% endif %} |
{% endmacro %} |
dependencies { |