Commit Graph

406 Commits

Author SHA1 Message Date
Mike Hommey
82bf1352c4 Bug 1007931 - Replace backslashes with forward slashes in compiler wrapper on windows. r=mshal 2014-05-15 07:14:36 +09:00
Ryan VanderMeulen
4364268b5e Bug 810631 - Update libffi to version 3.1. r=jorendorff, r=glandium 2014-05-13 14:51:01 -04:00
Mike Hommey
a1f6e7c6d1 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
71b194324c Bug 1002437 - Build ICU with U_CHARSET_IS_UTF8. r=glandium. 2014-04-30 10:42:59 +03:00
Henri Sivonen
fbf340f5db Bug 1002435 - Build ICU with UCONFIG_NO_IDNA. r=glandium. 2014-04-30 10:41:48 +03:00
Nick Alexander
212cd5eb7d 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
9a23ed7121 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
69f6871cd0 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
5697ca4c7d 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
5ab76fe98e Bug 979118 - Add global MMX_FLAGS, SSE_FLAGS and SSE2_FLAGS variables; r=glandium 2014-03-19 21:55:00 -04:00
Andrew McCreight
91a9dbd6a1 Bug 981920 - ASAN builds should use -fno-omit-frame-pointer by default. r=glandium 2014-03-18 14:25:40 -07:00
Jim Chen
c4ebc3e784 Bug 983730 - Support Android SDK build tools v19.0.3. r=mshal 2014-03-15 17:20:06 -04:00
Steve Fink
1b1cb7538f 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
77a0fe731b bug 933189 - teach android.m4 about build tools v 19.0.2 r=mshal 2014-02-26 14:50:53 -05:00
Steve Fink
4ede6e8d2c 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
2a423e3554 Bug 976648 - Toplevel build/config for powerpc64le-linux support. r=bsmedberg, r=blassey 2014-03-05 12:04:44 -05:00
Ehsan Akhgari
3cb27e2d00 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
111bb9f2cc 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
778c2bd873 Bug 978784 - Stop exporting ICU symbols from xul.dll; r=glandium 2014-03-03 22:38:55 -05:00
Phil Ringnalda
d535be7b65 Back out c75ce018e5db (bug 978784) for Windows build bustage
CLOSED TREE
2014-03-03 20:14:48 -08:00
Ehsan Akhgari
2d6e2a16fe Bug 978784 - Stop exporting ICU symbols from xul.dll; r=glandium 2014-03-03 22:38:55 -05:00
Landry Breuil
c468240b32 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
6fdc43de4a Bug 974205 - Use --with-compiler-wrapper when enabling sccache. r=glandium 2014-02-25 15:41:57 +09:00
Jan Beich
a780929d11 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
a3557a23ad 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
ff5b7933d4 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
11471a9a13 Bug 971586 - Make $topsrcdir absolute when executing mozconfig2configure. r=gps 2014-02-13 10:06:43 +09:00
Jan Beich
8698ee10af 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
557439c337 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
955a9ba373 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
0c632e4c0a Bug 969164 - Move icu subconfigure invocation in build/autoconf/icu.m4. r=gps 2014-02-11 10:37:47 +09:00
Mike Hommey
0e117da4fb Bug 969164 - Move libffi subconfigure invocation in build/autoconf/ffi.m4. r=gps 2014-02-11 10:37:47 +09:00
Mike Hommey
4abf2f3022 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
c6a7edc25f 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
79c051dfc5 Bug 462427 - Stop requiring CROSS_COMPILE being set. r=ted 2014-02-11 10:37:46 +09:00
Wes Johnston
76f9e2ca58 Bug 962764 - Support Android 4.4 sdk. r=blassey,gps 2014-01-27 14:59:25 -08:00
Mike Hommey
fc56794281 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
e53443d128 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
8e666b2b77 Bug 950261 - Fix ARM_ARCH computation with newer NDK. r=ted 2013-12-18 08:07:11 +09:00
James Gilbertson
7080a66dc2 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
b97d838b01 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
03a9b301a1 Bug 950027 - Remove build/autoconf/match-dir.sh. r=gps 2013-12-17 11:12:51 +09:00
Mike Hommey
049b105f14 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
9f5c79aff9 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
4a5f571594 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
98fad76463 Backed out changeset 099f65a712a8 (bug 915735) Windows Build Bustage on a CLOSED TREE 2013-12-06 14:48:13 +01:00
Ehsan Akhgari
93712aad1e 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
97ce81cdfd 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
609ed6df7a Bug 709230 - Part 5: activate Proguard. r=gbrown,rnewman 2013-11-18 17:30:00 -08:00
Ed Morley
8a253bc60c 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
5bab729026 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
19e779794c Bug 941889 - Make configure recognize Android 19 tools. r=nalexander 2013-11-21 20:19:20 -08:00
Mike Hommey
c288856178 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
fd7ed72724 Bug 891718 - Can override CPP/CC/CXX on Android. r=glandium 2013-11-07 17:39:13 +09:00
Mike Hommey
00d79e8c27 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
8a2d15ca5d 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
0c4a62a1c5 Bug 930454 - Remove --with-android-platform. r=ted 2013-10-25 08:23:40 +09:00
Brad Lassey
04f87a3c75 bug 890985 - crash in nsStandardURL::SetSpec @ nsStandardURL::BuildNormalizedSpec r=glandium 2013-10-23 10:44:20 +02:00
Mike Hommey
10ecd3d981 Bug 926733 - Enable bug 921003. r=gps 2013-10-22 15:15:21 +09:00
Vladimir Vukicevic
7ca8e1bd07 b=927719; DEVELOPER_OPTIONS set too late; r=gps 2013-10-18 13:12:14 -04:00
Nathan Froyd
d3528984b7 Bug 781171 - delete JS_BYTES_PER_WORD/JS_BITS_PER_WORD from configure.in; r=glandium 2013-10-11 15:13:35 -04:00
Mike Hommey
20446d8895 Bug 926126 - Enable pseudo derecurse on releng builds, and enable parallel export; r=gps 2013-10-13 09:19:46 +09:00
Mike Hommey
7eea2d2f7f Bug 921003 - Make directory skipping opt-in, as initially intended. r=me 2013-10-02 11:32:15 +09:00
Mike Hommey
203467bcab Bug 920919 - Set MOZ_PSEUDO_DERECURSE to no-parallel-export by default on developer builds... when not using pymake. r=gps 2013-09-27 08:12:19 +09:00
Mike Hommey
5bf049b80d Bug 906225 - Add a --enable/disable-gold configure flag. r=gps 2013-09-27 08:07:30 +09:00
Mike Hommey
efc297fb0e Bug 920353 - Use PYCOMMANDPATH paths as site packages in pymake, and set it to the virtualenv site packages instead of $(topsrcdir)/config. r=gps 2013-09-26 16:43:53 +09:00
Panos Astithas
8fe44c78c6 Search for Android SDK build tools version 18.1.0 (bug 919466). r=glandium 2013-09-24 10:14:33 +03:00
Gregory Szorc
fda57a4bf9 Bug 794506 - Part 1: Move virtualenv code under mozbuild; r=ted
--HG--
rename : build/virtualenv/packages.txt => build/virtualenv_packages.txt
rename : build/virtualenv/populate_virtualenv.py => python/mozbuild/mozbuild/virtualenv.py
2013-09-20 15:46:23 -07:00
Mike Hommey
107771f6d5 Bug 907365 - Pseudo-derecursify the build (opt-in). r=gps
Also remove the compile tier added in bug 912856 when pseudo-derecursify is disabled.
2013-09-20 10:44:11 +09:00
Nathan Froyd
844f4a72e4 Bug 914293 - ensure check_debug_ranges.py can cope with a nonexistant DW_AT_ranges; r=glandium 2013-09-10 11:53:21 -04:00
Makoto Kato
bc5feb94b6 Bug 911893 - cannot use --enable-android-libstdcxx configure option. r=glandium 2013-09-06 14:40:48 +09:00
Mike Hommey
3cee26c564 Bug 911634 - Create a .mozconfig.mk in the objdir when starting a build, and include it from config.mk. r=gps 2013-09-05 09:01:44 +09:00
Dan Gohman
48281d4a3c Bug 910814 - SpiderMonkey: Disable errno for math functions. r=glandium 2013-09-02 17:21:21 -07:00
Mike Hommey
9ca1f4b4a7 Bug 907650 - Move debugging options configure.in goop in compiler-opts.m4. r=gps 2013-08-30 11:10:33 +09:00
Doug Turner
5dc544505a Bug 906072 - Remove Maemo port. r=romaxa, r=ted, r=johns 2013-08-25 16:56:53 -07:00
Irving Reid
e590e311ff Bug 905315: Work around android ADT path naming scheme change; r=nalexander 2013-08-26 11:16:18 -04:00
Mike Hommey
be41d52866 Bug 903369 - Wrap subconfigure invocation and restore config.status produced file timestamps if they haven't changed. r=gps 2013-08-20 15:23:28 +09:00
Mike Hommey
cc6f9e625a Bug 906260 - Make MOZILLA_OFFICIAL turn --enable-release on automatically. r=khuey
Still allow MOZILLA_OFFICIAL + --disable-release
2013-08-17 14:18:55 +09:00
Mike Hommey
e086b73f5d Bug 904979 - Disable ICF and dead code removal on local builds. r=ted 2013-08-15 23:45:10 +09:00
Mike Hommey
28a56d37be Bug 904979 - Force use gold, if possible, when the default linker is BFD ld, for local builds. r=ted 2013-08-15 23:45:10 +09:00
Mike Hommey
f60d915205 Bug 904979 - Add build option for rel-eng type builds. r=ted 2013-08-15 23:45:09 +09:00
Mike Hommey
54a79a8f76 Bug 888549 - Don't print config.log when config.status fails. r=ted 2013-08-15 23:45:08 +09:00
Mike Hommey
073c0ef26d Bug 861285 - Print AC_MSG_ERROR messages in config.log too. r=ted 2013-08-15 23:45:07 +09:00
JW Wang
0a419b70d3 Bug 882171 - Part 2: Call NEON implementation. r=ehsan, r=glandium 2013-08-13 17:30:18 +08:00
JW Wang
99015508fd Bug 882171 - Part 1: Add NEON implementation of AudioNodeEngine.cpp. r=roc, r=padenot, r=derf, r=glandium 2013-08-13 15:39:42 +08:00
Mike Hommey
fb9eaf3a84 Bug 901149 - Add the clang workaround for __float128 to HOST_CXXFLAGS when not cross-compiling. r=ted 2013-08-06 10:08:23 +09:00
Mike Hommey
84666eea2a Bug 900775 - Add -std=gnu++0x to HOST_CXXFLAGS when not cross-compiling. r=gps 2013-08-02 10:29:38 +09:00
Jeff Muizelaar
df89698ddf Bug 900594. Support Android SDK v18.0.1 r=glandium
This makes configure use build-tools instead of platform-tools

