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

Side by Side Diff: sky/tools/skypy/paths.py

Issue 705623003: Fix test_sky in release builds (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « sky/tools/skypy/configuration.py ('k') | sky/tools/test_perf » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import os 5 import os
6 6
7 BUILD_DIRECTORY = 'out' 7 class Paths(object):
8 CONFIG_DIRECTORY = 'Debug' 8 def __init__(self, build_directory):
9 SRC_ROOT = os.path.abspath(os.path.join(__file__, 9 self.src_root = os.path.abspath(os.path.join(__file__,
10 os.pardir, os.pardir, os.pardir, os.pardir)) 10 os.pardir, os.pardir, os.pardir, os.pardir))
11 SKY_ROOT = os.path.join(SRC_ROOT, 'sky') 11 self.sky_root = os.path.join(self.src_root, 'sky')
12 GEN_ROOT = os.path.join(SRC_ROOT, BUILD_DIRECTORY, CONFIG_DIRECTORY, 'gen') 12 self.gen_root = os.path.join(self.src_root, build_directory, 'gen')
13 SKY_TOOLS_DIRECTORY = os.path.join(SRC_ROOT, 'sky', 'tools') 13 self.sky_tools_directory = os.path.join(self.src_root, 'sky', 'tools')
14 MOJO_SHELL_PATH = os.path.join(SRC_ROOT, BUILD_DIRECTORY, CONFIG_DIRECTORY, 'moj o_shell') 14 self.mojo_shell_path = os.path.join(self.src_root, build_directory, 'moj o_shell')
OLDNEW
« no previous file with comments | « sky/tools/skypy/configuration.py ('k') | sky/tools/test_perf » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698