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
eb475bbb
Commit
eb475bbb
authored
Oct 20, 2017
by
Jason Simmons
Committed by
GitHub
Oct 20, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
move dart_io_entries.txt to third_party/dart for AOT builds with a local engine (#12659)
parent
5e8634a6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
artifacts.dart
packages/flutter_tools/lib/src/artifacts.dart
+1
-1
artifacts_test.dart
packages/flutter_tools/test/artifacts_test.dart
+1
-1
No files found.
packages/flutter_tools/lib/src/artifacts.dart
View file @
eb475bbb
...
@@ -229,7 +229,7 @@ class LocalEngineArtifacts extends Artifacts {
...
@@ -229,7 +229,7 @@ class LocalEngineArtifacts extends Artifacts {
String
getArtifactPath
(
Artifact
artifact
,
[
TargetPlatform
platform
,
BuildMode
mode
])
{
String
getArtifactPath
(
Artifact
artifact
,
[
TargetPlatform
platform
,
BuildMode
mode
])
{
switch
(
artifact
)
{
switch
(
artifact
)
{
case
Artifact
.
dartIoEntriesTxt
:
case
Artifact
.
dartIoEntriesTxt
:
return
fs
.
path
.
join
(
_engineSrcPath
,
'dart'
,
'runtime'
,
'bin'
,
_artifactToFileName
(
artifact
));
return
fs
.
path
.
join
(
_engineSrcPath
,
'
third_party'
,
'
dart'
,
'runtime'
,
'bin'
,
_artifactToFileName
(
artifact
));
case
Artifact
.
dartVmEntryPointsTxt
:
case
Artifact
.
dartVmEntryPointsTxt
:
return
fs
.
path
.
join
(
_engineSrcPath
,
'flutter'
,
'runtime'
,
_artifactToFileName
(
artifact
));
return
fs
.
path
.
join
(
_engineSrcPath
,
'flutter'
,
'runtime'
,
_artifactToFileName
(
artifact
));
case
Artifact
.
snapshotDart
:
case
Artifact
.
snapshotDart
:
...
...
packages/flutter_tools/test/artifacts_test.dart
View file @
eb475bbb
...
@@ -79,7 +79,7 @@ void main() {
...
@@ -79,7 +79,7 @@ void main() {
testUsingContext
(
'getArtifactPath'
,
()
{
testUsingContext
(
'getArtifactPath'
,
()
{
expect
(
expect
(
artifacts
.
getArtifactPath
(
Artifact
.
dartIoEntriesTxt
,
TargetPlatform
.
android_arm
,
BuildMode
.
debug
),
artifacts
.
getArtifactPath
(
Artifact
.
dartIoEntriesTxt
,
TargetPlatform
.
android_arm
,
BuildMode
.
debug
),
fs
.
path
.
join
(
tempDir
.
path
,
'dart'
,
'runtime'
,
'bin'
,
'dart_io_entries.txt'
)
fs
.
path
.
join
(
tempDir
.
path
,
'
third_party'
,
'
dart'
,
'runtime'
,
'bin'
,
'dart_io_entries.txt'
)
);
);
expect
(
expect
(
artifacts
.
getArtifactPath
(
Artifact
.
flutterFramework
,
TargetPlatform
.
ios
,
BuildMode
.
release
),
artifacts
.
getArtifactPath
(
Artifact
.
flutterFramework
,
TargetPlatform
.
ios
,
BuildMode
.
release
),
...
...
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