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

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

Issue 2747723002: Fix .so-file enumeration in generate_gradle.py. (Closed)
Patch Set: 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 | no next file » | 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..546448258ecdf0b8a2f6e054d413e1598888d773 100755
--- a/build/android/gradle/generate_gradle.py
+++ b/build/android/gradle/generate_gradle.py
@@ -249,7 +249,7 @@ class _ProjectContextGenerator(object):
def _GenJniLibs(self, root_entry):
libraries = []
for entry in self._GetEntries(root_entry):
- libraries += entry.BuildConfig().get('native', [])
+ libraries += entry.BuildConfig().get('native', {}).get('libraries', [])
if libraries:
return _CreateJniLibsDir(constants.GetOutDirectory(),
self.EntryOutputDir(root_entry), libraries)
« 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