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
f82c0200
Unverified
Commit
f82c0200
authored
Feb 02, 2022
by
Zachary Anderson
Committed by
GitHub
Feb 02, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "[flutter_tool] Download gen_snapshot.zip for macOS desktop (#97627)" (#97664)
This reverts commit
32abf42a
.
parent
d7688ca0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
16 deletions
+0
-16
flutter_cache.dart
packages/flutter_tools/lib/src/flutter_cache.dart
+0
-3
cache_test.dart
packages/flutter_tools/test/general.shard/cache_test.dart
+0
-13
No files found.
packages/flutter_tools/lib/src/flutter_cache.dart
View file @
f82c0200
...
...
@@ -870,13 +870,10 @@ const List<List<String>> _windowsUwpDesktopBinaryDirs = <List<String>>[
const
List
<
List
<
String
>>
_macOSDesktopBinaryDirs
=
<
List
<
String
>>[
<
String
>[
'darwin-x64'
,
'darwin-x64/FlutterMacOS.framework.zip'
],
<
String
>[
'darwin-x64'
,
'darwin-x64/gen_snapshot.zip'
],
<
String
>[
'darwin-x64-profile'
,
'darwin-x64-profile/FlutterMacOS.framework.zip'
],
<
String
>[
'darwin-x64-profile'
,
'darwin-x64-profile/artifacts.zip'
],
<
String
>[
'darwin-x64-profile'
,
'darwin-x64-profile/gen_snapshot.zip'
],
<
String
>[
'darwin-x64-release'
,
'darwin-x64-release/FlutterMacOS.framework.zip'
],
<
String
>[
'darwin-x64-release'
,
'darwin-x64-release/artifacts.zip'
],
<
String
>[
'darwin-x64-release'
,
'darwin-x64-release/gen_snapshot.zip'
],
];
const
List
<
List
<
String
>>
_osxBinaryDirs
=
<
List
<
String
>>[
...
...
packages/flutter_tools/test/general.shard/cache_test.dart
View file @
f82c0200
...
...
@@ -557,19 +557,6 @@ void main() {
]);
});
testWithoutContext
(
'macOS desktop artifacts include all gen_snapshot binaries'
,
()
{
final
Cache
cache
=
Cache
.
test
(
processManager:
FakeProcessManager
.
any
());
final
MacOSEngineArtifacts
artifacts
=
MacOSEngineArtifacts
(
cache
,
platform:
FakePlatform
());
cache
.
includeAllPlatforms
=
false
;
cache
.
platformOverrideArtifacts
=
<
String
>{
'macos'
};
expect
(
artifacts
.
getBinaryDirs
(),
containsAll
(<
List
<
String
>>[
<
String
>[
'darwin-x64'
,
'darwin-x64/gen_snapshot.zip'
],
<
String
>[
'darwin-x64-profile'
,
'darwin-x64-profile/gen_snapshot.zip'
],
<
String
>[
'darwin-x64-release'
,
'darwin-x64-release/gen_snapshot.zip'
],
]));
});
testWithoutContext
(
'macOS desktop artifacts ignore filtering when requested'
,
()
{
final
Cache
cache
=
Cache
.
test
(
processManager:
FakeProcessManager
.
any
());
final
MacOSEngineArtifacts
artifacts
=
MacOSEngineArtifacts
(
cache
,
platform:
FakePlatform
());
...
...
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