Commit Graph

3334 Commits

Author SHA1 Message Date
Carsten "Tomcat" Book
2fde7fbd27 Backed out changeset b538734b6a17 (bug 1243349) for bustage on a CLOSED TREE 2016-01-27 16:13:12 +01:00
Ted Mielczarek
b96a902ba3 bug 1243349 - fix NSPR link paths for NSS. r=glandium 2016-01-27 09:28:40 -05:00
Michael Layzell
c6f30aa687 Bug 1242789 - Allow lambdas to capture raw pointers to refcounted objects by reference, r=ehsan 2016-01-26 13:32:41 -05:00
Ted Mielczarek
b2a67768aa bug 1230117 - Stop using NSPR's configure. r=glandium 2016-01-21 06:04:11 -05:00
Mike Hommey
9752c63e8b Fixup for bug 1239217 fixing a shell construct that does not work in autoconf. r=me 2016-01-22 16:16:06 +09:00
Mike Hommey
7048f85971 Bug 1239217 - Enable the hybrid FasterMake+RecursiveMake backend for artifact builds. r=gps 2016-01-22 15:43:27 +09:00
Mike Hommey
12d5e4cb16 Bug 1240990 - Define all backends in one place. r=gps
When adding a backend, we currently have to add them in three different
places so that they appear in the right places.

Instead, keep the list in a single place.
2016-01-21 13:54:03 +09:00
Mike Hommey
c9ff297a6a Bug 1233963 - Work around recent GNU gold behavior with segments starting before the first section they contain. r=froydnj 2016-01-21 13:54:03 +09:00
Mike Hommey
9fc2271352 Bug 1240660 - Remove support for the "+" prefix in jar manifests. r=gps 2016-01-20 07:24:40 +09:00
Chris Manchester
cfbd89d80b Bug 1214885 - Add a "ChromeUrl" build backend to write out information useful for resolving chrome urls. r=glandium
The result of running this backend is a json file containing an array with 3 elements:
a map from resource:// and chrome:// url prefixes to corresponding objdir directories,
a map of overrides, and a map from objdir files to srcdir files (with a flag for whether
the file was preprocessed) for js file in FinalTargetFiles. A subsequent commit implements
the procedure to find an replace based on the url mapping, subsistute based on overrides,
and find sourcedir files based on objdir files.
2015-10-01 18:56:53 -05:00
Benoit Girard
20d379b12e Bug 1239498 - Don't ask for FPO on win64. r=ehsan 2016-01-13 18:35:23 -05:00
Henrik Skupin
6c3729c1bc Bug 1237179 - Add mach command to run firefox-ui-tests from the source directory. r=gps 2016-01-15 19:38:31 +01:00
Kyle Machulis
d12c204fc6 Bug 769117 - Mochitests for youtube flash -> html5 rewriting; r=bz r=hsivonen 2016-01-13 16:13:50 -08:00
Kyle Machulis
7d8a34daa1 Backout of changesets 05eb8219c3e5, 1ecd2a9ffb67 (Bug 769117) for bustage on CLOSED TREE 2016-01-13 12:16:19 -08:00
Kyle Machulis
67520cf56a Bug 769117 - Mochitests for youtube flash -> html5 rewriting; r=bz r=hsivonen 2016-01-13 11:45:59 -08:00
Ralph Giles
ff42e06b72 Bug 1239366 - Remove leading 'v' from detected versions. r=mshal
The leading 'v' was intended to distinguish the detected from
the literal version string, but this is non-obvious, and could
be confused with the git tag convention.

Instead, make the strings match, but put the detected version
first since it's what configure is likely to act on.
2016-01-13 11:20:00 -08:00
Chris Manchester
d088632315 Bug 992983 - Build and upload the gtest libxul during test packaging. r=ted 2015-07-16 16:52:31 -07:00
Michael Layzell
60c90f28ee Bug 1226376 - Part 1: Allow non-trivial constexpr constructors in MOZ_TRIVIAL_CTOR_DTOR classes, r=ehsan 2016-01-08 15:34:24 -05:00
Ryan VanderMeulen
b108b057b0 Merge inbound to m-c. a=merge 2016-01-01 19:29:16 -05:00
Nick Alexander
fe2907f66f Bug 1216817 - Part 5: Run |mach artifact install| automatically when asked. r=glandium
It turns out to be much easier to hook |mach artifact install| into
config.status and |mach build| than to hook into client.mk.

