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

Unified Diff: dart/tools/dartium/set_reference_build_revision.py

Issue 553823002: Revert change r37732. Remove copies of scripts from old location. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 6 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 | « dart/tools/dartium/get_chromium_build.py ('k') | deps/dartium.deps/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/tools/dartium/set_reference_build_revision.py
===================================================================
--- dart/tools/dartium/set_reference_build_revision.py (revision 39949)
+++ dart/tools/dartium/set_reference_build_revision.py (working copy)
@@ -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/dart/tools/dartium/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))
« no previous file with comments | « dart/tools/dartium/get_chromium_build.py ('k') | deps/dartium.deps/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698