Commit Graph

168 Commits

Author SHA1 Message Date
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