Commit Graph

4187 Commits

Author SHA1 Message Date
Terrence Cole
91e1a9a93f Bug 1068123 - Make the MOZ_GCTIMER logs more verbose and readable; r=jonco 2014-09-19 08:39:54 -07:00
Carsten "Tomcat" Book
2ae977b21b merge mozilla-inbound to mozilla-central a=merge 2014-09-22 12:58:26 +02:00
Nick Alexander
1d426f4614 Bug 1065773 - Part 1: Extract Android release signing bits into config/android-common.mk. r=mshal 2014-09-19 13:52:54 -07:00
Nicholas Nethercote
2d771de5ad Bug 1067699 (part 1) - Export double-conversion.h normally from MFBT. r=froydnj.
--HG--
extra : rebase_source : 14c3d827f4d8015d8326612e82782c52dcf7335d
2014-09-16 23:33:05 -07:00
Timothy Arceri
b21342338f b=1068964 Cleanup GTK print includes r=karlt
--HG--
extra : transplant_source : %18%ED%1B%24%9C%AB%FDA%F8%BE%A3%85%92h%F1%B0%FF%92D%8D
2014-09-18 15:59:01 +10:00
Mike Hommey
9a48b15ea5 Bug 1059255 - Make stdc++compat errors fatal. r=mshal 2014-09-11 12:20:41 +09:00
Mike Hommey
203b345279 Bug 1059255 - Stop building stdc++compat as a real library. r=mshal
Incidentally, this makes the build fail because stdc++compat.o then appears
twice on the libxul linkage command line. This, in turn, is because
widget/xremoteclient creates both a program and an intermediate library for
libxul. The Program() template adds stdc++compat to the directory data,
which ends up being added to libxul as well. The same kind of issue arises
when linking the gtest-enabled libxul.

