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

Unified Diff: third_party/android_platform/development/scripts/symbol.py

Issue 55923003: Android: fixes symbol.py lookup paths. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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 | « third_party/android_platform/README.chromium ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/android_platform/development/scripts/symbol.py
diff --git a/third_party/android_platform/development/scripts/symbol.py b/third_party/android_platform/development/scripts/symbol.py
index 0f1cf647a485822bfcc9e3df807cafaad6ad8579..9dec19c76adc878b126dd793fd112b64094a7c00 100755
--- a/third_party/android_platform/development/scripts/symbol.py
+++ b/third_party/android_platform/development/scripts/symbol.py
@@ -106,11 +106,12 @@ def TranslateLibPath(lib):
# If the .so is not found somewhere in CHROME_SYMBOLS_DIR, leave it
# untranslated in case it is an Android symbol in SYMBOLS_DIR.
library_name = os.path.basename(lib)
+ out_dir = os.environ.get('CHROMIUM_OUT_DIR', 'out')
candidate_dirs = ['.',
- 'out/Debug/lib',
- 'out/Debug/lib.target',
- 'out/Release/lib',
- 'out/Release/lib.target',
+ os.path.join(out_dir, 'Debug', 'lib'),
+ os.path.join(out_dir, 'Debug', 'lib.target'),
+ os.path.join(out_dir, 'Release', 'lib'),
+ os.path.join(out_dir, 'Release', 'lib.target'),
]
candidate_libraries = map(
« no previous file with comments | « third_party/android_platform/README.chromium ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698