diff options
author | binji@chromium.org <binji@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-30 20:55:36 +0000 |
---|---|---|
committer | binji@chromium.org <binji@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-30 20:55:36 +0000 |
commit | 9d95678938c9af497e897afc40b93caadf0985d7 (patch) | |
tree | a651b7e10e5a7375f00fb0e1af5eb60cfcc80900 /native_client_sdk/src/build_tools | |
parent | f5d62e36705c2a21f3d4fe309a8fb26514c26cbb (diff) | |
download | chromium_src-9d95678938c9af497e897afc40b93caadf0985d7.zip chromium_src-9d95678938c9af497e897afc40b93caadf0985d7.tar.gz chromium_src-9d95678938c9af497e897afc40b93caadf0985d7.tar.bz2 |
[NaCl SDK] Push sdk_tools.tgz to commondatastorage on linux buildbots.
BUG=none
TEST=none
Review URL: https://chromiumcodereview.appspot.com/10271013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134595 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'native_client_sdk/src/build_tools')
-rwxr-xr-x | native_client_sdk/src/build_tools/build_sdk.py | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/native_client_sdk/src/build_tools/build_sdk.py b/native_client_sdk/src/build_tools/build_sdk.py index 48ba1e59b..feec61e 100755 --- a/native_client_sdk/src/build_tools/build_sdk.py +++ b/native_client_sdk/src/build_tools/build_sdk.py @@ -682,12 +682,20 @@ def main(args): cwd=os.path.abspath(dirnode), shell=True) # Archive on non-trybots. - if options.archive or '-sdk' in os.environ.get('BUILDBOT_BUILDERNAME', ''): + buildername = os.environ.get('BUILDBOT_BUILDERNAME', '') + if options.archive or '-sdk' in buildername: buildbot_common.BuildStep('Archive build') bucket_path = 'nativeclient-mirror/nacl/nacl_sdk/%s' % \ build_utils.ChromeVersion() buildbot_common.Archive(tarname, bucket_path, os.path.dirname(tarfile)) + if not skip_update: + # Only push up sdk_tools.tgz on the linux buildbot. + if buildername == 'linux-sdk-multi': + sdk_tools = os.path.join(OUT_DIR, 'sdk_tools.tgz') + buildbot_common.Archive('sdk_tools.tgz', bucket_path, OUT_DIR, + step_link=False) + # generate "manifest snippet" for this archive. if not skip_test_updater: archive = bundle.GetArchive(manifest_util.GetHostOS()) |