android-automation-tools
android-automation-tools copied to clipboard
Add tests, a sample, and support for consuming a local GeckoView.
Pull Request checklist
- [x] This PR includes thorough tests or an explanation of why it does not
- [x] This PR includes a CHANGELOG entry or does not need one
- [x] The tests are passing after this PR (
./gradlew test
; consider a pre-push hook)
This really needs somebody else to vet my instructions, 'cuz it's subtle and easy to get wrong. Testing against r-b would be helpful, and/or against the a-c sample browser.
To test meaningfully you don't need a full Gecko build -- an artifact build works just fine. You can verify that you get the artifact build libxul.so
pretty easily.
See also ./gradlew app:dependencies
and ./gradlew androidDependencies
, which both will show substitutions from geckoview-nightly-$ARCH
to geckoview-default-$LOCAL_ARCH
.
This is basically https://bugzilla.mozilla.org/show_bug.cgi?id=1533465 (really, https://phabricator.services.mozilla.com/D22552) but put into Gradle plugin form.
I'll get to this on Monday (my brain is too fried).
And by Monday, I mean tomorrow (Wednesday): sorry for my poor time scheduling.
I'll try to build this locally and get back with my approval or request for changes.
I'm going to try that tomorrow morning, if that's okay with you: I want to do something else besides review code today. :P