blob: cf423b5bcd654319dba33a29aa54b9870a8ecd97 [file] [log] [blame]
# Copyright 2017 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.
dart_toolchain = "//build/dart:dartlang"
dart_root_gen_dir =
get_label_info("//anything($dart_toolchain)", "root_gen_dir")
# In order to access the target_gen_dir in the Dart toolchain from some location
# in the source tree, use the following:
# dart_target_gen_dir = get_label_info(":anything($dart_toolchain)", "target_gen_dir")
is_dart_toolchain = current_toolchain == dart_toolchain