Commit Graph

171 Commits

Author SHA1 Message Date
Mike Hommey
f3cda63b7a 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
61d9eb6255 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
2dc8276d4e 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
c0f05bb58a 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
15d0c3f988 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
93bec11dfa Bug 895915 - Enforce host gcc/clang support for C++11. r=gps 2013-07-30 08:57:28 +09:00
Mike Hommey
58c75e5261 Bug 894763 - Default objdir should reflect target, not host. r=gps 2013-07-23 07:26:09 +09:00
Roberta De Viti
e1d7bf65ec Bug 894717 - Fix 'plase upgrade' typo in autoconf files. r=khuey 2013-07-19 10:47:15 -07:00
Mike Hommey
33751731f6 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
7ae0a0662d 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
36e1a02735 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
33c9930db5 Bug 752034 - Use the Windows SDK when building with Clang on Windows; r=ted 2013-06-13 13:09:22 -04:00
Ehsan Akhgari
64be84714f 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
0534491630 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
8da61fdd12 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
93a66626cc Bug 873325 - Normalize topobjdir to an absolute path; r=glandium 2013-05-20 09:45:54 -07:00
James Willcox
7f51fee2cd 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
af43946647 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
b08ef15d83 Bug 850332 - Use jemalloc inside mozglue. r=kats,r=mwu 2013-03-17 08:03:05 +01:00
Chris Peterson
0ebc8157d1 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
1e8b3726e4 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
57bd116b87 Bug 859830: determine Android API level through android/api-leve.h instead. r=glandium 2013-04-12 13:39:42 +08:00
Mike Hommey
56141cba55 Bug 788613 - Dump config.log when configure fails. r=ted 2013-04-10 16:15:01 +02:00
Mike Hommey
79671fd652 Bug 860184 - Automatically use the x86-64 NDK toolchain when possible. r=ted 2013-04-10 16:12:57 +02:00
Kyle Huey
b7c5926e3b Back out Bug 788613 for breaking the build on Windows. 2013-04-08 06:22:50 -07:00
Mike Hommey
0122d187d1 Bug 788613 - Dump config.log when configure fails. r=ted 2013-04-08 08:31:50 +02:00
Gregory Szorc
8d9c961786 Bug 841713 - Add objdir paths to virtualenv; r=ted 2013-03-26 10:35:57 -07:00
Makoto Kato
ea03ff490a Bug 837598 - cannot build WebRTC for Linux/arm. r=glandium 2013-03-15 11:50:17 +09:00
Paul Adenot
3eda731ae2 Bug 850713 - Bump the required NDK version to 9. r=blassey.bugs,mh+mozilla 2013-03-15 16:28:07 +13:00
Phil Ringnalda
4f7b6b562a 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
e63121f8e9 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
f0b7e3972c 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
faf262c4ee 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
01c06b3b88 Bug 784841 - Part 19: Remove allmakefiles.sh and friends; r=ted 2013-02-25 14:09:16 -08:00
Ehsan Akhgari
3a2fdeb18a 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
7f3ba02cd8 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
3086699a36 Bug 784841 - Part 13: Properly normalize topsrcdir in config.status; r=glandium 2013-02-21 10:55:55 -08:00
Gregory Szorc
6c3fa08eab Backout 4682ed369545 (bug 841713) for reftest make target bustage
--HG--
extra : rebase_source : 6bf45c9f33563109cf6d17197f9184a3a336efe0
2013-02-20 09:16:02 -08:00
Gregory Szorc
e689d22f2b Bug 841713 - Add objdir paths to virtualenv; r=ted 2013-02-19 15:23:21 -08:00
Landry Breuil
70e82e413a 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
77a41a0eec Bug 840512 - Generalize toolchain.m4 to match newer Apple clang version string. r=glandium 2013-02-13 11:24:09 +01:00
Mike Hommey
5ff8037f5d 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
651db16a7c 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
c96759064d 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
d703f2d924 Bug 828660 - Try to autodetect the compiler version in the android NDK. r=glandium 2013-01-14 09:35:40 -05:00
Makoto Kato
d7ca789b4a Bug 802527 - Support Android NDK r8b for x86 android build. r=glandium 2012-12-19 11:49:44 +09:00
Mike Hommey
097fa29aa1 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
930724b4ae 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
96df073ee8 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
41d7374421 Bug 810398 - Update support library error message to be clearer. r=blassey 2012-11-09 11:07:40 -08:00