flutter/packages/flutter_tools/test/commands.shard/permeable
Matan Lurey a6a8caaa73
Read AndroidManifest.xml and emit manifest-impeller-(enabled|disabled) analytics (#150791)
Work towards https://github.com/flutter/flutter/issues/132712.

After this PR, after a completed `flutter build apk` command, we:

- Emit a `manifest-impeller-disabled` command if `io.flutter.embedding.android.EnableImpeller` is `'false'`.
- Emit a `manifest-impeller-disabled` command if `io.flutter.embedding.android.EnableImpeller` is _missing_.
- Emit a `manifest-impeller-enabled` command if `io.flutter.embedding.android.EnableImpeller` is `'true'`.

We will need to change the default (see `_impellerEnabledByDefault` in `project.dart`) before releasing, otherwise we will misreport `manifest-impeller-disabled` at a much higher rate than actual. If there is a way to instead compute the default instead of hard-coding, that would have been good.

See <https://docs.flutter.dev/perf/impeller#android> for details on the key-value pair.

---

I also did a tad of TLC, by removing the (now-defunct) `Usage` events for `flutter build ios`, so they are consistent.

/cc @zanderso, @chinmaygarde, @jonahwilliams
2024-06-25 22:41:23 +00:00
..
data Bump flutter_lints to 3.0 (#136841) 2023-10-18 23:53:08 +00:00
build_aar_test.dart [flutter_tools] disable flutter build AAR for plugins (#137878) 2023-11-08 23:12:08 +00:00
build_apk_test.dart Read AndroidManifest.xml and emit manifest-impeller-(enabled|disabled) analytics (#150791) 2024-06-25 22:41:23 +00:00
build_appbundle_test.dart Add aab as alias for appbundle (#143855) 2024-02-21 18:19:41 +00:00
build_bundle_test.dart Migrate command usage values (#139383) 2023-12-07 16:12:03 +00:00
create_test.dart Update old wiki links (#149544) 2024-06-17 17:26:08 +00:00
devices_test.dart Separate attached and wireless devices (#122615) 2023-03-15 16:35:05 +00:00
packages_test.dart Be tolerant of backticks around directory name in pub output. (#145768) 2024-03-26 19:04:52 +00:00
script_test.dart Null safety migration of packages/flutter_tools/test/commands.shard/permeable (#110710) 2022-09-06 10:22:09 -07:00
upgrade_test.dart Fix an ordering dependency in the flutter_tools upgrade test (#129131) 2023-06-19 11:18:16 -07:00