Pass --disable-dart-dev in more places (#62217)

This commit is contained in:
Zachary Anderson
2020-07-24 13:37:08 -07:00
committed by GitHub
parent e64fe11542
commit 5e0ba2290f
4 changed files with 4 additions and 2 deletions

View File

@@ -262,6 +262,7 @@ class IconTreeShaker {
) async {
final List<String> cmd = <String>[
dart.path,
'--disable-dart-dev',
constFinder.path,
'--kernel-file', appDill.path,
'--class-library-uri', 'package:flutter/src/widgets/icon_data.dart',

View File

@@ -36,6 +36,7 @@ const String relativePath = 'fonts/MaterialIcons-Regular.ttf';
List<String> getConstFinderArgs(String appDillPath) => <String>[
dartPath,
'--disable-dart-dev',
constFinderPath,
'--kernel-file', appDillPath,
'--class-library-uri', 'package:flutter/src/widgets/icon_data.dart',