--HG--
extra : rebase_source : 7cf330f178b81dc30dc1cc15af52a03329330c3a
2013-08-01 20:41:19 -04:00
Mike Hommey
10c4603a7b Bug 899405 - Allow host and target compilers to depend on stdc++-compat independently. r=ted 2013-07-31 14:04:23 +09:00
Nick Alexander
f37aeaf3b5 Bug 898296 - Search for Android SDK build tools version 18.0.0. r=gps
This patch also tries to verify that the tools are actually found
early in the configure process, rather than failing with difficult to
parse errors at the end of the build.

Since the Android developer tools are defined earlier in the build
process, we can remove a work-around needed for |make install|.
2013-07-30 09:15:50 -07:00
Mike Hommey
c34b466603 Bug 895915 - Enforce host gcc/clang support for C++11. r=gps 2013-07-30 08:57:28 +09:00
Mike Hommey
718e8ca64e Bug 894763 - Default objdir should reflect target, not host. r=gps 2013-07-23 07:26:09 +09:00
Roberta De Viti
2f60adc1ac Bug 894717 - Fix 'plase upgrade' typo in autoconf files. r=khuey 2013-07-19 10:47:15 -07:00
Mike Hommey
82b9fd31cd Bug 850576 - Statically link stlport on b2g and android, and always use a custom built stlport for that. r=ted 2013-07-15 18:48:39 +09:00
Mike Hommey
5377dc0e9d Bug 892361 - Default to gcc 4.7 from the NDK if it's there. r=ted 2013-07-12 09:16:11 +09:00
Nathan Froyd
2eaa2c7e22 Bug 887902 - move --enable-debug{,-symbols} option processing before MOZ_COMPILER_OPTS; r=glandium
MOZ_COMPILER_OPTS depends on MOZ_DEBUG_FLAGS being set for proper checking of
linker dead code deletion when using GCC.

