Commit Graph

957 Commits

Author SHA1 Message Date
Wes Kocher
821d0c747f Merge m-c to autoland, a=merge
a=release for the webidl hook for a comment-only change
2016-08-16 22:07:30 -07:00
Mike Hommey
fa972cb520 Bug 1294639 - Move --with-servo to python configure. r=chmanchester
Subtly, as toolkit/moz.configure happens before toolchain tests, we
can't set MOZ_SERVO_LIBS from there. And toolkit/moz.configure is
not always included either, making things awkward to do in python
configure.

OTOH, there's only one place where MOZ_SERVO_LIBS is used, and the
corresponding setup can actually be done there (in moz.build) instead.

I think we shouldn't shy away from moving things this way.
2016-08-16 08:32:55 +09:00
Nathan Froyd
f10d36cb3e Bug 1268727 - part 2 - compile Rust code with panic=abort; r=chmanchester 2016-08-09 18:10:19 -04:00
Ralph Giles
7ccd917c99 Bug 1295666 - Build byteorder as a separate crate. r=kinetik
Run the updated import script to split the in-tree byteorder
code into a separate directory and build it as a dependent crate.

MozReview-Commit-ID: EI5X4icOdmM
2016-08-16 11:06:46 -07:00
Nathan Froyd
0a5be4a885 Bug 1268547 - turn on LTO support for the Rust parts of libxul; r=chmanchester 2016-08-08 18:32:34 -04:00
Nathan Froyd
00ac9948d4 Bug 1231764 - part 6 - build rust code via cargo; r=chmanchester
This patch is really two separate changes.

The first change is that rust crates are large, standalone entities that
may contain multitudes of source files.  It therefore doesn't make sense
to keep them in SOURCES, as we have been doing.  Moving to use cargo
will require a higher-level approach, which suggests that we need a
different, higher-level representation for Rust sources in the build
system.

The representation here is to have the build system refer to things
defined in Cargo.toml files as the entities dealt with in the build
system, and let Cargo deal with the details of actually building things.
This approach means that adding a new crate to an existing library just
requires editing Rust and Cargo.toml files, rather than dealing with
moz.build, which seems more natural to Rust programmers.  By having the
source files for libraries (and binaries in subsequent iterations of
this support) checked in to the tree, we can also take advantage of
Cargo.lock files.

The second is that we switch the core build system over to building via
cargo, rather than invoking rustc directly.

We also clean up a number of leftover things from the Old Way of doing
things.  A number of tests are added to confirm that we'll only permit
crates to be built that have dependencies in-tree.
2016-08-06 00:49:26 -04:00
Mike Shal
99c61334d7 Bug 1290502 - Avoid duplicate entries in dependentlibs.list; r=ted
MozReview-Commit-ID: CFyf1W3oFju
2016-07-29 14:36:40 -04:00
Wes Kocher
6bd32df611 Backed out changeset 9d5365ee6944 (bug 1290502) for mass bustage a=backout CLOSED TREE 2016-08-03 10:17:40 -07:00
Carsten "Tomcat" Book
50b047ceb4 Merge mozilla-central to autoland 2016-08-03 17:08:48 +02:00
Mike Shal
58a5f3dd98 Bug 1290502 - Avoid duplicate entries in dependentlibs.list; r=ted
MozReview-Commit-ID: CFyf1W3oFju
2016-07-29 14:36:40 -04:00
Nathan Froyd
a5c7affba4 Bug 1289847 - part 2 - work around Mac linking failures when Rust is enabled; r=mshal
Current stable versions of Rust use two Rust-specific personality
routines to perform exception handling, which empirically does not play
well with the Mac linker's optimizations for using compact unwind
formats. Nightly Rust has solved this issue, but for now, we'll have to
use -no_compact_unwind to disable the linker optimization.  The size
impact is negligible (0.02%) and will be going away once nightly Rust
becomes stable.
2016-08-03 04:24:33 -04:00
Mike Shal
c9b31b19fc Bug 1254115 - Move dependentlibs.py invocation to moz.build; r=ted
MozReview-Commit-ID: D8NF03tNuTX
2016-05-09 17:34:13 -04:00
Tom Tromey
1b5a2bdb96 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx
2016-07-14 10:16:42 -06:00
Wes Kocher
0ef227567c Backed out 2 changesets (bug 1289847) for OSX static build bustage CLOSED TREE
Backed out changeset 74922f9ce5c6 (bug 1289847)
Backed out changeset f22763859aae (bug 1289847)
2016-08-01 14:56:53 -07:00
Nathan Froyd
1bb28a9697 Bug 1289847 - part 2 - work around Mac linking failures when Rust is enabled; r=mshal
Current stable versions of Rust use two Rust-specific personality
routines to perform exception handling, which empirically does not play
well with the Mac linker's optimizations for using compact unwind
formats. Nightly Rust has solved this issue, but for now, we'll have to
use -no_compact_unwind to disable the linker optimization.  The size
impact is negligible (0.02%) and will be going away once nightly Rust
becomes stable.
2016-08-01 22:49:01 -04:00
Benjamin Smedberg
cfd17e06ca Bug 1282866 - remove widget/qt and other supporting QT code, r=dougt. This patch does not remove all of the checks for MOZ_WIDGET_QT (which are dead code), but that will be a followup mentored bug.
MozReview-Commit-ID: EGqHHhCD7vD
2016-07-07 12:14:25 -04:00
Makoto Kato
157d0ad618 Bug 1271886 - Move netapi32 to delay load DLLs. r=ted
netapi32's API isn't used at startup and browsing page.  So netapi32 should move to delay load DLLs.

