Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
5e0ba229
Unverified
Commit
5e0ba229
authored
Jul 24, 2020
by
Zachary Anderson
Committed by
GitHub
Jul 24, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Pass --disable-dart-dev in more places (#62217)
parent
e64fe115
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
2 deletions
+4
-2
runner.dart
dev/devicelab/lib/framework/runner.dart
+1
-1
utils.dart
dev/devicelab/lib/framework/utils.dart
+1
-1
icon_tree_shaker.dart
..._tools/lib/src/build_system/targets/icon_tree_shaker.dart
+1
-0
icon_tree_shaker_test.dart
...ral.shard/build_system/targets/icon_tree_shaker_test.dart
+1
-0
No files found.
dev/devicelab/lib/framework/runner.dart
View file @
5e0ba229
...
...
@@ -35,9 +35,9 @@ Future<Map<String, dynamic>> runTask(
final
Process
runner
=
await
startProcess
(
dartBin
,
<
String
>[
'--disable-dart-dev'
,
'--enable-vm-service=0'
,
// zero causes the system to choose a free port
'--no-pause-isolates-on-exit'
,
'--disable-dart-dev'
,
if
(
localEngine
!=
null
)
'-DlocalEngine=
$localEngine
'
,
if
(
localEngineSrcPath
!=
null
)
'-DlocalEngineSrcPath=
$localEngineSrcPath
'
,
taskExecutable
,
...
...
dev/devicelab/lib/framework/utils.dart
View file @
5e0ba229
...
...
@@ -469,7 +469,7 @@ String get dartBin =>
String
get
pubBin
=>
path
.
join
(
flutterDirectory
.
path
,
'bin'
,
'cache'
,
'dart-sdk'
,
'bin'
,
'pub'
);
Future
<
int
>
dart
(
List
<
String
>
args
)
=>
exec
(
dartBin
,
args
);
Future
<
int
>
dart
(
List
<
String
>
args
)
=>
exec
(
dartBin
,
<
String
>[
'--disable-dart-dev'
,
...
args
]
);
/// Returns a future that completes with a path suitable for JAVA_HOME
/// or with null, if Java cannot be found.
...
...
packages/flutter_tools/lib/src/build_system/targets/icon_tree_shaker.dart
View file @
5e0ba229
...
...
@@ -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'
,
...
...
packages/flutter_tools/test/general.shard/build_system/targets/icon_tree_shaker_test.dart
View file @
5e0ba229
...
...
@@ -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'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment