Граф коммитов

128 Коммитов

Автор SHA1 Сообщение Дата
Andrew Halberstadt 8336574b61 Bug 1584567 - Merge desktop + android commands (run and install) back together, r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D47626

--HG--
extra : moz-landing-system : lando
2019-09-30 16:59:27 +00:00
Makoto Kato 79f14fa6ca Bug 1575438 - Don't use colon as argument separator on generate-sdk-bindings task. r=nalexander
The colon is drive separator on Windows, so if supporting Windows as build
environment, we have to change it.

Differential Revision: https://phabricator.services.mozilla.com/D44932

--HG--
extra : moz-landing-system : lando
2019-09-20 08:19:51 +00:00
Rob Wu 21f80e5c3a Bug 1576471 - Set ANDROID_SDK_ROOT env var if --with-android-sdk is set r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D43358

--HG--
extra : moz-landing-system : lando
2019-08-26 20:17:41 +00:00
Nick Alexander e592c76817 Bug 1512487 - Part 4: Deprecate `mach android {api-lint,checkstyle,findbugs,lint,test}`. r=agi
It's a pity that Mach's conditions facility can't handle subcommands,
but it's a deep enough limitation that it's not worth addressing for
this patch.

Differential Revision: https://phabricator.services.mozilla.com/D39540

--HG--
extra : moz-landing-system : lando
2019-08-02 20:30:30 +00:00
Johan Lorenzo 13648fa0df Bug 1563711 - Remove target.maven.zip r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D38175

--HG--
extra : moz-landing-system : lando
2019-07-30 15:35:12 +00:00
Agi Sferro 194ec7662a Bug 1568982 - Include source line information in apilint. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D39401

--HG--
extra : moz-landing-system : lando
2019-07-25 20:31:38 +00:00
Agi Sferro 094f958c69 Bug 1522795 - Update android gradle plugin to 3.4.2. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D39106

--HG--
extra : moz-landing-system : lando
2019-07-24 18:48:54 +00:00
Agi Sferro c0e92a8ba1 Bug 1515248 - Run android lints against GeckoView. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D38787

--HG--
extra : moz-landing-system : lando
2019-07-20 17:27:53 +00:00
Johan Lorenzo fb4aabb03b Bug 1557269 - part 1: Re-expose all maven artifacts and beetmove them r=mtabara
Differential Revision: https://phabricator.services.mozilla.com/D34865

--HG--
extra : moz-landing-system : lando
2019-07-05 15:19:14 +00:00
shindli 5715d5b394 Backed out 2 changesets (bug 1557269) for causing bustage because of maven zip not being found CLOSED TREE
Backed out changeset e3d495f69dfb (bug 1557269)
Backed out changeset b469d332f316 (bug 1557269)
2019-07-01 18:10:05 +03:00
Johan Lorenzo 45b8110131 Bug 1557269 - part 1: Remove target.maven.zip r=mtabara
Differential Revision: https://phabricator.services.mozilla.com/D34865

--HG--
extra : moz-landing-system : lando
2019-07-01 14:01:13 +00:00
Nick Alexander e7c693693b Bug 1557805 - Support `mach run {--app,--profile,--setenv}` on Android. r=gbrown
This is just a small step on the path towards support for more
vehicles via the configuration files introduced by Bug 1552519.  It's
enough to invoke GeckoView example.

Differential Revision: https://phabricator.services.mozilla.com/D34952

--HG--
extra : moz-landing-system : lando
2019-06-14 20:14:23 +00:00
Nick Alexander ec2255472a Bug 1521996 - Part 3: Make `mach run` for Android bring Fennec forward by default. r=gbrown
`mach run` as it is doesn't really parallel `mach run` on Desktop;
this makes it a little closer more fully featured.  The underlying
functionality is all there in layers of mozharness; let's make it
easier to get to.

Differential Revision: https://phabricator.services.mozilla.com/D18292

--HG--
extra : moz-landing-system : lando
2019-05-17 22:21:20 +00:00
Nick Alexander 3dd3a36ec4 Bug 1521996 - Part 2: Specialize `mach {run,install}` for Android. r=ahal,gbrown
This just separates out the Android definitions into
mobile/android/mach_commands.py.  There was vestigial support for
running on Android with debuggers, but it was for wiring up JimDB,
which is no longer supported and in fact hasn't worked on actual
devices for a very long time.  (The new flow for running on Android
under a debugger goes through the Android Studio hybrid debugger.)

Differential Revision: https://phabricator.services.mozilla.com/D18291

--HG--
extra : moz-landing-system : lando
2019-05-17 21:40:15 +00:00
Agi Sferro 0578d20e29 Bug 1538760 - Parse all output from checkstyle. r=nalexander
Previously |mach android checkstyle| would only parse one file output form
checkstyle (the app one).

This change makes it so it parses all files, also it reduces noise by
suppressing most output when the test passes.

Differential Revision: https://phabricator.services.mozilla.com/D24737

--HG--
extra : moz-landing-system : lando
2019-04-01 16:20:28 +00:00
James Willcox 73c7980cb9 Bug 1536044 - Fully disable jacoco builds for Android r=agi
Differential Revision: https://phabricator.services.mozilla.com/D25216

--HG--
extra : moz-landing-system : lando
2019-03-28 20:26:45 +00:00
Dustin J. Mitchell aa3ebe8988 Bug 1535171 - fix missed uses of no-argument get_root_url r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D23416

--HG--
extra : moz-landing-system : lando
2019-03-13 23:10:16 +00:00
Andrew Erickson cbb252c256 Bug 1519489 - remove the android 7.0 arm emulator r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D19095

--HG--
extra : moz-landing-system : lando
2019-02-08 01:26:25 +00:00
Dustin J. Mitchell acac7b3b34 Bug 1492664 - generate portable URLs for Android mach commands; r=nalexander
--HG--
extra : rebase_source : 47be441691ca127844525b98f2c06d4871e83ef8
extra : source : bf6d089640eb8c79b183129186cc936ac854a0bf
2018-09-24 16:59:32 +00:00
Agi Sferro 61a9102f42 Bug 1515662 - Make |geckoview-docs| behave like other |mach android| commands. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D15128

--HG--
extra : moz-landing-system : lando
2018-12-20 20:05:39 +00:00
Sebastian Hengst 767c971623 Backed out 21 changesets (bug 1492664) for breaking cron task for nightlies. a=backout
Backed out changeset a7d50dbb2c8e (bug 1492664)
Backed out changeset 2d876c4ece8b (bug 1492664)
Backed out changeset c82285d253de (bug 1492664)
Backed out changeset bf6d089640eb (bug 1492664)
Backed out changeset d9a7f2ce49c3 (bug 1492664)
Backed out changeset 06c466ab4323 (bug 1492664)
Backed out changeset c1ea4a10cc8d (bug 1492664)
Backed out changeset 4c63a04fdd47 (bug 1492664)
Backed out changeset 742b038bb1dd (bug 1492664)
Backed out changeset 911b4b0fb683 (bug 1492664)
Backed out changeset 870c8cec99e5 (bug 1492664)
Backed out changeset 77699b51336b (bug 1492664)
Backed out changeset 29f33f22fd8b (bug 1492664)
Backed out changeset e7f305408708 (bug 1492664)
Backed out changeset 335a92b1f424 (bug 1492664)
Backed out changeset c566f1c8dcdf (bug 1492664)
Backed out changeset c77ae59aba41 (bug 1492664)
Backed out changeset 9c35dd209c6b (bug 1492664)
Backed out changeset a972d6b4434e (bug 1492664)
Backed out changeset 5ea6f03f845e (bug 1492664)
Backed out changeset 0699d3873e44 (bug 1492664)

--HG--
extra : histedit_source : 5cb1f7e50f25d4a875c1a58c86b7dce902e1a89c%2C20f1ab1a843b612cfcc67cf5c6ff745d65abf076
2018-12-20 12:43:22 +02:00
Dustin J. Mitchell e2912e1a9f Bug 1492664 - generate portable URLs for Android mach commands; r=nalexander
--HG--
extra : rebase_source : 1b66dd75378363538464db33ba54ee8b73d0faa0
2018-09-24 16:59:32 +00:00
Margareta Eliza Balazs 2e5e28f518 Backed out 16 changesets (bug 1492664) for breaking developer artifact builds, requested by standard8 a=backout
Backed out changeset 31e500489665 (bug 1492664)
Backed out changeset f4945658d45f (bug 1492664)
Backed out changeset 6d17291b8b92 (bug 1492664)
Backed out changeset 90f3faa36137 (bug 1492664)
Backed out changeset 0b229b00818a (bug 1492664)
Backed out changeset 5eb2c77d70a9 (bug 1492664)
Backed out changeset e1ebad5d89c5 (bug 1492664)
Backed out changeset 3017e5890739 (bug 1492664)
Backed out changeset c8b7e620eabf (bug 1492664)
Backed out changeset d3dfbd848236 (bug 1492664)
Backed out changeset 5c92bb5ac895 (bug 1492664)
Backed out changeset fb7cfca6ebc3 (bug 1492664)
Backed out changeset 0c4101230d4d (bug 1492664)
Backed out changeset b93a0fcc86f3 (bug 1492664)
Backed out changeset 6dc9522ee0bf (bug 1492664)
Backed out changeset 85d7f8b330eb (bug 1492664)
2018-12-19 11:45:29 +02:00
Dustin J. Mitchell 8ea05db701 Bug 1492664 - generate portable URLs for Android mach commands; r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D14219

--HG--
extra : moz-landing-system : lando
2018-12-18 17:26:47 +00:00
Nick Alexander 92b3b36751 Bug 1509572 - Part 2: Don't pass --console=plain and --continue through to Gradle. r=snorp
--console=plain is critical in automation, but it's not always helpful
locally.  Let's try without it for a while.

--continue tries to build additional tasks even after the first
failing task.  It can be useful in automation ('cuz you might see more
errors) but it can also be confusing (because the build fails but
produces additional output).  Let's try without it, too.

Differential Revision: https://phabricator.services.mozilla.com/D12791

--HG--
extra : moz-landing-system : lando
2018-11-26 21:43:22 +00:00
Dorel Luca 508e50ac02 Backed out 6 changesets (bug 1509572) for linting failure. CLOSED TREE
Backed out changeset 9f6a7e664cef (bug 1509572)
Backed out changeset f6653c7d2967 (bug 1509572)
Backed out changeset 122d6f1a1136 (bug 1509572)
Backed out changeset bc6911d14ae0 (bug 1509572)
Backed out changeset bd0729ff0bbc (bug 1509572)
Backed out changeset c4087e8ea340 (bug 1509572)
2018-11-26 23:21:28 +02:00
Nick Alexander af14dfeaf0 Bug 1509572 - Part 2: Don't pass --console=plain and --continue through to Gradle. r=snorp
--console=plain is critical in automation, but it's not always helpful
locally.  Let's try without it for a while.

--continue tries to build additional tasks even after the first
failing task.  It can be useful in automation ('cuz you might see more
errors) but it can also be confusing (because the build fails but
produces additional output).  Let's try without it, too.

Depends on D12790

Differential Revision: https://phabricator.services.mozilla.com/D12791

--HG--
extra : moz-landing-system : lando
2018-11-26 19:17:24 +00:00
Agi Sferro 87e24dcfbf Bug 1506267 - Add android-api-lint to automation; r=nalexander
Depends on D11821

Differential Revision: https://phabricator.services.mozilla.com/D12166

--HG--
extra : moz-landing-system : lando
2018-11-19 16:03:55 +00:00
Cosmin Sabou b3241c824a Backed out 3 changesets (bug 1506267) for apilint build bustage. CLOSED TREE
Backed out changeset 7a53f4ea811b (bug 1506267)
Backed out changeset 5d1c5593fdf3 (bug 1506267)
Backed out changeset 32e919db3735 (bug 1506267)
2018-11-17 00:54:14 +02:00
Agi Sferro bb52d56064 Bug 1506267 - Add android-api-lint to automation; r=nalexander
Depends on D11821

Differential Revision: https://phabricator.services.mozilla.com/D12166

--HG--
extra : moz-landing-system : lando
2018-11-16 22:18:09 +00:00
Nick Alexander c708a893da Bug 1503349 - Add |mach android {build,install}-geckoview_example|. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D10280

--HG--
extra : moz-landing-system : lando
2018-10-31 03:18:54 +00:00
Tudor-Gabriel Vîjială 0f2ee78ad6 Bug 1475256 - Turn archive-geckoview-coverage-artifacts into archive-coverage-artifacts. r=nalexander
Rename the command and extend it to also archive Fennec class files into
another artifact, target.app_classfiles.zip.

Depends on D4142

Differential Revision: https://phabricator.services.mozilla.com/D4143

