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

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

Issue 2697293002: Enable asset tasks when using gradle to process resources. (Closed)
Patch Set: Use process-gradle-resources flag. 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 | no next file » | 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..513927c1e00aabdc8dd46e36c019a78778f663cd 100644
--- a/build/android/gradle/android.jinja
+++ b/build/android/gradle/android.jinja
@@ -77,7 +77,9 @@ afterEvaluate {
def tasksToDisable = tasks.findAll {
return (it.name.equals('generateDebugSources') // causes unwanted AndroidManifest.java
|| it.name.equals('generateReleaseSources')
+{% if not use_gradle_process_resources %}
|| it.name.endsWith('Assets')
+{% endif %}
|| it.name.endsWith('BuildConfig') // causes unwanted BuildConfig.java
{% if not use_gradle_process_resources %}
|| it.name.endsWith('Resources')
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698