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

Unified Diff: build/android/gyp/strip_library_for_device.py

Issue 334783006: Allow the mojo shell to run on android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 5 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_ordered_libraries.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/gyp/strip_library_for_device.py
diff --git a/build/android/gyp/strip_library_for_device.py b/build/android/gyp/strip_library_for_device.py
index fb4c3004f89499638e8809cd1d05b867d4d38f86..ce23993ac20cc93d9779c5a8adca78e93ccdcd1f 100755
--- a/build/android/gyp/strip_library_for_device.py
+++ b/build/android/gyp/strip_library_for_device.py
@@ -45,7 +45,10 @@ def main():
build_utils.MakeDirectory(options.stripped_libraries_dir)
for library in libraries:
- library_path = os.path.join(options.libraries_dir, library)
+ for base_path in options.libraries_dir.split(','):
+ library_path = os.path.join(base_path, library)
+ if (os.path.exists(library_path)):
+ break
stripped_library_path = os.path.join(
options.stripped_libraries_dir, library)
StripLibrary(options.android_strip, options.android_strip_arg, library_path,
« no previous file with comments | « no previous file | build/android/gyp/write_ordered_libraries.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698