flutter/packages/flutter_tools/test/general.shard
Daco Harkes ff4a0f676f
Native assets support for Windows (#134203)
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`.
2023-09-27 12:22:58 +00:00
..
android [Android] Add Java/AGP/Gradle incompatibility warning to flutter create (#131444) 2023-09-20 16:01:04 +00:00
base [flutter_tools] Run ShutdownHooks when handling signals (#134590) 2023-09-13 13:05:29 -07:00
build_system Revert "Switch flutter_tools to run frontend server from AOT snapshot" (#135537) 2023-09-27 00:19:42 +00:00
commands Fix flutter attach local engine (#131825) 2023-08-10 17:51:05 +00:00
custom_devices Native assets support for MacOS and iOS (#130494) 2023-09-10 08:07:13 +00:00
dap Upgrade framework pub dependencies, roll engine with rolled dart sdk (#130163) 2023-07-07 13:55:35 -07:00
dart Fix dart pub cache clean command on pub.dart (#128171) 2023-06-15 20:38:04 +00:00
drive Fix: use --web-launch-url and --web-hostname arguments in flutter drive (#131763) 2023-08-10 20:53:08 +00:00
fuchsia Update collection-fors to prefer final (as per updated prefer_final_in_for_each) (#127511) 2023-05-26 23:34:36 +00:00
intellij [flutter_tools] Fix TypeError when a FileSystemException happens during flutter doctor (#133373) 2023-09-05 18:00:07 +00:00
ios Native assets support for Windows (#134203) 2023-09-27 12:22:58 +00:00
linux Native assets support for Windows (#134203) 2023-09-27 12:22:58 +00:00
macos Native assets support for Windows (#134203) 2023-09-27 12:22:58 +00:00
migrations Native assets support for Windows (#134203) 2023-09-27 12:22:58 +00:00
proxied_devices Make PollingDeviceDiscovery start the initial poll faster. (#130755) 2023-07-20 05:01:24 +00:00
reporting
runner Clean up analytics opt in/out flags (#132588) 2023-09-12 22:49:05 +00:00
test Revert "Switch flutter_tools to run frontend server from AOT snapshot" (#135537) 2023-09-27 00:19:42 +00:00
tester Native assets support for MacOS and iOS (#130494) 2023-09-10 08:07:13 +00:00
vscode [tool] In flutter doctor -v, warn when Android Studio version could not be detected. (#126395) 2023-06-01 14:51:30 +00:00
web Native assets support for MacOS and iOS (#130494) 2023-09-10 08:07:13 +00:00
windows Native assets support for Windows (#134203) 2023-09-27 12:22:58 +00:00
analytics_test.dart [flutter_tools] cache flutter sdk version to disk (#124558) 2023-06-15 00:20:30 +00:00
android_plugin_test.dart
application_package_test.dart
args_test.dart [flutter_tools] Precache after channel switch (#118129) 2023-06-09 01:46:24 +00:00
artifact_updater_test.dart Enable unreachable_from_main lint - it is stable now!!1 (#129854) 2023-07-06 00:09:01 +00:00
artifacts_test.dart Revert "Switch flutter_tools to run frontend server from AOT snapshot" (#135537) 2023-09-27 00:19:42 +00:00
asset_bundle_package_fonts_test.dart rename generated asset manifest file back to AssetManifest.bin (from AssetManifest.smcbin) (#128529) 2023-06-09 21:20:50 +00:00
asset_bundle_package_test.dart rename generated asset manifest file back to AssetManifest.bin (from AssetManifest.smcbin) (#128529) 2023-06-09 21:20:50 +00:00
asset_bundle_test.dart [web] Encode AssetManifest.bin as JSON and use that on the web. (#131382) 2023-09-19 22:38:51 +00:00
asset_bundle_variant_test.dart rename generated asset manifest file back to AssetManifest.bin (from AssetManifest.smcbin) (#128529) 2023-06-09 21:20:50 +00:00
asset_test.dart
base_utils_test.dart
build_info_test.dart Add --frontend-server-starter-path option to flutter run and flutter test (#135038) 2023-09-21 14:32:35 -04:00
bundle_builder_test.dart Add --frontend-server-starter-path option to flutter run and flutter test (#135038) 2023-09-21 14:32:35 -04:00
cache_test.dart Allows adding a storage 'realm' to the storage base URL (#131951) 2023-08-09 23:26:05 +00:00
channel_test.dart [flutter_tools] Suppress git output in flutter channel (#128475) 2023-06-13 19:28:06 +00:00
cmake_test.dart Reduce usage of testUsingContext (#131078) 2023-07-24 17:22:25 +00:00
cold_test.dart
common_test.dart
compile_batch_test.dart Revert "Switch flutter_tools to run frontend server from AOT snapshot" (#135537) 2023-09-27 00:19:42 +00:00
compile_expression_test.dart Roll engine, patch expression evaluation (#128255) 2023-06-07 19:48:42 +00:00
compile_incremental_test.dart Revert "Switch flutter_tools to run frontend server from AOT snapshot" (#135537) 2023-09-27 00:19:42 +00:00
compile_test.dart
config_test.dart
convert_test.dart
coverage_collector_test.dart [flutter_tools] Support coverage collection for dependencies (#129513) 2023-07-17 08:42:13 +00:00
crash_reporting_test.dart Appended period remove & Uri parsing fix. (#131293) 2023-07-31 20:42:11 +00:00
create_config_test.dart Suggest a potential valid name for the flutter project when using flutter create (#130900) 2023-07-21 19:09:25 +00:00
daemon_test.dart
dart_plugin_test.dart
desktop_device_test.dart [flutter_tools] remove desktop device restrictions on Impeller. (#130430) 2023-07-13 16:26:02 +00:00
devfs_test.dart Native assets support for MacOS and iOS (#130494) 2023-09-10 08:07:13 +00:00
device_port_forwarder_test.dart
device_test.dart New tooling for iOS 17 physical devices (#131865) 2023-08-09 19:25:12 +00:00
devtools_launcher_test.dart
emulator_test.dart Reland "[tool] Move Java functions to their own file" (#126577) 2023-05-20 06:29:21 +00:00
fake_native_assets_build_runner.dart Native assets support for Windows (#134203) 2023-09-27 12:22:58 +00:00
fake_process_manager_test.dart
features_test.dart Native assets support for MacOS and iOS (#130494) 2023-09-10 08:07:13 +00:00
flutter_manifest_test.dart
flutter_platform_test.dart Upgrade framework pub dependencies, roll engine with rolled dart sdk (#130163) 2023-07-07 13:55:35 -07:00
flutter_project_metadata_test.dart Native assets support for MacOS and iOS (#130494) 2023-09-10 08:07:13 +00:00
flutter_tester_device_test.dart Fix race condition in flutter test when passing --serve-observatory (#123556) 2023-04-20 13:46:33 -04:00
flutter_validator_test.dart Give channel descriptions in flutter channel, use branch instead of upstream for channel name (#126936) 2023-05-23 19:59:20 +00:00
generate_localizations_test.dart Relax syntax for gen-l10n (#130736) 2023-07-18 13:59:48 -07:00
github_template_test.dart
hot_test.dart Native assets support for MacOS and iOS (#130494) 2023-09-10 08:07:13 +00:00
html_utils_test.dart flutter-tool, web: update HTML template serviceWorkerVersion to be const (#124826) 2023-04-14 02:01:21 +00:00
integration_test_device_test.dart
license_collector_test.dart
mdns_discovery_test.dart New tooling for iOS 17 physical devices (#131865) 2023-08-09 19:25:12 +00:00
message_parser_test.dart Relax syntax for gen-l10n (#130736) 2023-07-18 13:59:48 -07:00
persistent_tool_state_test.dart
plugin_parsing_test.dart
plugins_test.dart Add spaces after flow control statements (#126320) 2023-05-15 11:07:30 +02:00
preview_device_test.dart Native assets support for MacOS and iOS (#130494) 2023-09-10 08:07:13 +00:00
project_file_invalidator_test.dart
project_test.dart Makes scheme and target optional parameter when getting universal lin… (#134571) 2023-09-15 21:01:05 +00:00
project_validator_result_test.dart
protocol_discovery_test.dart
pub_dependencies_project_validator_test.dart
resident_devtools_handler_test.dart Reland "Fix issue where DevTools would not be immediately available when using --start-paused (#126698)" (#129368) 2023-06-28 00:16:13 +05:30
resident_runner_test.dart [flutter_tools] fix tests with no native assets running native asset build (#135474) 2023-09-26 23:05:11 +00:00
resident_web_runner_cold_test.dart
resident_web_runner_test.dart Native assets support for MacOS and iOS (#130494) 2023-09-10 08:07:13 +00:00
run_hot_test.dart Reduce usage of testUsingContext (#131078) 2023-07-24 17:22:25 +00:00
template_test.dart Locate the template directory using a TemplatePathProvider. (#132156) 2023-08-08 21:43:00 +00:00
terminal_handler_test.dart Update the tool to know about all our new platforms (#132423) 2023-08-24 21:54:59 +00:00
testbed_test.dart
time_test.dart
tracing_test.dart
update_packages_test.dart Unpin url launcher (remake) (#134958) 2023-09-20 02:43:57 +00:00
utils_test.dart fix(flutter_tools): findBundleFile w/multiple flavor dimensions (#127133) 2023-05-19 15:00:53 +00:00
version_test.dart [flutter_tools] Fix "FormatException: Invalid date format" during version freshness check (#134088) 2023-09-06 17:22:13 +00:00
vmservice_test.dart Removes ios universal link vmservices and let xcodeproject to dump js… (#133709) 2023-08-31 21:50:54 +00:00
windows_version_validator_test.dart
xcode_backend_test.dart Add --frontend-server-starter-path option to flutter run and flutter test (#135038) 2023-09-21 14:32:35 -04:00