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
0abb98d8
Unverified
Commit
0abb98d8
authored
Sep 19, 2022
by
jensjoha
Committed by
GitHub
Sep 19, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use app-jit snapshot for flutter tools (#111459)
parent
ff6aa928
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
shared.bat
bin/internal/shared.bat
+2
-2
shared.sh
bin/internal/shared.sh
+1
-1
No files found.
bin/internal/shared.bat
View file @
0abb98d8
...
...
@@ -171,9 +171,9 @@ GOTO :after_subroutine
POPD
IF "%FLUTTER_TOOL_ARGS%" == "" (
"%dart%" --verbosity=error --snapshot="%snapshot_path%" --
packages="%flutter_tools_dir%\.dart_tool\package_config.json" --no-enable-mirrors "%script_path%"
"%dart%" --verbosity=error --snapshot="%snapshot_path%" --
snapshot-kind="app-jit" --packages="%flutter_tools_dir%\.dart_tool\package_config.json" --no-enable-mirrors "%script_path%" > NUL
) else (
"%dart%" "%FLUTTER_TOOL_ARGS%" --verbosity=error --snapshot="%snapshot_path%" --
packages="%flutter_tools_dir%\.dart_tool\package_config.json" "%script_path%"
"%dart%" "%FLUTTER_TOOL_ARGS%" --verbosity=error --snapshot="%snapshot_path%" --
snapshot-kind="app-jit" --packages="%flutter_tools_dir%\.dart_tool\package_config.json" "%script_path%" > NUL
)
IF "%ERRORLEVEL%" NEQ "0" (
ECHO Error: Unable to create dart snapshot for flutter tool. 1>&2
...
...
bin/internal/shared.sh
View file @
0abb98d8
...
...
@@ -155,7 +155,7 @@ function upgrade_flutter () (
pub_upgrade_with_retry
# Compile...
"
$DART
"
--verbosity
=
error
--disable-dart-dev
$FLUTTER_TOOL_ARGS
--snapshot
=
"
$SNAPSHOT_PATH
"
--
packages
=
"
$FLUTTER_TOOLS_DIR
/.dart_tool/package_config.json"
--no-enable-mirrors
"
$SCRIPT_PATH
"
"
$DART
"
--verbosity
=
error
--disable-dart-dev
$FLUTTER_TOOL_ARGS
--snapshot
=
"
$SNAPSHOT_PATH
"
--
snapshot-kind
=
"app-jit"
--packages
=
"
$FLUTTER_TOOLS_DIR
/.dart_tool/package_config.json"
--no-enable-mirrors
"
$SCRIPT_PATH
"
>
/dev/null
echo
"
$compilekey
"
>
"
$STAMP_PATH
"
fi
# The exit here is extraneous since the function is run in a subshell, but
...
...
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