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

4601 Коммитов

Автор SHA1 Сообщение Дата
Tom Prince dee8c2fbb2 Bug 1517177: Fix hash verification of downloaded toolchains; r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D15961

--HG--
extra : moz-landing-system : lando
2019-01-30 17:26:26 +00:00
Gurzau Raul 7555c5cdea Merge inbound to mozilla-central. a=merge 2019-01-30 19:03:12 +02:00
Tom Ritter 55eb3434be Bug 1523003 - Remove the force-ms-compatibility for clang-cl r=glandium 2019-01-27 17:19:57 -06:00
Avery Berninger c4951880ce Bug 1517519 - Migrated aboutTabCrashed dtd files to ftl files with migration script, r=jaws,flod
Differential Revision: https://phabricator.services.mozilla.com/D16789

--HG--
extra : moz-landing-system : lando
2019-01-30 14:12:39 +00:00
shindli 011ea038cb Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-01-29 23:54:31 +02:00
shindli d5c5369355 Merge inbound to mozilla-central. a=merge 2019-01-29 23:37:33 +02:00
Emilio Cobos Álvarez f85d524658 Bug 1523686 - Support giving a commit or commit range to mach clang-format. r=Ehsan
I always forget to run clang-format before-hand. This allows me to run it on a
particular commit of my tree where the formatting doesn't match the canonical
one.

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

--HG--
extra : moz-landing-system : lando
2019-01-29 17:33:04 +00:00
Tom Ritter 0a85461461 Bug 1376621 - Search for networking symbols in rust code and fail if they are found. r=glandium
--HG--
extra : amend_source : dfe442d1be95c5f37c959b38c12701d8d14432c1
2019-01-25 12:19:41 -06:00
Cosmin Sabou 599a15d354 Merge mozilla-inbound to mozilla-central. a=merge 2019-01-29 12:01:56 +02:00
Sebastian Hengst 9ece29fd9b Merge mozilla-central to autoland. CLOSED TREE 2019-01-29 12:59:48 +02:00
Mike Hommey 95cdfbcd30 Bug 1523204 - Automatically add WIN_DIA_SDK_BIN_DIR to PATH when running dump_syms. r=chmanchester
We can't run dump_syms without the DIA SDK binary directory in $PATH
because dump_syms requires the DIA dll from there.

Obviously, the corresponding test can't run if the DIA SDK binary
directory is not known (rather than when the dia2.h header is not found,
since the build system currently relies on WIN_DIA_SDK_BIN_DIR being
given manually).

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

--HG--
extra : moz-landing-system : lando
2019-01-29 07:38:12 +00:00
Jared Wein 480921246a Bug 1517508 - Migrate aboutRobots.dtd to Fluent. r=Gijs,flod
Differential Revision: https://phabricator.services.mozilla.com/D15661

--HG--
extra : moz-landing-system : lando
2019-01-28 22:31:09 +00:00
Mike Hommey 5f875e708a Bug 1522788 - Harmonize config.guess handling between mach and configure. r=chmanchester
In fact, "simply" use whatever python configure does to find a shell to
execute config.guess and config.sub, and get both the mozconfig content
and the real, canonicalized target alias. This has the side effect of
making builds with --target=$cpu use a complete obj-$cpu-$os default
objdir instead of obj-$cpu. This will also allow to change the
host-guessing logic without having to duplicate code.

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

--HG--
extra : moz-landing-system : lando
2019-01-28 22:14:23 +00:00
Jan Henning 879d1a037c Bug 1503455 - Part 4: Compile with SDK28. r=nalexander,snorp
android.test.* is no longer part of the main framework, so as per
https://developer.android.com/training/testing/set-up-project,
- we must no longer declare them as a *required* dependency in our manifests
- we must explicitly include a dependency on them in our build config

This will temporarily break running tests depending on android.test.* (i.e.
mainly Robocop) on devices using P or newer until we also start targeting P as
well.

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

--HG--
extra : moz-landing-system : lando
2019-01-28 18:32:11 +00:00
Mike Hommey 38189d89a7 Bug 1523146 - Remove checks for MSVC < 2017. r=dmajor
We reject MSVC compilers < 2017 already, there's no point checking for
smaller versions after that.

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

--HG--
extra : moz-landing-system : lando
2019-01-28 03:30:03 +00:00
Cosmin Sabou ee75c9f2c6 Backed out 6 changesets (bug 1516228) for causing bug 1523056. a=backout
Backed out changeset 24ebb52d21fa (bug 1516228)
Backed out changeset 53d93ee3ad84 (bug 1516228)
Backed out changeset 4f53ede33517 (bug 1516228)
Backed out changeset 2e6bec87c9f3 (bug 1516228)
Backed out changeset 09ee05a4cc30 (bug 1516228)
Backed out changeset 8456feb780f7 (bug 1516228)
2019-01-26 21:12:33 +02:00
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
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