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

Unified Diff: native_client_sdk/src/tools/create_nmf.py

Issue 1493443002: Revert of [NaCl SDK] Remove support for bionic toolchain (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 | « native_client_sdk/src/tools/common.mk ('k') | native_client_sdk/src/tools/lib/get_shared_deps.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: native_client_sdk/src/tools/create_nmf.py
diff --git a/native_client_sdk/src/tools/create_nmf.py b/native_client_sdk/src/tools/create_nmf.py
index c1fe50cadf3dd50b633c9fe5b9054cbe670cd211..fe4abb9ff9aac813b671ebb8d103c088c4be67f6 100755
--- a/native_client_sdk/src/tools/create_nmf.py
+++ b/native_client_sdk/src/tools/create_nmf.py
@@ -552,6 +552,13 @@
'ports/lib/glibc_arm/%s' % config_fallback,
]
+ bionic_dir = 'toolchain/%s_arm_bionic' % osname
+ if os.path.isdir(os.path.join(sdk_root, bionic_dir)):
+ libpath += [
+ '%s/arm-nacl/lib' % bionic_dir,
+ '%s/arm-nacl/usr/lib' % bionic_dir,
+ 'lib/bionic_arm/%s' % config,
+ ]
libpath = [os.path.normpath(p) for p in libpath]
libpath = [os.path.join(sdk_root, p) for p in libpath]
libpath.append(os.path.join(sdk_root, 'tools'))
« no previous file with comments | « native_client_sdk/src/tools/common.mk ('k') | native_client_sdk/src/tools/lib/get_shared_deps.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698