Commit Graph
5079 Commits
Author SHA1 Message Date
Mike Hommey f2cdfd162a Bug 1540788 - Make mach bootstrap choose arm target depending on the rust version. r=nalexander
Bootstrap is happy with rust version 1.32, but that version of rust
doesn't support the thumbv7neon target that we're trying to install
since bug 1539005. So install the armv7 target when rust is version
1.32.

Differential Revision: https://phabricator.services.mozilla.com/D25683
2019-04-02 03:31:26 +00:00
Nick Alexander dc83c80a2c Bug 1525968 - Make local development artifact builds on Android download full build symbols. r=froydnj
We produce two types of build symbol archives in automation:

- "crashreporter-symbols.zip" contains Breakpad-format .sym files
- "crashreporter-symbols-full.zip" contains Breakpad-format .sym files
  and compressed ELF debug symbol .dbg.gz files

Right now, `--enable-artifact-build-symbols` from Bug 1305502
downloads only "crashreporter-symbols.zip".

The Android Studio version of lldb, currently 7.0.0, doesn't support
Breakpad-format .sym files. It does support (uncompressed) ELF debug
symbols.  (Note that gdb isn't supported on Android and hasn't been for
some time.)

This makes ` --enable-artifact-build-symbols` download the full
symbols for Android builds that aren't in automation, to be useful for
debugging Android builds with lldb locally.

Differential Revision: https://phabricator.services.mozilla.com/D19091
2019-03-27 22:37:40 +00:00
Nick Alexander 980fa5c1cd Bug 1525968 - Pre: Log more with ./mach artifact install -v. r=froydnj
It's not helpful to have a DEBUG log level, 'cuz the -v flag to
`./mach artifact install` doesn't turn on DEBUG logging.

Differential Revision: https://phabricator.services.mozilla.com/D19090
2019-03-27 22:37:30 +00:00
Oana Pop Rus 6d67e85d84 Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-04-23 01:18:37 +03:00
Kris Maglione 16351b6676 Bug 1545583: Remove unnecessary packages from ArchLinux bootstrap script. r=nalexander
This patch removes the packages which are obviously unnecessary, either
because they're entirely unused (e.g., imake), or because they're built
in-tree (e.g., nss, icu, hunspell) by default.

xorg-server-xvfb is arguably also not necessary, but is probably useful enough
to keep. Some of the others I'm unsure about, so I've left as well.

Differential Revision: https://phabricator.services.mozilla.com/D28140
2019-04-22 13:32:52 -07:00
Mike Hommey 1449257826 Followup for bug 1539355: Make it work for the root directory. r=me
When an added file is not under an app or addon directory, its base
directory is ''. The code added in bug 1539355 would skip doing its
thing in that case, which it shouldn't.

Also revert the workaround from bug 1525762.
2019-03-31 07:27:43 +09:00
Kris Maglione b0bf54b8ac Bug 1525762: Part 1j - Work around XPI omni.jar packaging issues. r=bustage CLOSED TREE
We have some convoluted packaging logic to automatically package any directory
with a manifest.json file as an XPI. Unfortunately, that logic also applies to
extensions that are supposed to be part of omni.ja.

It would be nice to have a cleaner way to filter out any resources which we've
already flagged to be part of omni.ja, but this patch takes the simpler
approach of just including anything that's in a modules/ directory, which is
whitelisted for omni.ja elsewhere.
2019-03-22 17:29:21 -07:00
Yuan Cheng bb2c758172 Bug 1523761 - Move the syncedTabs strings from browser.dtd to fluent, r=Gijs,flod
Differential Revision: https://phabricator.services.mozilla.com/D22980
2019-03-28 00:07:48 +00:00
Oana Pop Rus 9285d1c77c Merge inbound to mozilla-central. a=merge 2019-03-29 23:54:39 +02:00
Brian 83c5bc6d2e Bug 1523763 - Move tab context menu strings to FTL file loaded on-demand. r=Gijs,flod
Moved tab context menu out of browser.dtd to browser.xul except for sendPageToDevice, sendLinkToDevice, moveTabOptions, moveSelectedTabOptions, undoCloseTab. Not sure if tabbrowser.js and tabbrowser.xul are working as intended.

