[flutter_tools] migrate .packages to package_config, partial (#70200)

This commit is contained in:
Jonah Williams
2020-11-11 13:50:41 -08:00
committed by GitHub
parent 5b19328ff0
commit a40ee8a3fb
26 changed files with 95 additions and 91 deletions

View File

@@ -81,9 +81,7 @@ class BundleBuilder {
String manifestPath = defaultManifestPath,
String applicationKernelFilePath,
String depfilePath,
String privateKeyPath = defaultPrivateKeyPath,
String assetDirPath,
String packagesPath,
bool precompiledSnapshot = false,
bool reportLicensedPackages = false,
bool trackWidgetCreation = false,
@@ -96,7 +94,6 @@ class BundleBuilder {
mainPath ??= defaultMainPath;
depfilePath ??= defaultDepfilePath;
assetDirPath ??= getAssetBuildDirectory();
packagesPath ??= globals.fs.path.absolute('.packages');
final FlutterProject flutterProject = FlutterProject.current();
await buildWithAssemble(
buildMode: buildInfo.mode,