mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
This CL passes the configuration information from test_sky to sky_server so that sky_server can find the correct output directory. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/705623003
15 lines
660 B
Python
15 lines
660 B
Python
# Copyright 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.
|
|
|
|
import os
|
|
|
|
class Paths(object):
|
|
def __init__(self, build_directory):
|
|
self.src_root = os.path.abspath(os.path.join(__file__,
|
|
os.pardir, os.pardir, os.pardir, os.pardir))
|
|
self.sky_root = os.path.join(self.src_root, 'sky')
|
|
self.gen_root = os.path.join(self.src_root, build_directory, 'gen')
|
|
self.sky_tools_directory = os.path.join(self.src_root, 'sky', 'tools')
|
|
self.mojo_shell_path = os.path.join(self.src_root, build_directory, 'mojo_shell')
|