Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(384)

Unified Diff: scripts/slave/chromium/nacl_sdk_buildbot_run.py

Issue 2336833003: Remove redundant NaCl SDK buildbot run script
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | scripts/slave/recipes/client.nacl.sdk.recipe_autogen.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/slave/chromium/nacl_sdk_buildbot_run.py
diff --git a/scripts/slave/chromium/nacl_sdk_buildbot_run.py b/scripts/slave/chromium/nacl_sdk_buildbot_run.py
deleted file mode 100755
index 06cb1b9a029f6d3ac03a56664542833f693715e2..0000000000000000000000000000000000000000
--- a/scripts/slave/chromium/nacl_sdk_buildbot_run.py
+++ /dev/null
@@ -1,49 +0,0 @@
-#!/usr/bin/env python
-# Copyright (c) 2012 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-"""Entry point for both build and try bots.
-
-To determine which commands to run, the script inspects the given build
-properties passed in from buildbot (via command line options).
-"""
-
-import optparse
-import os
-import sys
-
-from common import chromium_utils
-
-
-SDK_BUILDER_MAP = {
- 'linux-sdk-mono32':
- [sys.executable, 'nacl-mono-buildbot.py'],
- 'linux-sdk-mono64':
- [sys.executable, 'nacl-mono-buildbot.py'],
- 'DEFAULT':
- [sys.executable, 'buildbot_run.py'],
-}
-
-
-def main():
- option_parser = optparse.OptionParser()
- chromium_utils.AddPropertiesOptions(option_parser)
- (options, args) = option_parser.parse_args()
-
- buildername = options.build_properties.get('buildername', '')
- cmd = SDK_BUILDER_MAP.get(buildername) or SDK_BUILDER_MAP.get('DEFAULT')
- build_tools_dir = chromium_utils.FindUpward(
- os.getcwd(), 'src', 'native_client_sdk', 'src', 'build_tools')
- os.chdir(build_tools_dir)
- # Remove BOTO_CONFIG from the environment -- we want to use the NaCl .boto
- # file that has access to gs://nativeclient-mirror.
- if 'AWS_CREDENTIAL_FILE' in os.environ:
- del os.environ['AWS_CREDENTIAL_FILE']
- if 'BOTO_CONFIG' in os.environ:
- del os.environ['BOTO_CONFIG']
- return chromium_utils.RunCommand(cmd + args)
-
-
-if __name__ == '__main__':
- sys.exit(main())
« no previous file with comments | « no previous file | scripts/slave/recipes/client.nacl.sdk.recipe_autogen.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698