| 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,
|
|
|