blob: 33438f7c1556f39a224b5e8912c9c662a2c93150 [file] [log] [blame] [edit]
# Copyright 2021 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.
DartKernelInfo = provider(
"Info returned from compiling a Dart kernel.",
fields = {
"kernel_snapshot": "The path to the .dill file",
"dilp_files": "A collection of dilp files when the packages are split",
"dilp_list": "The dilplist created when packages are split",
"frameworkversion": "The path containing the framework version",
},
)
DartPackageInfo = provider(
"Info needed to construct a dart package.",
fields = {
"dependencies": "A depset of all the direct and transitive dependencies of this package",
"sources": "A depset of all the direct and transitive sources of this package",
"name": "The name of the package.",
"language_version": "The dart language version to compile against.",
"package_uri": "The package URI",
"root_uri": "The path to the root of the package.",
},
)