Phil Quitslund
96e4b47f5d
sort directives ( #81624 )
2021-05-02 07:24:01 -07:00
Jonah Williams
50ace38c32
[flutter_tools] make bundle-sksl-path a define ( #81576 )
2021-04-30 17:39:07 -07:00
Matej Knopp
f6726b425d
Add support for DarwinArchs when assembling macOS App.framework ( #81243 )
2021-04-28 11:33:36 -07:00
xster
ff2dde2c7f
Reland double gzip wrapping NOTICES to reduce on-disk installed space ( #80897 )
2021-04-26 22:35:45 -07:00
Phil Quitslund
61c30c41b2
fix sort_directives violations ( #80817 )
2021-04-21 13:49:03 -07:00
Jonah Williams
be2c68c85c
[flutter_tools] cache for UWP artifacts ( #80069 )
2021-04-09 10:59:01 -07:00
Jenn Magder
eb9a2f0ca5
Move cache from globals to globals_null_migrated ( #79900 )
2021-04-06 17:57:40 -07:00
Jonah Williams
4d1b74a0df
[flutter_tools] generate empty plugin registrants for winuwp and fix local engine for winuwp_ ( #79827 )
2021-04-06 13:13:20 -07:00
Jenn Magder
8ddc27e607
Split globals.dart into null sound and unsound libraries ( #79016 )
2021-03-31 16:55:20 -07:00
Jonah Williams
2eabb17215
[flutter_tools] migrate tool_backend.dart to null safety and add testing of exit conditions ( #78988 )
2021-03-24 15:23:21 -07:00
Jenn Magder
6a4dd4cfb4
Skip linking on Flutter for CocoaPods transitive dependencies ( #78592 )
2021-03-19 15:33:20 -07:00
Michael Goderbauer
197b440e96
Migrate out custom ignore syntax to flutter_ignore ( #78497 )
2021-03-19 15:33:05 -07:00
Jenn Magder
d0a29dc10c
Allow local networking Info.plist insertion to fail ( #78085 )
2021-03-13 14:38:02 -08:00
Jenn Magder
7b1aec70ae
Move iOS codesigning into assemble build target ( #77664 )
2021-03-09 11:45:16 -08:00
Jenn Magder
7e02cc34f9
Bitcode strip Flutter.framework in assemble build target ( #77329 )
2021-03-05 10:38:57 -08:00
Jenn Magder
eee0dc8441
Exclude arm64 from valid iOS simulators ( #73828 )
2021-03-03 18:58:37 -08:00
Jenn Magder
3969e5b47b
Move iOS Flutter.framework thinning into copy assemble build target ( #77007 )
2021-03-01 15:45:02 -08:00
omerlevran46
f996033fcc
[fuchsia] - migrate devicer discovery workflows to use ffx ( #76241 )
2021-03-01 13:16:13 -08:00
Jenn Magder
5bc100da31
Move iOS framework thinning into the tool ( #76665 )
2021-02-24 18:02:43 -08:00
Jenn Magder
e94f36a7c5
Skip assemble version check in tool backend scripts ( #76414 )
2021-02-22 10:54:19 -08:00
Hidenori Matsubayashi
4cc0ab2d19
[flutter_tools] Add ARM64 Linux host and cross-building option support ( #61221 )
2021-02-12 14:25:30 -08:00
Jenn Magder
7711c1ef8f
Suggest precache instead of build when engine artifacts are missing ( #75351 )
2021-02-03 13:14:38 -08:00
Jia Hao
efd487922d
[flutter_tools] Merge some test options into DebuggingOptions ( #75213 )
2021-02-02 19:31:03 -08:00
Jonah Williams
44d5950d27
[flutter_tools] switch dart defines to base64 to avoid windows control characters ( #75027 )
...
= gets escaped into %3D which seems to be tripping up cmake on windows since % is a control character. Switch to base64 encoding, since this does not have % nor , in the output character set.
This change is not trivially cherry pickable, and isn't tested on windows aside from my local, manual tests due to the planned CI work not being complete yet.
Fixes #75017
Fixes #74705
2021-02-02 09:10:48 -08:00
Jonah Williams
74bd7b6f6d
[flutter_tools] opt all flutter tool libraries and tests out of null safety. ( #74832 )
...
* opt out the flutter tool
* oops EOF
* fix import
* Update tool_backend.dart
* Update daemon_client.dart
* fix more
2021-01-27 15:17:53 -08:00
Jia Hao
22f1700427
[flutter_tools] Make setting of CWD consistent for flutter test ( #74622 )
2021-01-25 22:34:03 -08:00
J-P Nurmi
e1ff62a78c
[flutter_tools] propagate build errors from the backend ( #72196 )
2021-01-14 13:39:05 -08:00
Jenn Magder
f63055a895
Revert "Exclude arm64 from valid iOS simulators ( #73755 )" ( #73807 )
...
This reverts commit 201e5e4ecb
.
2021-01-12 13:02:46 -08:00
Jenn Magder
201e5e4ecb
Exclude arm64 from valid iOS simulators ( #73755 )
2021-01-12 10:35:24 -08:00
Jenn Magder
66145fe652
Force plugins to inherit minimum macOS version from Flutter app ( #72764 )
2021-01-11 11:16:12 -08:00
Jenn Magder
f596fdc008
Revert "Exclude arm64 from valid iOS simulators ( #73458 )" ( #73511 )
...
This reverts commit 273630c09d
.
2021-01-07 14:06:32 -08:00
Jenn Magder
273630c09d
Exclude arm64 from valid iOS simulators ( #73458 )
2021-01-07 13:03:52 -08:00
Jenn Magder
f08b1ae637
Avoid broken symlinks in embedded Flutter frameworks ( #73052 )
2020-12-28 14:39:02 -08:00
Jenn Magder
7aacff2216
Exclude ARM from macOS builds ( #72748 )
2020-12-21 16:05:24 -08:00
Jenn Magder
d6857bc026
Build/copy macOS frameworks to built products instead of ephemeral directory ( #72378 )
2020-12-17 14:47:05 -08:00
Jenn Magder
1c18cf3da8
Move macOS Podfile logic into the tool ( #72020 )
2020-12-17 11:48:16 -08:00
xster
ca82c572b7
Revert "let NOTICES be double gzip wrapped to reduce on-disk installed space ( #71899 )" ( #72438 )
2020-12-16 10:58:19 -08:00
xster
4ed3432e8f
let NOTICES be double gzip wrapped to reduce on-disk installed space ( #71899 )
2020-12-15 13:29:14 -08:00
Jenn Magder
1129e6f86c
Move embedding and linking macOS Flutter frameworks into the tool ( #72372 )
2020-12-15 12:05:44 -08:00
Jenn Magder
79a514382c
Allow plugins to support bitcode ( #72151 )
2020-12-11 14:56:52 -08:00
Jenn Magder
d553aa06c7
Revert "Reland Move embedding and linking macOS Flutter frameworks into the tool ( #71965 )" ( #72012 )
...
This reverts commit 0b6b3eecfe
.
2020-12-09 11:19:49 -08:00
Jenn Magder
0b6b3eecfe
Reland Move embedding and linking macOS Flutter frameworks into the tool ( #71965 )
2020-12-09 09:46:53 -08:00
Jenn Magder
c88ab79bd2
Revert "Move embedding and linking macOS Flutter frameworks into the tool ( #71764 )" ( #71951 )
...
This reverts commit 70f8fdeeed
.
2020-12-08 15:28:30 -08:00
Jenn Magder
70f8fdeeed
Move embedding and linking macOS Flutter frameworks into the tool ( #71764 )
2020-12-08 11:59:17 -08:00
Jenn Magder
b372c52b2f
Remove unused local from xcode_backend ( #71752 )
2020-12-04 16:23:05 -08:00
Jenn Magder
d4150d3f6d
Adopt Flutter.xcframework in tool ( #71495 )
2020-12-04 13:57:11 -08:00
Jenn Magder
9bbc2177ec
Move Flutter.podspec to add-to-app project template ( #71103 )
2020-11-24 10:16:09 -08:00
Jonah Williams
8d15fa3936
[flutter_tools] remove unused/deprecated asset flags ( #70509 )
2020-11-17 11:02:14 -08:00
Jenn Magder
2529e358b6
Move Flutter.framework to build directory instead of ios/Flutter ( #70224 )
2020-11-17 10:09:29 -08:00
Jonah Williams
a40ee8a3fb
[flutter_tools] migrate .packages to package_config, partial ( #70200 )
2020-11-11 13:50:41 -08:00
Jenn Magder
1be922c353
Build either iphoneos or iphonesimulator App.framework, not both ( #69840 )
2020-11-05 14:22:24 -08:00
Jenn Magder
53410c4bb9
Compile snapshot_assembly with sdk root set in Xcode ( #69731 )
2020-11-04 10:32:01 -08:00
Jenn Magder
91b82347af
Build App.framework directly to build directory ( #69699 )
2020-11-03 12:48:25 -08:00
Jonah Williams
a2a4e9eda4
Revert "Build App.framework directly to build directory ( #69612 )" ( #69641 )
...
This reverts commit b77088319a
.
2020-11-02 20:12:47 -08:00
Jenn Magder
b77088319a
Build App.framework directly to build directory ( #69612 )
2020-11-02 18:48:03 -08:00
Jonah Williams
6cd847c767
[flutter_tools] update test platform to use buildInfo instead of mode + additional params ( #69033 )
2020-10-26 18:50:17 -07:00
Jonah Williams
0f28edac65
[flutter_tools] null safety mode is used for dill naming ( #68898 )
...
* [flutter_tools] null safety mode is used for dill naming
* add bad test case
2020-10-23 15:39:58 -07:00
Jenn Magder
aea070790f
Turn off CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER in CocoaPod targets ( #68817 )
2020-10-22 22:02:04 -07:00
Jonah Williams
cb5865d86c
[flutter_tools] add some versions to tool sources, cleanup build.yaml ( #68624 )
2020-10-20 09:50:31 -07:00
Jenn Magder
65159afb55
Force plugins to inherit minimum iOS version from Flutter app ( #66590 )
2020-09-28 10:14:47 -07:00
Michael R Fairhurst
7f3c9b6bda
Remove unused 'dart:async' imports. ( #65568 )
2020-09-16 14:14:06 -07:00
Jenn Magder
7e27b140f0
Avoid thinning frameworks in iOS extensions ( #65198 )
2020-09-15 11:10:25 -07:00
Jenn Magder
ace54425e0
Add observatory Bonjour service to built iOS Info.plist bundle ( #65138 )
2020-09-02 18:47:56 -07:00
Jenn Magder
259deec221
Revert "Add observatory Bonjour service to built iOS Info.plist bundle ( #65138 )" ( #65141 )
...
This reverts commit 5e0aa8b9fc
.
2020-09-02 18:31:45 -07:00
Jenn Magder
5e0aa8b9fc
Add observatory Bonjour service to built iOS Info.plist bundle ( #65138 )
2020-09-02 17:57:43 -07:00
Jenn Magder
2e67bf2e32
Require xcode_backend.sh arguments (introduced in Flutter v0.0.7) ( #65124 )
2020-09-02 16:33:26 -07:00
Jenn Magder
cb819504f3
Revert "Add observatory Bonjour service to built iOS Info.plist bundle ( #64988 )" ( #65109 )
...
This reverts commit 4fde217dea
.
2020-09-02 12:31:17 -07:00
Jenn Magder
4fde217dea
Add observatory Bonjour service to built iOS Info.plist bundle ( #64988 )
2020-09-02 11:11:07 -07:00
Zachary Anderson
dff7ea1c4f
Revert "Avoid thinning frameworks in iOS extensions ( #64674 )" ( #64829 )
...
This reverts commit ce9cde8c4e
.
2020-08-28 15:23:22 -07:00
Jenn Magder
ce9cde8c4e
Avoid thinning frameworks in iOS extensions ( #64674 )
2020-08-28 10:43:04 -07:00
Jonah Williams
059de1537e
[flutter_tools] support code size tooling on iOS, linux, windows, macOS, and Android on Windows ( #63610 )
...
Adds support for size analysis on iOS, macOS, linux, and Windows - using an uncompressed directory based approach. The output format is not currently specified.
Adds support for size analysis on android on windows, switching to package:archive
Updates the console format to display as a tree, allowing longer paths. Increases the number of dart libraries shown (to avoid only ever printing the flutter/dart:ui libraries, which dominate the size)
2020-08-25 10:00:24 -07:00
Michael Klimushyn
cb69bbb4d5
Remove unused l
and --isolate-filter
tools ( #63336 )
2020-08-10 10:51:04 -07:00
Jonah Williams
78efd3eb46
[flutter_tools] ensure desktop builds can run without flutter_tools' package_config ( #62426 )
2020-07-28 18:36:05 -07:00
Jonah Williams
8be1c9ef25
[flutter_tools] turn off fuchsia support by default ( #61634 )
2020-07-21 02:26:04 -07:00
stuartmorgan
4b12050112
Switch Windows to CMake ( #60629 )
...
* First pass at CMake files; untested
* First pass of adding CMake generation logic on Windows
* Misc fixes
* Get bundling working, start incoprorating CMake build into tool
* Fix debug, exe name.
* Add resources
* Move cmake.dart
* Rip out all the vcxproj/solution plumbing
* Fix plugin cmake generation
* Build with cmake rather than calling VS directly
* Adjust Windows plugin template to match standard header directory structure
* Pass config selection when building
* Partially fix multi-config handling
* Rev template version
* Share the CMake generation instead of splitting it out
* VS build/run cycle works, with slightly awkward requirement to always build all
* Update manifest
* Plugin template fixes
* Minor adjustments
* Build install as part of build command, instead of separately
* Test cleanup
* Update Linux test for adjusted generated CMake approach
* Plugin test typo fix
* Add missing stub file for project test
* Add a constant for VS generator
2020-07-06 12:59:16 -07:00
Jenn Magder
3744b82d8c
Support .flutter-plugins-dependencies ( #59209 )
2020-06-11 13:25:01 -07:00
Jenn Magder
319a61fd81
Move iOS Podfile logic into tool ( #59044 )
2020-06-10 14:12:48 -07:00
Jonah Williams
ec4049e781
[flutter_tools] support bundle-sksl-path on all desktop and mobile targets ( #58879 )
...
Adds support for --bundle-sksl-path to windows, linux, macOS, and iOS.
Fixes #53115
2020-06-09 11:15:52 -07:00
Jonah Williams
f5de6aadd4
[flutter_tools] remove zone level overrides of verbose and daemon logging ( #57448 )
...
Make it possible for all FlutterCommands to be global free, by moving instantiation to inside the Zone context. Additionally, provide VerboseLogger and NotifyLogger (daemon) at the top level and remove from command-specific overrides.
This allows removing a work around where web devices needed to look up directly from the context in non-test code.
Technically the output preferences are still zone injected, but these will be moved soon as they were not being used correctly by the top level command (the injection comes after ArgParser reads the overflow values, causing numerous wrap issues)
2020-06-04 16:35:36 -07:00
Jonah Williams
b1d75fc99d
[flutter_tools] add flag for sound-null-safety, unify with experiments ( #58533 )
...
Also combines experiments into extraGenSnapshot/ExtraFrontEndOptions. Allows providing --no-sound-null-safety to allow out of order migration and running.
2020-06-03 21:02:07 -07:00
Marcus Tomlinson
5ee5490a63
[flutter_tools] Support profile and release builds on Linux ( #57135 )
2020-05-29 15:38:02 -07:00
stuartmorgan
9989c54cb1
Add release and profile support for Windows ( #57749 )
...
Builds and bundles an 'app.so' containing AOT data, and downloads and packages the release/profile artifacts for those builds, rather than always using the debug artifacts.
Fixes https://github.com/flutter/flutter/issues/38477
Fixes https://github.com/flutter/flutter/issues/39664
2020-05-28 12:17:56 -07:00
Dan Field
98ce4a5dfe
Remove invalid local
from macos_assemble.sh ( #58030 )
...
When you run this, bash complains that `local` is only valid in functions. Gets rid of that extraneous warning.
2020-05-27 10:19:17 -07:00
Jenn Magder
43f18f36ef
Change release archive check to warning ( #57688 )
2020-05-27 10:08:41 -07:00
Jenn Magder
d9adfe3f7e
Allow FLUTTER_APPLICATION_PATH to be null for misconfigured Xcode projects ( #57701 )
2020-05-27 10:08:09 -07:00
shihchanghsiungsonos
bcc42901ad
Fix xcode_backend.sh to strip bitcode for archive build, if the project has bitcode disabled entirely ( #57027 )
2020-05-14 10:57:11 -07:00
Jonah Williams
0ecc7a4bee
[flutter_tools] support multiple fuchsia devices ( #55780 )
...
Fixes #55765
We are currently only returning the first device from dev-finder, instead we need to look at the whole list.
2020-05-05 13:40:38 -07:00
Jonah Williams
6dc1e83f12
[flutter_tools] ensure track-widget-creation can be disabled on Android/macOS ( #56203 )
...
Ensure --no-track-widget-creation is piped through android/macOS. Adds integration testing for iOS/android/macOS
2020-05-04 11:22:15 -07:00
Jonah Williams
2a5690f097
[flutter_tools] fix iOS build inconsistencies and pipe through performance file ( #56094 )
...
Ensure iOS and android builds can be correctly cached. Use the performance-measurement-file to verify that all targets were skipped on the second invocation. This is only run on the flutter_gallery build.
2020-05-01 15:34:28 -07:00
Jenn Magder
5cc87a5ea5
Remove dead variable from xcode_backend ( #55790 )
2020-04-27 17:05:54 -07:00
Jonah Williams
1ab3878996
[flutter_tools] support --enable-experiment in flutter test ( #55564 )
...
Support --enable-experiment in flutter test (for flutter_tester). Required minor change for null safety.
2020-04-27 14:47:43 -07:00
Jonah Williams
543186f105
[flutter_tools] quality pass on windows build ( #55436 )
2020-04-23 12:29:48 -07:00
Jonah Williams
c8164dad80
[flutter_tools] migrate windows to assemble ( #55187 )
2020-04-22 12:26:49 -07:00
Jonah Williams
0b3f5cfcc0
[flutter_tools] initial support for enable experiment, run, apk, ios, macos ( #54617 )
2020-04-21 20:39:36 -07:00
Jonah Williams
d46da3ae11
[flutter_tools] remove PackageMap and finish PackageConfig migration ( #55244 )
2020-04-21 19:55:15 -07:00
Jonah Williams
e092dcfa22
[flutter_tools] Reland: fix multiple dart defines ( #54973 )
2020-04-16 10:56:49 -07:00
Jonah Williams
11ab2fa35c
Revert "[flutter_tools] fix multiple defines in flutter tooling, web ( #54909 )" ( #54967 )
...
This reverts commit b8bd09db21
.
2020-04-16 08:33:16 -07:00
Jonah Williams
b8bd09db21
[flutter_tools] fix multiple defines in flutter tooling, web ( #54909 )
2020-04-15 22:25:32 -07:00
Jonah Williams
2f23476cbb
[flutter_tools] dont supress analytics from re-entrant macos build ( #54805 )
2020-04-15 10:45:03 -07:00
Jonah Williams
e23c4796a3
Expose extra frontend options through build apk/ios/macOS ( #53273 )
...
This will allow experimenting with the remove to string transformer before we're ready to turn it on by default. This doesn't work for web yet since we use dart2js instead of the frontend_server for producing kernel
2020-03-25 16:56:41 -07:00