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

Unified Diff: dartium_tools/build.py

Issue 239993009: Revert accidental dartium code push (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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 | « dartium_tools/archive.py ('k') | dartium_tools/buildbot_annotated_steps.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dartium_tools/build.py
diff --git a/dartium_tools/build.py b/dartium_tools/build.py
deleted file mode 100755
index df511b0010c2988812947512aca4bf66ccb85c6d..0000000000000000000000000000000000000000
--- a/dartium_tools/build.py
+++ /dev/null
@@ -1,57 +0,0 @@
-#!/usr/bin/env python
-#
-# Copyright 2010 Google Inc. All Rights Reserved.
-
-# This file is used by the buildbot.
-
-import optparse
-import os.path
-import utils
-
-ALL_TARGETS = [
- 'content_shell',
- 'chrome',
- 'blink_tests',
- 'pkg_packages',
-]
-
-def main():
- parser = optparse.OptionParser()
- parser.add_option('--target', dest='target',
- default='all',
- action='store', type='string',
- help='Target (%s)' % ', '.join(ALL_TARGETS))
- parser.add_option('--mode', dest='mode',
- action='store', type='string',
- help='Build mode (Debug or Release)')
- parser.add_option('--clobber', dest='clobber',
- action='store_true',
- help='Clobber the output directory')
- parser.add_option('-j', '--jobs', dest='jobs',
- action='store',
- help='Number of jobs')
- (options, args) = parser.parse_args()
- mode = options.mode
- if options.jobs:
- jobs = options.jobs
- else:
- jobs = utils.guessCpus()
- if not (mode in ['Debug', 'Release']):
- raise Exception('Invalid build mode')
-
- if options.target == 'all':
- targets = ALL_TARGETS
- else:
- targets = [options.target]
-
- if options.clobber:
- utils.runCommand(['rm', '-rf', 'out'])
-
- utils.runCommand(['ninja',
- '-j%s' % jobs,
- '-C',
- os.path.join('out', mode)]
- + targets)
-
-if __name__ == '__main__':
- main()
« no previous file with comments | « dartium_tools/archive.py ('k') | dartium_tools/buildbot_annotated_steps.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698