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
1d3ce8e8
Commit
1d3ce8e8
authored
Feb 05, 2016
by
Todd Volkert
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1641 from tvolkert/master
Create flutter_tools.dart to represent public tools API
parents
972781f9
60b6b793
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
5 deletions
+31
-5
flutter_tools.dart
packages/flutter_tools/lib/flutter_tools.dart
+31
-0
flx.dart
packages/flutter_tools/lib/src/flx.dart
+0
-5
No files found.
packages/flutter_tools/lib/flutter_tools.dart
0 → 100644
View file @
1d3ce8e8
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
library
flutter_tools
;
import
'dart:async'
;
import
'package:archive/archive.dart'
;
import
'src/flx.dart'
as
flx
;
/// Assembles a Flutter .flx file from a pre-existing manifest descriptor
/// and a pre-compiled snapshot.
Future
<
int
>
assembleFlx
({
Map
manifestDescriptor:
const
{},
ArchiveFile
snapshotFile:
null
,
String
assetBasePath:
flx
.
defaultAssetBasePath
,
String
materialAssetBasePath:
flx
.
defaultMaterialAssetBasePath
,
String
outputPath:
flx
.
defaultFlxOutputPath
,
String
privateKeyPath:
flx
.
defaultPrivateKeyPath
})
async
{
return
flx
.
assemble
(
manifestDescriptor:
manifestDescriptor
,
snapshotFile:
snapshotFile
,
assetBasePath:
assetBasePath
,
materialAssetBasePath:
materialAssetBasePath
,
outputPath:
outputPath
,
privateKeyPath:
privateKeyPath
);
}
packages/flutter_tools/lib/src/flx.dart
View file @
1d3ce8e8
...
...
@@ -243,11 +243,6 @@ Future<int> build(
);
}
/// Assembles a Flutter .flx file from a pre-existing manifest descriptor
/// and a pre-compiled snapshot.
///
/// This may be called by external build toolchains, so practice caution
/// when changing this method signature (alert flutter-dev).
Future
<
int
>
assemble
({
Map
manifestDescriptor:
const
{},
ArchiveFile
snapshotFile:
null
,
...
...
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