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
c0e0f4f8
Unverified
Commit
c0e0f4f8
authored
Oct 22, 2021
by
嘟囔
Committed by
GitHub
Oct 22, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: migrate install_manifest.dart to null-safety (#92062)
parent
6f22783e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
11 deletions
+6
-11
install_manifest.dart
packages/flutter_tools/lib/src/windows/install_manifest.dart
+6
-11
No files found.
packages/flutter_tools/lib/src/windows/install_manifest.dart
View file @
c0e0f4f8
...
@@ -2,10 +2,6 @@
...
@@ -2,10 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// found in the LICENSE file.
// @dart = 2.8
import
'package:meta/meta.dart'
;
import
'../asset.dart'
;
import
'../asset.dart'
;
import
'../base/common.dart'
;
import
'../base/common.dart'
;
import
'../base/file_system.dart'
;
import
'../base/file_system.dart'
;
...
@@ -16,19 +12,18 @@ import '../cmake_project.dart';
...
@@ -16,19 +12,18 @@ import '../cmake_project.dart';
/// Generate an install manifest that is required for CMAKE on UWP projects.
/// Generate an install manifest that is required for CMAKE on UWP projects.
Future
<
void
>
createManifest
({
Future
<
void
>
createManifest
({
@
required
Logger
logger
,
required
Logger
logger
,
@
required
FileSystem
fileSystem
,
required
FileSystem
fileSystem
,
@
required
Platform
platform
,
required
Platform
platform
,
@
required
WindowsUwpProject
project
,
required
WindowsUwpProject
project
,
@
required
BuildInfo
buildInfo
,
required
BuildInfo
buildInfo
,
@
required
Directory
buildDirectory
,
required
Directory
buildDirectory
,
})
async
{
})
async
{
final
List
<
File
>
outputs
=
<
File
>[];
final
List
<
File
>
outputs
=
<
File
>[];
final
AssetBundle
assetBundle
=
AssetBundleFactory
.
defaultInstance
(
final
AssetBundle
assetBundle
=
AssetBundleFactory
.
defaultInstance
(
logger:
logger
,
logger:
logger
,
fileSystem:
fileSystem
,
fileSystem:
fileSystem
,
platform:
platform
,
platform:
platform
,
splitDeferredAssets:
false
,
).
createBundle
();
).
createBundle
();
final
int
resultCode
=
await
assetBundle
.
build
(
final
int
resultCode
=
await
assetBundle
.
build
(
packagesPath:
buildInfo
.
packagesPath
,
packagesPath:
buildInfo
.
packagesPath
,
...
...
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