flutter/dev/devicelab/lib/framework
Gray Mackall 2afaa619cb
Migrate module templates to declarative application of the Flutter Gradle Plugin (#159770)
Fixes https://github.com/flutter/flutter/issues/159729

Cases to consider:
1. Building the module as a standalone app (`flutter run`)
2. Building the module as an aar (`flutter build aar`) 
3. Doing (2) and then building an android host app that depends on the
aar.
4. Building the host app with it depending on the module as source.

Manually tested all 4 and they all are working.

Modified `build_android_host_app_with_module_aar.dart` and
`build_android_host_app_with_module_source.dart` to add checks on
`stderr` to ensure we don't hit the log.


## Pre-launch Checklist

- [x] I read the [Contributor Guide] and followed the process outlined
there for submitting PRs.
- [x] I read the [Tree Hygiene] wiki page, which explains my
responsibilities.
- [x] I read and followed the [Flutter Style Guide], including [Features
we expect every widget to implement].
- [x] I signed the [CLA].
- [x] I listed at least one issue that this PR fixes in the description
above.
- [x] I updated/added relevant documentation (doc comments with `///`).
- [x] I added new tests to check the change I am making, or this PR is
[test-exempt].
- [x] I followed the [breaking change policy] and added [Data Driven
Fixes] where supported.
- [ ] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel
on [Discord].

<!-- Links -->
[Contributor Guide]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#overview
[Tree Hygiene]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md
[test-exempt]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#tests
[Flutter Style Guide]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md
[Features we expect every widget to implement]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md#features-we-expect-every-widget-to-implement
[CLA]: https://cla.developers.google.com/
[flutter/tests]: https://github.com/flutter/tests
[breaking change policy]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#handling-breaking-changes
[Discord]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Chat.md
[Data Driven Fixes]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Data-driven-Fixes.md

---------

Co-authored-by: Gray Mackall <mackall@google.com>
2024-12-05 21:32:58 +00:00
..
ab.dart [web] fix --ab option for web benchmarks (#154574) 2024-11-06 18:07:17 +00:00
apk_utils.dart [Android] Removes dev dependency plugins from release builds (#158026) 2024-12-04 18:13:07 +00:00
browser.dart Add info strings to code blocks. (#146085) 2024-04-01 14:05:16 -07:00
cocoon.dart Remove unnecessary null checks in dev/devicelab (#118842) 2023-01-20 18:56:44 +00:00
dependency_smoke_test_task_definition.dart Use Gradle KTS in new Android app projects by default (2nd try) (#157195) 2024-10-22 17:28:31 +00:00
devices.dart [devicelan] opt android devices into fixed performance mode. (#154016) 2024-08-23 18:11:25 +00:00
framework.dart [ Cocoon ] Wait for task results to be received by the task runner before shutting down the task process (#156002) 2024-10-02 17:01:24 -04:00
host_agent.dart migrate host agent (#84755) 2021-06-22 12:21:03 -07:00
ios.dart pattern-matching refactor (#154753) 2024-10-03 18:21:04 +00:00
metrics_center.dart pattern-matching refactor (#154753) 2024-10-03 18:21:04 +00:00
runner.dart [ Cocoon ] Wait for task results to be received by the task runner before shutting down the task process (#156002) 2024-10-02 17:01:24 -04:00
running_processes.dart Remove unnecessary null checks in dev/devicelab (#118842) 2023-01-20 18:56:44 +00:00
talkback.dart Migrates android semanitcs integration to integration test (#127128) 2023-05-23 22:33:19 +00:00
task_result.dart Migrate devicelab framework code to null safety. (#86325) 2021-07-13 12:14:50 -07:00
utils.dart Migrate module templates to declarative application of the Flutter Gradle Plugin (#159770) 2024-12-05 21:32:58 +00:00