Commit graph

145 commits

Author SHA1 Message Date
Tom Prince
204d796929 Bug 1651731: [lint] Python and shell files without #! should not be executable; r=linter-reviewers,perftest-reviewers,geckoview-reviewers,agi,sylvestre,sparky
Differential Revision: https://phabricator.services.mozilla.com/D82954
2020-07-09 20:29:18 +00:00
Emily Toop
bcb67c8680 Bug 1639180 - Port docs to Sphinx and reST and stop copying to GitHub. r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D75935
2020-05-20 15:22:32 +00:00
Mihai Alexandru Michis
e9d51d0f4d Backed out changeset 141fda86ce58 (bug 1639180) for causing rst lint failures.
CLOSED TREE
2020-05-20 15:24:58 +03:00
Emily Toop
3a5a675f9f Bug 1639180 - Port docs to Sphinx and reST and stop copying to GitHub. r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D75935
2020-05-19 14:51:17 +00:00
Geoff Brown
c9edfe9424 Bug 1562339 - Allow customization of command line used to start emulator by 'mach android-emulator'; r=jmaher
Add a --gpu option to 'mach android-emulator' as a convenient way to over-ride the -gpu argument
passed to the emulator.
Also check the environment for MOZ_EMULATOR_COMMAND_ARGS to allow for additional over-rides
of the emulator command line.

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

--HG--
extra : moz-landing-system : lando
2020-04-14 17:58:49 +00:00
Geoff Brown
9ff45f39cd Bug 1556051 - Remove 'mach android-emulator' support for 'x86-4.2' avd; r=aerickson
This is a really old avd, no longer used in automation; it is obsolete.

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

--HG--
extra : moz-landing-system : lando
2020-03-12 16:57:37 +00:00
Geoff Brown
3f66236867 Bug 1599534 - Update help and version names for 'mach android-emulator'; r=erahm
Differential Revision: https://phabricator.services.mozilla.com/D54802

--HG--
extra : moz-landing-system : lando
2019-12-10 23:07:59 +00:00
Emily Toop
544204da37 Bug 1599452 - fix Javadoc naming r=geckoview-reviewers,snorp
An error means that javadoc is being copied to the incorrect folder as the {project} variable is incorrectly formatted

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

--HG--
extra : moz-landing-system : lando
2019-11-26 15:00:42 +00:00
Emily Toop
b9a8bc64fe Bug 1598593 - Copy docs files to root directory in github site r=agi
Differential Revision: https://phabricator.services.mozilla.com/D54272

--HG--
rename : mobile/android/docs/Gemfile => mobile/android/docs/geckoview/Gemfile
rename : mobile/android/docs/_config.yml => mobile/android/docs/geckoview/_config.yml
extra : moz-landing-system : lando
2019-11-25 16:01:52 +00:00
Mihai Alexandru Michis
0adbbe28c4 Backed out changeset 0a9eca512151 (bug 1598593) for causing lint failures in mach_commands.py CLOSED TREE
--HG--
rename : mobile/android/docs/geckoview/Gemfile => mobile/android/docs/Gemfile
rename : mobile/android/docs/geckoview/_config.yml => mobile/android/docs/_config.yml
2019-11-25 16:30:33 +02:00
Emily Toop
4c65213a06 Bug 1598593 - Copy docs files to root directory in github site r=agi
Differential Revision: https://phabricator.services.mozilla.com/D54272

--HG--
rename : mobile/android/docs/Gemfile => mobile/android/docs/geckoview/Gemfile
rename : mobile/android/docs/_config.yml => mobile/android/docs/geckoview/_config.yml
extra : moz-landing-system : lando
2019-11-25 13:54:25 +00:00
Emily Toop
64fd791361 Bug 1585661 - Update mach geckoview-docs command to upload markdown as well as javadoc. r=agi
Slightly reorganize file structure to make copying files over easier. Needs to land in conjunction with https://github.com/mozilla/geckoview/pull/94, which should land first.

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

--HG--
rename : mobile/android/docs/geckoview/Gemfile => mobile/android/docs/Gemfile
rename : mobile/android/docs/geckoview/_config.yml => mobile/android/docs/_config.yml
extra : moz-landing-system : lando
2019-11-14 15:53:53 +00:00
Mihai Alexandru Michis
82b9b5ee82 Backed out 2 changesets (bug 1585661) for causing lint failures. CLOSED TREE
Backed out changeset 915910348bce (bug 1585661)
Backed out changeset 126b37477819 (bug 1585661)

--HG--
rename : mobile/android/docs/Gemfile => mobile/android/docs/geckoview/Gemfile
rename : mobile/android/docs/_config.yml => mobile/android/docs/geckoview/_config.yml
2019-11-14 17:50:28 +02:00
Emily Toop
24c2ec00cd Bug 1585661 - Update mach geckoview-docs command to upload markdown as well as javadoc. r=agi
Slightly reorganize file structure to make copying files over easier. Needs to land in conjunction with https://github.com/mozilla/geckoview/pull/94, which should land first.

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

--HG--
rename : mobile/android/docs/geckoview/Gemfile => mobile/android/docs/Gemfile
rename : mobile/android/docs/geckoview/_config.yml => mobile/android/docs/_config.yml
extra : moz-landing-system : lando
2019-11-14 14:23:46 +00:00
Mihai Alexandru Michis
64a0fd0a54 Backed out 2 changesets (bug 1585661) for causing lint failures.
Backed out changeset c1e90bf96e14 (bug 1585661)
Backed out changeset 1f2c6dc5a14e (bug 1585661)

--HG--
rename : mobile/android/docs/Gemfile => mobile/android/docs/geckoview/Gemfile
rename : mobile/android/docs/_config.yml => mobile/android/docs/geckoview/_config.yml
extra : histedit_source : dbb04b7ddd7036853b5f714e4b61f542903698f5
2019-11-14 15:35:02 +02:00
Emily Toop
4bce142d85 Bug 1585661 - Update mach geckoview-docs command to upload markdown as well as javadoc. r=agi
Slightly reorganize file structure to make copying files over easier. Needs to land in conjunction with https://github.com/mozilla/geckoview/pull/94, which should land first.

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

--HG--
rename : mobile/android/docs/geckoview/Gemfile => mobile/android/docs/Gemfile
rename : mobile/android/docs/geckoview/_config.yml => mobile/android/docs/_config.yml
extra : moz-landing-system : lando
2019-11-14 12:21:29 +00:00
Nick Alexander
c46ec74815 Bug 1580356 - Remove Fennec (Firefox for Android). r=snorp,mshal
This does many things:

1) stops producing (and consuming) `FennecJNI*` JNI wrappers
2) removes the :app and :thirdparty Gradle projects
3) removes relevant pieces of the Gradle target configuration
4) updates lints
5) purges old configurations

After this commit, the `mobile/android` project/application builds
only GeckoView.

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

--HG--
extra : moz-landing-system : lando
2019-10-04 20:55:11 +00:00
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