OLD | NEW |
---|---|
(Empty) | |
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 | |
3 # found in the LICENSE file. | |
4 | |
5 import os | |
6 | |
7 class Paths(object): | |
8 """Provides commonly used paths""" | |
9 | |
10 def __init__(self, build_directory=None): | |
11 """Specify a build_directory to generate paths to binary artifacts""" | |
12 self.src_root = os.path.abspath(os.path.join(__file__, | |
13 os.pardir, os.pardir, os.pardir, os.pardir)) | |
14 self.mojo_dir = os.path.join(self.src_root, "mojo") | |
15 if build_directory: | |
16 self.mojo_shell_path = os.path.join(self.src_root, build_directory, | |
eseidel
2014/11/07 19:03:49
Do you want to set this to something in the case n
| |
17 "mojo_shell") | |
OLD | NEW |