[NaCl SDK] Remove create_nmf dependency on NACL_SDK_ROOT env var
commitd362de5b7d8aeb07523546f740244a24df85ab1d
authorsbc <sbc@chromium.org>
Thu, 16 Apr 2015 20:56:27 +0000 (16 13:56 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 16 Apr 2015 20:56:45 +0000 (16 20:56 +0000)
tree9ae9cf88f2ebf8c64a5b1c61c3867d798c428640
parent3206b332448cebf3f665d14f2e7f8962a699e515
[NaCl SDK] Remove create_nmf dependency on NACL_SDK_ROOT env var

create_nmf should determine the root of the SDK relative
to its own location.

The exception to this is when its run as part of the
chrome build, when it is not yet installed.  In this
case we pass --no-default-libpath and --objdump to
create_nmf to remove any use of the SDK root.

This is the second attempt at landing this change.
The first one was reverted:
https://codereview.chromium.org/737653003

CQ_EXTRA_TRYBOTS=tryserver.chromium.linux:linux_nacl_sdk;tryserver.chromium.mac:mac_nacl_sdk
BUG=none

Review URL: https://codereview.chromium.org/1066823003

Cr-Commit-Position: refs/heads/master@{#325511}
native_client_sdk/src/tools/create_nmf.py
native_client_sdk/src/tools/tests/create_nmf_test.py
ppapi/ppapi_nacl.gyp
ppapi/ppapi_nacl_test_common.gypi
third_party/liblouis/liblouis_nacl.gyp