Unverified Commit 1954ffca authored by P.Y. Laligand's avatar P.Y. Laligand Committed by GitHub

[fuchsia] dart_package is now dart_library. (#13979)

parent 3782415d
......@@ -2,9 +2,9 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//build/dart/dart_package.gni")
import("//build/dart/dart_library.gni")
dart_package("flutter") {
dart_library("flutter") {
package_name = "flutter"
disable_analysis = true
......
......@@ -2,9 +2,9 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//build/dart/dart_package.gni")
import("//build/dart/dart_library.gni")
dart_package("flutter_test") {
dart_library("flutter_test") {
package_name = "flutter_test"
disable_analysis = true
......
......@@ -2,10 +2,10 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//build/dart/dart_package.gni")
import("//build/dart/dart_library.gni")
import("//build/dart/dart_tool.gni")
dart_package("flutter_tools") {
dart_library("flutter_tools") {
package_name = "flutter_tools"
disable_analysis = true
......
......@@ -328,7 +328,7 @@ class FuchsiaReloadCommand extends FlutterCommand {
if (!_fileExists(_target))
throwToolExit('Couldn\'t find application entry point at $_target.');
final String packagesFileName = '${_projectName}_dart_package.packages';
final String packagesFileName = '${_projectName}_dart_library.packages';
_dotPackagesPath = '$_fuchsiaRoot/out/$_buildType/dartlang/gen/$_projectRoot/$packagesFileName';
if (!_fileExists(_dotPackagesPath))
throwToolExit('Couldn\'t find .packages file at $_dotPackagesPath.');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment