From 0e357c3e1cb8f788ad592ab6760900716f9b018d Mon Sep 17 00:00:00 2001 From: "sbc@chromium.org" Date: Thu, 4 Jul 2013 23:07:56 +0000 Subject: [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 --- native_client_sdk/src/build_tools/build_sdk.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'native_client_sdk/src/build_tools/build_sdk.py') 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): -- cgit v1.1