While eventually we'll be able to avoid those problems, it's not the case
yet, so work around the issue by making expand-libs skip .desc files that
appear multiple times.
2014-09-11 12:19:28 +09:00
Ehsan Akhgari
37098f6c5e Backed out changeset 9a796d86bae8 (bug 1063728) until people agree what they want to do here 2014-09-08 20:38:21 -04:00
Jan de Mooij
b87ce24352 Bug 1063924 - Optimize check_spidermonkey_style.py and remove some cruft. r=njn 2014-09-08 11:12:04 +02:00
Ehsan Akhgari
bf881ddde5 Bug 1063728 - Run check_spidermonkey_style.py before starting to build; r=jandem 2014-09-05 18:00:24 -04:00
Joshua Cranmer
0f5f1f0b5d Bug 1059769 - Add LIBRARY_DEFINES to moz.build, r=glandium. 2014-09-04 23:38:54 -05:00
Brian Smith
26f076840d Bug 1061021, Part 15: Stop using PLArenaPool in CreateEncodedOCSPResponse, r=keeler
--HG--
extra : rebase_source : 00c3f77cd1e7e0d81b0acac84631b81e4cac59bd
2014-09-01 19:23:01 -07:00
Mike Hommey
51f6cc88c1 Bug 1062219 - Don't build build/clang-plugin as an external directory. r=jcranmer 2014-09-04 17:44:01 +09: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
Joshua Cranmer
909189d65b Bug 1060198, part 2: Move other IS_GYP_DIR rules to gyp_reader.py, r=glandium.
--HG--
extra : rebase_source : 5ad6eae63688f5582568f470b7266b0f7ebc8b6c
2014-09-02 23:45:26 -05:00
Joshua Cranmer
8a9b86f856 Bug 1060198, part 1: Remove IS_GYP_DIR's replacement of INCLUDES, r=glandium.
--HG--
extra : rebase_source : 4f322f0b9d57f108815f2aa4b689d2dc01b4e4e7
2014-09-02 23:46:29 -05:00
ffxbld
e1ad3b108d Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2014-09-02 12:54:33 -04:00
Christian Holler
fa60bd7630 Bug 1056233 - Fix uninitialized value in nsinstall.c. r=froydnj
--HG--
extra : rebase_source : 8d59e5ea240afb5ec07673bb7eb9085aed793a95
2014-09-01 14:30:11 +02:00
Chris Kitching
a3726b7f2e Bug 1056128: Enable JDK source level 1.7 for Android Java code. r=nalexander 2014-08-29 03:44:27 -07:00
David Major
41fb73f1a8 Bug 1001332 - Set subsystem version to 5.01 to make VS2013 builds run on XP. r=glandium
--HG--
extra : rebase_source : 30b0f750d6a094e16cc9815db697f6bd39ae5a97
2014-08-27 21:20:10 +12:00
Jacek Caban
d4deb0c2a3 Bug 1055627 - Pass MOZ_GLUE_PROGRAM_LDFLAGS after STATIC_LIBS to linker. r=glandium 2014-08-26 13:50:27 +02:00
Jacek Caban
f9e8a03578 Bug 1055591 - Don't add lib prefix in config/external/ffi/moz.build for mingw. r=glandium 2014-08-26 13:50:14 +02:00
Mike Hommey
a3243b8e09 Bug 1055204 - Build C/C++ code when recursing from non-toplevel builds. r=gps 2014-08-26 09:33:58 +09:00
Garrett Robinson
691dcd68c1 Bug 1029155 - Store peer certificate chain from failed connections on TransportSecurityInfo r=keeler 2014-08-15 11:27:22 -07: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
Steffen Michalke
b61a78aeb4 Bug 1052508 - Fix --with-system-nss build bustage. r=glandium 2014-08-12 08:40:00 -04:00
Mike Hommey
68ed01269f Bug 1050560 - Preserve the ICU libraries order in config/external/icu/moz.build. r=mshal 2014-08-09 07:54:57 +09: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
220b276684 Bug 1047267 - Allow to reference libraries from third-party build systems in USE_LIBS. r=gps 2014-08-07 14:20:38 +09:00
Mike Hommey
8156d84bf2 Bug 1050029 - Improve Makefile checks for deprecated or moz.build variables. r=mshal 2014-08-07 13:48:08 +09:00
Mike Hommey
c978a88653 Bug 1049281 - Remove static dirs handling, now that there aren't any. r=gps
Also do some overdue cleanup from the removal of parallel and tools dirs
2014-08-07 02:58:53 +09:00
Mike Hommey
e8b438350d Bug 1049281 - Move third-party build system "drivers" to config/external, and stop using static dirs. r=gps
--HG--
rename : intl/icu/Makefile.in => config/external/icu/Makefile.in
rename : config/nspr/Makefile.in => config/external/nspr/Makefile.in
rename : config/nspr/moz.build => config/external/nspr/moz.build
rename : security/build/Makefile.in => config/external/nss/Makefile.in
rename : security/build/moz.build => config/external/nss/moz.build
rename : security/build/nspr-dummy.def => config/external/nss/nspr-dummy.def
rename : security/build/nss.def => config/external/nss/nss.def
rename : security/build/nss.mk => config/external/nss/nss.mk
2014-08-07 02:58:52 +09:00
Mike Hommey
4a01b3b147 Bug 1048993 - Use nsinstall from $(topobjdir)/config instead of $(DIST)/bin to avoid races when make wants to reinstall it for some reason. r=mshal 2014-08-07 02:58:50 +09:00
Ian Neal
c3cb6b4ce8 Bug 1047924 - When building with ac_add_options --enable-extensions extensions are put expanded into the wrong location in dist/bin r=glandium 2014-08-06 17:58:31 +01:00
Nathan Froyd
e1583db863 Bug 1042226 - move DEFINES += -DAB_CD=$(AB_CD) pattern into config.mk; r=mshal 2014-08-01 12:53:05 -04:00
Mike Hommey
1e6fb05108 Bug 1045783 - Move HOST_EXTRA_LIBS to moz.build as HOST_OS_LIBS. r=mshal 2014-08-06 07:26:05 +09:00
Nathan Froyd
9edcc5b59c Bug 1047173 - move MOZ_GTK*_CFLAGS hacking from config.mk to configure.in; r=glandium
This move ensures that other makefile variables that reference
MOZ_GTK*_CFLAGS, e.g. TK_CFLAGS, will always have a consistent view of
MOZ_GTK*_CFLAGS.
2014-08-01 12:11:01 -04:00
Nathan Froyd
909d33279c Bug 1044162 - part 2 - remove JS_MODULES_PATH from the build system; r=mshal 2014-07-25 14:37:22 -04:00
Karl Tomlinson
890c626840 b=1033122 be consistent about speex_resampler symbol visibility r=khuey
When "speex/speex_resampler.h" was included, another exported header (in
dist/include) would find the speex/speex_resampler.h in dist/include before
dist/system_wrappers.  Visibility of undefined symbols depended on the order
of includes.

