summaryrefslogtreecommitdiffstats
path: root/native_client_sdk/src/build_tools/build_sdk.py
diff options
context:
space:
mode:
authorsbc@chromium.org <sbc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-04 23:07:56 +0000
committersbc@chromium.org <sbc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-04 23:07:56 +0000
commit0e357c3e1cb8f788ad592ab6760900716f9b018d (patch)
treeead1e55f9b7bf5492e2a362cf8b2fef3e6be8910 /native_client_sdk/src/build_tools/build_sdk.py
parent87b327a7dc81ba041d208e768373064b4c6b9957 (diff)
downloadchromium_src-0e357c3e1cb8f788ad592ab6760900716f9b018d.zip
chromium_src-0e357c3e1cb8f788ad592ab6760900716f9b018d.tar.gz
chromium_src-0e357c3e1cb8f788ad592ab6760900716f9b018d.tar.bz2
[NaCl SDK] Add launcher script for sel_ldr.
This script simplifies the process of running .nexe files under the sel_ldr in the SDK. It uses sensible defaults for things like the IRT location and library paths. It can also determine which version of the sel_ldr to run according to that architecture of the .nexe. Make common.mk aware of SEL_LDR=1 environment variable. In this case SEL_LDR is defined (so code an detect it) and 'make run' will run the sel_ldr rather than chrome. Run sel_ldr based tests as part of test_sdk. Currently this is only simple_hello_world and nacl_io_test. Distinguish between crashes and program exiting normally in common.js (we can't distinguish if exitcode is -1 right now). Review URL: https://chromiumcodereview.appspot.com/18176014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@210236 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'native_client_sdk/src/build_tools/build_sdk.py')
-rwxr-xr-xnative_client_sdk/src/build_tools/build_sdk.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/native_client_sdk/src/build_tools/build_sdk.py b/native_client_sdk/src/build_tools/build_sdk.py
index 0212d07..a151635 100755
--- a/native_client_sdk/src/build_tools/build_sdk.py
+++ b/native_client_sdk/src/build_tools/build_sdk.py
@@ -668,9 +668,10 @@ def BuildStepUpdateUserProjects(pepperdir, toolchains,
def BuildStepMakeAll(pepperdir, directory, step_name,
- deps=True, clean=False, config='Debug'):
+ deps=True, clean=False, config='Debug', args=None):
buildbot_common.BuildStep(step_name)
- build_projects.BuildProjectsBranch(pepperdir, directory, clean, deps, config)
+ build_projects.BuildProjectsBranch(pepperdir, directory, clean,
+ deps, config, args)
def BuildStepBuildLibraries(pepperdir, directory):