Commit Graph

685 Commits

Author SHA1 Message Date
Mike Hommey
5adcf3d3e2 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
92cbb6df9d 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
da4276d0ce bug 1163828 - build system changes to support building for iOS. r=glandium 2015-06-10 11:10:40 -04:00
Liang-Heng Chen
f7fdeb33b3 Bug 1115480 - Part 1: Implement XPCOM module for mDNSProvider. r=mcmanus 2015-05-20 23:06:00 -04:00
Ethan Lin
fc8b388132 Bug 1155498 - Use FdObj to replace FenceHandle's android fence. r=sotaro 2015-05-17 07:21:00 +02:00
Steven Michaud
c00d74d960 Bug 1159473 - Add Mac-specific debug logging code. r=spohl 2015-04-30 14:41:21 -05:00
David Major
ed6ca74f4f Bug 1157835: Remove the MSVC_ENABLE_PGO flag from the build system. r=glandium 2015-04-27 19:59:27 -04:00
Kartikaya Gupta
69c50300c9 Bug 1039866 - Rip out a bunch of metro-only code. r=jimm,gavin,rstrong 2015-04-23 15:10:30 -04:00
Andrew Osmond
a248bf5eb1 Bug 1139027 - Permit running of camera mochitests on B2G desktop. r=mikeh 2015-03-10 19:39:49 -04:00
Mike Hommey
d84d9950a3 Bug 868814 - Fold mozalloc library into mozglue. r=njn 2015-03-10 10:01:52 +09:00
Makoto Kato
2b4be5e6f7 Bug 512407 - Support Windows Location API. r=jdm,jmathies 2015-01-23 18:43:46 +09:00
Masatoshi Kimura
40a556102e Bug 1120062 - Part 1: Remove most Nullptr.h includes. r=waldo 2015-01-11 11:34:52 +09:00
Mike Hommey
7642578155 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
e56f788c56 Bug 1110031 - Part 1: Mark more directories as FAIL_ON_WARNINGS. r=gps 2014-12-10 22:56:31 -08:00
Georg Koppen
a450485405 Bug 1067893 - Detect OTOOL in configure. r=glandium 2014-11-25 05:12:00 -05:00
Mike Hommey
6dd000340e 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
21ec48314e 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
Tooru Fujisawa
cb75807d6d Bug 1080910 - Add USE_ICU variable separated from ENABLE_INTL_API. r=glandium 2014-10-10 02:55:00 -04:00
Joshua Cranmer
cb7d7894e5 Bug 1059769 - Add LIBRARY_DEFINES to moz.build, r=glandium. 2014-09-04 23:38:54 -05:00
Mike Hommey
92deb5899a Bug 1059113 - Use templates for shared libraries and frameworks. r=gps
Also force to use the existing template for XPCOM components.
2014-09-04 09:04:45 +09:00
Mike Hommey
8fd95ad480 Bug 1041941 - Use templates for programs, simple programs, libraries and C++ unit tests. r=gps 2014-09-03 14:10:54 +09:00
Trevor Saunders
b8f02e1d11 bug 1032055 - prevent lto from reordering static xul component constants r=glandium 2014-08-28 16:41:18 -04:00
Jacek Caban
cc1a39aab6 Bug 1042426 - Added --disable-sandbox option that disables building sandbox code. r=glandium 2014-08-27 16:32:55 +02:00
Jacek Caban
537a873d7f Bug 940208 - Unbreak mingw after bug 938437. r=glandium 2014-08-27 16:16:49 +02:00
Landry Breuil
aef1135866 Bug 1036832: dont use the linker script from bug 938437 on OpenBSD, libxul.so fails to link with ld 2.15. r=glandium 2014-08-26 09:47:02 +02:00
Ryan VanderMeulen
07efc33ff0 Backed out changeset 3ad9f60f1972 (bug 1032055) for B2G ICS bustage. 2014-08-15 23:14:30 -04:00
Trevor Saunders
834d88e01d bug 1032055 - fix ordering of static xul component constants with LTO r=glandium 2014-08-15 21:55:24 -04:00
Ian Neal
38d776f175 Bug 1053439 - MOZ_APP_COMPONENT_MODULES and MOZ_APP_EXTRA_LIBS are no longer required r=glandium 2014-08-15 20:40:19 +01:00
Mike Shal
448b78957a Bug 1047621 - Have link.py import and call expandlibs_exec.py; r=gps 2014-08-13 14:24:15 -04:00
Mike Shal
880d276775 Bug 1047621 - Move link.py to config for importing expandlibs_exec; r=gps 2014-08-13 14:23:11 -04:00
Mike Shal
be3be1d4e2 Backout changeset 5e9b13c3595b (bug 1047621) because of bug 1053188. 2014-08-13 10:03:32 -04:00
Mike Shal
837e62bf2a Bug 1047621 - Have link.py call expandlibs_exec.py; r=gps 2014-08-06 11:55:23 -04:00
Mike Hommey
cbe32e4bb3 Bug 1047267 - Move remaining OS_LIBS and EXTRA_LIBS to moz.build. r=gps
* * *
Bug 1047267 - To fold with "Move remaining OS_LIBS and EXTRA_LIBS to moz.build"
2014-08-07 14:21:03 +09:00
Mike Hommey
1cb5547cd1 Bug 1045783 - Move most OS_LIBS to moz.build and do some related cleanup. r=mshal 2014-08-06 07:25:33 +09:00
Nathan Froyd
d86ff9f990 Bug 1042878 - part 2 - move MOZ_CAIRO_CFLAGS et al additions to C*FLAGS into moz.build; r=glandium 2014-07-24 11:55:33 -04:00
Mike Hommey
b8cc89acde Bug 1043865 - Remove the remainder of compilation bits from the libs tier. r=gps 2014-07-29 08:59:27 +09:00
Mike Hommey
44b8a4bc6d Bug 1043448 - Fixup RCINCLUDE in toolkit/library/libxul.mozbuild after bug 1041936. r=gps 2014-07-25 20:13:15 +09:00
Mike Hommey
2a08f131e0 Bug 1043344 - Move libraries and programs build to the compile tier. r=gps 2014-07-25 07:14:40 +09:00
Tom Schuster
7f2acb4d62 Bug 1042685 - Correct LIBS definition for Qt Widget and Gstreamer on Mac. r=glandium 2014-07-24 10:28:29 +02:00
Mike Hommey
7ca0de0fb4 Bug 1041936 part 2 - Directly use the static library "xul" to link into "xul-gtest" instead of having an intermediate library "xul" used by "xul-shared" and "xul-gtest". r=gps 2014-07-23 13:33:09 +09:00
Mike Hommey
171507509c Bug 1036894 part 9 - Replace all EXTRA_DSO_LDOPTS, SHARED_LIBRARY_LIBS and LIBS with EXTRA_LIBS, OS_LIBS or OS_LDFLAGS, appropriately. r=gps
OS_LIBS for libraries that are not part of the gecko tree, EXTRA_LIBS for
libraries, such as NSPR, that are in the tree, but are not handled by
moz.build just yet. Those EXTRA_LIBS may also come from a system library.
However, in cases where the expanded variables are always empty for the
in-tree case, OS_LIBS is used (as for, e.g. MOZ_ZLIB_LIBS). OS_LDFLAGS is
used exclusively for non-library linker flags.

