Commit Graph

386 Commits

Author SHA1 Message Date
Mike Hommey
21ea6a1c90 Bug 1224490 - Kill LIBXUL_DIST. r=mshal 2015-11-17 10:00:19 +09:00
J. Ryan Stinnett
4268b06e64 Bug 1217687 - Revert back to including /devtools via toolkit. r=glandium 2015-10-23 06:04:45 -05:00
J. Ryan Stinnett
243376f9d1 Bug 1203159 - Update each product's DevTools inclusion. r=glandium
A new configure option --with-devtools (which sets MOZ_DEVTOOLS) is added to
control whether all DevTools, just the server, or no DevTools are included.
This defaults to just the server.

Applications should also include /devtools within their moz.build tree, so that
DIST_SUBDIR is in effect for all DevTools files if it is used by the app.
2015-10-21 12:22:59 -05:00
Chris Peterson
dd2fcb9b7d Bug 1207030 - Enable -Wshadow flag in more directories that have no -Wshadow warnings. r=glandium 2015-09-22 21:39:03 -07:00
Nathan Froyd
5b217ceaf0 Bug 1206801 - fix broken CONFIG['DEBUG'] checks in moz.build files; r=mshal
These were supposed to be CONFIG['MOZ_DEBUG'].  webapprt doesn't use the
define it set up, however, so it was deleted rather than fixed.
2015-09-21 22:32:15 -04:00
Nicholas Nethercote
69d088e45f 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
Nick Thomas
a712aac8f6 Bug 1174011, fix xulrunner-stub compile, r=gladium DONTBUILD 2015-08-07 12:20:28 +12:00
Mike Hommey
45ed79edc7 Bug 1181040 - Include mozconfig.cache after mozconfig.common.override. r=mshal
Enable sccache on windows b2g builds at the same time to simplify things.
2015-07-11 06:26:20 +09:00
Mike Hommey
5b5c486abd Bug 1173681 - Remove winEmbed. r=bsmedberg 2015-06-23 08:54:04 -07:00
Brian O'Keefe
5c00cfd457 Bug 786520 - Install things to $(DIST)/branding from moz.build instead of manual rules in Makefile.ins. r=mshal 2015-02-26 16:53:31 -05:00
Nathan Froyd
5cb5f0be4a Bug 1155738 - move xulrunner/examples/simple/Makefile.in to moz.build; r=mshal 2015-04-17 12:15:01 -04:00
Nathan Froyd
4ac32b4479 Bug 870891 - move DIST_FILES to moz.build; r=mshal 2015-04-15 16:04:49 -04:00
Mike de Boer
c448a0cf28 Bug 1105044: update XULRunner stub path finding to match the updated Mac app package signing requirements. r=bsmedberg 2015-03-28 12:26:22 +01:00
Sebastian Hengst
09b323c52f Bug 1143470 - Add BUG_COMPONENT to moz.build files in toolkit and xulrunner. r=gavin 2015-03-15 19:36:24 +01:00
Mike Hommey
d84d9950a3 Bug 868814 - Fold mozalloc library into mozglue. r=njn 2015-03-10 10:01:52 +09:00
Ben Hearsum
3424af290a bug 1138990: 64-bit windows xulrunner is busted. r=glandium 2015-03-05 08:58:30 -05:00
Mike Shal
5616e06659 Bug 1137060 - Set _RESPATH for OSX xulrunner; r=glandium 2015-02-26 14:28:23 -05:00
Brian O'Keefe
9035722dbf Bug 870366 - Part 2: Move PREF_JS_EXPORTS to moz.build (easy moves). r=gps 2015-01-20 13:07:03 -05:00
Brian Smith
64e6633bea Bug 1119776, Part 7: Avoid defining snprintf when MSVC provides it (other), r=bsmedberg 2015-01-08 22:35:33 -08:00
Ehsan Akhgari
5a04745802 Bug 1121000 - Remove support for non-unified builds; r=gps 2015-01-14 17:26:39 -05: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
Alexander J. Vincent
3119513d57 Bug 1102602 - part 2: Rename the XULRunner stub, so that we can compile it. r=gps 2014-11-20 17:08:40 -08: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
David Major
cd9da5fa26 Bug 1061335 - Part 3: Switch Win32 builders to VS2013. r=glandium sr=bsmedberg 2014-10-14 15:31:23 +13:00
Mike Hommey
12c0ad9626 Bug 1081031 - Unbust xulrunner mac builds by not exporting all JS symbols (bug 920731). r=bsmedberg 2014-10-14 07:12:40 +09:00
zhoubcfan@163.com
0611b3d3c1 Bug 1076926 - Add windows 10 support to exe manifest. r=jimm 2014-10-04 14:43:01 +09:00
Mike Hommey
3b917517d3 Bug 1077212 - Move MOZ_FOLD_LIBS to configure. r=mshal
Setting MOZ_FOLD_LIBS should stop being an opt-in for individual applications,
which also makes them responsible for doing the right thing, which happens not
to be the case for B2G Desktop Linux builds.

