- 07 Nov, 2023 1 commit
-
-
Daco Harkes authored
If the native assets feature is enabled, and the `build.dart` invocation fails, the `flutter build` and `flutter run` should abort. Closes: https://github.com/flutter/flutter/issues/137910
-
- 27 Sep, 2023 1 commit
-
-
Daco Harkes authored
Support for FFI calls with `@Native external` functions through Native assets on Windows. This enables bundling native code without any build-system boilerplate code. For more info see: * https://github.com/flutter/flutter/issues/129757 ### Implementation details for Windows. Mainly follows the design of https://github.com/flutter/flutter/pull/134031. Specifically for Windows in this PR is the logic for finding the compiler `cl.exe` and environment variables that contain the paths to the Windows headers `vcvars.bat` based on `vswhere.exe`.
-
- 26 Sep, 2023 1 commit
-
-
- 22 Sep, 2023 1 commit
-
-
Daco Harkes authored
Reland of #134031. (Reverted in #135069.) Contains the fix for b/301051367 together with cl/567233346. Support for FFI calls with `@Native external` functions through Native assets on Linux. This enables bundling native code without any build-system boilerplate code. For more info see: * https://github.com/flutter/flutter/issues/129757 ### Implementation details for Linux. Mainly follows the design of https://github.com/flutter/flutter/pull/130494. Some differences are: * Linux does not support cross compiling or compiling for multiple architectures, so this has not been implemented. * Linux has no add2app. The assets copying is done in the install-phase of the CMake build of a flutter app. CMake requires the native assets folder to exist, so we create it also when the feature is disabled or there are no assets. ### Tests This PR adds new tests to cover the various use cases. * packages/flutter_tools/test/general.shard/linux/native_assets_test.dart * Unit tests the Linux-specific part of building native assets. It also extends various existing tests: * packages/flutter_tools/test/integration.shard/native_assets_test.dart * Runs (incl hot reload/hot restart), builds, builds frameworks for Linux and flutter-tester.
-
- 20 Sep, 2023 1 commit
-
-
Xilai Zhang authored
Reverts flutter/flutter#134031 context: b/301051367 Looked at the error message from the broken TAP target, but seems like the failure might be non trivial to resolve. Would it be okay if we revert this for now while it is being triaged?
-
- 18 Sep, 2023 1 commit
-
-
Daco Harkes authored
Support for FFI calls with `@Native external` functions through Native assets on Linux. This enables bundling native code without any build-system boilerplate code. For more info see: * https://github.com/flutter/flutter/issues/129757 ### Implementation details for Linux. Mainly follows the design of https://github.com/flutter/flutter/pull/130494. Some differences are: * Linux does not support cross compiling or compiling for multiple architectures, so this has not been implemented. * Linux has no add2app. The assets copying is done in the install-phase of the CMake build of a flutter app. CMake requires the native assets folder to exist, so we create it also when the feature is disabled or there are no assets. ### Tests This PR adds new tests to cover the various use cases. * packages/flutter_tools/test/general.shard/linux/native_assets_test.dart * Unit tests the Linux-specific part of building native assets. It also extends various existing tests: * packages/flutter_tools/test/integration.shard/native_assets_test.dart * Runs (incl hot reload/hot restart), builds, builds frameworks for Linux and flutter-tester.
-
- 14 Apr, 2023 1 commit
-
-
Kevin Moore authored
flutter-tool: enum cleanup
-
- 03 Mar, 2023 1 commit
-
-
Victoria Ashworth authored
Update device filtering and introduce isConnected and connectionInterface
-
- 31 Jan, 2023 1 commit
-
-
Chris Bracken authored
* Reland: [macos] add flavor options to tool commands Adds --flavor option to flutter run and flutter build. Running against preexisting devicelab flavor tests for feature parity between macOS, iOS, and Android. This relands #118421 by alex-wallen which was reverted in #118858 due to the following test failures: The bail-out with "Host and target are the same. Nothing to install." added in `packages/flutter_tools/lib/src/commands/install.dart` triggered failures in the following tests, which unconditionally attempt to install the built app, which is unsupported on desktop since the host and target are the same: * https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8791495589540422465/+/u/run_flutter_view_macos__start_up/test_stdout * https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8791496218824259121/+/u/run_complex_layout_win_desktop__start_up/test_stdout * https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8791496218165602641/+/u/run_flutter_gallery_win_desktop__start_up/test_stdout Fixes #64088 * Partial revert: eliminate install check on desktop The original flavour support patch included a check that triggered a failure when flutter install is run on desktop OSes. This was intentional, since the host and target devices are the same and installation is unnecessary to launch the app on currently-supported desktop OSes. Note that Windows UWP apps *do* require installation to run, and we used to have an install command for those apps, though UWP is no longer supported. Since that part of the change was orthogonal to flavour support itself, I'm reverting that component of the change and we can deal with it separately if so desired.
-
- 20 Jan, 2023 1 commit
-
-
Jenn Magder authored
This reverts commit 73096fd9.
-
- 19 Jan, 2023 1 commit
-
-
Alex Wallen authored
* Add new macos target configured for flavors * Rename Free App copy-Info.plist to Free App Info.plist * Remove bogus entitlements * Remove Generated.xcconfig * Audit project.pbxproj * Remove unused configs * share one info.plist * Modify scheme so that paid app works * Codesign automatic * Pipe flavor as scheme into xcodebuild * Ignore incoming flavor string * pipe flavor for flutter run to work * Add devicelab tests * Error if host and target device are same for flutter install desktop * Avoid bang (!) by promoting a local. Co-authored-by:
Jenn Magder <magder@google.com> * Add supportsInstall property * Override in test classes * Add install test on macOS * Refactor application_package and add tests for package directory Co-authored-by:
a-wallen <stephenwallen@google.com> Co-authored-by:
Jenn Magder <magder@google.com>
-
- 15 Dec, 2022 1 commit
-
-
hellohuanlin authored
* [tools]some ui polish for build ipa validation * do not print out a few success validations * rename installed type to success for more general usage * forgot nit after reverting custom validation types and re-use doctor types
-
- 24 May, 2022 1 commit
-
-
Jenn Magder authored
-
- 14 May, 2022 1 commit
-
-
Christopher Fujino authored
-
- 17 Mar, 2022 1 commit
-
-
Jesús S Guerrero authored
-
- 08 Oct, 2021 3 commits
-
-
Ian Hickson authored
-
Zachary Anderson authored
This reverts commit 5fd259be.
-
Ian Hickson authored
-
- 25 Jun, 2021 1 commit
-
-
Jonah Williams authored
-
- 14 May, 2021 1 commit
-
-
Taha Tesser authored
-
- 27 Apr, 2021 1 commit
-
-
Jonah Williams authored
-
- 12 Apr, 2021 1 commit
-
-
Jenn Magder authored
-
- 09 Apr, 2021 1 commit
-
-
Jenn Magder authored
-
- 08 Apr, 2021 2 commits
-
-
Jenn Magder authored
-
Jenn Magder authored
-
- 05 Apr, 2021 2 commits
-
-
Jenn Magder authored
-
Jenn Magder authored
-
- 18 Mar, 2021 1 commit
-
-
Marcus Tomlinson authored
* Revert "Add libgcrypt as an explicit dependancy on Linux" This reverts commit bf65b3d03ccdc1dd21c09f34d600d72b0636a784. * libblkid & liblzma not explicitly required either
-
- 12 Mar, 2021 1 commit
-
-
Marcus Tomlinson authored
-
- 26 Feb, 2021 1 commit
-
-
Jonah Williams authored
-
- 18 Feb, 2021 1 commit
-
-
Sam Rawlins authored
-
- 12 Feb, 2021 1 commit
-
-
Hidenori Matsubayashi authored
-
- 08 Feb, 2021 1 commit
-
-
Jonah Williams authored
This reverts commit 8b6baae4.
-
- 04 Feb, 2021 1 commit
-
-
Jonah Williams authored
Our current top crasher is an unclear error when ProcessManager fails to resolve an executable path. To fix this, we'd like to being adjusting the process resolution logic and adding more instrumentation to track failures. In order to begin the process, the ProcessManager has been folded back into the flutter tool
-
- 27 Jan, 2021 1 commit
-
-
Jonah Williams authored
* opt out the flutter tool * oops EOF * fix import * Update tool_backend.dart * Update daemon_client.dart * fix more
-
- 16 Nov, 2020 1 commit
-
-
Marcus Tomlinson authored
-
- 03 Oct, 2020 1 commit
-
-
Jonah Williams authored
Refactors the desktop devices and workflow to remove unnecessary usage of global variables. This should make it easier to test and continue enhancing the desktop functionality of the tooling #47161
-
- 30 Sep, 2020 1 commit
-
-
Jenn Magder authored
-
- 22 Sep, 2020 1 commit
-
-
Jonah Williams authored
-
- 17 Aug, 2020 1 commit
-
-
stuartmorgan authored
-