--HG--
extra : moz-landing-system : lando
2018-09-06 17:00:17 +00:00
Johan Lorenzo 86d185ecdd Bug 1470942 - part 1: Craft zip archive of maven artifacts r=jchen
Same as https://phabricator.services.mozilla.com/D2031 but keeps the old maven artifacts exposed.

Differential Revision: https://phabricator.services.mozilla.com/D2420

--HG--
extra : moz-landing-system : lando
2018-08-16 15:45:13 +00:00
Geoff Brown 2b831a4422 Bug 1483563 - Remove 'mach autophone'; r=bc
Autophone has been retired.
2018-08-15 12:54:08 -06:00
Tudor-Gabriel Vîjială a16d201c28 Bug 1473313 - Part 5: Add in-tree documentation page for Android code coverage. r=nalexander
MozReview-Commit-ID: 20meKbpduha

--HG--
extra : rebase_source : 0383fe0cab846c148e1b20b2ee517730a18fae32
2018-07-31 12:02:08 +01:00
Tudor-Gabriel Vîjială ae279dbf60 Bug 1473313 - Part 1: Set up geckoview build config for androidTest coverage runs. r=nalexander
This patch adds JaCoCo as a dependency for the geckoview androidTest configurations, as well as
the `mach android archive-geckoview-coverage-artifacts` command, and the `--enable-java-coverage`
mozconfig flag.

MozReview-Commit-ID: 36jNAzK44g3

--HG--
extra : rebase_source : 9edc37913a3929ad045270c601c77791d122e363
2018-07-24 11:44:24 +01:00
Andrew Halberstadt 55243d2d87 Bug 1468812 - [ccov] Don't re-download MOZ_FETCHES if it's already been setup by run-task r=marco
The 'codecoverage' mozharness script and a code coverage mach command for Android
did their own custom bootstrapping of MOZ_FETCHES. Now that run-task does this
automatically, we should make sure we aren't downloading MOZ_FETCHES twice.

Depends on D2167.

Differential Revision: https://phabricator.services.mozilla.com/D2368

--HG--
extra : moz-landing-system : lando
2018-07-27 12:44:48 +00:00
Tudor-Gabriel Vîjială ca27308a26 Bug 1474575 - Use the fetch-content script to download grcov for A(test-ccov) builds. r=marco
MozReview-Commit-ID: 5AJ2R72eDjN

--HG--
extra : rebase_source : 57aacc2d1eee39fdbf927602da67fbd0baa62e87
2018-07-12 15:18:27 +01:00
Tudor-Gabriel Vîjială 1c4dd4a36e Bug 1471660 - Integrate code coverage for A(test) junit test suite via JaCoCo plugin. r=marco,nalexander
MozReview-Commit-ID: ElYGmF6zoYg

--HG--
extra : rebase_source : 4e8dfe3c2ee65c3b451caae4e5debde85632ffa4
2018-07-02 11:32:35 +01:00
Geoff Brown 619e1afee0 Bug 1433308 - Change mach android-emulator default to x86-7.0; r=me,a=test-only
The x86-7.0 avd is great and offers much better performance than the arm 4.3
configuration. 7.0 is okay if you need arm / are in an arm context.
2018-06-07 17:00:48 -06:00
Geoff Brown bf2dcd9a16 Bug 1433308 - Remove Android 6.0/x86-6.0 options for mach android-emulator; r=me,a=test-only
mach android-emulator currently supports 6 different avds; I am struggling to maintain
that many configurations. I don't see a lot of value in keeping both 6.0 and 7.0,
and Android 6.0 is not as popular as 7.0. Let's remove 6.0, encouraging 7.0 as an
alternative; same for x86-6.0 -> x86-7.0.
2018-06-07 17:00:45 -06:00
Sylvestre Ledru df3b9c7183 Bug 1464869 - Fix flake8/pep8 issue by hand in mobile/ r=nalexander
MozReview-Commit-ID: 3cG5FY3F2G5

--HG--
extra : rebase_source : 1d0ad39b593bc6ae29d3d94bb8763928d6e06a46
2018-06-04 22:37:17 +02:00
Sylvestre Ledru 4bf3bc91da Bug 1464869 - autopep8 on mobile/ r=nalexander
MozReview-Commit-ID: HtIcv2IeDMy