Always pass EXTRA_LIBS before OS_LIBS on linker command lines.

Forbid EXTRA_DSO_LDOPTS, SHARED_LIBRARY_LIBS and LIBS in Makefiles.
2014-07-23 13:31:02 +09:00
Mike Hommey
5659a611dd Bug 1036894 part 8 - Move most in-tree library linkage information to moz.build, as USE_LIBS. r=gps 2014-07-23 13:30:52 +09:00
Mike Hommey
bc97b68005 Bug 1036894 part 1 - Move MAKE_FRAMEWORK, SDK_LIBRARY, SHARED_LIBRARY_NAME and STATIC_LIBRARY_NAME to moz.build. r=gps
At the same time, make the Library data more useful in the build frontend.
2014-07-23 13:29:09 +09:00
Mike Hommey
09a1fe2354 Bug 1040639 - Remove LIBS_DIR. r=mshal 2014-07-19 08:42:16 +09:00
Mike Hommey
ec3e587eb4 Bug 1039897 - Don't tie webrtc-required X11 library requirements to in-tree cairo flags. r=ted,a=kwierso 2014-07-17 14:55:11 +09:00
Wes Kocher
47c4af6f89 Merge m-c to inbound 2014-07-16 17:42:00 -07:00
Tim Abraldes
b34732fc82 bug 985252. Build sandbox code regardless of whether --enable-content-sandbox/MOZ_CONTENT_SANDBOX is provided. Enable sandboxing of GMP plugins. Enable SandboxBroker to set different security policies for different process types. r=bbondy, r=cpearce, r=bent 2014-07-16 16:01:34 -07:00
Dave Hylands
2ba9864a20 Bug 1029533 - Initial standup of MTP server. r=echou
Note: This will be off by default. Currently, you need to do:

adb shell setprop sys.usb.config mtp,adb

in order to activate the MTP server.
2014-07-11 14:42:15 -07:00
Mike Hommey
34799e0459 Bug 1036864 - Remove EXPORT_LIBRARY. r=mshal 2014-07-11 19:06:55 +09:00
Mike Hommey
ea4c48b84b Bug 1036794 - Remove MOZ_APP_COMPONENT_LIBS. r=mshal 2014-07-11 19:06:23 +09:00