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

Side by Side Diff: tools/dartium/dartium_bot_utils.py

Issue 270663007: Refactor a copy of dartium/buildbot_annotated_steps.py (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: stray blank line Created 6 years, 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « tools/dartium/buildbot_annotated_steps.py ('k') | tools/dartium/multivm_archive.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/usr/bin/python
2
3 # Copyright (c) 2014 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file.
6
7 """Utility functions specific to dartium buildbot checkouts
8 """
9 import os
10
11 def srcPath():
12 """Return the path [dartium_checkout]/src
13
14 Only valid if this file is in a dartium checkout.
15 """
16 # This file is in [dartium checkout]/src/dart/tools/dartium/,
17 # if we are in a dartium checkout that checks out dart into src.
18 # This function cannot be in utils.py because __file__ is wrong
19 # when other modules with the name 'utils' are imported indirectly.
20 return os.path.dirname(
21 os.path.dirname(
22 os.path.dirname(
23 os.path.dirname(os.path.abspath(__file__)))))
OLDNEW
« no previous file with comments | « tools/dartium/buildbot_annotated_steps.py ('k') | tools/dartium/multivm_archive.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698