flutter/packages
Daco Harkes a069e62e8a
Move native assets to isolated/ directory (#142709)
Native assets in other build systems are not built with `package:native_assets_builder` invoking `build.dart` scripts. Instead all packages have their own blaze rules. Therefore we'd like to not depend on `package:native_assets_builder` from flutter tools in g3 at all.

This PR aims to move the imports of `native_assets_builder` and `native_assets_cli` into the `isolated/` directory and into the files with a `main` function that are not used in with other build systems.

In order to be able to remove all imports in files used by other build systems, two new interfaces are added `HotRunnerNativeAssetsBuilder` and `TestCompilerNativeAssetsBuilder`. New parameters are then piped all the way through from the entry points:

* bin/fuchsia_tester.dart
* lib/executable.dart

The build_system/targets dir is already excluded in other build systems.

So, after this PR only the two above files and build_system/targets import from `isolated/native_assets/` and only `isolated/native_assets/` import `package:native_assets_cli` and `package:native_assets_builder`.

Context:

* https://github.com/flutter/flutter/issues/142041
2024-02-06 20:59:49 +00:00
..
flutter Fix CupertinoPageScaffold resizeToAvoidBottomInset (#142776) 2024-02-06 20:57:53 +00:00
flutter_driver Unpin test (#141427) 2024-02-01 18:53:23 +00:00
flutter_goldens Unpin test (#141427) 2024-02-01 18:53:23 +00:00
flutter_localizations Unpin test (#141427) 2024-02-01 18:53:23 +00:00
flutter_test Unpin test (#141427) 2024-02-01 18:53:23 +00:00
flutter_tools Move native assets to isolated/ directory (#142709) 2024-02-06 20:59:49 +00:00
flutter_web_plugins Unpin test (#141427) 2024-02-01 18:53:23 +00:00
fuchsia_remote_debug_protocol Unpin test (#141427) 2024-02-01 18:53:23 +00:00
integration_test Reverts "Update gradle lockfiles template" (#142889) 2024-02-04 14:28:18 +00:00
analysis_options.yaml Unify analysis options (#108462) 2022-07-28 09:07:49 -07:00