The additional virtualenv package avoids an import error when running
|mach artifact install|.
2015-12-23 14:25:37 -08:00
Landry Breuil
734d750e17 Bug 1225753: move $prefix default initialization before it gets used r=glandium 2015-12-26 13:40:54 -05:00
Carsten "Tomcat" Book
f4e045afb4 merge mozilla-inbound to mozilla-central a=merge 2015-12-23 12:00:09 +01:00
Dão Gottwald
fafd188b83 Bug 1228724 - Suppress Valgrind leak when the window is maximized. r=karlt 2015-12-22 09:51:57 +01:00
Nathan Froyd
2959265ed1 Bug 1208566 - require Rust 1.5 for --enable-rust builds; r=mshal
Rust 1.5 features fine-grained dependency tracking that we need for
proper incremental builds.  As a side effect, it also features choosing
between the builtin-to-Rust jemalloc and the system allocator, which
Gecko needs for interoperation.  (Gecko needs to make Rust use the
system allocator, which then gets redirected into Gecko's copy of
jemalloc if necessary.)  It's not great to require an unstable Rust
target here, but we need to upgrade at some point anyway, so we might as
well make people aware of the upgrade requirement sooner rather than
later.
2015-12-17 12:14:19 -08:00
Wes Kocher
ab5c2fdc6e Backed out 2 changesets (bug 1208566) for breaking mulet builds
Backed out changeset a5618a5cbc7f (bug 1208566)
Backed out changeset f3fd530324ee (bug 1208566)
2015-12-17 09:34:33 -08:00
Nathan Froyd
1bbe9a982d Bug 1208566 - require Rust 1.5 for --enable-rust builds; r=mshal
Rust 1.5 features fine-grained dependency tracking that we need for
proper incremental builds.  As a side effect, it also features choosing
between the builtin-to-Rust jemalloc and the system allocator, which
Gecko needs for interoperation.  (Gecko needs to make Rust use the
system allocator, which then gets redirected into Gecko's copy of
jemalloc if necessary.)  It's not great to require an unstable Rust
target here, but we need to upgrade at some point anyway, so we might as
well make people aware of the upgrade requirement sooner rather than
later.
2015-12-17 08:25:03 -08:00
Nick Alexander
cd00fb9ff1 Bug 1227248 - Part 3: Make GeneratedTest{Certificate,Key} no-op when --disable-compile-environment. r=gps
This implements glandium's suggestion from
https://bugzilla.mozilla.org/show_bug.cgi?id=1227248#c5: since it's
not easy to run xpcshell tests in --disable-compile-environment builds
(and, right now, in artifact builds), let's just skip this work
entirely in those situations.  This saves about 30s of build time on
my machine.
2015-12-14 11:55:27 -08:00
Nick Alexander
69fd5a564e Bug 1227248 - Part 2: Add GeneratedTest{Certificate,Key} mozbuild templates. r=gps 2015-12-14 11:50:56 -08:00
Jean-Yves Avenard
5764b43963 Bug 1234092: P4. Remove gstreamer exception from valgrind config. r=njn
This is a reversal of commit b28d496da7bf48432cb3aac3d10e7a66a267421c
2015-12-23 01:14:24 +11:00
Sotaro Ikeda
e1321cf912 Bug 1214249 - Set MOZ_FLOAT_ABI in armv6 case r=glandium 2015-12-21 22:48:39 -08:00
Ralph Giles
153872475a Bug 1228703 - rustc 1.4.0 build for MacOS X with 32+64 bit support. r=mshal
Update tooltool manifest for macosx with a custom build of rustc 1.4.0
with --enable-rpath --disable-elf-tls and MACOSX_DEPLOYMENT_TARGET=10.7
on MacOS X 10.10.5, Xcode 7.1.1 (clang-700.1.76).

Built for x86_64-apple-darwin with the rustlib from a separate
i686-apple-darwin build copied into the tree to support 32-bit cross
for universal builds.

Since we've enabled rpath, we can drop the DYLD_LIBRARY_PATH setting
from mozconfig.rust. This method seems cleaner since the add/append
decision for DYLD_LIBRARY_PATH is verbose in shell.
2015-12-09 11:08:40 -05:00
James Graham
45b365d29e Bug 1207377 - Add a |mach mozharness| command for running tests locally in mozharness, r=ahal 2015-12-07 12:32:04 +00:00
Maja Frydrychowicz
b0b4cca449 Bug 1150512 - Move Marionette test runner to wptserve; r=automatedtester 2015-12-03 15:48:41 -05:00
Jan Beich
c592cbd9e4 Bug 1228208 - Make sure ICU flags are prepended before system flags. r=glandium 2015-12-02 09:40:50 +00:00
Mike Hommey
9385aa830e Bug 1229623 - Remove compilation/database.py from mach_bootstrap.py. r=mshal
When I modified ehsan's patch in bug 904572 to switch to a build backend
instead of a mach command, I forgot to remove the line added to
mach_bootstrap.py to pick the mach command, which now doesn't exist.
2015-12-03 13:34:02 +09:00
Mike Hommey
1c02cef0d5 Bug 1229613 - Properly disable sccache on PGO builds. r=mshal
Sccache was enabled mechanically by the switch to EC2 Windows instances, while
it is not intended to be used on PGO builds.