GC'ing sections saves ~1.5MB off of mobile libxul according to size(1):

[froydnj@cerebro eideticker]$ size /opt/build/froydnj/build-android/dist/bin/libxul.so
   text	   data	    bss	    dec	    hex	filename
23733400	2314816	1495973	27544189	1a44a7d	/opt/build/froydnj/build-android/dist/bin/libxul.so
[froydnj@cerebro eideticker]$ size /opt/build/froydnj/build-android/dist/bin/libxul.so
   text	   data	    bss	    dec	    hex	filename
22261936	2145116	1494533	25901585	18b3a11	/opt/build/froydnj/build-android/dist/bin/libxul.so
2013-06-27 13:50:54 -04:00
Ehsan Akhgari
58586425f5 Bug 752034 - Use the Windows SDK when building with Clang on Windows; r=ted 2013-06-13 13:09:22 -04:00
Ehsan Akhgari
178e23b597 Bug 882766 - Recognize clang even when it doesn't #define __GNUC__; r=ted
Clang on Windows #defines _MSC_VER but not __GNUC__, so we need to make sure
that the build system can recognize it even when __GNUC__ is not defined.
2013-06-13 13:03:13 -04:00
Nathan Froyd
c6742b25b1 Bug 874132 - Part 1: Handle SDK layout differences in the Android r22 SDK. r=nalexander
Author:    Nathan Froyd <froydnj@gmail.com>