Differential Revision: https://phabricator.services.mozilla.com/D19312
2019-03-29 14:55:12 +00:00
Mike Hommey 300ad6d9f9 Bug 1510897 - Separate Android C++ flags from the other Android toolchain flags. r=nalexander
We shouldn't pass those flags when building C. It doesn't matter /too/
much currently, but will in a subsequent change, which will introduce
a C++-only flag in stlport_cppflags.

Differential Revision: https://phabricator.services.mozilla.com/D25018
2019-03-27 22:05:04 +00:00
Glenn Watson 93f259205a Bug 1377304 - "bootstrap.py" Does Not Support "KDE Neon" r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D25187
2019-03-28 21:29:51 +00:00
Christian Frey 70f8ec9fc2 Bug 1523734 - Migrate about:blocked to Fluent r=flod,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D23611
2019-03-28 17:08:34 +00:00
Chris Manchester df7c71b2ba Bug 1526072 - Record cpu utilization and clobber/full builds in build telemetry. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D22630
2019-03-27 22:42:48 +00:00
Chris Manchester 4d0023363f Bug 1526072 - Add cpu utilization and clobber fields to build telemetry schema. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D22629
2019-03-27 22:47:58 +00:00
Chris Manchester 186e868620 Bug 1526072 - Avoid trailing spaces when generating the schema for build telemetry. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D22628
2019-03-27 22:46:22 +00:00
Mike Hommey af9f45ac7a Bug 1539355 - Don't package addons in resource directories as XPI in OmnijarFormatter. r=nalexander
The addons manager is going to support this usecase.

Depends on D25036

Differential Revision: https://phabricator.services.mozilla.com/D25037
2019-03-27 22:33:10 +00:00
Mike Hommey 7cc2fa8fc8 Bug 1539355 - Force callers of *Formatter.add_base to order their bases. r=nalexander
Practically speaking, it makes no difference, as only the calls to
add_base from tests weren't already ordered.

This allows a simpler approach for next change.

Differential Revision: https://phabricator.services.mozilla.com/D25036
2019-03-27 22:19:32 +00:00
Mike Hommey 7279083671 Bug 1539355 - Add a packager test for in-resource addons. r=nalexander
This demonstrates how addons positioned under a resource directory (a
directory that would normally go in omni.ja) is currently treated.

Differential Revision: https://phabricator.services.mozilla.com/D25035
2019-03-27 16:12:08 +00:00
Justin Wood 51f7f6bfc4 Bug 1535393 - Fill in the correct MSI version number for release and ESR. r=mhowell,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D24994
2019-03-27 17:10:58 +00:00
Noemi Erli 35e8bc6afc Backed out changeset e5117d2f9311 (bug 1533051) for Android xpcshell failures CLOSED TREE 2019-03-28 01:33:00 +02:00
Nick Alexander 5fddcc9218 Bug 1533051 - Package GeckoView prefs at architecture-specific paths for Android fat AAR/GeckoView multi-architecture builds. r=glandium
Bug 1533425 makes Gecko try to load from $ARCH/greprefs.js, etc on
Android.  This patch teaches the packager to put preferences into
those architecture-specific locations for that code to find.

Differential Revision: https://phabricator.services.mozilla.com/D24984
2019-03-27 17:35:26 +00:00
Noemi Erli af68362223 Backed out 4 changesets (bug 1526072) for causing build bustages in test_clobber.py CLOSED TREE
Backed out changeset d3d56eca307f (bug 1526072)
Backed out changeset 37942b0f911b (bug 1526072)
Backed out changeset a0eb0f43c928 (bug 1526072)
Backed out changeset c1d1576431d7 (bug 1526072)
2019-03-27 22:51:22 +02:00
Chris Manchester ff46301db7 Bug 1526072 - Record cpu utilization and clobber/full builds in build telemetry. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D22630
2019-03-18 20:36:54 +00:00
Chris Manchester e5f1e07978 Bug 1526072 - Add cpu utilization and clobber fields to build telemetry schema. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D22629
2019-03-18 20:36:54 +00:00
Chris Manchester 19cfeb5f1c Bug 1526072 - Avoid trailing spaces when generating the schema for build telemetry. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D22628
2019-03-18 20:36:54 +00:00
Andi-Bogdan Postelnicu 471c9f9d36 Bug 1538107 - Improve the error reporting "./mach static-analysis autotest" r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D24913
2019-03-27 07:53:50 +00:00
Geoff Brown eca8028682 Bug 1534858 - Include minidumpwriter.exe in windows artifacts; r=chmanchester
Test automation code assumes crashinject.exe is available on Win32:
  https://searchfox.org/mozilla-central/rev/7abb9117c8500ed20833746c9f8e800fce3a4688/build/automation.py.in#356
