diff options
author | noelallen@google.com <noelallen@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-15 18:20:12 +0000 |
---|---|---|
committer | noelallen@google.com <noelallen@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-15 18:20:12 +0000 |
commit | 01fd70156d7739f2a1c52afab2dd33e13a17d5e5 (patch) | |
tree | b7a348c387de954f442351c16575babf76158624 /native_client_sdk/src/build_tools | |
parent | 659c5accdd19f1a7003f1dd2783818825e92089c (diff) | |
download | chromium_src-01fd70156d7739f2a1c52afab2dd33e13a17d5e5.zip chromium_src-01fd70156d7739f2a1c52afab2dd33e13a17d5e5.tar.gz chromium_src-01fd70156d7739f2a1c52afab2dd33e13a17d5e5.tar.bz2 |
Fix pnacl SDK builder
Change download script to make sure 'pnacl' sdk builder gets toolchain.
Change tarball name for pnacl build to avoid collision.
For now have pnacl toolchain only build pnacl pieces.
This change affects SDK builders not Chrome directly.
TBR= sehr@google.com
BUG= 11292
Review URL: https://chromiumcodereview.appspot.com/9407014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122113 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'native_client_sdk/src/build_tools')
-rwxr-xr-x | native_client_sdk/src/build_tools/buildbot_run.py | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/native_client_sdk/src/build_tools/buildbot_run.py b/native_client_sdk/src/build_tools/buildbot_run.py index 46ccb96..860d68f 100755 --- a/native_client_sdk/src/build_tools/buildbot_run.py +++ b/native_client_sdk/src/build_tools/buildbot_run.py @@ -480,10 +480,11 @@ def main(args): platform = getos.GetPlatform() arch = 'x86' - toolchains = ['newlib', 'glibc'] - if options.pnacl: - toolchains.append('pnacl') - + if not options.pnacl: + toolchains = ['newlib', 'glibc'] + else: + toolchains = ['pnacl'] + print 'Building: ' + ' '.join(toolchains) skip = options.examples or options.update skip_examples = skip @@ -540,6 +541,8 @@ def main(args): if not skip_tar: BuildStep('Tar Pepper Bundle') tarname = 'naclsdk_' + platform + '.bz2' + if 'pnacl' in toolchains: + tarname = 'p' + tarname tarfile = os.path.join(OUT_DIR, tarname) Run([sys.executable, CYGTAR, '-C', OUT_DIR, '-cjf', tarfile, 'pepper_' + pepper_ver], cwd=NACL_DIR) |