blob: 80bc8ac871ae39501cb6743c14506e1bddfa9cd5 [file] [log] [blame]
# Copyright 2013 The Flutter 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("//flutter/tools/fuchsia/dart/toolchain.gni")
import("//flutter/tools/fuchsia/python/python_binary.gni")
import("//flutter/tools/fuchsia/sdk/sdk_targets.gni")
import("//flutter/tools/fuchsia/toolchain/basic_toolchain.gni")
python_binary("gen_dart_package_config") {
main_source = "gen_dart_package_config.py"
}
if (current_toolchain == default_toolchain) {
# A toolchain dedicated to processing and analyzing Dart packages.
# The only targets in this toolchain are action() targets, so it
# has no real tools. But every toolchain needs stamp and copy.
basic_toolchain("dartlang") {
expected_label = dart_toolchain
}
}
if (current_toolchain != default_toolchain) {
sdk_targets("dart_library") {
meta = "$fuchsia_sdk_path/meta/manifest.json"
}
}