This patch changes includes to <speex/speex_resampler.h> so that
WRAP_SYSTEM_INCLUDES works as expected but removes the wrapper when not using
GKMEDIAS_SHARED_LIBRARY.

--HG--
extra : rebase_source : 93ca1dbdd6b489647624326e78539f44c60d0b34
2014-07-02 14:21:34 +12:00
Mike Hommey
8a18972a02 Bug 1044458 - Work around l10n jobs cherry-picking parts of the build system on a CLOSED TREE. r=mshal,a=ryanvm 2014-07-29 09:01:58 +09:00
Mike Hommey
99fdc4c1d6 Bug 1043869 - Derive build dependencies for programs and libraries from make backend data instead of getting them from expandlibs. r=mshal 2014-07-29 08:59:56 +09: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
179299ea01 Bug 1043862 - Make the binaries target use the compile tier. r=gps 2014-07-29 08:58:28 +09:00
Mike Hommey
2bab6202af Bug 1043820 - Remove PARALLEL_DIRS. r=gps 2014-07-29 08:57:59 +09:00
Mike Hommey
5f6ba110e6 Bug 1043802 - Remove TOOLS_DIRS and TEST_TOOLS_DIRS. r=gps 2014-07-29 08:55:55 +09:00
Mike Hommey
416b7e7516 Bug 1043954 - Export nspr headers in a different directory during the target rule. r=gps 2014-07-29 08:53:48 +09:00
Ms2ger
33f3b92033 Bug 1044657 - Move PYTHON_UNIT_TESTS to moz.build; r=mshal
As a first step, this moves PYTHON_UNIT_TESTS to moz.build as a passthru
variable. In the future, we could hook it up to |mach test|.

