summaryrefslogtreecommitdiffstats
path: root/dartium_tools/set_reference_build_revision.py
diff options
context:
space:
mode:
authorjamescook@chromium.org <jamescook@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-17 16:50:56 +0000
committerjamescook@chromium.org <jamescook@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-17 16:50:56 +0000
commit9a5bb05bd1e76b7923382dc058ca958818febce3 (patch)
treea192c51fde864453816cdd9465331a57e1c66443 /dartium_tools/set_reference_build_revision.py
parentb8faca2407cf7e3692d7ce9ff0a7aafc9a76cae1 (diff)
downloadchromium_src-9a5bb05bd1e76b7923382dc058ca958818febce3.zip
chromium_src-9a5bb05bd1e76b7923382dc058ca958818febce3.tar.gz
chromium_src-9a5bb05bd1e76b7923382dc058ca958818febce3.tar.bz2
Revert accidental dartium code push
This reverts r264517 to r264538 from terry@google.com BUG=none TEST=none NOTRY=true NOTREECHECKS=true TBR=terry@google.com Review URL: https://codereview.chromium.org/239993009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264545 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'dartium_tools/set_reference_build_revision.py')
-rwxr-xr-xdartium_tools/set_reference_build_revision.py29
1 files changed, 0 insertions, 29 deletions
diff --git a/dartium_tools/set_reference_build_revision.py b/dartium_tools/set_reference_build_revision.py
deleted file mode 100755
index e27c1e6..0000000
--- a/dartium_tools/set_reference_build_revision.py
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/env python
-#
-# Copyright (c) 2014 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.
-
-"""Writes a revision number into src/chrome/tools/test/reference_build/REVISON
- Must be run from the root of a Dartium or multivm checkout.
-
-Usage:
- $ ./src/dartium_tools/set_reference_build_revision.py <revision>
-"""
-
-import os
-import sys
-
-def main(argv):
- revision = argv[1]
- output = os.path.join('src', 'chrome', 'tools',
- 'test', 'reference_build',
- 'REQUESTED_REVISION')
- dirname = os.path.dirname(output)
- if dirname and not os.path.exists(dirname):
- os.makedirs(dirname)
- with file(output, 'w') as f:
- f.write(revision)
-
-if __name__ == '__main__':
- sys.exit(main(sys.argv))