Граф коммитов

436 Коммитов

Автор SHA1 Сообщение Дата
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 9be788de2f Bug 1050037 - Remove STLPORT_LIBS/STLPORT_LDFLAGS from Makefiles. r=mshal 2014-08-07 13:48:10 +09:00
Mike Hommey 62416a2177 Bug 1049510 - Fix GCC_USE_GNU_LD when building with clang on linux. r=mshal 2014-08-07 02:59:31 +09:00
Mike Hommey ea0116d0ef Bug 1045783 - Make most *_LIBS variables from configure lists in moz.build. r=mshal 2014-08-06 07:24:55 +09:00
Mike Hommey 7af6fcdf75 Bug 1046533 - Completely wrap subconfigures. r=mshal
While bug 903369 added some kind of wrapping, msys mangling on Windows made
it hard to make the python wrapper invoke subconfigures itself. This change
overcomes this, allowing to run subconfigures entirely independently of
the main configure if necessary, or to do more fancy checks without having
to resort to m4 and shell.
2014-08-02 08:02:30 +09:00
Nathan Froyd 2ed4280f6b Bug 1042878 - part 1 - make most *CFLAGS variables from configure lists in moz.build; r=glandium 2014-07-24 11:54:42 -04:00
Wes Kocher e97345c0bf Merge m-c to fx-team 2014-07-25 16:27:34 -07:00
Richard Newman 6858470513 Bug 1042382 - Follow-up: remove broken use of $1 as minimum SDK version, because that's not what it means. r=trivial 2014-07-25 14:39:14 -07:00
Richard Newman 9834a6db65 Bug 1042382 - Part 1: configure.in changes to allow Android SDK ranges to be specified. r=glandium 2014-07-25 13:27:49 -07:00
Richard Newman d024d6279f Backed out changeset cb8ca90a354d, 894afa1b44ae (bug 1042382) 2014-07-25 13:45:03 -07:00
Richard Newman 0dc8562a92 Bug 1042382 - Part 1: configure.in changes to allow Android SDK ranges to be specified. r=glandium 2014-07-25 13:27:49 -07:00
Mike Hommey 45b81608ea Bug 1040641 - Ignore AC_SUBSTs for variables we don't have use for but that autoconf itself exports. r=gps 2014-07-23 08:40:12 +09:00
Jan de Mooij b1697f7931 Bug 1031529 part 3 - Step defining JS_THREADSAFE, remove --disable-threadsafe. r=glandium 2014-07-24 11:56:45 +02:00
Steve Fink 7710497dcd Bug 975011 - Allow js/src/configure to invoke the in-tree NSPR configure. r=glandium
--HG--
extra : rebase_source : 92960a00e4d89eb9f2af4247c1434f31e27392a0
2014-02-25 14:15:16 -08:00
Joshua Cranmer 86f5a4b027 Bug 1038029 - Bad cache file is used for the LDAP C SDK, r=glandium
--HG--
extra : rebase_source : 260945940ca3eab61b1ff4ee0e206f44747e346d
2014-07-15 20:14:50 -05:00
Mike Hommey 854e1175b7 Bug 1036645 part 3 - Fix the subconfigure wrapper heuristics to decide when to kill config.cache. r=gps 2014-07-11 19:06:14 +09:00
Mike Hommey c562c67dc0 Bug 1036645 part 2 - Make using a separate config.cache the default for AC_OUTPUT_SUBDIRS. r=gps
All subconfigures are essentially doing it already, so just inverse the process. That would also limit problems with additional subconfigures (all the recent ones had to come with their own config.cache)
2014-07-11 19:06:07 +09:00
Mike Hommey fcaa4d487d Bug 1036645 part 1 - Use AC_OUTPUT_SUBDIRS to call ICU configure. r=gps
As ICU needs an objdir different from its source directory, add support for
that in AC_OUTPUT_SUBDIRS.
2014-07-11 19:05:59 +09:00
Mike Hommey c52d31562a Bug 1035543 - Remove the MOZ_PSEUDO_DERECURSE variable. r=gps 2014-07-10 14:11:52 +09:00
Tim Taubert a7777778f7 merge m-c to fx-team; a=merge 2014-07-06 09:16:35 -07:00
Ehsan Akhgari 9dc77f0f7a Bug 1032528 - Use C{,PP,XX}FLAGS when determining the compiler version in case it can be affected by what is there; r=glandium
This for example allows us to use -fmsc-version in CFLAGS/CXXFLAGS
with clang-cl.
2014-07-04 10:43:08 -04:00
Nick Alexander 099acdb8e1 Bug 1032756 - Look for Android {build-,platform-}tools in all possible locations. r=glandium
Google has a history of moving the Android tools around.  We don't care
where they are, so let's try to find them anywhere we can.
2014-07-04 09:05:56 -07:00
Mike Hommey bc0709dc9e Bug 762358 - Re-run configure when mozconfig changed in a significant way. r=gps
This adds a format option to mach environment and uses it in client.mk to
create a .mozconfig.json in the objdir, containing all the relevant data
from mozconfig. If the mozconfig doesn't change in a way that alters that
data, we still skip configure.

At the same time, use mach environment in place of mozconfig2configure and
mozconfig2client-mk, which makes us now have only one mozconfig reader.

