blob: 28363e70b9c22e355957716b062e1e2ebddaa378 [file] [log] [blame]
# Copyright 2016 The Fuchsia 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.path
import platform
FUCHSIA_DIR = os.environ["FUCHSIA_DIR"]
PREBUILT_DIR = os.path.join(FUCHSIA_DIR, "prebuilt")
FUCHSIA_BUILD_DIR = os.environ["FUCHSIA_BUILD_DIR"]
PREBUILT_PLATFORM = {
"Linux": "linux-x64",
"Darwin": "mac-x64",
"Windows": "win-x64"
}[platform.system()]
FLUTTER_ROOT = os.path.join(
FUCHSIA_DIR, "third_party", "dart-pkg", "git", "flutter")
DART_ROOT = os.path.join(PREBUILT_DIR, "third_party", "dart", PREBUILT_PLATFORM)