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

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

Issue 2699963002: Plumb bootclasspath GN -> Android Studio (Closed)
Patch Set: 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/android.jinja
diff --git a/build/android/gradle/android.jinja b/build/android/gradle/android.jinja
index 385d999db0f0c940e28e0c1d4e25d35e3be4732c..a49dda9433f81e716e0faf6571fad06330fb6e6e 100644
--- a/build/android/gradle/android.jinja
+++ b/build/android/gradle/android.jinja
@@ -10,11 +10,13 @@
"{{ path }}",
{% endfor %}
]
+{% if variables.java_excludes %}
java.filter.exclude(
{% for path in variables.java_excludes %}
"{{ path }}",
{% endfor %}
)
+{% endif %}
jniLibs.srcDirs = [
{% for path in variables.jni_libs %}
"{{ path }}",
@@ -90,4 +92,9 @@ afterEvaluate {
tasksToDisable.each { Task task ->
task.enabled = false
}
+{% if bootclasspath is defined %}
+ tasks.withType(JavaCompile) {
+ options.bootClasspath = "{{ bootclasspath }}"
+ }
+{% endif %}
}
« 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