Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(661)

Unified Diff: build/android/gradle/dependencies.jinja

Issue 2708133002: Android: Android studio single module per target (Closed)
Patch Set: Rebase Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | build/android/gradle/generate_gradle.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 {
« no previous file with comments | « no previous file | build/android/gradle/generate_gradle.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698