Also, in the mozconfig reader, keep track of environment variables (as
opposed to shell variables), so that changes such as a variable that was
exported not being exported anymore is spotted. At the opposite, in order
for irrelevant environment variable changes not to incur in re-running
configure, only a set of environment variables are stored when they are
unmodified. Otherwise, changes such as using a different terminal window,
or even rebooting, would trigger reconfigures.

Finally, make mach environment emit both MOZ_OBJDIR and OBJDIR for
client.mk, and cleanup some objdir-related things in client.mk..
At the same time, make the mozconfig reader take MOZ_OBJDIR from the
environment if it is defined there and not in the mozconfig.
2014-07-03 07:15:31 +09:00
Ehsan Akhgari 201c425d11 Backed out changeset 523ef80786ad (bug 1032528) because of build failure on a CLOSED TREE 2014-07-04 11:10:22 -04:00
Ehsan Akhgari 2843fe358e Bug 1032528 - Use CFLAGS when determining the compiler version in case it can be affected by what is there; r=glandium
This for example allows us to use -fmsc-version in CFLAGS/CXXFLAGS
with clang-cl.
2014-07-04 10:43:08 -04:00
Mike Hommey d023cfad45 Bug 1027890 - Restore accidental disabling of MOZ_PSEUDO_DERECURSE; r=gps
CLOSED TREE (but for the commit above this because the commit hook only
appears to look at the tip commit)

--HG--
extra : rebase_source : c88e7e3f4d24dcd59a1a0b5577e3a77da68f3d08
extra : amend_source : 5be936181048b01850e9ef91c25fa0c7363d118d
2014-06-25 23:23:34 -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 b161fa67a5 Bug 1027890 - Remove all sorts of build system code dedicated to pymake. r=gps 2014-06-25 08:38:28 +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 1e8bfcb8e4 Bug 1026469 - Use AC_CHECK_LIB instead of MOZ_CHECK_PTHREADS. r=ted 2014-06-21 09:13:58 +09:00
Trevor Saunders dff2c7b54b bug 1019744 - make ICU symbols hidden when compiling ICU as static libraries r=glandium 2014-06-16 16:23:10 -04:00
Birunthan Mohanathas 86fae0d375 Bug 1026535 - Re-enable -Wmismatched-tags/C4099 warnings. r=ehsan 2014-06-19 14:42:19 -04:00
Ryan VanderMeulen 794c2c9953 Backed out changeset 9d86b9442f0b (bug 975011) for Windows debug test bustage that only appears on clobber builds.
CLOSED TREE
2014-06-18 13:21:57 -04:00
Steve Fink df7cba4e45 Bug 975011 - Allow js/src/configure to invoke the in-tree NSPR configure. r=glandium 2014-02-25 14:15:16 -08:00
Ehsan Akhgari b9a106adef Bug 1022349 follow-up: Undo the bad renaming, bustage fix landed on a CLOSED TREE 2014-06-13 11:08:04 -04:00
Ehsan Akhgari 2090d6f39b Bug 1022349 - Part 2: Use clang-cl when building libffi if we're building with clang-cl; r=glandium 2014-06-13 08:28:29 -04:00
Ryan VanderMeulen 0645a74aa3 Merge m-c to inbound on a CLOSED TREE. a=merge 2014-06-12 17:32:33 -04: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
Mike Hommey 38f7a6bf50 Bug 1023703 - Fix static-icu windows builds after bug 1014976, r=mshal 2014-06-12 06:55:55 +09:00
Ehsan Akhgari a6ab01f989 Bug 1022348 - Use the C/C++ compilers passed in through mozconfig in order to preprocess on Windows instead of hardcoding the usage of cl; r=glandium 2014-06-10 07:20:12 -04:00
Ehsan Akhgari d9c7b7c290 Bug 1021378 follow-up: take up my debugging stuff, and typos 2014-06-09 10:59:36 -04:00
Ehsan Akhgari fde35aa8b8 Bug 1021378 - Add support for clang-cl to the build system; r=glandium
This patch does two things: 1. Treat clang on Windows explicitly as MSVC. There
are some places in our build system where we try to detect clang by looking at
the output of $(CC) -v, and that will cause us to believe that we are using
clang, which is not helpful.  This patch defines the CLANG_CL variable when it
detects clang being used on Windows.  It also masquarades clang-cl as MSVC
2012, which is how the compiler introduces itself through the _MSC_VER
predefined variable.

2. Disable a bunch of things which currently are not supported on clang-cl.  As
we proceed with this port, hopefully we'll be able to remove everything in this
list, but this will get us closer to be able to build with clang-cl.

With this patch and clang-cl trunk, we can get past the configure stage of the
build.

--HG--
extra : rebase_source : e5b8d77e4571c936820cec858953d58b6f31e0d5
2014-06-07 10:27:43 -04: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
Mike Hommey 2cf6cf6466 Bug 1014976 - Make MOZ_NO_DEBUG_RTL builds actually disable the MSVC debug CRT everywhere. r=bsmedberg 2014-05-30 09:39:44 +09:00
Mike Hommey c678026e4b Bug 1014976 - Don't make --enable-debug imply using the debug CRT in FFI. r=ryanvm 2014-05-30 09:39:19 +09:00
Mike Hommey bc68e46dd9 Bug 1014976 - Slightly clean up ICU setup for windows debug builds. r=mshal 2014-05-30 09:37:24 +09:00
Jim Chen a1d02e6a5e Bug 1013478 - Use GCC 4.8 on Android if available. r=glandium 2014-05-22 10:44:00 +02:00