--HG--
extra : rebase_source : 614b386efc0a2b13c6570c99d09d6ec99146c3e1
2013-06-18 09:25:15 -07:00
Jed Davis
25d9dcb405 Bug 873332 - Don't use -fno-omit-frame-pointer on ARM to avoid a GCC bug. r=glandium
The flag would not be useful for profiling on our current ARM platforms
even if it worked correctly, so we can just remove it.
2013-05-30 08:10:02 -04:00
Gregory Szorc
797800b43c Bug 873325 - Normalize topobjdir to an absolute path; r=glandium 2013-05-20 09:45:54 -07:00
James Willcox
6a67e06783 Bug 867750 - Add a --with-compiler-wrapper configure option r=glandium
--HG--
extra : rebase_source : a9cdc227652214c21835fa9921c7960f8b1a0b1d
2013-05-02 09:26:13 -04:00
Nathan Froyd
f408f1f34f Bug 837618 - teach expandlibs_exec.py about OS X's -filelist linker option; r=glandium 2013-04-16 11:13:50 -04:00
Mike Hommey
8c58d3bec3 Bug 850332 - Use jemalloc inside mozglue. r=kats,r=mwu 2013-03-17 08:03:05 +01:00
Chris Peterson
34d5ef65a4 Bug 861073 - Add configure check that --with-android-version is at least 9. r=glandium 2013-04-11 23:07:27 -07:00
Gian-Carlo Pascutto
8a5221dd01 Bug 823375 - Don't build or try to link NEON libs when the target doesn't support it. r=glandium 2013-04-12 12:00:29 +02:00
Vicamo Yang
020c221ba5 Bug 859830: determine Android API level through android/api-leve.h instead. r=glandium 2013-04-12 13:39:42 +08:00
Mike Hommey
e6f599425e Bug 788613 - Dump config.log when configure fails. r=ted 2013-04-10 16:15:01 +02:00
Mike Hommey
d777e5c622 Bug 860184 - Automatically use the x86-64 NDK toolchain when possible. r=ted 2013-04-10 16:12:57 +02:00
Kyle Huey
7638f224e8 Back out Bug 788613 for breaking the build on Windows. 2013-04-08 06:22:50 -07:00
Mike Hommey
79be4729ee Bug 788613 - Dump config.log when configure fails. r=ted 2013-04-08 08:31:50 +02:00
Gregory Szorc
a658cf762d Bug 841713 - Add objdir paths to virtualenv; r=ted 2013-03-26 10:35:57 -07:00
Makoto Kato
6b8bd5e0d5 Bug 837598 - cannot build WebRTC for Linux/arm. r=glandium 2013-03-15 11:50:17 +09:00
Paul Adenot
cd51bc591a Bug 850713 - Bump the required NDK version to 9. r=blassey.bugs,mh+mozilla 2013-03-15 16:28:07 +13:00
Phil Ringnalda
69c6475c27 Back out 0044e4c2dc53 (bug 851149), 3080f18ba53d (bug 698328), 0b147c3f682b (bug 850713) for Android bustage
CLOSED TREE
2013-03-14 21:19:40 -07:00
Paul Adenot
327a511bd4 Bug 850713 - Bump the required NDK version to 9. r=blassey.bugs,mh+mozilla
--HG--
extra : rebase_source : d6886dcfe87747e77c3828289b1184a58e6a0c09
2013-03-15 16:28:07 +13:00
Gregory Szorc
803629b9c6 Merge mozilla-central into build-system
There were merges in configure.in and some Makefile.in. None had any
conflicts. I spot verified the Makefile.in changes and confirmed that
the changes did not touch any DIRS* variables.
2013-02-27 10:03:52 -08:00
Gregory Szorc
16f0413b0c Merge mozilla-central into build-system
Only conflict was configure.in amd was due to context, not
changed lines themselves.
2013-02-25 22:09:18 -08:00
Gregory Szorc
4c3d4dc8a4 Bug 784841 - Part 19: Remove allmakefiles.sh and friends; r=ted 2013-02-25 14:09:16 -08:00
Ehsan Akhgari
60360c9ef7 Bug 780474 - Disable the struct/class mismatch warning on MSVC as well; r=glandium
--HG--
extra : rebase_source : 3e593b71e589df349abc41f9182739305478690f
2013-02-25 12:10:41 -05:00
Joshua Cranmer
11274b83c3 Bug 648980 - Add a hook for projects to have custom configure scripts. r=glandium
--HG--
extra : rebase_source : e020071adc89e07fd45d468aabe518027df7ba44
2013-02-26 13:45:52 -06:00
Gregory Szorc
21c12f5774 Bug 784841 - Part 13: Properly normalize topsrcdir in config.status; r=glandium 2013-02-21 10:55:55 -08:00
Gregory Szorc
d63d28cf51 Backout 4682ed369545 (bug 841713) for reftest make target bustage
--HG--
extra : rebase_source : 6bf45c9f33563109cf6d17197f9184a3a336efe0
2013-02-20 09:16:02 -08:00
Gregory Szorc
007c5b7899 Bug 841713 - Add objdir paths to virtualenv; r=ted 2013-02-19 15:23:21 -08:00
Landry Breuil
78bac09dbb Bug 842131 - Use egrep to detect clang version, fixes build without GNU grep. r=glandium 2013-02-18 10:42:22 +01:00
Felix S. Klock II
3af2c6afc5 Bug 840512 - Generalize toolchain.m4 to match newer Apple clang version string. r=glandium 2013-02-13 11:24:09 +01:00
Mike Hommey
a2be08467d Bug 836161 - Fix gcc version test from bug 833627 to be properly quoted by m4. r=ted 2013-01-31 10:32:18 +01:00
Mike Hommey
045aa6ad61 Bug 833627 - Reject gcc < 4.4, and remove a few unused Xcode related variables. r=ted 2013-01-23 10:13:02 +01:00
Gregory Szorc
ea0dd7348c Bug 784841 - Part 5: Integrate virtualenv into SpiderMonkey configure; r=glandium
Python and virtualenv logic is now contained within an m4 file.
SpiderMonkey now requires the mozilla-central virtualenv environment to
build. If SpiderMonkey configure is invoked by mozilla-central's
configure, the virtualenv will be reused. If SpiderMonkey configure is
invoked in isolation, it will search for the virtualenv in the
mozilla-central root.
2013-01-16 00:21:06 -08:00
Kartikaya Gupta
3518fd0948 Bug 828660 - Try to autodetect the compiler version in the android NDK. r=glandium 2013-01-14 09:35:40 -05:00
Makoto Kato
a59ffbb9b9 Bug 802527 - Support Android NDK r8b for x86 android build. r=glandium 2012-12-19 11:49:44 +09:00
Mike Hommey
c50c70fc80 Bug 818092 - Properly use CC/CXX from mozconfig on non-cross-compile Mac builds. r=ted 2012-12-06 17:06:37 +01:00
Surith Thekkiam
2a22c3bfce Bug 807423 - Support use of GNU libstdc++ on Android. r=ted
* For android-ndk versions r7, r7b, r8, r8b
 * std::ifstream broken in earlier versions of ndk
 * ... used in jscntxt.cpp by ComputeIsJITBroken()
 * Default gnu_compiler_version is 4.4.3
 * If android_toolchain is not set, attempt to infer it from gnu_compiler_version.
 * Copy changes from js/src/build/autoconf/android.m4 to build/autoconf/android.m4
