Declare that a pubspec.yaml file is being generated for a dart_pkg. (flutter/engine#4713)

This will let other targets depend on the existence of that file.
This commit is contained in:
P.Y. Laligand
2018-02-24 20:57:43 -08:00
committed by GitHub
parent 28a10866e0
commit 95d52d543c

View File

@@ -77,6 +77,7 @@ template("dart_pkg_helper") {
# $root_gen_dir somewhere.
outputs = [
"$root_gen_dir/dart-pkg/${package_name}",
"$root_gen_dir/dart-pkg/${package_name}/pubspec.yaml",
"$root_gen_dir/dart-pkg/packages/${package_name}",
stamp_file,
]
@@ -177,7 +178,7 @@ template("dart_pkg") {
}
group(target_name) {
deps = [
public_deps = [
":$dart_pkg_target_name",
]
if (defined(invoker.apps)) {