Commit Graph

260 Commits

Author SHA1 Message Date
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
Mike Hommey
c5272de310 Bug 926126 - Enable pseudo derecurse on releng builds, and enable parallel export; r=gps 2013-10-13 09:19:46 +09:00
Mike Hommey
c8689012fb Bug 921003 - Make directory skipping opt-in, as initially intended. r=me 2013-10-02 11:32:15 +09:00
Mike Hommey
5756cd9165 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
47ef05d458 Bug 906225 - Add a --enable/disable-gold configure flag. r=gps 2013-09-27 08:07:30 +09:00
Mike Hommey
bcb417b132 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
9ab0fc5b7a Search for Android SDK build tools version 18.1.0 (bug 919466). r=glandium 2013-09-24 10:14:33 +03:00
Gregory Szorc
d2658b6a1f 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
362a6b7e54 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
f97e03a2d4 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
7a3b15a8d2 Bug 911893 - cannot use --enable-android-libstdcxx configure option. r=glandium 2013-09-06 14:40:48 +09:00
Mike Hommey
c05cf63484 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
93085a7034 Bug 910814 - SpiderMonkey: Disable errno for math functions. r=glandium 2013-09-02 17:21:21 -07:00
Mike Hommey
1568928eb8 Bug 907650 - Move debugging options configure.in goop in compiler-opts.m4. r=gps 2013-08-30 11:10:33 +09:00
Doug Turner
805876c713 Bug 906072 - Remove Maemo port. r=romaxa, r=ted, r=johns 2013-08-25 16:56:53 -07:00
Irving Reid
085ba6994a Bug 905315: Work around android ADT path naming scheme change; r=nalexander 2013-08-26 11:16:18 -04:00
Mike Hommey
d43cf05e84 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
da0dde6519 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
59deef007a Bug 904979 - Disable ICF and dead code removal on local builds. r=ted 2013-08-15 23:45:10 +09:00
Mike Hommey
d7e0172e8c 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
4c2f5c8547 Bug 904979 - Add build option for rel-eng type builds. r=ted 2013-08-15 23:45:09 +09:00
Mike Hommey
bdb998ba95 Bug 888549 - Don't print config.log when config.status fails. r=ted 2013-08-15 23:45:08 +09:00
Mike Hommey
b67b804e7f Bug 861285 - Print AC_MSG_ERROR messages in config.log too. r=ted 2013-08-15 23:45:07 +09:00
JW Wang
b883640fbe Bug 882171 - Part 2: Call NEON implementation. r=ehsan, r=glandium 2013-08-13 17:30:18 +08:00
JW Wang
605cb449b1 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
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
Wes Johnston
7e7639ef9e Bug 759041 - Bring in Android compatibility libraries. r=blassey 2012-11-08 07:45:29 -08:00
Brad Lassey
348fc98ad1 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
a86ac496ac Bug 795499 - Export ANDROID_CPU_ARCH via AC_SUBST. r=glandium 2012-09-29 00:49:24 -07:00
Rafael Ávila de Espíndola
b6d0d4d24d 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
5101e1a9f4 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
3984de1de8 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
78cae85108 Bug 787931 - Add better error message. r=gps. 2012-09-11 09:02:20 -04:00
Rafael Ávila de Espíndola
6c7b4adc54 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
543e39518d Bug 785871 - Make config.status importable. r=gps 2012-08-29 08:55:58 +02:00
Mike Hommey
daa472b3d2 Bug 781461 - Work around mksh/pdksh bug in config.status.m4. r=ted 2012-08-18 11:17:29 +02:00
Aryeh Gregor
03c970d57f Bug 780474 - Set -Wno-mismatched-tags for clang; r=glandium 2012-08-14 12:10:42 +03:00