--HG--
extra : rebase_source : e228c0b96309240555baebb5ba523ad842e6c05e
2018-06-04 22:20:22 +02:00
Nick Alexander bf575d403e Bug 1444546 - Part 4: Use GENERATED_FILES for Android JNI wrapper generation. r=froydnj,jchen
MozReview-Commit-ID: 1IjoQdEMqr8

--HG--
extra : rebase_source : 9f2e539328d83aa15bce0357a8c7d2722d517b2a
2018-03-06 20:09:37 -08:00
Nick Alexander 53a4852ffa Bug 1444546 - Part 3: Use GENERATED_FILES for Android SDK bindings generation. r=froydnj,jchen
MozReview-Commit-ID: 2blmzKTvpj3

--HG--
extra : rebase_source : 0954b407ce6625510eadc67dd9989da949b22110
2018-03-06 19:19:48 -08:00
Jim Chen 50ae81a660 Bug 1433322 - 3. Run GeckoView unit tests with 'mach android test'; r=nalexander
Run unit tests under geckoview/ when running 'mach android test'. This
also lets us run those tests on Taskcluster.

The test report parser for 'mach android test' had a bug where the input
directory was wrong. As a result, we weren't producing test output at
all. This patch fixes the input directory, and outputs an error if no
reports are found at all to avoid this bug in the future.

MozReview-Commit-ID: IiswQaSPCr0
2018-02-08 13:36:22 -05:00
Nick Alexander b45e468335 Bug 1411654 - Pre: Teach |mach gradle| to take GRADLE_FLAGS from the command line. r=maliu
MozReview-Commit-ID: 150llND5h0j

--HG--
extra : rebase_source : 58449c7791d76441dc0068645c7c059877f8cf05
extra : source : d276d3deba053f66d74d258d964cab3fd5358a14
2017-10-25 10:22:42 -07:00
Ryan VanderMeulen ac18fd5152 Backed out 20 changesets (bug 1411654) for incorrect android:debuggable. r=nalexander, a=RyanVM
Backed out changeset cfad693be918 (bug 1411654)
Backed out changeset 55776829a744 (bug 1411654)
Backed out changeset c5bf85d56fed (bug 1411654)
Backed out changeset c270f97bb0da (bug 1411654)
Backed out changeset fde9bf9c14c3 (bug 1411654)
Backed out changeset 01836fd98c63 (bug 1411654)
Backed out changeset 730a70767743 (bug 1411654)
Backed out changeset 690e265c684c (bug 1411654)
Backed out changeset f918500d9cf5 (bug 1411654)
Backed out changeset cec2b8828cc8 (bug 1411654)
Backed out changeset 76085ddd5ac7 (bug 1411654)
Backed out changeset 2b37201606f5 (bug 1411654)
Backed out changeset d0d513d1c379 (bug 1411654)
Backed out changeset e7b0cc801cf1 (bug 1411654)
Backed out changeset 901b304603d9 (bug 1411654)
Backed out changeset 373c9a71d945 (bug 1411654)
Backed out changeset 3dc3beab95f8 (bug 1411654)
Backed out changeset 22a861db1573 (bug 1411654)
Backed out changeset 0850b319efd4 (bug 1411654)
Backed out changeset d276d3deba05 (bug 1411654)

--HG--
rename : mobile/android/app/src/main/res/values-v17/themes.xml => mobile/android/base/resources/values-v17/themes.xml
2018-01-17 15:55:38 -05:00
Nick Alexander f866b2dcc8 Bug 1411654 - Pre: Teach |mach gradle| to take GRADLE_FLAGS from the command line. r=maliu
MozReview-Commit-ID: 150llND5h0j

--HG--
extra : rebase_source : 3c1859be6497dddf4cb9f05af7749cdd485776b7
2017-10-25 10:22:42 -07:00
Jim Chen 0fe980975c Bug 1426244 - 4. Add mach android geckoview-docs command; r=nalexander
Add a './mach android geckoview-docs' command that generates javadoc for
GeckoView using Gradle. Specifying the '--archive' option will generate
a geckoview-javadoc.jar archive. Specifying the '--upload' option,
intended primarily for Taskcluster, will upload the javadoc to Github
pages under the given user/repository.

MozReview-Commit-ID: HfwXlf8aFhw

--HG--
extra : rebase_source : 25ccbf3380ba2c8f391c48c882256f970be92c9f
2018-01-13 17:41:09 -05:00