Commit Graph

4641 Commits

Author SHA1 Message Date
Mike Hommey
7ebdb00756 Bug 1516228 - Use llvm-objdump for symbol related tests in check_binary.py. r=firefox-build-system-reviewers,mshal
Depends on D17466

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

--HG--
extra : moz-landing-system : lando
2019-01-24 23:32:29 +00:00
Rob Lemley
ca5106306b Bug 1517298 - Add comm mozharness configs to mozharness test archive. r=firefox-build-system-reviewers,mshal
First step in moving Thunderbird mozharness unittest configurations out of
M-C. This merges the comm/mozharness directory into the mozharness test
archive's mozharness/configs/ so that the comm config files can be accessed
later by desktop_unittest.py. This inclusion is conditional and will only happen
when building Thunderbird; there are no changes to the mozharness.zip file when
building Firefox.

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

--HG--
extra : moz-landing-system : lando
2019-01-22 20:15:36 +00:00
Sylvestre Ledru
6fc1c58e53 Bug 1521460 - clang-format: also update .m files r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D17388

--HG--
extra : moz-landing-system : lando
2019-01-24 08:10:47 +00:00
Tim Nguyen
3d0a38d817 Bug 1524777 - Convert the certificate viewer's XUL grid to HTML table. r=keeler,flod
Differential Revision: https://phabricator.services.mozilla.com/D18489

--HG--
extra : moz-landing-system : lando
2019-02-05 20:49:16 +00:00
Mike Hommey
4aadada73d Bug 1516228 - Use llvm-objdump for symbol related tests in check_binary.py. r=mshal
Depends on D17466

Differential Revision: https://phabricator.services.mozilla.com/D17467
2019-01-29 08:38:07 +09:00
Dorel Luca
eec8039e98 Backed out changeset 3b666f82d750 (bug 1517519) for Browser-chrome failures in browser/components/sessionstore/test/browser_background_tab_crash.js. CLOSED TREE 2019-01-23 18:00:01 +02:00
Avery Berninger
8b9e0b5da2 Bug 1517519 - Migrated aboutTabCrashed dtd files to ftl files with migration script, r=jaws,flod
***
bug 1517519 - fixed syntactical errors, r?flob r?gijs r?jaws

***
Fixed line endings (CRLF to LF). Fixed changed Placeholder to data-l10n-id. Added: ', Part {index}.' to migration script.

***
Fixed indentation & removed some testing text :)

***
removed part of doctype & fixed line breaks

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

