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
e50ca9ac
Unverified
Commit
e50ca9ac
authored
Feb 02, 2022
by
Zachary Anderson
Committed by
GitHub
Feb 02, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reland: [flutter_tool] Download gen_snapshot.zip for macOS desktop (#97671)
parent
54f674c2
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
31 additions
and
9 deletions
+31
-9
.ci.yaml
.ci.yaml
+9
-9
codesign.dart
dev/conductor/core/lib/src/codesign.dart
+6
-0
flutter_cache.dart
packages/flutter_tools/lib/src/flutter_cache.dart
+3
-0
cache_test.dart
packages/flutter_tools/test/general.shard/cache_test.dart
+13
-0
No files found.
.ci.yaml
View file @
e50ca9ac
...
...
@@ -382,7 +382,7 @@ targets:
-
packages/fuchsia_remote_debug_protocol/
-
packages/flutter_test/
-
packages/flutter_goldens/
-
packages/flutter_tools/
lib/src/test/
-
packages/flutter_tools/
-
bin/
-
.ci.yaml
...
...
@@ -413,7 +413,7 @@ targets:
-
packages/fuchsia_remote_debug_protocol/
-
packages/flutter_test/
-
packages/flutter_goldens/
-
packages/flutter_tools/
lib/src/test/
-
packages/flutter_tools/
-
bin/
-
.ci.yaml
...
...
@@ -439,7 +439,7 @@ targets:
-
packages/fuchsia_remote_debug_protocol/
-
packages/flutter_test/
-
packages/flutter_goldens/
-
packages/flutter_tools/
lib/src/test/
-
packages/flutter_tools/
-
bin/
-
.ci.yaml
...
...
@@ -2491,7 +2491,7 @@ targets:
-
packages/fuchsia_remote_debug_protocol/**
-
packages/flutter_test/**
-
packages/flutter_goldens/**
-
packages/flutter_tools/
lib/src/test/
**
-
packages/flutter_tools/**
-
bin/**
-
.ci.yaml
...
...
@@ -2521,7 +2521,7 @@ targets:
-
packages/fuchsia_remote_debug_protocol/**
-
packages/flutter_test/**
-
packages/flutter_goldens/**
-
packages/flutter_tools/
lib/src/test/
**
-
packages/flutter_tools/**
-
bin/**
-
.ci.yaml
...
...
@@ -2547,7 +2547,7 @@ targets:
-
packages/fuchsia_remote_debug_protocol/**
-
packages/flutter_test/**
-
packages/flutter_goldens/**
-
packages/flutter_tools/
lib/src/test/
**
-
packages/flutter_tools/**
-
bin/**
-
.ci.yaml
...
...
@@ -3663,7 +3663,7 @@ targets:
-
packages/fuchsia_remote_debug_protocol/
-
packages/flutter_test/
-
packages/flutter_goldens/
-
packages/flutter_tools/
lib/src/test/
-
packages/flutter_tools/
-
bin/
-
.ci.yaml
...
...
@@ -3692,7 +3692,7 @@ targets:
-
packages/fuchsia_remote_debug_protocol/
-
packages/flutter_test/
-
packages/flutter_goldens/
-
packages/flutter_tools/
lib/src/test/
-
packages/flutter_tools/
-
bin/
-
.ci.yaml
...
...
@@ -3718,7 +3718,7 @@ targets:
-
packages/fuchsia_remote_debug_protocol/
-
packages/flutter_test/
-
packages/flutter_goldens/
-
packages/flutter_tools/
lib/src/test/
-
packages/flutter_tools/
-
bin/
-
.ci.yaml
...
...
dev/conductor/core/lib/src/codesign.dart
View file @
e50ca9ac
...
...
@@ -143,9 +143,15 @@ class CodesignCommand extends Command<void> {
'artifacts/engine/android-x64-profile/darwin-x64/gen_snapshot'
,
'artifacts/engine/android-x64-release/darwin-x64/gen_snapshot'
,
'artifacts/engine/darwin-x64-profile/gen_snapshot'
,
'artifacts/engine/darwin-x64-profile/gen_snapshot_arm64'
,
'artifacts/engine/darwin-x64-profile/gen_snapshot_x64'
,
'artifacts/engine/darwin-x64-release/gen_snapshot'
,
'artifacts/engine/darwin-x64-release/gen_snapshot_arm64'
,
'artifacts/engine/darwin-x64-release/gen_snapshot_x64'
,
'artifacts/engine/darwin-x64/flutter_tester'
,
'artifacts/engine/darwin-x64/gen_snapshot'
,
'artifacts/engine/darwin-x64/gen_snapshot_arm64'
,
'artifacts/engine/darwin-x64/gen_snapshot_x64'
,
'artifacts/engine/ios-profile/gen_snapshot_arm64'
,
'artifacts/engine/ios-profile/gen_snapshot_armv7'
,
'artifacts/engine/ios-release/gen_snapshot_arm64'
,
...
...
packages/flutter_tools/lib/src/flutter_cache.dart
View file @
e50ca9ac
...
...
@@ -870,10 +870,13 @@ 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 @
e50ca9ac
...
...
@@ -557,6 +557,19 @@ 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