Commit Graph

345 Commits

Author SHA1 Message Date
Mike Hommey
7f13c61d0e 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
6490db0af1 Bug 1031529 part 3 - Step defining JS_THREADSAFE, remove --disable-threadsafe. r=glandium 2014-07-24 11:56:45 +02:00
Steve Fink
00e43e2148 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
381045dc6c 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
479a81628d 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
fe76207882 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
233511dfc9 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
4409f0d493 Bug 1035543 - Remove the MOZ_PSEUDO_DERECURSE variable. r=gps 2014-07-10 14:11:52 +09:00
Tim Taubert
1106fb6fb5 merge m-c to fx-team; a=merge 2014-07-06 09:16:35 -07:00
Ehsan Akhgari
d0a7c92c94 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
0debda49e4 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
6f03a33e5f 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
b346e33675 Backed out changeset 523ef80786ad (bug 1032528) because of build failure on a CLOSED TREE 2014-07-04 11:10:22 -04:00
Ehsan Akhgari
8a57bba254 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
8e04162ac9 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
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
b02a375963 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
9886164729 Bug 598615 - Rename HAVE_64BIT_OS to HAVE_64BIT_BUILD. r=ted 2014-06-24 22:16:25 -04:00
Wes Kocher
d9ec170da8 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
f59abd2745 Bug 1027890 - Remove all sorts of build system code dedicated to pymake. r=gps 2014-06-25 08:38:28 +09:00
Mike Hommey
6ddd16c14e Bug 1026469 - Use AC_CHECK_LIB instead of MOZ_CHECK_PTHREADS. r=ted 2014-06-21 09:13:58 +09:00
Trevor Saunders
ba19fb670d bug 1019744 - make ICU symbols hidden when compiling ICU as static libraries r=glandium 2014-06-16 16:23:10 -04:00
Birunthan Mohanathas
3606f544ae Bug 1026535 - Re-enable -Wmismatched-tags/C4099 warnings. r=ehsan 2014-06-19 14:42:19 -04:00
Ryan VanderMeulen
fdda11b713 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
d313788ccc 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
dd058cf3a1 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
2fb58dff88 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
2921c4798a Merge m-c to inbound on a CLOSED TREE. a=merge 2014-06-12 17:32:33 -04:00
Wes Johnston
f33f467131 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
ee1a2854fb Bug 1023703 - Fix static-icu windows builds after bug 1014976, r=mshal 2014-06-12 06:55:55 +09:00
Ehsan Akhgari
0584d0813b 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
1ca7fa1240 Bug 1021378 follow-up: take up my debugging stuff, and typos 2014-06-09 10:59:36 -04:00
Ehsan Akhgari
78a7d47553 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
d1b1bdcf19 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
e4bb175b46 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
81bb9d59e0 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
606c9b8074 Bug 1014976 - Slightly clean up ICU setup for windows debug builds. r=mshal 2014-05-30 09:37:24 +09:00
Jim Chen
060375efed Bug 1013478 - Use GCC 4.8 on Android if available. r=glandium 2014-05-22 10:44:00 +02:00
Mike Hommey
cd08c81732 Bug 1011797 - Add GNU/kFreeBSD to the list of ECMAScript i18n API supported platforms. r=mshal 2014-05-20 08:47:44 +09:00
Mike Hommey
99078f4858 Bug 1007931 - Replace backslashes with forward slashes in compiler wrapper on windows. r=mshal 2014-05-15 07:14:36 +09:00
Ryan VanderMeulen
7ea9b1f31b Bug 810631 - Update libffi to version 3.1. r=jorendorff, r=glandium 2014-05-13 14:51:01 -04:00
Mike Hommey
45fb925a9d Bug 1003537 - Turn config.status executable in MOZ_CREATE_CONFIG_STATUS instead of MOZ_RUN_CONFIG_STATUS. r=mshal 2014-05-01 10:57:49 +09:00
Henri Sivonen
b9e74eab87 Bug 1002437 - Build ICU with U_CHARSET_IS_UTF8. r=glandium. 2014-04-30 10:42:59 +03:00
Henri Sivonen
1969e44877 Bug 1002435 - Build ICU with UCONFIG_NO_IDNA. r=glandium. 2014-04-30 10:41:48 +03:00
Nick Alexander
fbe41e8746 Bug 960640 - Make finding Android build-tools future-proof. r=glandium
This lists the directories in build-tools/*, sorts them by
version (favouring new-style 'android-*' directories), and then takes
the newest version in which aapt exists.
2014-04-17 12:07:26 -07:00
Brad Lassey
645cedd317 bug 979438 - Unify android target SDK versions, follow up to address nits r=nalexander
--HG--
extra : rebase_source : 841e8eece32e10d6d2c3443d5bcbf7ac935dd157
2014-03-28 19:47:32 -04:00
Brad Lassey
75b7fec9b8 bug 979438 - Unify android target SDK versions r=nalexander
--HG--
rename : embedding/android/geckoview_example/AndroidManifest.xml => embedding/android/geckoview_example/AndroidManifest.xml.in
rename : mobile/android/geckoview_library/AndroidManifest.xml => mobile/android/geckoview_library/AndroidManifest.xml.in
rename : mobile/android/geckoview_library/project.properties => mobile/android/geckoview_library/project.properties.in
2014-03-25 23:27:16 -04:00
Mike Hommey
5d1d8f0510 Bug 985835 - Move MOZ_DEBUG_FLAGS declaration for MSVC next to the one for GCC. r=mshal 2014-03-26 08:12:12 +09:00
Ehsan Akhgari
17c8d2bddd Bug 979118 - Add global MMX_FLAGS, SSE_FLAGS and SSE2_FLAGS variables; r=glandium 2014-03-19 21:55:00 -04:00
Andrew McCreight
21fc63fbb4 Bug 981920 - ASAN builds should use -fno-omit-frame-pointer by default. r=glandium 2014-03-18 14:25:40 -07:00
Jim Chen
dccbf171c2 Bug 983730 - Support Android SDK build tools v19.0.3. r=mshal 2014-03-15 17:20:06 -04:00
Steve Fink
6a89ef563e Backed out changeset 7cff27cb2845 (bug 975011), for breaking just about everything not on tbpl
--HG--
extra : rebase_source : 740fc0d5cd27b0cc7d06ce9f9c2f848c9d071b20
2014-03-11 09:53:58 -07:00
Trevor Saunders
4ce2c75f87 bug 933189 - teach android.m4 about build tools v 19.0.2 r=mshal 2014-02-26 14:50:53 -05:00
Steve Fink
1bed69a661 Bug 975011 - add an option to configure and build NSPR from within js/src build. r=glandium 2014-02-25 14:15:16 -08:00
Ulrich Weigand
1e42c83749 Bug 976648 - Toplevel build/config for powerpc64le-linux support. r=bsmedberg, r=blassey 2014-03-05 12:04:44 -05:00
Ehsan Akhgari
c8a0288005 Bug 978784 - Stop exporting ICU symbols from xul.dll; r=glandium
--HG--
extra : rebase_source : a8e3f2d93738e03f82f30eddb522e0ae7f19c030
2014-03-04 10:42:54 -05:00
Phil Ringnalda
edf71fcafb Back out 47afb5f53400 (bug 978784) because it's still busted with a clobber
CLOSED TREE
2014-03-03 21:26:19 -08:00
Ehsan Akhgari
eb5f1f2a2d Bug 978784 - Stop exporting ICU symbols from xul.dll; r=glandium 2014-03-03 22:38:55 -05:00
Phil Ringnalda
00ee8fa24b Back out c75ce018e5db (bug 978784) for Windows build bustage
CLOSED TREE
2014-03-03 20:14:48 -08:00
Ehsan Akhgari
943d4ff94d Bug 978784 - Stop exporting ICU symbols from xul.dll; r=glandium 2014-03-03 22:38:55 -05:00
Landry Breuil
9505201b3d Bug 973310 - Accomodate for OpenBSD's m4 greedyness with patsub's regexp after bug 967556 r=glandium 2014-02-25 07:44:21 +01:00
Mike Shal
ce7803af61 Bug 974205 - Use --with-compiler-wrapper when enabling sccache. r=glandium 2014-02-25 15:41:57 +09:00
Jan Beich
b3e11d3ce1 Bug 968798 - Don't let CPPFLAGS use system ICU headers when building internal ICU. r=glandium 2014-02-18 08:59:34 -05:00
Mike Hommey
8e0f65ab53 Followup for bug 967556 - Force AC_CHECK_FUNC to use a different cache. r=bustage on a CLOSED TREE 2014-02-14 11:34:12 +09:00
Mike Hommey
ff0d218b00 Bug 967556 - Divert AC_CHECK_FUNC so that the #includes it uses can't interfere with the function it tests. r=gps 2014-02-14 08:15:02 +09:00
Mike Hommey
1aeb4bc768 Bug 971586 - Make $topsrcdir absolute when executing mozconfig2configure. r=gps 2014-02-13 10:06:43 +09:00
Jan Beich
225d726838 Bug 968819 - Make HOST_OS_ARCH on BSDs take same values as OS_ARCH. r=glandium 2014-02-12 10:24:21 -05:00
Mike Hommey
0d839c5b66 Bug 969164 - Traverse js/src moz.builds from top-level configure. r=gps
Before, we would run configure in both top-level and js/src, and both
configures would traverse their own set of moz.builds, without actual
knowledge about the other. With this change, both configures still run,
but only top-level traverses moz.build files, and uses js/src's
config.status when traversing its moz.build files. This allows a better
sharing of information between both build systems and the removal of many
hacks.

This also moves running libffi and icu configure to top-level.

Standalone js builds still have their own configure doing moz.build traversal,
as before.

--HG--
rename : config/autoconf.mk.in => config/autoconf-js.mk.in
rename : config/emptyvars.mk.in => config/emptyvars-js.mk.in
2014-02-11 10:37:47 +09:00
Mike Hommey
884960047f Bug 969164 - Create subconfigure directory in the AC_OUTPUT_SUBDIRS wrapper. r=gps
We happen to be lucky currently because e.g. build is created by config.status
before we subconfigure in build/clang-plugin. But further changes break that
luck.
2014-02-11 10:37:47 +09:00
Mike Hommey
65fef7b8c4 Bug 969164 - Move icu subconfigure invocation in build/autoconf/icu.m4. r=gps 2014-02-11 10:37:47 +09:00
Mike Hommey
0d9439309a Bug 969164 - Move libffi subconfigure invocation in build/autoconf/ffi.m4. r=gps 2014-02-11 10:37:47 +09:00
Mike Hommey
705663e08b Bug 968561 - Move ffi detection from configure.in and js/src/configure.in into build/autoconf/ffi.m4. r=gps 2014-02-11 10:37:47 +09:00
Mike Hommey
129764c07c Bug 946687 - Move ICU detection from configure.in and js/src/configure.in into build/autoconf/icu.m4. r=gps 2014-02-11 10:37:47 +09:00
Mike Hommey
cf43fa6b56 Bug 462427 - Stop requiring CROSS_COMPILE being set. r=ted 2014-02-11 10:37:46 +09:00
Wes Johnston
d2cbf531ee Bug 962764 - Support Android 4.4 sdk. r=blassey,gps 2014-01-27 14:59:25 -08:00
Mike Hommey
549331ea89 Bug 962758 - Avoid build failures when js/src/configure.in changes in a way that doesn't change config.status. r=gps 2014-01-24 07:57:54 +09:00
Mike Hommey
4ddd1194d5 Bug 951010 - Move ConfigStatus.py under mozbuild. r=gps
--HG--
rename : build/ConfigStatus.py => python/mozbuild/mozbuild/config_status.py
2013-12-18 08:07:11 +09:00
Mike Hommey
b89fd0745d Bug 950261 - Fix ARM_ARCH computation with newer NDK. r=ted 2013-12-18 08:07:11 +09:00
James Gilbertson
b899268dd9 Bug 949314 - Use shell expansion instead of a relative path to get the path for ANDROID_SDK_ROOT. r=glandium
--HG--
extra : rebase_source : 0e8f1881be639678eb80915cfb70aa08a68a7a13
2013-12-17 10:59:04 -05:00
Mike Hommey
001736e8a4 Bug 950290 - Move python scripts from build/autoconf into a mozbuild submodule. r=gps
--HG--
rename : build/autoconf/check_debug_ranges.py => python/mozbuild/mozbuild/configure/check_debug_ranges.py
rename : build/autoconf/libstdcxx.py => python/mozbuild/mozbuild/configure/libstdcxx.py
2013-12-17 11:13:08 +09:00
Mike Hommey
231c7d4b48 Bug 950027 - Remove build/autoconf/match-dir.sh. r=gps 2013-12-17 11:12:51 +09:00
Mike Hommey
25972646a7 Bug 778236 - Treat gyp files as if their content was defined in moz.build files. r=gps 2013-12-12 23:41:05 +09:00
Ehsan Akhgari
dc528200e2 Bug 947299 - Don't build ICU as a shared library when building JS in standalone mode; r=glandium
X-Git-Commit-ID: 4664ac89e5ef60181b1c783cced3c323d11d6e43

--HG--
extra : rebase_source : 9340c2e547459f1f001d7eae8eab61e8e29ec114
2013-12-06 21:07:02 -05:00
Ehsan Akhgari
1adec124cd Bug 915735 - Build ICU as a shared library where JS is built as a shared library; r=glandium 2013-12-06 08:08:52 -05:00
Carsten "Tomcat" Book
72db98e70d Backed out changeset 099f65a712a8 (bug 915735) Windows Build Bustage on a CLOSED TREE 2013-12-06 14:48:13 +01:00
Ehsan Akhgari
905395bdd0 Bug 915735 - Build ICU as a shared library where JS is built as a shared library; r=glandium 2013-12-06 08:08:52 -05:00
Trevor Saunders
a47d920ed3 bug 900797 - fix warnings as errors with gcc 4.8 from ndk r9 r=glandium 2013-11-20 20:00:05 -05:00
Chris Kitching
a010c19c34 Bug 709230 - Part 5: activate Proguard. r=gbrown,rnewman 2013-11-18 17:30:00 -08:00
Ed Morley
dd12c93265 Backed out changeset 1eb6ceed2cda (bug 938437) on suspicion of causing WinXP debug jetpack failures on a CLOSED TREE 2013-11-22 16:00:32 +00:00
Mike Hommey
99fc7c7312 Bug 938437 - Replace nsStaticXULComponents.cpp with smart use of sections. r=bsmedberg,irc-r=decoder,r=nfroyd 2013-11-19 13:45:31 +09:00
retornam
8cb270d23f Bug 941889 - Make configure recognize Android 19 tools. r=nalexander 2013-11-21 20:19:20 -08:00
Mike Hommey
3866530b89 Bug 935857 - Add AC_SUBST_SET to create a set() of strings in config.status and use it for NECKO_PROTOCOLS. r=gps 2013-11-12 07:52:32 +09:00
Makoto Kato
fc77375fd3 Bug 891718 - Can override CPP/CC/CXX on Android. r=glandium 2013-11-07 17:39:13 +09:00
Mike Hommey
e5bbd9bdc5 Bug 933047 - Add a configure check whether the C++ compiler actually is a C++ compiler. r=ted 2013-11-01 10:30:46 +09:00
Gregory Szorc
9ada834d56 Bug 927837 - Don't manage generated files in configure; r=glandium
--HG--
extra : rebase_source : b502ce209de6a0ae10e130644e424687e4fae85e
2013-10-23 14:43:32 -07:00
Mike Hommey
2cdfd87106 Bug 930454 - Remove --with-android-platform. r=ted 2013-10-25 08:23:40 +09:00
Brad Lassey
8eb4fbc195 bug 890985 - crash in nsStandardURL::SetSpec @ nsStandardURL::BuildNormalizedSpec r=glandium 2013-10-23 10:44:20 +02:00
Mike Hommey
98f66e190e Bug 926733 - Enable bug 921003. r=gps 2013-10-22 15:15:21 +09:00
Vladimir Vukicevic
07b7a98902 b=927719; DEVELOPER_OPTIONS set too late; r=gps 2013-10-18 13:12:14 -04:00
Nathan Froyd
86eb8ebbe3 Bug 781171 - delete JS_BYTES_PER_WORD/JS_BITS_PER_WORD from configure.in; r=glandium 2013-10-11 15:13:35 -04:00