--HG--
extra : moz-landing-system : lando
2019-01-23 15:04:03 +00:00
Sebastian Hengst
2ecf173b14 Merge mozilla-central to autoland 2019-01-23 11:31:44 +02:00
Mike Hommey
03a6fa8570 Bug 1521691 - Remove _MSC_VER from configure. r=chmanchester
The only use in configure itself is for a MSVC version check that is now
always true (we don't accept versions < 19.15 anymore).

The only uses in the build system are in code that could just use
CC_TYPE instead.

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

--HG--
extra : moz-landing-system : lando
2019-01-23 00:35:10 +00:00
shindli
2aae270ee0 Backed out 2 changesets (bug 1521691) for bustages in clang-plugin.dll CLOSED TREE
Backed out changeset 09e1109d2350 (bug 1521691)
Backed out changeset cfee3de00f12 (bug 1521691)
2019-01-23 00:51:59 +02:00
Mike Hommey
bc1c78e811 Bug 1521691 - Remove _MSC_VER from configure. r=chmanchester
The only use in configure itself is for a MSVC version check that is now
always true (we don't accept versions < 19.15 anymore).

The only uses in the build system are in code that could just use
CC_TYPE instead.

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

--HG--
extra : moz-landing-system : lando
2019-01-22 22:26:15 +00:00
Matt Howell
18090fd14b Bug 1514806 Part 6 - Disable running UPX in the installer package for targets it doesn't support. r=firefox-build-system-reviewers,mshal#firefox-build-system-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D15984

--HG--
extra : moz-landing-system : lando
2019-01-22 21:58:55 +00:00
Harry Twyford
70df5bbf20 Bug 1313429 - Add Touch Bar functionality to Firefox r=spohl,mikedeboer,flod
Adds Touch Bar functionality to Firefox across eight commits.

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

--HG--
extra : moz-landing-system : lando
2019-01-22 17:13:33 +00:00
Gurzau Raul
136dc5e8bc Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-01-23 02:05:32 +02:00
Sylvestre Ledru
ed9edfad94 Bug 1521460 - mach clang-format: Also reformat objective-c files r=ehsan
Differential Revision: https://phabricator.services.mozilla.com/D17137

--HG--
extra : histedit_source : fd828fa85107af6261032b1c67894338f2502a57
2019-01-21 18:08:57 +01:00
Francesco Lodolo (:flod)
e3f392ffc0 Bug 1521695 - Remove Fluent migration recipes for Firefox 65 r=Pike
Differential Revision: https://phabricator.services.mozilla.com/D17211

--HG--
extra : moz-landing-system : lando
2019-01-22 10:52:15 +00:00
cowlesni
994165ff86 Bug 1517529 - Migrate safeMode dialog to Fluent for localization, r=Gijs,flod
Differential Revision: https://phabricator.services.mozilla.com/D16987

--HG--
extra : moz-landing-system : lando
2019-01-21 21:51:10 +00:00
Tim Nguyen
a41077218e Bug 1520924 - Remove 'update' XBL binding and convert strings to Fluent. r=paolo,flod
Differential Revision: https://phabricator.services.mozilla.com/D16982

--HG--
extra : moz-landing-system : lando
2019-01-21 21:40:52 +00:00
Mike Hommey
8f49277c52 Bug 1496995 - Account for all dictionaries when updating built_in_addons.json during l10n repack. r=nalexander
All directories are part of the langpack that is being merged in, but
when the langpack includes the english dictionary, it is not handled
at the same time as other dictionaries, because it is also part of the
original application.

Instead of trying to catch all places where a dictionary might be added
to the final repack, we wrap the formatter so that it tracks all of them
wherever they're added from, and updates the built_in_addons.json file
accordingly.

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

--HG--
extra : moz-landing-system : lando
2019-01-18 21:53:16 +00:00
Chris Manchester
63da49dd4f Bug 1520516 - Set verbose logging for cargo when -v is passed to |./mach build|. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D16907

--HG--
extra : moz-landing-system : lando
2019-01-18 19:03:24 +00:00
Mike Hommey
1e8669d97c Bug 1520718 - In python configure, fix when in option. r=nalexander
Make option(..., when='--foo') equivalent to
option(..., when=depends('--foo')(lambda x: x)).

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

--HG--
extra : moz-landing-system : lando
2019-01-17 17:04:06 +00:00
Nick Alexander
3036f1ed4d Bug 1477487 - Part 3: Make |mach bootstrap| for Android install Rust toolchains. r=agi
Differential Revision: https://phabricator.services.mozilla.com/D16139

--HG--
extra : moz-landing-system : lando
2019-01-17 21:31:12 +00:00
Nick Alexander
aa8a7a854c Bug 1477487 - Part 2: Make |mach bootstrap| for Android recommend toolchain clang and lld. r=agi,froydnj,#firefox-build-system-reviewers
We're seeing all sorts of problems with the NDK toolchain compilers
and the various versions of the NDK.  In automation we build with r17b
and our own toolchain clang; let's try to standardize on that.

This patch is ugly because of the evolution of mozboot.  Long ago, we
passed arguments around and interpolated strings into function names
rather than setting members with the application name and whether
we're in artifact mode.  The places I needed to modify didn't have the
right data at the right time so I added it to the bootstrap instance.
I don't have the time or energy to use the instance variables
through-out: that'll have to be future follow-up.

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

--HG--
extra : moz-landing-system : lando
2019-01-17 21:30:49 +00:00
Nick Alexander
57c01fa819 Bug 1477487 - Part 1: Look for java and pin to Java 1.8 in |mach bootstrap|; r=agi
What is happening is that distribution JRE and JDK packages roll
forward, installing a different version of Java than what is expected.
We don't check the version installed, so sadness ensues.

Right now, we require Java 1.8 to build, but in the near future, after
Android-Gradle plugin 3.2.1+, we'll be free to use later Java
versions.

However, Android's `sdkmanager` itself requires exactly Java 1.8.  We
only require `sdkmanager` to install `emulator`, really -- everything
else will be fetched by Gradle -- but I don't want to unravel that
right now.

So let's just provide decent error messages and try to prevent the
worst of the footguns.

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

--HG--
extra : moz-landing-system : lando
2019-01-17 21:30:29 +00:00
Nick Alexander
2a42763c8f Bug 1477487 - Part 0: Make GeckoView more prominent in |mach bootstrap|. r=agi
This is part of the larger shift toward GeckoView and away from
Firefox for Android.  We need GV to "show up" in these kind of
onboarding tools; here's a small first step.

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

--HG--
extra : moz-landing-system : lando
2019-01-17 21:30:06 +00:00
Nick Alexander
35758fd122 Bug 1477487 - Pre: Bump Android SDK version. r=agi
Just hygiene, no reason to lag, no reason to expect changes.

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

--HG--
extra : moz-landing-system : lando
2019-01-17 21:29:40 +00:00
Nick Alexander
2ac1dba7f9 Bug 1477487 - Pre: Don't require outdated packages. r=agi
These are downloaded from maven.google.com by Gradle now.

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

--HG--
extra : moz-landing-system : lando
2019-01-17 21:29:15 +00:00
Emilio Cobos Álvarez
d708f206c0 Bug 1520683 - When the file generation fails, don't write to the underlying file. r=mshal,froydnj
That way we avoid massive rebuilds due to errors that are recoverable and that
would make the file generation succeed with the same contents as before.

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

--HG--
extra : moz-landing-system : lando
2019-01-17 15:52:10 +00:00
Mike Hommey
9af1040202 Bug 1520394 - Wrap the os and subprocess modules in python configure sandbox. r=nalexander
Because the sandbox has its own environment from which it initializes,
os.environ should reflect that in the sandbox. And the few obvious
things that use os.environ too, i.e. subprocess.*.

Depends on D16667

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

--HG--
extra : moz-landing-system : lando
2019-01-16 23:39:10 +00:00
Mark Banner
748a95812e Bug 1487490 - Update the python modules installed on OS X by bootstrap, following changes in homebrew. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D16672

--HG--
extra : moz-landing-system : lando
2019-01-16 15:07:11 +00:00
Daniel Varga
55006aaaec Merge mozilla-inbound to mozilla-central. a=merge 2019-01-16 06:49:11 +02:00
Mike Hommey
5215f57b1d Bug 1520108 - Move MOZ_CONFIGURE_OPTIONS to toolkit/moz.configure. r=froydnj
It is only used to fill about:buildconfig.

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

--HG--
extra : moz-landing-system : lando
2019-01-15 15:28:00 +00:00
Cosmin Sabou
1558607307 Backed out 6 changesets (bug 1514806) for causing windows 2012 opt repack bustages.
Backed out changeset 63debb1d02d3 (bug 1514806)
Backed out changeset 803d20ba3f80 (bug 1514806)
Backed out changeset 3b95c5d8466d (bug 1514806)
Backed out changeset eb09e108a439 (bug 1514806)
Backed out changeset 6a738993de29 (bug 1514806)
Backed out changeset 303b19a8b923 (bug 1514806)

--HG--
rename : other-licenses/7zstub/firefox/7zSD.win32.manifest => other-licenses/7zstub/firefox/7zSD.manifest
rename : other-licenses/7zstub/firefox/7zSD.Win32.sfx => other-licenses/7zstub/firefox/7zSD.sfx
2019-01-15 19:17:09 +02:00
Matt Howell
f8a790571f Bug 1514806 Part 6 - Disable running UPX in the installer package for targets it doesn't support. r=firefox-build-system-reviewers,mshal#firefox-build-system-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D15984

--HG--
extra : moz-landing-system : lando
2019-01-14 21:59:06 +00:00
Ted Mielczarek
131e617300 bug 1517793 - fix mach run --debug to not hit an exception if no debugger can be found. r=nalexander
This change simply moves a check for the "no debugger found" situation out
of a conditional so it will catch more cases.

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

--HG--
extra : moz-landing-system : lando
2019-01-14 18:09:48 +00:00
Alex Chronopoulos
3b021adba2 Bug 1519358 - Update upstream commint hash when import libdav1d. r=TD-Linux
Differential Revision: https://phabricator.services.mozilla.com/D16298

--HG--
extra : moz-landing-system : lando
2019-01-14 21:46:32 +00:00
Andrew Halberstadt
24b0aff27c Bug 1520006 - [mach] Fix bug in 'mach completion', r=nalexander
This fixes an issue from bug 1518586.

It stemmed from the fact that I misunderstood how the 'parser' attribute
was being used in mach commands and didn't do enough testing. This patch
fixes things such that we check that 'parser' is not None, as well as
add the completion targets from 'handler.arguments'.

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

--HG--
extra : moz-landing-system : lando
2019-01-14 21:20:55 +00:00
Andrew Halberstadt
292cda01c7 Bug 1519968 - [mach] Minor improvements to autocomplete docs, r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D16495

--HG--
extra : moz-landing-system : lando
2019-01-14 19:43:53 +00:00
Mike Hommey
482de8b58a Bug 1519308 - Try toolchain-prefixed pkg-config. r=froydnj
When doing cross-compiles for Desktop, system pkg-config is going to be
looking for .pc files for the host, but systems setup for cross-compiles
come with a toolchain-prefixed pkg-config, which we should be looking
for.

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

--HG--
extra : moz-landing-system : lando
2019-01-11 23:56:19 +00:00
Andrew Halberstadt
8905ad4bab Bug 1518586 - [mach] Implement bash completion for subcommands and arguments r=nalexander
Since we're calling into a mach command for the current completion
implementation anyway (and incurring python startup penalties), we
might as well move all the bash logic into the mach command.

The new 'mach-completion' command was created in case there are
scripts relying on the current behaviour of 'mach-commands'.

Depends on D16254

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

--HG--
extra : moz-landing-system : lando
2019-01-11 15:28:49 +00:00
Andrew Halberstadt
1d78259cdb Bug 1518586 - [mach] Add some basic usage docs r=nalexander
I was looking for a good place to put documentation for enabling the
bash completion script when I realized that the 'mach' documentation
is targeted at tool developers rather than users.

Seeing as this is the main 'mach' documentation and we want to make
'firefox-source-docs' the place to go for contribution information,
we should endeavour to target end users with this documentation.

This adds a very basic usage page which should be expanded upon, but
is better than nothing.

I changed the headers in 'index.rst' to use raw:: html so that they
don't show up in the nav bar to the left (and subsequently block the
*actually important* things from appearing).

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

--HG--
extra : moz-landing-system : lando
2019-01-11 03:34:30 +00:00
Daniel Varga
5dc5a82752 Merge mozilla-central to autoland. a=merge on a CLOSED TREE
--HG--
extra : rebase_source : 40b25d678b690be8bfe028129337a9b578caade6
2019-01-11 06:19:53 +02:00
Daniel Varga
f0a9c979bb Merge mozilla-inbound to mozillia-central. a=merge 2019-01-11 06:14:14 +02:00
Eric Rahm
f32fd66363 Bug 1519209 - Disable NSS_ALLOW_SSLKEYLOGFILE in beta and release. r=glandium
This disables NSS_ALLOW_SSLKEYLOGFILE in beta in release in order to avoid shutdown hangs until the NSS project has time to fix the root cause of the issue.

--HG--
extra : rebase_source : 51c84d4841308d283f993a7fda576031d7c4f449
2019-01-10 13:14:41 -08:00
Zibi Braniecki
abcd557c95 Bug 1509583 - Migrate region/language names resources to Fluent. r=flod,mossop
Differential Revision: https://phabricator.services.mozilla.com/D12807

--HG--
extra : moz-landing-system : lando
2019-01-11 00:23:50 +00:00
Mike Hommey
8bfba15706 Bug 1519042 - Replace the last non-third-part uses of OS_TEST with TARGET_CPU. r=ted
Depends on D16161

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

--HG--
extra : moz-landing-system : lando
2019-01-10 22:06:10 +00:00
Mike Hommey
d5fbdc4b28 Bug 1519030 - Move libav-fft configuration to python configure. r=mshal
Differential Revision: https://phabricator.services.mozilla.com/D16157

--HG--
extra : moz-landing-system : lando
2019-01-10 22:00:41 +00:00
Ehsan Akhgari
946ce15a46 Bug 1518959 - Don't format Java files by default; r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D16115

--HG--
extra : moz-landing-system : lando
2019-01-10 09:05:54 +00:00
Ted Mielczarek
70af650a9f bug 1517909 - format build telemetry time correctly when seconds has no fractional component. r=nalexander
It turns out that Python's `datetime.isoformat` method will leave off the
fractional component of seconds if it would be all zeroes, but the voluptuous
`Datetime` validator wants it to be present, so it's possible to hit an error
if you run mach at exactly an integer second.

This patch switches from `isoformat` to `strftime` with an explicit format
string instead.

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

--HG--
extra : moz-landing-system : lando
2019-01-08 21:29:26 +00:00
Tom Ritter
aa8edade61 Bug 1485016 - Change clang-cl compiler version to be the clang version rather than MSVC r=glandium
This only affects the compiler version in the build system; not the
version reported by the compiler.

--HG--
extra : histedit_source : 37fc1a2090d872ca5e95d022e9f93b620b2d8dbb
2019-01-29 06:42:53 -06:00
Bogdan Tara
a22613d930 Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-01-15 18:14:20 +02:00
Nomis101
7c37532cdf Bug 1519740 - Include MacPorts Mojave package in bootstrap.py. r=glandium
--HG--
extra : amend_source : 7457ca919e02b7d803821bc98ceede57d6be9d1d
2019-01-14 00:08:54 +01:00
Kris Maglione
cc171935f4 Bug 1478124: Part 4a - Add XPCOM_MANIFESTS moz.build variable for XPCOM component manifests. r=froydnj
This aggregates a list of all static component manifests in the tree, and
writes them out to a `manifests-lists.json` file, which is read by the codegen
scripts in the next patch.

It slightly abuses the IDL lists machinery, given that these aren't
technically IDL files. But the semantics are similar enough that it seemed
like the best option.

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

--HG--
extra : rebase_source : f1e1e1c9497ab8c18c25a106316a1af57237b99f
extra : source : f500020a273a27c66bf2166505a0e97bbc34a214
2018-12-12 18:29:57 -08:00
Cosmin Sabou
67cc836522 Merge mozilla-central to mozilla-inbound. a=merge 2019-02-06 01:11:33 +02:00
Nathan Froyd
15a7366ffd Bug 1525069 - part 3 - install 32-bit node on aarch64 devices; r=nalexander
One less paper cut for frontend developers.
2019-02-05 16:15:58 -05:00
Nathan Froyd
99be54de09 Bug 1525069 - part 2 - add a 32-bit node variable for bootstrapping; r=nalexander
We don't use this yet, but it's easy enough to get out of the way.
2019-02-05 16:15:58 -05:00
Nathan Froyd
3362171b4b Bug 1486994 - avoid automatic installs of taskcluster packages on non-x86-64 machines; r=lth
Presumably, if somebody is working on a non-x86-64 Linux box, they know
enough to install all of these packages manually.
2019-02-05 16:15:58 -05:00
Chris Manchester
b101c5a8f3 Bug 1517532 - Extend artifact builds to find and download artifacts from pgo builds when MOZ_PGO is set. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D15988

--HG--
extra : moz-landing-system : lando
2019-01-08 23:03:27 +00:00
Ted Mielczarek
fc2a640d8f bug 1517712 - log mach output when test_telemetry.py fails. r=sheehan
Differential Revision: https://phabricator.services.mozilla.com/D15716

--HG--
extra : moz-landing-system : lando
2019-01-08 15:14:51 +00:00
Ted Mielczarek
7f6bbcf435 bug 1517811 - use mozdebug in mach to validate debugger arguments. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D15847

--HG--
extra : moz-landing-system : lando
2019-01-08 16:10:36 +00:00
Andrew Halberstadt
0e9c1caf7d Bug 1515261 - [mozversioncontrol] Fix unicode env string on Windows, r=sheehan
Differential Revision: https://phabricator.services.mozilla.com/D15727

--HG--
extra : moz-landing-system : lando
2019-01-07 16:26:49 +00:00
Nick Alexander
848c9b1c1e Bug 1496190 - Add |mach package-multi-locale|; produce multi-locale GeckoView archives. r=Callek,firefox-build-system-reviewers,ted
All that is really required for this ticket is to invoke |mach android
archive-geckoview| after |mach package| in the right place.

But it's actively unhelpful to have this magic in mozharness --
especially since the documentation in `locales.rst` is subtly
incorrect (the environment variables and Make variables don't quite
work as written).  So this commit adds a Mach command to do the actual
work and replaces most of the mozharness magic with that command.
Since the l10n Make targets check out the l10n HG repositories
locally, this basically Just Works without the mozharness checkout
steps when developing locally.

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

--HG--
extra : moz-landing-system : lando
2019-01-07 19:22:44 +00:00
arthur.iakab
9830caa477 Backed out changeset 5f6139ef7c2c (bug 1515261) for causing Windows build bustages CLOSED TREE 2019-01-04 18:29:53 +02:00
Andrew Halberstadt
ca42ae34eb Bug 1515261 - [mozversioncontrol] Fix unicode env string on Windows, r=sheehan
Differential Revision: https://phabricator.services.mozilla.com/D15727

--HG--
extra : moz-landing-system : lando
2019-01-04 15:31:56 +00:00
Chris Manchester
0851ff9f4a Bug 1507344 - Add configure machinery for MOZ_PROFILE_USE and merging profile. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D13863

--HG--
extra : moz-landing-system : lando
2018-12-21 19:02:11 +00:00
Mike Hommey
012ea52a90 Bug 1515901 - Avoid loading mozconfig multiple times from MozbuildObject. r=froydnj
When running `mach help`, mozconfig is loaded multiple times, and even
with an almost empty mozconfig, this makes mach help take close to 10
seconds on my Windows machine.

With some memoization, the time to run mach help gets down to 2s.

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

--HG--
extra : moz-landing-system : lando
2018-12-29 14:15:38 +00:00
Ted Mielczarek
5def08dbfb bug 1517244 - Try to log more info during intermittent test_telemetry failure. r=sheehan
Differential Revision: https://phabricator.services.mozilla.com/D15578

--HG--
extra : moz-landing-system : lando
2019-01-02 16:56:12 +00:00
Bogdan Tara
d2a41cb853 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-12-28 23:53:12 +02:00
Jared Wein
acfe9c8baf Bug 1507595 - Test fixes. r=flod,Gijs
There are multiple fixes contained in this patch:
- fixes for Android/mobile support
- adding extra strings to the ftl file that were never defined before, and previously the ID was just printed to the page
- update test_l10n.py to not rely on about:support anymore
- changing Troubleshoot.jsm to return and ID and args for the strings that should be displayed, so it is compatible with the Fluent API
- misc. fixes so strings that are not localized don't go through the Fluent codepath

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

--HG--
extra : moz-landing-system : lando
2018-12-28 19:40:33 +00:00
Jared Wein
4f86678a71 Bug 1507595 - Convert about:support to Fluent. r=Gijs,flod
Initial patch by Collin Wing (masterkrombi@gmail.com).

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

--HG--
extra : moz-landing-system : lando
2018-12-28 19:40:17 +00:00
Chris Manchester
ccddf2ca6c Bug 1515512 - Require rustc 1.31. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D15396

--HG--
extra : source : f162598ad12cd59e1f653c541e6786b715b144fd
2018-12-27 02:22:54 +00:00
Cosmin Sabou
c3c97ee7de Backed out changeset f162598ad12c (bug 1515512) on the suspicion of causing Linux asan browser chrome exceptions. 2018-12-27 07:43:08 +02:00
Chris Manchester
ac40054b22 Bug 1515512 - Require rustc 1.31. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D15396

--HG--
extra : moz-landing-system : lando
2018-12-27 02:22:54 +00:00
Ciure Andrei
1923fc319e Backed out 2 changesets (bug 1507595) for Android build bustages, missing aboutSupport.dtd CLOSED TREE
Backed out changeset 485ea25a3b82 (bug 1507595)
Backed out changeset 28805dd1b97a (bug 1507595)
2018-12-24 18:44:38 +02:00
Jared Wein
db47c666d9 Bug 1507595 - Convert about:support to Fluent. r=Gijs,flod
Initial patch by Collin Wing (masterkrombi@gmail.com).

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

--HG--
extra : moz-landing-system : lando
2018-12-24 16:19:20 +00:00
Dorel Luca
af4a060def Backed out changeset e8700e52f777 (bug 1515901) for build bustage. CLOSED TREE 2018-12-22 01:17:42 +02:00
Mike Hommey
c683c549a5 Bug 1515852 - Move --with-system-jpeg to python configure. r=froydnj
We remove --disable-libjpeg-turbo because that's only useful when Yasm
is too old, and the required version is now almost 8 years old, so we
can reasonably require people to upgrade rather than workaround with a
--disable option.

The valid_yasm_version function can seem overkill, but that's because
future moves of other things to python configure will pile up.

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

--HG--
extra : moz-landing-system : lando
2018-12-21 15:47:22 +00:00
Mike Hommey
eb8e6cb9c3 Bug 1515843 - Remove HOST_AR/HOST_RANLIB. r=ted
Now that we're not even building host static libraries, we don't need
variables for the tools used to build them.

Ironically, we weren't even running HOST_RANLIB.

Depends on D15172

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

--HG--
extra : moz-landing-system : lando
2018-12-21 23:00:17 +00:00
Mike Hommey
d3856a0bf1 Bug 1515843 - Stop building host static libraries. r=ted
The build system has skipped creating target static libraries for very
long, except in very specific cases.

We can actually do the same for host static libraries, for which we
don't even need the escape hatch to still allow to create static
libraries.

Depends on D15171

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

--HG--
extra : moz-landing-system : lando
2018-12-21 23:00:00 +00:00
Mike Hommey
5bd8a6be34 Bug 1515526 - Remove need_help_dependency arguments in python configure code. r=chmanchester
It turns out all the changes related to --help linting in lint.py make
them unnecessary, and we still can detect missing --help arguments
without them, per test_lint.py. On the flip side, keeping those
need_help_dependency arguments makes some functions executed twice
because some memoized functions end up being called for both cases
need_help_dependency=True and need_help_dependency=False.

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

--HG--
extra : moz-landing-system : lando
2018-12-21 22:55:16 +00:00
Mike Hommey
94a4048c0f Bug 1515901 - Avoid loading mozconfig multiple times from MozbuildObject. r=froydnj
When running `mach help`, mozconfig is loaded multiple times, and even
with an almost empty mozconfig, this makes mach help take close to 10
seconds on my Windows machine.

With some memoization, the time to run mach help gets down to 2s.

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

--HG--
extra : moz-landing-system : lando
2018-12-21 15:43:03 +00:00
Mike Hommey
73f192f7fd Bug 1515808 - Compensate for older python's buggy inspect.getblock. r=nalexander
Fixing this unveils an issue in TestRecursiveMake::test_linkage that
was happening locally but not on automation, due to the Binary()
template never being invoked on automation.

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

--HG--
extra : moz-landing-system : lando
2018-12-21 00:47:29 +00:00
Mike Hommey
67f412262c Bug 1515577 - Don't quote shell strings when they contain a ~, except in first position. r=ted
We only need to quote strings that would be treated specially by the
shell, and "foo~bar" doesn't get any sort of expansion, while "~foo"
gets a user expansion, and to avoid that expansion, those latter strings
need to be quoted, but not the former.

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

--HG--
extra : moz-landing-system : lando
2018-12-21 00:05:32 +00:00
Brindusan Cristian
c292cb5988 Backed out changeset 6944bc1c900b (bug 1515577) for build bustages on test_checks_configure.py. 2018-12-21 00:45:51 +02:00
Mike Hommey
7fe4875fe9 Bug 1515577 - Don't quote shell strings when they contain a ~, except in first position. r=ted
We only need to quote strings that would be treated specially by the
shell, and "foo~bar" doesn't get any sort of expansion, while "~foo"
gets a user expansion, and to avoid that expansion, those latter strings
need to be quoted, but not the former.

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

--HG--
extra : moz-landing-system : lando
2018-12-20 21:51:01 +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
Razvan Maries
f658ebcbab Merge mozilla-inbound to mozilla-central a=merge 2018-12-20 07:04:06 +02:00
Tom Prince
afa141b26c Bug 1514124: [win64-aarch64] Pass the architecture to mar generation, so that it can pass the appropriate arch flag to xz; r=aki,Callek
XZ supports rewritting addresses in executable code, which is architechture
specific. The updater is compiled with support for the target architecture
only, so we can't always compress updates passing `--x86` to XZ. This threads
the architecture through to the repackage steps, so we can pass the appropraite
flags to the update packaging scripts.

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

--HG--
extra : moz-landing-system : lando
2018-12-17 21:45:09 +00:00
Margareta Eliza Balazs
da52cd7623 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-12-19 18:02:55 +02:00
Ted Mielczarek
ca6f7a626f bug 1512499 - handle psutil returning None for physical_cores. r=froydnj
psutil has a bug on arm systems where it will return None for physical_cores:
https://github.com/giampaolo/psutil/issues/1359

This causes us to generate invalid telemetry data which raises an error. Fix
this by simply omitting the field in this case.

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

--HG--
extra : moz-landing-system : lando
2018-12-19 15:07:11 +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
Nick Alexander
b1f817c8c9 Bug 1509573 - Part 0: Only compile Java via Gradle in export tier. r=chmanchester.mielczarek
This was always an accident of history: we forced export tier without
avoiding it in the libs tier.

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

--HG--
extra : moz-landing-system : lando
2018-12-18 23:25:55 +00:00
Dustin J. Mitchell
211a6cf5e3 Bug 1492664 - set TASKCLUSTER_ROOT_URL and TASKCLUSTER_PROXY_URL; r=tomprince,glandium
Eventually, workers will provide these variables directly
(https://bugzilla.mozilla.org/show_bug.cgi?id=1460015).  But for now, this
ensures that TASKCLUSTER_ROOT_URL is set everywhere, and TASKCLUSTER_PROXY_URL
is set wherever the proxy is active.

The setup for the mach commands defaults to https://taskcluster.net for user
convenience.  When the production instance's URL changes, we can simply change
that default.

This changes the docker build process to propagate TASKCLUSTER_ROOT_URL into
the docker images, and for good measure includes some code to use that value to
generate debian repo paths.

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

--HG--
extra : moz-landing-system : lando
2018-12-18 05:37:41 +00:00
Nick Alexander
a79bace97e Bug 1498406 - Part 1: Don't check for javac, javah, jar. r=froydnj
The build system no longer invokes these directly: they're all fetched
and invoked by Gradle and its plugins.

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

--HG--
extra : moz-landing-system : lando
2018-12-17 23:04:14 +00:00
Brindusan Cristian
64199f841e Merge inbound to mozilla-central. a=merge 2018-12-15 23:41:35 +02:00
Noemi Erli
6f12c62b7e Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-12-15 11:42:56 +02:00
Andi-Bogdan Postelnicu
d471aefa7d Bug 1514341 - mach clang-format - fix path on windows. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D14605

--HG--
extra : moz-landing-system : lando
2018-12-15 07:24:18 +00:00
Gijs Kruitbosch
3fc45446f6 Bug 1514239 - use fluent for the certificate export code in the cert manager, r=flod,keeler
Differential Revision: https://phabricator.services.mozilla.com/D14598

--HG--
extra : moz-landing-system : lando
2018-12-15 00:26:09 +00:00
Francesco Lodolo (:flod)
4b6b62961c Bug 1514347 - Remove Fluent migration recipes for Firefox 64 r=stas
Differential Revision: https://phabricator.services.mozilla.com/D14608

--HG--
extra : moz-landing-system : lando
2018-12-14 20:18:59 +00:00
Thomas Daede
427d23f3d7 Bug 1512462 - Only use nasm when explicitly requested. r=firefox-build-system-reviewers,mshal
This is needed because ffvpx does not build with nasm on win64.

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

--HG--
extra : moz-landing-system : lando
2018-12-13 15:40:17 +00:00