2012-11-06 09:41:16 -08:00
Vladimir Vukicevic
06309ae278 no bug; fix configure.in message on Android to not be lies and give useful info; r=sparky 2012-11-13 14:20:54 -05:00
Wes Johnston
abfa99d444 Bug 810398 - Update support library error message to be clearer. r=blassey 2012-11-09 11:07:40 -08:00
Wes Johnston
f6535051b7 Bug 759041 - Bring in Android compatibility libraries. r=blassey 2012-11-08 07:45:29 -08:00
Brad Lassey
7283b31b70 bug 802616 - don't use software floating point math on ARMv6 r=glandium
--HG--
rename : dom/bindings/ExampleGen.py => dom/bindings/BindingGen.py
extra : rebase_source : 4171bc4cccbd6cc82d50a1d2544e362bd615fdf9
2012-10-17 11:40:55 -04:00
Gregory Szorc
766648241e Bug 795499 - Export ANDROID_CPU_ARCH via AC_SUBST. r=glandium 2012-09-29 00:49:24 -07:00
Rafael Ávila de Espíndola
25866c642b Bug 789941 - Remove stdc++compat.cpp support on OS X. r=benjamin. 2012-09-13 19:17:08 -04:00
Rafael Ávila de Espíndola
3cb8cabf2e Bug 788276 - Properly check for broken (deprecated) compilers. r=gps.
Check for old gcc versions.
2012-09-12 14:54:40 -04:00
Rafael Ávila de Espíndola
10b56fe547 Bug 788276 - Properly check for broken (deprecated) compilers. r=gps.
Check for old versions of llvm.
2012-09-12 14:48:16 -04:00
Rafael Ávila de Espíndola
3eb66169b5 Bug 787931 - Add better error message. r=gps. 2012-09-11 09:02:20 -04:00
Rafael Ávila de Espíndola
231e51481f Bug 787931 - update the default compiler on OS X because we can't build with gcc 4.2 any longer. r=gps. 2012-09-10 14:52:26 -04:00
Mike Hommey
e76d23d064 Bug 785871 - Make config.status importable. r=gps 2012-08-29 08:55:58 +02:00
Mike Hommey
08d483c83a Bug 781461 - Work around mksh/pdksh bug in config.status.m4. r=ted 2012-08-18 11:17:29 +02:00
Aryeh Gregor
8a876c035b Bug 780474 - Set -Wno-mismatched-tags for clang; r=glandium 2012-08-14 12:10:42 +03:00
Ed Morley
7858e8e170 Backout 19ec214f806c (bug 782916), 88b802832f52 (bug 782919), f16429aa2210 (bug 780474) for Android build failures 2012-08-17 12:25:12 +01:00
Aryeh Gregor
ac0a0cdcc7 Bug 780474 - Set -Wno-mismatched-tags for clang; r=glandium 2012-08-14 12:10:42 +03:00
Siddharth Agarwal
c87b1488fa Bug 781431 - A few minor build system improvements. r=ted
1. mozconfig2client-mk still refers to $HOME/.mozconfig, even though we
removed it a while ago. Thanks to Neil for pointing it out.
2. MOZCONFIG_FIND and MOZCONFIG_MODULES are no longer used by client.mk.
3. Make CONFIG_GUESS a script that runs just once per client.mk invocation.

