Commit Graph

763 Commits

Author SHA1 Message Date
Masatoshi Kimura
bf312ad056 Bug 1120062 - Part 1: Remove most Nullptr.h includes. r=waldo 2015-01-11 11:34:52 +09:00
Mike Hommey
61bbfc882e 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
249ac81315 Bug 1110031 - Part 1: Mark more directories as FAIL_ON_WARNINGS. r=gps 2014-12-10 22:56:31 -08:00
Georg Koppen
144cfd9761 Bug 1067893 - Detect OTOOL in configure. r=glandium 2014-11-25 05:12:00 -05:00
Mike Hommey
7def0f9cd3 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
47c853314f 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
8189e6bc60 Bug 1080910 - Add USE_ICU variable separated from ENABLE_INTL_API. r=glandium 2014-10-10 02:55:00 -04:00
Joshua Cranmer
0f5f1f0b5d Bug 1059769 - Add LIBRARY_DEFINES to moz.build, r=glandium. 2014-09-04 23:38:54 -05:00
Mike Hommey
4b99580194 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
ed70c5f377 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
082e8e418e bug 1032055 - prevent lto from reordering static xul component constants r=glandium 2014-08-28 16:41:18 -04:00
Jacek Caban
319bc9cc73 Bug 1042426 - Added --disable-sandbox option that disables building sandbox code. r=glandium 2014-08-27 16:32:55 +02:00
Jacek Caban
e70dbc14e7 Bug 940208 - Unbreak mingw after bug 938437. r=glandium 2014-08-27 16:16:49 +02:00
Landry Breuil
942a0995e5 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
c33a664a92 Backed out changeset 3ad9f60f1972 (bug 1032055) for B2G ICS bustage. 2014-08-15 23:14:30 -04:00
Trevor Saunders
bdc41d899e bug 1032055 - fix ordering of static xul component constants with LTO r=glandium 2014-08-15 21:55:24 -04:00
Ian Neal
ecabb3f6d8 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
21bbc49d68 Bug 1047621 - Have link.py import and call expandlibs_exec.py; r=gps 2014-08-13 14:24:15 -04:00
Mike Shal
35b4ff103c Bug 1047621 - Move link.py to config for importing expandlibs_exec; r=gps 2014-08-13 14:23:11 -04:00
Mike Shal
78992ca9fe Backout changeset 5e9b13c3595b (bug 1047621) because of bug 1053188. 2014-08-13 10:03:32 -04:00
Mike Shal
39a200497c Bug 1047621 - Have link.py call expandlibs_exec.py; r=gps 2014-08-06 11:55:23 -04:00
Mike Hommey
89777800f9 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
d9443ec932 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
12c76f15f7 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
c48f53e37a Bug 1043865 - Remove the remainder of compilation bits from the libs tier. r=gps 2014-07-29 08:59:27 +09:00
Mike Hommey
e178d7cc27 Bug 1043448 - Fixup RCINCLUDE in toolkit/library/libxul.mozbuild after bug 1041936. r=gps 2014-07-25 20:13:15 +09:00
Mike Hommey
a62cdc4fa7 Bug 1043344 - Move libraries and programs build to the compile tier. r=gps 2014-07-25 07:14:40 +09:00
Tom Schuster
6ad763fa7f Bug 1042685 - Correct LIBS definition for Qt Widget and Gstreamer on Mac. r=glandium 2014-07-24 10:28:29 +02:00
Mike Hommey
7cab62150a 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
95063176fa 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
5fab42fcaf 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
a33d7d67e6 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
d3f990ebdb Bug 1040639 - Remove LIBS_DIR. r=mshal 2014-07-19 08:42:16 +09:00
Mike Hommey
03ca84f432 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
ab953e69d8 Merge m-c to inbound 2014-07-16 17:42:00 -07:00
Tim Abraldes
1aaa7148c1 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
a91911e8c6 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
70a5917917 Bug 1036864 - Remove EXPORT_LIBRARY. r=mshal 2014-07-11 19:06:55 +09:00
Mike Hommey
16b47250fc Bug 1036794 - Remove MOZ_APP_COMPONENT_LIBS. r=mshal 2014-07-11 19:06:23 +09:00
Mike Hommey
4410e6c0df Bug 938437 - Replace nsStaticXULComponents.cpp with smart use of sections. r=bsmedberg,irc-r=decoder,r=nfroyd,r=gps 2013-11-19 13:45:31 +09:00
Mike Hommey
b81d50e1eb Bug 883339 - Enable gtest on windows TBPL non-PGO builds. r=ted 2014-06-26 07:59:24 +09:00
Jan Beich
3f7d613d36 Bug 1016744 - Remove unused NamedProcessIterator from ipc/chromium. r=jld, rs=bsmedberg 2014-06-04 18:51:00 -04:00
Emilio Pozuelo Monfort
3062b0f182 Bug 624422- Add libmozgtk libraries so that libxul can use GTK+ 2 and 3. r=glandium
This is necessary for plugins when building libxul for GTK+ 3
because libxul will link against GTK+ 3 and some plugins link
against GTK+ 2, but both GTK+ libraries can't be loaded in the
same process. With this change, we have an indirection between
libxul and libgtk, named libmozgtk. plugin-container will
be modified to load libmozgtk2 in order to only have GTK+ 2
in its address space, thus enabling various plugins (e.g. flash)
on GTK+ 3 firefox.
2014-05-01 13:36:05 +02:00
Aaron Klotz
501e7a5f1b Bug 1006765: Ensure that Win32 widget handles terminal services messages; r=jimm
--HG--
extra : rebase_source : a25ad41fb20aa3b52207a78f42d51fb870246bf4
2014-05-12 13:30:31 -06:00
Chuck Lee
b95eeccd7b Bug 917102 - 0002. Add Wifi certificate service. r=mrbkap, r=keeler 2014-04-28 15:49:57 +08:00
Jeff Gilbert
b21a7e2e9c Bug 999260 - Ship both d3dcompiler_43 and _46+. - r=mshal 2014-05-02 15:31:05 -07:00
Ted Mielczarek
873a726a19 Bug 996078 - Replace Windows Gamepad DirectInput backend with Raw Input. r=jimm 2014-04-14 13:18:51 -04:00
Mike Hommey
4be1d02793 Bug 991769 - Add missing parenthesis. r=me 2014-04-04 15:08:25 +09:00
Mike Hommey
f839362458 Bug 991799 - Fixup Windows resource include file location after bug 988168. r=mshal 2014-04-04 14:57:09 +09:00
Mike Hommey
6ade45f077 Bug 991769 - Cleanup gtest libxul when doing make clean or distclean. r=mshal 2014-04-04 14:56:51 +09:00