Enforcing MOZ_FOLD_LIBS to be set on the relevant platforms in configure ensures
everything is setup up correctly, and also allows to stop caring about supporting
now hypothetical e.g. MSVC builds without MOZ_FOLD_LIBS (which require to pass
DLLFLAGS down to the nspr build system to make nspr built against mozglue which
would now be unnecessary)
2014-10-04 10:33:46 +09:00
Mike Hommey
0e6e978770 Bug 1063414 - Make DIRS relative to the file they were added from. r=gps 2014-10-02 09:14:07 +09:00
Mike Hommey
5f3bfd0ece Bug 1062221 - Replace add_tier_dir with DIRS. r=gps 2014-10-02 09:14:07 +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
Benoit Jacob
94bb095f86 Bug 1060984 - Fix the xulrunnner build now that we static_assert against bad public destructors - no review, xulrunner bustage fix on a CLOSED TREE 2014-09-01 13:07:41 -04:00
David Major
09a25cf98d Bug 1023941 - Part 5: Loader hook to redirect the missing import. r=bsmedberg
--HG--
extra : rebase_source : 7cf2e857f51dcfcc95bb806d49ef13b794f5ba5b
2014-08-28 14:53:38 +12:00
Mike Hommey
23b14feb8c Bug 1041941 - Use templates for Gecko XPCOM components. r=gps 2014-08-24 09:11:05 +09: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
b980ae9fd0 Bug 1049249 - Remove app_libxul_dirs. r=mshal 2014-08-07 02:58:49 +09:00
Mike Hommey
edc117da12 Bug 1049247 - Remove app_libxul_static_dirs. r=mshal 2014-08-07 02:58:48 +09:00
Nathan Froyd
aa3167382a Bug 1042226 - move DEFINES += -DAB_CD=$(AB_CD) pattern into config.mk; r=mshal 2014-08-01 12:53:05 -04: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
Mike Hommey
010c0a5eb7 Bug 1043820 - Remove PARALLEL_DIRS. r=gps 2014-07-29 08:57:59 +09:00
Jan de Mooij
f267f1737c Bug 1031529 part 3 - Step defining JS_THREADSAFE, remove --disable-threadsafe. r=glandium 2014-07-24 11:56:45 +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
Nathan Froyd
944043708f Bug 728600 - define TARGET_XPCOM_ABI in mozilla-config.h; r=glandium 2014-06-23 15:06:48 -04:00
Birunthan Mohanathas
c910458886 Bug 1016240 - Exterminate CR+LF line endings. r=briansmith,cpearce,ehsan,gavin 2014-06-18 17:56:02 -07:00
Jacek Caban
3ca78c8ce7 Bug 1018884 - Fix char16_t/wchar_t mismatch in xulrunner/.
--HG--
extra : rebase_source : d2608fc83d7d5563cee035e2343aff48e88ae1e9
2014-06-03 13:25:37 +02:00
Birunthan Mohanathas
e5b0697f13 Bug 869836 - Part 5: Use AssignLiteral instead of Assign where possible. r=ehsan 2014-05-22 06:48:51 +03:00
Birunthan Mohanathas
504b581650 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Noel Cragg
f35b15e003 Bug 964902 - Make sure log is initialized in nsXULRunnerApp.cpp. r=bsmedberg 2014-04-02 15:21:44 -04:00
Mike Hommey
4ab362e7fb Bug 985200 - Fix includedir in mozilla-nspr.pc and mozilla-nss.pc. r=bsmedberg 2014-03-19 08:24:07 +09:00