MozReview-Commit-ID: 1g25lnuwbfY
2016-05-11 20:05:25 +09:00
Nils Ohlmeier [:drno]
d6c38d943b Bug 1275217: remove QuickTime and QTKit related code and dependecies. r=jib
MozReview-Commit-ID: IDXgV9jnlMk
2016-05-24 02:15:19 -07:00
Munro Mengjue Chiang
125b07be14 Bug 1180725 - use AVFoundation for camera capture on OSX. r=jib 2016-05-19 22:48:55 +08:00
Bob Owen
a3e759646e Bug 1035125 Part 9: Link Chromium sandbox into firefox.exe instead of having a separate DLL. r=aklotz,glandium
MozReview-Commit-ID: 1vgDPjpcwz3
2016-05-15 16:41:40 +01:00
Jacek Caban
d9695d3797 Bug 1263622 - Fixed nsNSSComponent.cpp compilation on mingw. r=dkeeler,ted 2016-04-23 10:55:50 +02:00
Mike Hommey
1d8da3f130 Bug 1256988 - Replace tests on MOZ_WIDGET_GTK with tests on MOZ_WIDGET_TOOLKIT containing gtk. r=chmanchester
But only do that for the AC_SUBST. The AC_DEFINE is still useful.
2016-03-17 06:49:44 +09:00
Mike Hommey
5093eca220 Bug 1256988 - Replace tests on MOZ_ENABLE_GTK3 with tests on MOZ_WIDGET_TOOLKIT==gtk3. r=chmanchester 2016-03-17 06:49:44 +09:00
Ted Mielczarek
1841ccad85 bug 1244743 - Replace MOZ_NATIVE_X with MOZ_SYSTEM_X. r=gps
MozReview-Commit-ID: 9ip3qeAXFEe
2016-02-01 10:49:34 -05:00
Bobby Holley
be3486b6f3 Bug 1252980 - Link the geckolib into libxul and define MOZ_STYLO if --with-servo=PATH is passed. r=gps 2016-03-02 16:43:12 -08:00
Jean-Yves Avenard
04d6e7da9f Bug 1234092: P1. Remove GStreamer support. r=kentuckyfriedtakahe
It was now unused by default.
2015-12-23 01:14:22 +11:00
Mike Hommey
28328dab12 Bug 1178266 - Link against libatomic when necessary. r=froydnj 2015-12-02 11:04:37 +09:00
Nicholas Nethercote
12fec02dfb Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.
2015-08-27 20:44:53 -07:00
Jared Wein
d3b3cc3c7c Bug 1007063 - Show virtual (on-screen) keyboard in Windows 8 and higher when text fields are focused if physical keyboards are not present. r=jimm r=masayuki r=m_kato 2015-08-05 10:38:51 -04:00
Ryan VanderMeulen
bb83a74ea4 Backed out changeset 621a6c6aa375 (bug 1007063) for Windows XP test failures/crashes.
CLOSED TREE
2015-08-05 12:20:17 -04:00
Jared Wein
1a30ef97fd Bug 1007063 - Show virtual (on-screen) keyboard in Windows 8 and higher when text fields are focused if physical keyboards are not present. r=jimm r=masayuki r=m_kato 2015-08-05 10:38:51 -04:00
Jacek Caban
ab98ec54d7 Bug 1188457 - Fixed SapiService.cpp compilation on mingw. r=jimm 2015-07-29 12:27:22 +02:00
Kyle Machulis
ab9e0b2ca7 Bug 1176300 - Add lgpllibs library to build system; r=glandium 2015-07-07 21:17:08 -07:00
Mike Hommey
45cba00bc4 Bug 1180081 - Properly rebuild gtest/libxul before running gtests. r=gps
And since this does go through plenty of make directories, avoid make printing
many "Entering" and "Leaving" messages.
2015-07-08 07:53:31 +09:00
Gijs Kruitbosch
963d6e0d47 Bug 1170522 - expose whether or not we're in tablet mode to xul/js/css, r=jimm,ted 2015-06-16 19:51:29 +01:00
Ted Mielczarek
743f3dc393 bug 1163828 - build system changes to support building for iOS. r=glandium 2015-06-10 11:10:40 -04:00
Liang-Heng Chen
584515ed5a Bug 1115480 - Part 1: Implement XPCOM module for mDNSProvider. r=mcmanus 2015-05-20 23:06:00 -04:00
Ethan Lin
5de19c51ac Bug 1155498 - Use FdObj to replace FenceHandle's android fence. r=sotaro 2015-05-17 07:21:00 +02:00
Steven Michaud
b530862776 Bug 1159473 - Add Mac-specific debug logging code. r=spohl 2015-04-30 14:41:21 -05:00
David Major
de0cdb20c0 Bug 1157835: Remove the MSVC_ENABLE_PGO flag from the build system. r=glandium 2015-04-27 19:59:27 -04:00
Kartikaya Gupta
ebe4a3e37e Bug 1039866 - Rip out a bunch of metro-only code. r=jimm,gavin,rstrong 2015-04-23 15:10:30 -04:00
Andrew Osmond
8c3d2feb17 Bug 1139027 - Permit running of camera mochitests on B2G desktop. r=mikeh 2015-03-10 19:39:49 -04:00
Mike Hommey
d52f1bb3cd Bug 868814 - Fold mozalloc library into mozglue. r=njn 2015-03-10 10:01:52 +09:00
Makoto Kato
348cadf24f Bug 512407 - Support Windows Location API. r=jdm,jmathies 2015-01-23 18:43:46 +09:00
Masatoshi Kimura
bae0a32948 Bug 1120062 - Part 1: Remove most Nullptr.h includes. r=waldo 2015-01-11 11:34:52 +09:00
Mike Hommey
12a9767571 Bug 1108858 - Avoid building libxul twice as much as necessary during Linux PGO builds. r=mshal 2014-12-23 15:27:20 +09:00
Chris Peterson
1d85269cb4 Bug 1110031 - Part 1: Mark more directories as FAIL_ON_WARNINGS. r=gps 2014-12-10 22:56:31 -08:00
Georg Koppen
2e68e52227 Bug 1067893 - Detect OTOOL in configure. r=glandium 2014-11-25 05:12:00 -05:00
Mike Hommey
42980011ad Bug 1097507 - Make libxul independent of libdmd when DMD is enabled. r=njn
This also effectively changes how DMD is enabled from requiring both
replace-malloc initialization and the DMD environment variable to
requiring only the former. The DMD environment variable can still be
used to specify options, but not to disable entirely.

This however doesn't touch all the parts that do enable DMD by setting
the DMD environment variable to 1, so the code to handle this value
is kept.
2014-11-18 19:21:06 +09:00
Mike Hommey
632dbaeb90 Bug 1077148 part 4 - Add and use new moz.build templates for Gecko programs and libraries. r=gps
There are, sadly, many combinations of linkage in use throughout the tree.
The main differentiator, though, is between program/libraries related to
Gecko or not. Kind of. Some need mozglue, some don't. Some need dependent
linkage, some standalone.

Anyways, these new templates remove the need to manually define the
right dependencies against xpcomglue, nspr, mozalloc and mozglue
in most cases.

Places that build programs and were resetting MOZ_GLUE_PROGRAM_LDFLAGS
or that build libraries and were resetting MOZ_GLUE_LDFLAGS can now
just not use those Gecko-specific templates.
2014-10-30 13:06:12 +09:00