The __init__.py files may not need to be in the list, but I don't want to
change the list here.
2014-07-28 17:51:12 +02:00
Nathan Froyd
5ee34ba67f Bug 1044047 - add EXTRA_JS_MODULES to _MOZBUILD_EXTERNAL_VARIABLES; r=mshal 2014-07-25 11:10:50 -04:00
Mike Hommey
5f5915e9ba No bug - Don't chmod before deleting target in nsinstall.py on non Windows to avoid touching CLOBBER on a CLOSED TREE 2014-07-25 09:01:23 +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
Mike Hommey
628443a0e1 Bug 1043286 - Use INSTALL_TARGETS to stage C++ unit tests. r=mshal 2014-07-25 07:09:44 +09:00
Jan Beich
7b3340b357 Bug 1041381 - Ignore missing depfiles for dtrace. r=glandium 2014-07-23 22:40:00 +02:00
Mike Hommey
2a9a0b150f Followup for bug 1041936 to unbreak spidermonkey fail-on-warnings builds. r=me 2014-07-23 14:01:55 +09:00
Mike Hommey
ad2b8b8346 Bug 1041936 - Allow static library definitions to depend on shared libraries. r=gps 2014-07-23 13:33:06 +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
8e037642dc Bug 1036894 part 7 - Move HOST_LIBS to moz.build, as HOST_USE_LIBS. r=gps 2014-07-23 13:29:50 +09:00
Mike Hommey
6d6d400ea1 Bug 1036894 part 6 - Emit SimplePrograms for CPP_UNIT_TESTs, and make the corresponding moz.build config look like that of SIMPLE_PROGRAMS. r=gps 2014-07-23 13:29:44 +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
38bcacf403 Bug 1041960 - Remove subtiers from make backend. r=gps 2014-07-23 13:28:54 +09:00
ffxbld
13e1f93153 Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2014-07-21 14:19:15 -07:00
Mike Hommey
40d22b0bb7 Bug 1040649 - Detect changes to frozen variables between rules.mk include and the end of Makefile.in. r=mshal 2014-07-19 08:46:33 +09:00
Mike Hommey
d3f990ebdb Bug 1040639 - Remove LIBS_DIR. r=mshal 2014-07-19 08:42:16 +09:00
Mike Hommey
72839c7305 Bug 1038639 - Remove --with-libxul-sdk and --with-system-libxul. r=bsmedberg 2014-07-17 08:42:16 +09:00
Gian-Carlo Pascutto
e0160eacdc Bug 1038799 - Properly wrap Xfixes.h header. r=glandium 2014-07-16 19:16:38 +02:00
Neil Rashbrook
bf47b7faa5 Bug 1037981 Make 'derecursed' builds support --enable-xterm-updates r=glandium 2014-07-16 08:36:30 +01:00
Mike Hommey
70a5917917 Bug 1036864 - Remove EXPORT_LIBRARY. r=mshal 2014-07-11 19:06:55 +09:00
Mike Hommey
c52d31562a Bug 1035543 - Remove the MOZ_PSEUDO_DERECURSE variable. r=gps 2014-07-10 14:11:52 +09:00
Steve Fink
12341263ec Bug 1036525 - DSO_SONAME should not depend on FORCE_SHARED_LIB, r=glandium 2014-07-09 17:16:19 -07:00
Mukilan Thiyagarajan
3dca759f3f Bug 1000994 - Allow specifying SONAME of a shared library in moz.build. r=glandium 2014-07-09 00:47:00 +02:00
Carsten "Tomcat" Book
a98c31f1a8 merge fx-team to mozilla-central a=merge 2014-07-08 15:10:56 +02:00
Mike Hommey
800837dc7f Bug 1035087 - Avoid recursing some "binaries" targets when recursing for "libs". r=gps,a=nigelb 2014-07-08 13:47:24 +09:00
Gregory Szorc
5acd08b03a Bug 1033836 - Remove Makefile.in support for TESTING_JS_MODULES; r=glandium
--HG--
extra : rebase_source : 20cebe4a7d940cb3a18c6f13bae36cf63388e2b8
2014-07-02 16:54:51 -07:00
Nicholas Nethercote
b210444251 Bug 1028064 - Remove lots of dead code in js/src/assembler/. r=jandem.
--HG--
extra : rebase_source : e5696eb5818871e8214ad5e5e4b54805260e6c35
2014-06-26 17:31:45 -07: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
Mike Hommey
b161fa67a5 Bug 1027890 - Remove all sorts of build system code dedicated to pymake. r=gps 2014-06-25 08:38:28 +09:00
Mike Hommey
c45c7baa9c Bug 1027890 - Reject builds with pymake. r=gps
--HG--
extra : rebase_source : a662b896b5f431a37a1250ec19451324ebed3d14
2014-06-25 08:38:12 +09:00
Brian R. Bondy
cacb9c55fc Bug 598615 - Rename HAVE_64BIT_OS to HAVE_64BIT_BUILD. r=ted 2014-06-24 22:16:25 -04:00
Wes Kocher
b683b68251 Backed out 2 changesets (bug 1027890) for B2G Windows Build bustage on a CLOSED TREE
Backed out changeset bcd694f0e95d (bug 1027890)
Backed out changeset 49cadfcde709 (bug 1027890)
2014-06-24 18:33:46 -07:00
Mike Hommey
195a1f903a Bug 1027890 - Remove all sorts of build system code dedicated to pymake. r=gps 2014-06-25 08:38:28 +09:00
Mike Hommey
d2e942160c Bug 1027890 - Reject builds with pymake. r=gps 2014-06-25 08:38:12 +09:00
Mike Hommey
6cda6cc6b3 Bug 1027034 - Properly set up Gtk+3 compatibility headers. r=karlt
--HG--
rename : widget/gtk/compat/gtk/gtkenums.h => widget/gtk/compat-gtk3/gtk/gtkenums.h
2014-06-19 09:06:14 +09:00
Ryan VanderMeulen
f2dcba3d01 Bug 1025918 - Add support for the .cxx extension to mozbuild. r=ted 2014-06-16 22:36:24 -04:00
Nathan Froyd
6103a76c71 Bug 1018375 - part 1 - add LD_VERSION_SCRIPT build variable; r=glandium 2014-05-30 14:12:20 -04:00
Mike Hommey
5f343979b6 Fixup for bug 1024620 on a CLOSED TREE. r=me 2014-06-14 09:24:39 +09:00
Mike Hommey
cd488645d5 Bug 1024620 - Use object files next to archives when extracting them at link time, or in a subdirectory. r=ted 2014-06-14 09:08:22 +09:00
Wes Johnston
475bb7bb3a Bug 1006158 - Add ability to pull in v7 libraries and google support libraries. r=nalexander 2014-06-11 11:00:17 -07:00
ffxbld
5d6165c841 Version bump. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release 2014-06-09 11:50:02 -07:00
Mike Hommey
664dfbd8c6 Bug 1014976 - Don't define _DEBUG on Windows debug builds, it's implied by -MDd/-MTd, and breaks builds with -MD/-MT. r=bsmedberg 2014-05-30 09:39:53 +09:00
Randell Jesup
964601c191 Bug 987979: Patch 3 - Fix various build issues in webrtc.org/Mozilla integration. r=rjesup 2014-05-29 17:05:14 -04:00
Anthony Jones
a5ed041766 Bug 908503: Change to stagefright demuxer; r=cpearce
Bug 908503: Build config changes for libstagefright demuxer; r=glandium
Bug 908503: Remove Chrome demuxer; r=cpearce
Bug 908503: Add conversion to Annex B; r=cpearce
2014-05-22 14:42:39 +12:00
Robert O'Callahan
950332b02a Bug 1001320. Part 5: Use #pragma GCC visibility on B2G. r=glandium
--HG--
rename : config/gcc_hidden.h => config/gcc_hidden_dso_handle.h
2014-05-11 23:37:14 -07:00
Ryan VanderMeulen
8d463532ff Backed out changeset 8433a3609a54 (bug 1001320) for suspected B2G device image bustage.
CLOSED TREE
2014-05-20 12:17:51 -04:00
Robert O'Callahan
76ebf97a8d Bug 1001320. Part 5: Use #pragma GCC visibility on B2G. r=glandium
--HG--
rename : config/gcc_hidden.h => config/gcc_hidden_dso_handle.h
extra : rebase_source : 600bf9dd51c88ea0cdea3db2e20ce8ab1de9f3fb
2014-05-11 23:37:14 -07:00
Wes Kocher
4104982fc3 Backed out 4 changesets (bug 908503) for breaking the Hamachi eng dep build on an otherwise CLOSED TREE
Backed out changeset 476cd5c9c5a9 (bug 908503)
Backed out changeset add95b3c2e7f (bug 908503)
Backed out changeset 30957caad928 (bug 908503)
Backed out changeset f6f386352d12 (bug 908503)
2014-05-12 21:18:31 -07:00
Anthony Jones
2902d0e722 Bug 908503: Build config changes for libstagefright demuxer; r=glandium 2014-05-13 14:53:54 +12:00
Mike Shal
ae50c26b92 Bug 943971 - 'make foo.i' should work for unified files; r=glandium 2013-12-11 19:23:24 -05:00