Commit Graph

671 Commits

Author SHA1 Message Date
Georg Koppen
da4453f15f Bug 1067893 - Detect OTOOL in configure. r=glandium 2014-11-25 05:12:00 -05:00
Mike Hommey
e6bc795b4f 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
d667f4bb59 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
dbd0aadeb5 Bug 1080910 - Add USE_ICU variable separated from ENABLE_INTL_API. r=glandium 2014-10-10 02:55:00 -04:00
Joshua Cranmer
2dd3425d77 Bug 1059769 - Add LIBRARY_DEFINES to moz.build, r=glandium. 2014-09-04 23:38:54 -05:00
Mike Hommey
a653121671 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
fc99c53ae5 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
32bbcd3aaf bug 1032055 - prevent lto from reordering static xul component constants r=glandium 2014-08-28 16:41:18 -04:00
Jacek Caban
57c0ae2d2e Bug 1042426 - Added --disable-sandbox option that disables building sandbox code. r=glandium 2014-08-27 16:32:55 +02:00
Jacek Caban
079bdd6ccc Bug 940208 - Unbreak mingw after bug 938437. r=glandium 2014-08-27 16:16:49 +02:00
Landry Breuil
fdecf0443c 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
2fb70c0009 Backed out changeset 3ad9f60f1972 (bug 1032055) for B2G ICS bustage. 2014-08-15 23:14:30 -04:00
Trevor Saunders
71b489032f bug 1032055 - fix ordering of static xul component constants with LTO r=glandium 2014-08-15 21:55:24 -04:00
Ian Neal
3103f7a3f6 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
f49f579626 Bug 1047621 - Have link.py import and call expandlibs_exec.py; r=gps 2014-08-13 14:24:15 -04:00
Mike Shal
d146198436 Bug 1047621 - Move link.py to config for importing expandlibs_exec; r=gps 2014-08-13 14:23:11 -04:00
Mike Shal
3676b78312 Backout changeset 5e9b13c3595b (bug 1047621) because of bug 1053188. 2014-08-13 10:03:32 -04:00
Mike Shal
decf19ab4c Bug 1047621 - Have link.py call expandlibs_exec.py; r=gps 2014-08-06 11:55:23 -04:00
Mike Hommey
0f4c5d9244 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
ec54bf6c1f 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
9ea6c585f8 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
90e6ca0914 Bug 1043865 - Remove the remainder of compilation bits from the libs tier. r=gps 2014-07-29 08:59:27 +09:00
Mike Hommey
fc1ebed447 Bug 1043448 - Fixup RCINCLUDE in toolkit/library/libxul.mozbuild after bug 1041936. r=gps 2014-07-25 20:13:15 +09:00
Mike Hommey
dbad84b131 Bug 1043344 - Move libraries and programs build to the compile tier. r=gps 2014-07-25 07:14:40 +09:00
Tom Schuster
92623068d6 Bug 1042685 - Correct LIBS definition for Qt Widget and Gstreamer on Mac. r=glandium 2014-07-24 10:28:29 +02:00
Mike Hommey
ad9b49263a 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
71623acdd6 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
e5c43ef995 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
31cd528278 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
15534a15c4 Bug 1040639 - Remove LIBS_DIR. r=mshal 2014-07-19 08:42:16 +09:00
Mike Hommey
d878c2940f 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
cf3ebe1f47 Merge m-c to inbound 2014-07-16 17:42:00 -07:00
Tim Abraldes
2271b8aa31 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
7324f2a626 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
07267c6f7f Bug 1036864 - Remove EXPORT_LIBRARY. r=mshal 2014-07-11 19:06:55 +09:00
Mike Hommey
dbf9b286cd Bug 1036794 - Remove MOZ_APP_COMPONENT_LIBS. r=mshal 2014-07-11 19:06:23 +09:00
Mike Hommey
ad07eb8f62 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
ccdc7b4993 Bug 883339 - Enable gtest on windows TBPL non-PGO builds. r=ted 2014-06-26 07:59:24 +09:00
Jan Beich
82686e13cd Bug 1016744 - Remove unused NamedProcessIterator from ipc/chromium. r=jld, rs=bsmedberg 2014-06-04 18:51:00 -04:00
Emilio Pozuelo Monfort
a74fc6c1fb 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
ab1ec3649a 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
ffa56bfb0e Bug 917102 - 0002. Add Wifi certificate service. r=mrbkap, r=keeler 2014-04-28 15:49:57 +08:00
Jeff Gilbert
dbc5d236e7 Bug 999260 - Ship both d3dcompiler_43 and _46+. - r=mshal 2014-05-02 15:31:05 -07:00
Ted Mielczarek
d820ca8a73 Bug 996078 - Replace Windows Gamepad DirectInput backend with Raw Input. r=jimm 2014-04-14 13:18:51 -04:00
Mike Hommey
3ee90d23a2 Bug 991769 - Add missing parenthesis. r=me 2014-04-04 15:08:25 +09:00
Mike Hommey
ecac0d5b1d Bug 991799 - Fixup Windows resource include file location after bug 988168. r=mshal 2014-04-04 14:57:09 +09:00
Mike Hommey
1031b60e2e Bug 991769 - Cleanup gtest libxul when doing make clean or distclean. r=mshal 2014-04-04 14:56:51 +09:00
Mike Hommey
b92eb28c0d Bug 990333 - Fix DirectX SDK path handling when linking xul.dll after bug 988271. r=mshal 2014-04-02 11:52:21 +09:00
Mike Hommey
edf4794405 Bug 988168 - Better integrate gtest libxul in the build system. r=mshal. DONTBUILD
--HG--
rename : toolkit/library/Makefile.in => toolkit/library/libxul.mk
rename : toolkit/library/moz.build => toolkit/library/libxul.mozbuild
2014-03-31 13:21:38 +02:00
Mike Hommey
3dbd6f1f57 Backed out changeset 561b9329d832 (bug 988168) for wrong attribution. 2014-04-01 13:17:50 +09:00