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

Unified Diff: build/android/gradle/generate_gradle.py

Issue 2724093003: Android: Add missing resources to android studio (Closed)
Patch Set: Moving third_party changes to separate CL. Created 3 years, 9 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/gyp/write_build_config.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/gradle/generate_gradle.py
diff --git a/build/android/gradle/generate_gradle.py b/build/android/gradle/generate_gradle.py
index ab3bd63ceb57edbb09285e642c7cf97902209743..7b3245a3a52766dfb4534bc26cebe37ac8401d6f 100755
--- a/build/android/gradle/generate_gradle.py
+++ b/build/android/gradle/generate_gradle.py
@@ -297,7 +297,8 @@ class _ProjectContextGenerator(object):
def _Srcjars(self, entry):
srcjars = _RebasePath(entry.Gradle().get('bundled_srcjars', []))
if not self.use_gradle_process_resources:
- srcjars += _RebasePath(entry.BuildConfig()['javac']['srcjars'])
+ srcjars += _RebasePath(entry.Javac()['srcjars'])
+ srcjars += _RebasePath(entry.Gradle().get('srcjars'))
return srcjars
def _GetEntries(self, entry):
« no previous file with comments | « no previous file | build/android/gyp/write_build_config.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698