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
d2ee6f78
Commit
d2ee6f78
authored
Jun 10, 2016
by
Todd Volkert
Committed by
GitHub
Jun 10, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename app.so -> app.dylib (#4522)
parent
09f458a5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
xcode_backend.sh
packages/flutter_tools/bin/xcode_backend.sh
+3
-3
build_aot.dart
packages/flutter_tools/lib/src/commands/build_aot.dart
+3
-3
No files found.
packages/flutter_tools/bin/xcode_backend.sh
View file @
d2ee6f78
...
...
@@ -58,7 +58,7 @@ BuildApp() {
AssertExists
$derived_dir
RunCommand
rm
-f
${
derived_dir
}
/Flutter.framework
RunCommand
rm
-f
${
derived_dir
}
/app.
so
RunCommand
rm
-f
${
derived_dir
}
/app.
dylib
RunCommand
rm
-f
${
derived_dir
}
/app.flx
RunCommand
cp
-r
${
framework_path
}
/Flutter.framework
${
derived_dir
}
RunCommand
pushd
${
project_path
}
...
...
@@ -89,9 +89,9 @@ BuildApp() {
exit
-1
fi
RunCommand
cp
build/aot/app.
so
${
derived_dir
}
/app.so
RunCommand
cp
build/aot/app.
dylib
${
derived_dir
}
/app.dylib
else
RunCommand
eval
"
$(
echo
\"
static const int Moo
=
88
;
\"
| xcrun clang
-x
c
--shared
-o
${
derived_dir
}
/app.
so
-
)
"
RunCommand
eval
"
$(
echo
\"
static const int Moo
=
88
;
\"
| xcrun clang
-x
c
--shared
-o
${
derived_dir
}
/app.
dylib
-
)
"
fi
local
precompilation_flag
=
""
...
...
packages/flutter_tools/lib/src/commands/build_aot.dart
View file @
d2ee6f78
...
...
@@ -271,7 +271,7 @@ Future<String> _buildAotSnapshot(
// On iOS, we use Xcode to compile the snapshot into a dynamic library that the
// end-developer can link into their app.
if
(
platform
==
TargetPlatform
.
ios
)
{
printStatus
(
'Building app.
so
...'
);
printStatus
(
'Building app.
dylib
...'
);
// These names are known to from the engine.
const
String
kDartVmIsolateSnapshotBuffer
=
'kDartVmIsolateSnapshotBuffer'
;
...
...
@@ -306,7 +306,7 @@ Future<String> _buildAotSnapshot(
..
addAll
(
commonBuildOptions
)
..
addAll
(<
String
>[
'-c'
,
kDartIsolateSnapshotBufferC
,
'-o'
,
kDartIsolateSnapshotBufferO
]));
String
appSo
=
path
.
join
(
outputDir
.
path
,
'app.
so
'
);
String
appSo
=
path
.
join
(
outputDir
.
path
,
'app.
dylib
'
);
List
<
String
>
linkCommand
=
<
String
>[
'xcrun'
,
'clang'
]
..
addAll
(
commonBuildOptions
)
...
...
@@ -314,7 +314,7 @@ Future<String> _buildAotSnapshot(
'-dynamiclib'
,
'-Xlinker'
,
'-rpath'
,
'-Xlinker'
,
'@executable_path/Frameworks'
,
'-Xlinker'
,
'-rpath'
,
'-Xlinker'
,
'@loader_path/Frameworks'
,
'-install_name'
,
'@rpath/app.
so
'
,
'-install_name'
,
'@rpath/app.
dylib
'
,
'-o'
,
appSo
,
kDartVmIsolateSnapshotBufferO
,
kDartIsolateSnapshotBufferO
,
...
...
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