and minidumpwriter.exe on Windows when there is a 32/64 bit mismatch between python and the application build:
  https://searchfox.org/mozilla-central/rev/7abb9117c8500ed20833746c9f8e800fce3a4688/testing/mozbase/mozcrash/mozcrash/mozcrash.py#428
so I think these should be available for Windows tests, and I suspect they have only been left out accidentally.

I will file a new bug to get minidumpwriter working on aarch64.

Differential Revision: https://phabricator.services.mozilla.com/D23895
2019-03-26 21:51:51 +00:00
Mike Hommey 76bfa46e9a Bug 1539005 - Make mach bootstrap install the thumbv7neon-linux-androideabi target. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D24825
2019-03-26 00:19:20 +00:00
Mike Hommey beaae65c74 Bug 1536307 - Bump libstdc++ requirement to 4.7. r=froydnj
Last time we updated the requirements was in bug 1278456, after we
switched to GTK+3.

While it might be worth checking what would be a reasonable requirement,
the immediate problem is that updating ANGLE hits a snag with a
libstdc++ 4.7 symbol, and the only main distro release that bumping to
that version would make us not support anymore is Ubuntu 12.04 LTS,
EOLed 2 years ago (April 2017).

Bumping to some even newer version would need more consideration.
Desupporting Ubuntu 12.04 LTS at this point is almost a no-brainer.

Differential Revision: https://phabricator.services.mozilla.com/D23979
2019-03-25 12:40:25 +00:00
Bastien Abadie 09ca2b9179 Bug 1536839 - Add json formatter to ./mach clang-format, r=ahal,marco
Depends on D24193

Differential Revision: https://phabricator.services.mozilla.com/D24194
2019-03-25 15:02:44 +00:00
Bastien Abadie da473b91a1 Bug 1536836 - Support multiple formatters with file output in ./mach lint, r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D24193
2019-03-25 09:16:14 +00:00
Ciure Andrei 1bc073aaa2 Backed out changeset d12b8cd1cee8 (bug 1534858) for causing diff build bustages CLOSED TREE 2019-03-22 15:17:30 +02:00
Geoff Brown a91fd7df59 Bug 1534858 - Include crashinject.exe and minidumpwriter.exe in windows artifacts; r=chmanchester
Test automation code assumes crashinject.exe is available on Win32:
  https://searchfox.org/mozilla-central/rev/7abb9117c8500ed20833746c9f8e800fce3a4688/build/automation.py.in#356
and minidumpwriter.exe on Windows when there is a 32/64 bit mismatch between python and the application build:
  https://searchfox.org/mozilla-central/rev/7abb9117c8500ed20833746c9f8e800fce3a4688/testing/mozbase/mozcrash/mozcrash/mozcrash.py#428
so I think these should be available for Windows tests, and I suspect they have only been left out accidentally.

I will file a new bug to get minidumpwriter working on aarch64.

Differential Revision: https://phabricator.services.mozilla.com/D23895
2019-03-21 22:12:52 +00:00
Mike Hommey 3ac50839ed Bug 1521734 - Use thumbv7neon rust targets when stars align. r=chmanchester
Newer versions of rust come with a specialized arm target that matches
more closely our armv7 targets (with neon and thumb2), so use that when
possible.

Depends on D24324