This happened because the fix for bug 1181040 disabled sccache for PGO builds
where MOZ_PGO is set through mozconfig (in which case MOZ_PGO_IS_SET is set)
*while* ignoring the case where MOZ_PGO is set through the environment (in
which case MOZ_PGO_IS_SET is, unconveniently, *not* set). The latter is what
Windows PGO builds do.
2015-12-03 13:34:02 +09:00
Mike Hommey
fe46da75a8 Bug 1229279 - Use mozbuild.context.Path for FINAL_TARGET{_PP}_FILES. r=gps 2015-12-03 13:34:02 +09:00
Mike Hommey
341164ef20 Bug 1229541 - Turn NSPR_CFLAGS, NSS_CFLAGS, MOZ_JPEG_CFLAGS, MOZ_PNG_CFLAGS and MOZ_ZLIB_CFLAGS into AC_SUBST_LISTs. r=mshal 2015-12-02 11:24:34 +09:00
Mike Hommey
c92b4e9eed Bug 1178266 - Link against libatomic when necessary. r=froydnj 2015-12-02 11:04:37 +09:00
Carsten "Tomcat" Book
eb309737df merge mozilla-inbound to mozilla-central a=merge 2015-12-01 15:25:14 +01:00
Nick Alexander
00af6f64cf Bug 1228684 - Make annotation processor handle unusual final cases. r=jchen 2015-11-27 14:21:04 -08:00
Valentin Gosu
a522a21aae Bug 1228640 - Backout bug 1183781 (changeset b9b6a1567ef6) for causing crash a=me 2015-11-28 00:20:01 +01:00
Mike Hommey
f55b90feaf Bug 1228444 - Rename DIST_FILES to FINAL_TARGET_PP_FILES. r=gps
This makes it clearer that really it's the same thing as FINAL_TARGET,
with preprocessing.
We still keep DIST_FILES in backend.mk because it's shorter and doesn't
really matter.
2015-12-01 08:25:22 +09:00
Ralph Giles
60cac25c25 Bug 1175359 - Enable rust in linux64 automation builds. r=mshal
Write a mozconfig.rust fragment which makes the rust toolchain
provided by tooltool available for linux builds, similar to
what we do for MacOS X.

Include this in linux64 mozconfigs to enable rust for official
nightly builds of that target. These aren't used outside of automation
builds, so including rust there will verify code on check-in
without requiring developers to install rust.

We must whitelist the mozconfig fragment to pass the consistency
check since we're not ready to let this feature ride the trains
to beta and release.

The tooltool reference is to a custom build of rustc 1.4
with --enable-rpath to avoid having to add the rustc lib
directory to LD_LIBRARY_PATH which somehow conflicts with
the gtk3 build we also install through tooltool.

It is also built with --enable-llvm-static-stdcpp on a
rust-buildbot dist docker image (centos:5 + script updates)
to avoid issues with GLIBCXX and GLIBC symbol versions.
2015-11-30 15:10:24 -08:00
Mike Hommey
cc7e23b5d8 Bug 1228068 - Always set MOZ_USING_COMPILER_WRAPPER when a compiler wrapper is involved. r=gps on a CLOSED TREE 2015-11-26 08:08:29 +09:00
Mike Hommey
2411b7899a Bug 1151124 - Add a simplified version of pymake's clinetoargv to mozbuild and use it. r=gps
Pymake's clinetoargv is very specific to pymake's use case, yet has been abused
as a replacement for shlex because shlex doesn't handle things properly for our
use cases.

Using pymake's clinetoargv, however, has shortcomings, and we're better off
importing its code in mozbuild, simplifying it a little, and using that
instead.

Plus, less dependencies on pymake will help kill it for good some day.
2015-11-24 11:29:14 +09:00
Valentin Gosu
e36d86890d Bug 1183781 - Small leak in DNS.cpp and nsHostResolver.cpp r=sworkman
* makes AddrInfo extend nsISupports
* uses RefPtr for managing AddrInfo and nsHostResolver in nsHostResolver.cpp
2015-11-23 13:02:41 +01:00
Mike Hommey
571476e323 Bug 1224460 - Avoid make variable references in TK_CFLAGS, TK_LIBS, MOZ_CAIRO_CFLAGS, MOZ_ICU_CFLAGS and CAIRO_FT_CFLAGS. r=gps 2015-11-19 08:05:51 +09:00
Mike Hommey
0644317347 Bug 1224642 - Don't allow arguments to the XPCOMBinaryComponent template. r=gps
XPCOM binary components imply dependent linkage, don't work with msvcrt
static linkage and have to be built against mozglue, so let's remove all
the footguns changing those add.
2015-11-19 08:05:51 +09:00
Randell Jesup
0326ca0ffd Bug 1198458: Rollup of changes previously applied to media/webrtc/trunk/webrtc and fixes to those rs=jesup r=froyd,jib,bwc,jesup,gcp,sotaro,pkerr,pehrsons
Landing as one rolled-up patch to avoid breaking regression tests, and in
keeping with previous WebRTC imports.  Broken out parts that needed review
are on the bug.
2015-11-18 15:03:25 -05:00