--HG--
extra : rebase_source : ec75ebcc5cea004f64abafb8a219e828234237de
2012-08-15 22:06:43 +05:30
Siddharth Agarwal
0bbcca7f47 Bug 779922 - Export Windows-style paths in the in-tree mozconfig.vs2010 when building under Pymake. r=ted
--HG--
extra : rebase_source : bb3dff7e94b53efe79801a2b3bfc6cd78ef47ac3
2012-08-07 02:37:11 +05:30
Makoto Kato
a18bf0b4ed Bug 780072 - default value of android api version should be 9 on x86 or mipsel. r=glandium 2012-08-06 12:06:30 +09:00
Mike Hommey
4624ad2add Bug 780357 - Allow m-c's ConfigStatus.py to be used from c-c. r=khuey 2012-08-05 17:52:47 +02:00
Masatoshi Kimura
3893673ec4 Bug 780430 - Declare encoding in config.status. r=glandium 2012-08-05 12:42:59 +02:00
Mike Hommey
e04333c977 Bug 778740 - Allow to use Linux kernel headers for perf events. r=khuey 2012-08-04 08:55:00 +02:00
Mike Hommey
69991fde10 Bug 774032 part 7 - Remove make-makefile and acoutput-fast.pl. r=ted 2012-08-04 08:47:28 +02:00
Mike Hommey
6de82c7f66 Bug 774032 part 6 - Replace autoconf handling of config files and headers with our own. r=ted 2012-08-04 08:47:28 +02:00
Rafael Ávila de Espíndola
2ef8d511ed Bug 755145 - Define CCACHE_CPP2 when using ccache and Clang. r=glandium. 2012-07-19 09:20:46 -04:00
Mike Hommey
882d156651 Bug 763651 - Link the javascript engine against zlib. r=khuey 2012-07-12 08:30:59 +02:00
Mike Hommey
ff3ca94566 Bug 767024 - Allow dependentlibs.py to work when cross-compiling for Android on OSX. r=khuey 2012-06-22 18:33:17 +02:00
Mike Hommey
3beac338fb Bug 734125 - Fail configure when acoutputfast.pl fails to find one of the input files. r=ted 2012-06-20 09:45:45 +02:00
Mike Hommey
95bbba592a Backout changeset efc2f07a829b (bug 734125) because of bustage 2012-06-20 09:23:41 +02:00
Mike Hommey
2026efa911 Bug 734125 - Fail configure when acoutputfast.pl fails to find one of the input files. r=ted 2012-06-20 09:00:48 +02:00
Mike Hommey
92dba1256b Bug 762358 - Don't create a .mozconfig.mk file, and re-run configure when .mozconfig changed. r=ted 2012-06-19 09:12:43 +02:00
Mike Hommey
5f21feb5c0 Bug 759115 - Move Android SDK/NDK checks in build/autoconf/android.m4, and bump minimum Android SDK API level we require to 14 for mobile/android. r=ted 2012-06-11 08:10:28 +02:00
Mike Hommey
ed3f1040f5 Backout changeset a78601d88586 (bug 759115) because of B2G bustage 2012-06-11 08:23:29 +02:00
Mike Hommey
c50ce57fb4 Bug 759115 - Move Android SDK/NDK checks in build/autoconf/android.m4, and bump minimum Android SDK API level we require to 14 for mobile/android. r=ted 2012-06-11 08:10:28 +02:00
Rafael Ávila de Espíndola
56a8e9f66c Bug 762071 - JS is being compiled with exceptions enabled. r=khuey. 2012-06-08 13:31:28 -04:00
Gervase Markham
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Chris Coulson
a33095deaf Bug 756167 - Fix make-makefile test failure when the source path contains perl regexp metacharacters. r=coop 2012-05-17 17:55:33 -04:00
Rafael Ávila de Espíndola
f292482b86 Bug 555727 - Select clang over llvm-gcc if gcc-4.2 is not available. r=ted. 2012-05-03 17:01:29 -04:00
Makoto Kato
2b5e50a71b Bug 743601 - Remove GLIB check for OSX. r=khuey 2012-04-27 12:28:16 +09:00
Makoto Kato
6b21bcc4e1 Bug 716354 - freetype2 detection doesn't consider cross-compiling. r=glandium 2012-04-06 11:36:24 +09:00
Nicholas Nethercote
ba5600fd65 Bug 711895 - Tweak the warning options used for GCC builds (3rd attempt). r=waldo,derf,khuey,mhommey.
--HG--
extra : rebase_source : 20540c9b838ee3be6cb0847c1b90fdc3bd44059d
2012-03-21 22:21:16 -07:00
Nicholas Nethercote
256772d52e Backed out changeset 0124795a8cbb (bug 711895) due to i10n build bustage. r=me. 2012-03-21 21:46:27 -07:00
Nicholas Nethercote
1859bc3ea6 Bug 711895 - Tweak the warning options used for GCC builds (2nd attempt). r=waldo,derf,khuey,mhommey,jwatt. 2012-03-15 19:40:00 -07:00
Mike Hommey
603769b284 Bug 733773 - Reset default values for thumb, float-abi, etc. when --with-arch is specified. r=ted 2012-03-13 09:47:03 +01:00
Mike Hommey
f3c213484d Backout changeset 03394bda1d0f (bug 733773) because of Windows red. 2012-03-13 10:05:38 +01:00
Mike Hommey
b71a0c557f Bug 733773 - Reset default values for thumb, float-abi, etc. when --with-arch is specified. r=ted 2012-03-13 09:47:03 +01:00
Mike Hommey
6b0bf74fce Bug 603370 - Avoid Identical Code Folding messing with symbol reordering. r=khuey 2012-03-08 08:56:28 +01:00
Mike Hommey
afd6044b69 Bug 603370 - Add an option to expandlibs-exec to allow to reorder the symbols when linking. r=khuey 2012-03-08 08:56:27 +01:00
Mike Hommey
544b7a606d Bug 695711 - Always add -ffunction-sections and -fdata-sections when building with GCC, and port bug 670659 and bug 675867 to js/src. r=khuey
--HG--
rename : build/unix/check_debug_ranges.py => build/autoconf/check_debug_ranges.py
rename : build/unix/check_debug_ranges.py => js/src/build/autoconf/check_debug_ranges.py
2012-02-27 16:35:44 +01:00
Ehsan Akhgari
9fc675a3c3 Bug 732162 - Build mobile profiling builds with -funwind-tables; r=khuey
--HG--
extra : transplant_source : 4O%F7%BA%94%0Fh%F6%5E%EA%10%E1%08%9E%D9S%A2XEd
2012-03-01 16:24:04 -05:00
Irving Reid
f62ddb349e Bug 731316: override warning about unsupported compiler warning flag on clang. r=respindola. 2012-02-29 10:20:42 -05:00
Rafael Ávila de Espíndola
49845c6bf7 Bug 727145 - Pass -Wno-return-type-c-linkage to clang. r=glandium. 2012-02-16 09:53:08 -05:00
Gavin Sharp
b9b31576d9 Remove outdated reference to "build configurator" webtool, rs=khuey, no bug 2012-01-20 18:07:10 -08:00
Rafael Ávila de Espíndola
c96397dc02 Bug 715930 - Use stdc++compat.cpp on OS X too. r=:glandium. 2012-01-10 15:01:03 -05:00
Daniel Holbert
6bc23dbdce Bug 716663: Fix check for PR49911 to use "=" instead of "==" for string-equality-check with 'test'. r=respindola 2012-01-09 14:17:00 -08:00
Rafael Ávila de Espíndola
9799f824dd Bug 705466 - Use MOZ_CHECK_HEADERS to check for cpuid.h. r=ted.
--HG--
extra : rebase_source : ecd108d166017cbd64c5be459a76cb2522723dfb
2011-11-28 15:32:32 -05:00
Rafael Ávila de Espíndola
0ea58cfe7f Bug 705461 - Use MOZ_CHECK_HEADER(S) everywhere. r=neil. 2011-11-26 16:05:17 -05:00
Joey Armstrong
42efcd221d Bug 687511 - make-makefile enhancements; r=khuey,coop 2011-11-20 11:18:27 +00:00
Kyle Huey
04aaba1c02 Merge m-c to b-s. 2011-09-29 08:38:20 -04:00
Siddharth Agarwal
e64212b81b Bug 687275 - mozconfig detection code: remove an unnecessary pipe -> string -> pipe redirection and use FOUND_MOZCONFIG instead of MOZCONFIG. r=ted 2011-09-23 23:22:44 +05:30
Matheus Kerschbaum
3d31a8f676 Bug 687766 part 1: Remove build-time dependency on libIDL. r=khuey 2011-09-27 10:09:54 +02:00
Siddharth Agarwal
56fe36ae20 Bug 681659 - Execute mozconfig-find just once and make sure mozconfig detection errors are handled properly. r=ted 2011-09-09 02:00:31 +05:30
Jeff Walden
a5697731ec Bug 684782 - Readd support for $topsrcdir/mozconfig, exclusive with support for $topsrcdir/.mozconfig (no more than one may be present). f=callek r=ted 2011-09-07 13:42:03 +02:00
Rafael Ávila de Espíndola
a8c970acc2 Bug 680277 - Debug builds should always be compiled with frame pointers. r=khuey.
This patch creates a new MOZ_FRAMEPTR_FLAGS variable that is used only to
control the frame pointer flags passed to the compiler. It also computes this
flag in a macro so that the toplevel configure and js/src/configure stay in
sync.
2011-09-03 13:36:18 -04:00
Ehsan Akhgari
27c450d474 Keep changeset e3626f903f9f backed out on the reverted tree 2011-09-02 09:06:01 -04:00
Ehsan Akhgari
a171549936 Revert to changeset e6fc4594c22e which was the last one to get a green Win7 tp run 2011-09-02 09:03:08 -04:00
Rafael Ávila de Espíndola
e281bb7586 revert 11247af82311, e3626f903f9f and 7ee51f8ea940.
CLOSED TREE
2011-09-01 22:01:56 -04:00
Rafael Ávila de Espíndola
59412356d4 Bug 680277 - Add missing file.
CLOSED TREE
2011-09-01 16:17:50 -04:00