Differential Revision: https://phabricator.services.mozilla.com/D24325
2019-03-21 23:36:49 +00:00
Mike Hommey f635c265a2 Bug 1521734 - Refresh rust target list in toolchain configure test. r=chmanchester
Depends on D24323

Differential Revision: https://phabricator.services.mozilla.com/D24324
2019-03-21 23:36:22 +00:00
Tooru Fujisawa 15f7b4cda4 Bug 1535981 - Throw error with more information when there is no public revision while building artifact mode. r=chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D23819
2019-03-21 22:12:20 +00:00
Nicholas Cowles 94116cd22a Bug 1517528 - Capstone: convert about:privatebrowsing using gandalf's conversion script, r=Gijs,jaws,zbraniecki,flod
Differential Revision: https://phabricator.services.mozilla.com/D19250
2019-03-18 18:05:13 +00:00
Jason Kratzer 42a6b432b3 Bug 1513071 - Include CSS2Properties.webidl in generated-files required by DOM fuzzer. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D22356
2019-03-06 18:56:48 +00:00
Francesco Lodolo (:flod) 73b0fa66f2 Bug 1537683 - Remove Fluent migration recipes for Firefox 66 r=Pike
Differential Revision: https://phabricator.services.mozilla.com/D24317
2019-03-21 08:33:49 +00:00
Christian Frey 98a1bcae27 Bug 1521800 - Convert passwordManager.xul and passwordManager.js to Fluent, r=jaws,flod
Differential Revision: https://phabricator.services.mozilla.com/D19613
2019-03-20 19:27:11 +00:00
Bastien Abadie 2193d44867 Bug 1536763 - Support more than 100 files in ./mach static-analysis check, r=andi
Differential Revision: https://phabricator.services.mozilla.com/D24151
2019-03-20 13:03:13 +00:00
Bastien Abadie 68b6c3a547 Bug 1535355 - Add --output & --format=json|text to ./mach static-analysis check, r=ahal,firefox-build-system-reviewers,chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D23523
2019-03-19 18:26:50 +00:00
Bastien Abadie 7a430f6fdf Bug 1535355 - Add --output option to ./mach clang-format, r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D23522
2019-03-19 20:33:39 +00:00
Thomas Daede 4ab4e58a9a Bug 1533559 - Update libdav1d to 0.2.1. r=achronop
Differential Revision: https://phabricator.services.mozilla.com/D23761
2019-03-19 17:35:09 +00:00
Sylvestre Ledru 68cb81ea75 Bug 1535948 - Fix the indentation: the code wasn't executed r=mshal
Differential Revision: https://phabricator.services.mozilla.com/D24035
2019-03-19 16:02:05 +00:00
Tooru Fujisawa 73be9628d5 Bug 1535243 - Provide reference for mercurial bundle when hg pull fails in bootstrap. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D23458
2019-03-19 08:02:07 +00:00
Tooru Fujisawa 6a53b6c2d2 Bug 1530544 - Use consistent question style for prompt inside bootstrap and mercurial-setup. r=glandium
Changed the following:
  - Use (Yn) instead of [Y/n] to align with mercurial-setup that is using
    mercurial's ui class
  - Use (Yn) prompt instead of int prompt where the options are Yes/No
  - Remove empty lines around options to align with the first question
    about Firefox {Desktop,Mobile} {,non-}Artifact
  - Move the question `Would you like to enable build system telemetry?`
    to the last line
  - Use `Your choice:` propmt for int prompt to align with the first question

Differential Revision: https://phabricator.services.mozilla.com/D23457
2019-03-19 08:02:05 +00:00
Tooru Fujisawa 23ac883915 Bug 1535242 - Provide better message when choosing a directory to clone. r=glandium
- Do not use `ERROR` when user enters possibly parent-directory when
   choosing the directory to clone mozilla-unified
 - Show the path of pre-existing mozilla-unified path on error

Differential Revision: https://phabricator.services.mozilla.com/D23456
2019-03-15 08:50:28 +00:00
shindli d041182a67 Backed out changeset c0996caf797f (bug 1523761) for bc failures in browser/components/customizableui/test/browser_947914_button_history.js CLOSED TREE 2019-03-18 19:20:56 +02:00