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
6e5a5307
Unverified
Commit
6e5a5307
authored
Mar 28, 2023
by
Jenn Magder
Committed by
GitHub
Mar 28, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add flags to make App.framework work in app extension (#123618)
Add flags to make App.framework work in app extension
parent
f2fb1b59
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
11 additions
and
0 deletions
+11
-0
build.dart
packages/flutter_tools/lib/src/base/build.dart
+1
-0
ios.dart
packages/flutter_tools/lib/src/build_system/targets/ios.dart
+1
-0
macos.dart
...ges/flutter_tools/lib/src/build_system/targets/macos.dart
+1
-0
build_test.dart
...ges/flutter_tools/test/general.shard/base/build_test.dart
+1
-0
common_test.dart
.../test/general.shard/build_system/targets/common_test.dart
+1
-0
ios_test.dart
...ols/test/general.shard/build_system/targets/ios_test.dart
+2
-0
macos_test.dart
...s/test/general.shard/build_system/targets/macos_test.dart
+4
-0
No files found.
packages/flutter_tools/lib/src/base/build.dart
View file @
6e5a5307
...
@@ -300,6 +300,7 @@ class AOTSnapshotter {
...
@@ -300,6 +300,7 @@ class AOTSnapshotter {
'-dynamiclib'
,
'-dynamiclib'
,
'-Xlinker'
,
'-rpath'
,
'-Xlinker'
,
'@executable_path/Frameworks'
,
'-Xlinker'
,
'-rpath'
,
'-Xlinker'
,
'@executable_path/Frameworks'
,
'-Xlinker'
,
'-rpath'
,
'-Xlinker'
,
'@loader_path/Frameworks'
,
'-Xlinker'
,
'-rpath'
,
'-Xlinker'
,
'@loader_path/Frameworks'
,
'-fapplication-extension'
,
'-install_name'
,
'@rpath/App.framework/App'
,
'-install_name'
,
'@rpath/App.framework/App'
,
'-o'
,
appLib
,
'-o'
,
appLib
,
assemblyO
,
assemblyO
,
...
...
packages/flutter_tools/lib/src/build_system/targets/ios.dart
View file @
6e5a5307
...
@@ -677,6 +677,7 @@ Future<void> _createStubAppFramework(File outputFile, Environment environment,
...
@@ -677,6 +677,7 @@ Future<void> _createStubAppFramework(File outputFile, Environment environment,
'-miphonesimulator-version-min=11.0'
,
'-miphonesimulator-version-min=11.0'
,
'-Xlinker'
,
'-rpath'
,
'-Xlinker'
,
'@executable_path/Frameworks'
,
'-Xlinker'
,
'-rpath'
,
'-Xlinker'
,
'@executable_path/Frameworks'
,
'-Xlinker'
,
'-rpath'
,
'-Xlinker'
,
'@loader_path/Frameworks'
,
'-Xlinker'
,
'-rpath'
,
'-Xlinker'
,
'@loader_path/Frameworks'
,
'-fapplication-extension'
,
'-install_name'
,
'@rpath/App.framework/App'
,
'-install_name'
,
'@rpath/App.framework/App'
,
'-isysroot'
,
sdkRoot
,
'-isysroot'
,
sdkRoot
,
'-o'
,
outputFile
.
path
,
'-o'
,
outputFile
.
path
,
...
...
packages/flutter_tools/lib/src/build_system/targets/macos.dart
View file @
6e5a5307
...
@@ -206,6 +206,7 @@ static const int Moo = 88;
...
@@ -206,6 +206,7 @@ static const int Moo = 88;
'-dynamiclib'
,
'-dynamiclib'
,
'-Xlinker'
,
'-rpath'
,
'-Xlinker'
,
'@executable_path/Frameworks'
,
'-Xlinker'
,
'-rpath'
,
'-Xlinker'
,
'@executable_path/Frameworks'
,
'-Xlinker'
,
'-rpath'
,
'-Xlinker'
,
'@loader_path/Frameworks'
,
'-Xlinker'
,
'-rpath'
,
'-Xlinker'
,
'@loader_path/Frameworks'
,
'-fapplication-extension'
,
'-install_name'
,
'@rpath/App.framework/App'
,
'-install_name'
,
'@rpath/App.framework/App'
,
'-o'
,
outputFile
.
path
,
'-o'
,
outputFile
.
path
,
]);
]);
...
...
packages/flutter_tools/test/general.shard/base/build_test.dart
View file @
6e5a5307
...
@@ -40,6 +40,7 @@ const List<String> kDefaultClang = <String>[
...
@@ -40,6 +40,7 @@ const List<String> kDefaultClang = <String>[
'-rpath'
,
'-rpath'
,
'-Xlinker'
,
'-Xlinker'
,
'@loader_path/Frameworks'
,
'@loader_path/Frameworks'
,
'-fapplication-extension'
,
'-install_name'
,
'-install_name'
,
'@rpath/App.framework/App'
,
'@rpath/App.framework/App'
,
'-o'
,
'-o'
,
...
...
packages/flutter_tools/test/general.shard/build_system/targets/common_test.dart
View file @
6e5a5307
...
@@ -511,6 +511,7 @@ void main() {
...
@@ -511,6 +511,7 @@ void main() {
'-rpath'
,
'-rpath'
,
'-Xlinker'
,
'-Xlinker'
,
'@loader_path/Frameworks'
,
'@loader_path/Frameworks'
,
'-fapplication-extension'
,
'-install_name'
,
'-install_name'
,
'@rpath/App.framework/App'
,
'@rpath/App.framework/App'
,
'-o'
,
'-o'
,
...
...
packages/flutter_tools/test/general.shard/build_system/targets/ios_test.dart
View file @
6e5a5307
...
@@ -31,6 +31,7 @@ const List<String> _kSharedConfig = <String>[
...
@@ -31,6 +31,7 @@ const List<String> _kSharedConfig = <String>[
'-rpath'
,
'-rpath'
,
'-Xlinker'
,
'-Xlinker'
,
'@loader_path/Frameworks'
,
'@loader_path/Frameworks'
,
'-fapplication-extension'
,
'-install_name'
,
'-install_name'
,
'@rpath/App.framework/App'
,
'@rpath/App.framework/App'
,
'-isysroot'
,
'-isysroot'
,
...
@@ -95,6 +96,7 @@ void main() {
...
@@ -95,6 +96,7 @@ void main() {
'-rpath'
,
'-rpath'
,
'-Xlinker'
,
'-Xlinker'
,
'@loader_path/Frameworks'
,
'@loader_path/Frameworks'
,
'-fapplication-extension'
,
'-install_name'
,
'-install_name'
,
'@rpath/App.framework/App'
,
'@rpath/App.framework/App'
,
'-isysroot'
,
'-isysroot'
,
...
...
packages/flutter_tools/test/general.shard/build_system/targets/macos_test.dart
View file @
6e5a5307
...
@@ -385,6 +385,7 @@ void main() {
...
@@ -385,6 +385,7 @@ void main() {
'-dynamiclib'
,
'-dynamiclib'
,
'-Xlinker'
,
'-rpath'
,
'-Xlinker'
,
'@executable_path/Frameworks'
,
'-Xlinker'
,
'-rpath'
,
'-Xlinker'
,
'@executable_path/Frameworks'
,
'-Xlinker'
,
'-rpath'
,
'-Xlinker'
,
'@loader_path/Frameworks'
,
'-Xlinker'
,
'-rpath'
,
'-Xlinker'
,
'@loader_path/Frameworks'
,
'-fapplication-extension'
,
'-install_name'
,
'@rpath/App.framework/App'
,
'-install_name'
,
'@rpath/App.framework/App'
,
'-o'
,
'-o'
,
environment
.
buildDir
environment
.
buildDir
...
@@ -417,6 +418,7 @@ void main() {
...
@@ -417,6 +418,7 @@ void main() {
'-dynamiclib'
,
'-dynamiclib'
,
'-Xlinker'
,
'-rpath'
,
'-Xlinker'
,
'@executable_path/Frameworks'
,
'-Xlinker'
,
'-rpath'
,
'-Xlinker'
,
'@executable_path/Frameworks'
,
'-Xlinker'
,
'-rpath'
,
'-Xlinker'
,
'@loader_path/Frameworks'
,
'-Xlinker'
,
'-rpath'
,
'-Xlinker'
,
'@loader_path/Frameworks'
,
'-fapplication-extension'
,
'-install_name'
,
'@rpath/App.framework/App'
,
'-install_name'
,
'@rpath/App.framework/App'
,
'-o'
,
'-o'
,
environment
.
buildDir
environment
.
buildDir
...
@@ -474,6 +476,7 @@ void main() {
...
@@ -474,6 +476,7 @@ void main() {
'xcrun'
,
'clang'
,
'-arch'
,
'arm64'
,
'-dynamiclib'
,
'-Xlinker'
,
'-rpath'
,
'xcrun'
,
'clang'
,
'-arch'
,
'arm64'
,
'-dynamiclib'
,
'-Xlinker'
,
'-rpath'
,
'-Xlinker'
,
'@executable_path/Frameworks'
,
'-Xlinker'
,
'-rpath'
,
'-Xlinker'
,
'@executable_path/Frameworks'
,
'-Xlinker'
,
'-rpath'
,
'-Xlinker'
,
'@loader_path/Frameworks'
,
'-Xlinker'
,
'@loader_path/Frameworks'
,
'-fapplication-extension'
,
'-install_name'
,
'@rpath/App.framework/App'
,
'-install_name'
,
'@rpath/App.framework/App'
,
'-o'
,
environment
.
buildDir
.
childFile
(
'arm64/App.framework/App'
).
path
,
'-o'
,
environment
.
buildDir
.
childFile
(
'arm64/App.framework/App'
).
path
,
environment
.
buildDir
.
childFile
(
'arm64/snapshot_assembly.o'
).
path
,
environment
.
buildDir
.
childFile
(
'arm64/snapshot_assembly.o'
).
path
,
...
@@ -482,6 +485,7 @@ void main() {
...
@@ -482,6 +485,7 @@ void main() {
'xcrun'
,
'clang'
,
'-arch'
,
'x86_64'
,
'-dynamiclib'
,
'-Xlinker'
,
'-rpath'
,
'xcrun'
,
'clang'
,
'-arch'
,
'x86_64'
,
'-dynamiclib'
,
'-Xlinker'
,
'-rpath'
,
'-Xlinker'
,
'@executable_path/Frameworks'
,
'-Xlinker'
,
'-rpath'
,
'-Xlinker'
,
'@executable_path/Frameworks'
,
'-Xlinker'
,
'-rpath'
,
'-Xlinker'
,
'@loader_path/Frameworks'
,
'-Xlinker'
,
'@loader_path/Frameworks'
,
'-fapplication-extension'
,
'-install_name'
,
'@rpath/App.framework/App'
,
'-install_name'
,
'@rpath/App.framework/App'
,
'-o'
,
environment
.
buildDir
.
childFile
(
'x86_64/App.framework/App'
).
path
,
'-o'
,
environment
.
buildDir
.
childFile
(
'x86_64/App.framework/App'
).
path
,
environment
.
buildDir
.
childFile
(
'x86_64/snapshot_assembly.o'
).
path
,
environment
.
buildDir
.
childFile
(
'x86_64/snapshot_assembly.o'
).
path
,
...
...
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