Граф коммитов

4849 Коммитов

Автор SHA1 Сообщение Дата
Phil Ringnalda 174ec4f715 Merge m-i to m-c, a=merge 2015-03-22 13:56:19 -07:00
Phil Ringnalda e771ae69ec Merge m-c to f-t 2015-03-21 12:54:34 -07:00
Robert Strong 080546e359 Bug 1144934 - Add support for NSIS 3.0b1 in configure.in. r=gps 2015-03-20 18:09:43 -07:00
Jim Blandy 664a32d9e7 Bug 1134039: Make SpiderMonkey standalone (JS_STANDALONE) builds use jemalloc and mozglue by default. r=glandium
JS_STANDALONE builds don't need everything in mozglue; have mozglue omit the
unneeded code for such builds.

Since the SpiderMonkey binaries are now more like the other Gecko binaries, we
can remove some special cases for JS_STANDALONE in GeckoSharedLibrary,
GeckoProgram, etc. All Gecko binaries now use mozglue, which contains mfbt, so
we no longer need mention mfbt explicitly.

Add a property to the getBuildConfiguration testing function's result that
indicates whether we're using jemalloc or not.

Include the newly necessary source directories in the SpiderMonkey source
package.
2015-03-19 02:12:53 -07:00
Mike Hommey 093246b8d4 Backout changeset a1a89ff4ee31 (bug 762449) to disable jemalloc 3 for now. 2015-03-19 15:53:01 +09:00
Victor Porof 3a6e36b016 Bug 1123815 - Merge gum into fx-team to enable the Performance++ tool, r=me 2015-03-14 16:14:37 -04:00
Mike Hommey 72b6857d37 Backout changeset 4b936da89beb (bug 1142403) because of all the orange on Windows. 2015-03-13 07:48:48 +09:00
Mike Hommey 1a4ff07817 Bug 1142006 - Set MACOSX_DEPLOYMENT_TARGET earlier. r=mshal
On try, where we use sccache, a sccache server is started the first time
configure runs the compiler for its checks, and that sccache server is
what does compilations on cache misses.

But compiling with MACOSX_DEPLOYMENT_TARGET in the environment doesn't have
the same effect as without, depending on its value. So
MACOSX_DEPLOYMENT_TARGET needs to be set before any compiler invocation.
2015-03-13 07:44:29 +09:00
Mike Hommey d719184df5 Bug 1142403 - Enable jemalloc debug on debug builds. r=njn 2015-03-13 07:44:28 +09:00
Sotaro Ikeda 4aa620a830 Bug 1137515 part 1 - Change to configure.in r=mwu 2015-03-11 12:32:14 -07:00
Ryan VanderMeulen d4a838cbc3 Backed out changesets cd5ec762afa1 and fad66e8fe874 (bug 1137515) for Nexus 5-L bustage.
CLOSED TREE

--HG--
extra : rebase_source : 59680d649177809d0a31d87091ab9d18070f7a0f
2015-03-11 12:35:08 -04:00
Sotaro Ikeda 59e524ebbe Bug 1137515 part 1 - Change to configure.in r=mwu 2015-03-11 07:18:50 -07:00
Alex Henrie bb3d8e3081 Bug 1134537 - Delete GnomeVFS extension. r=roc
--HG--
extra : rebase_source : faa7677e584fb14cb41e4682f1281b222e4e28c6
2015-03-09 21:12:58 -06:00
Kai Engert 9fe4b02ada Bug 1137470, bump configure.in to require NSS version 3.18, DONTBUILD 2015-03-20 13:35:06 +01:00
Mike Hommey 2760f6751e Bug 1141660 - Always export memalign from jemalloc, even on Windows. r=njn 2015-03-11 16:03:54 +09:00
Ethan Tseng 40b48175fc Bug 1138983 - RTSP not enabled in Lollipop. r=vchang 2015-03-05 13:34:08 +08:00
Mike Hommey 4b5b332612 Bug 1138845 - Don't require atk-bridge for gtk+3 builds. r=tbsaunde 2015-03-04 14:39:55 +09:00
Wes Kocher a78a7eb043 Merge b2g-inbound to m-c a=merge 2015-03-02 12:56:08 -08:00
Mike Hommey 58419631ca Bug 762449 - Enable jemalloc 3 by default, but don't make it ride the trains yet. r=njn 2015-03-02 07:35:29 +09:00
Fabrice Desré fa7df3a41f Bug 1091307 - Add a configure flag to prevent shipping Mozilla's RIL and Geolocation provider r=hsinyi,mshal 2015-02-26 13:51:20 -08:00
Ted Mielczarek 1097d4012f bug 1135700 - make uploadsymbols use Socorro symbol upload API. r=gps
--HG--
extra : rebase_source : 2f177f3e2dbae3e658da9c034dfd9e4b29c03015
2015-02-23 13:48:54 -05:00
Mike Hommey 1f351bd61a Bug 1134123 - Disable (infinite) chunk recycling in jemalloc3. r=njn
Jemalloc 3 has, by default, a form of chunk recycling enabled, where it
actually doesn't unmap any chunk it ever allocated. Considering Gecko has
other uses of mmap, it can lead to premature address space exhaustion.

Until we have actual (limited) chunk recycling in jemalloc3 from bug
1107677, just disable this feature.
2015-02-24 11:28:09 +09:00
Bill Gianopoulos 65b2413b65 Bug 1134618 - Change MaxILKSize to 0x7FF00000. r=khuey
--HG--
extra : histedit_source : 5ea18e6d933666c579dc26e0051978f929a54c4f
2015-02-19 10:22:29 -05:00
Nick Alexander f3aaef13fa Bug 1093242 - Produce and upload geckolibs artifacts for Android API v11+ opt builds. r=gps
The Android ARchive contains the compiled Gecko libraries that Firefox
for Android interfaces to.  It does not contain the Gecko resources
(the omnijar, omni.ja) nor the compiled Java code (classes.dex).

This also uploads metadata and sha1 hashes for future consumption by
Maven and/or Ivy dependency managers.  In some brave future world,
we'll work out exactly what that looks like; for now, this solves a
storage problem (each .aar file is ~20MB) and it's possible to point
Gradle directly at the uploaded Ivy metadata and artifacts.

--HG--
extra : rebase_source : 0c12b44f587d4a027ca5258bae8fcbb6f6028c24
2015-02-17 17:23:23 -08:00
Michael Comella f80aea2eb3 Bug 1106935 - Remove MOZ_ANDROID_NEW_TABLET_UI from configure.in. r=nalexander
--HG--
extra : rebase_source : 13f7cf033023b6cbbe3d1b59614190b6189e94bf
extra : source : f8366cf7e7c88d53221715d6bc907b003f09057e
2015-02-04 08:36:14 -08:00
Xidorn Quan 1e56c4663e Bug 1133384 - Add -MaxILKSize to LDFLAGS for MSVC to avoid LNK1248 error. r=glandium
--HG--
extra : source : 6a79ec902a458bf52ea6d25d5eb3f5dc5c601153
2015-02-19 10:29:35 +13:00
Kevin K. c232a70058 Bug 1057600 - Don't require MOZILLA_OFFICIAL to include build revisions in build. Add MOZ_INCLUDE_SOURCE_INFO variable as an alternate way to include build revisions without setting MOZILLA_OFFICIAL. r=glandium 2015-02-17 22:10:03 -05:00
Carsten "Tomcat" Book 4b912997a8 Merge mozilla-central to fx-team 2015-02-16 16:18:42 +01:00
Martyn Haigh f2ad138f7e Bug 1132185 - Put the tab queue UI behind a build flag (r=nalexander) 2015-02-16 14:55:52 +00:00
Paul Adenot beb3d46e94 Bug 1129412 - Clarify the fact that ALSA is needed to build on Linux. DONTBUILD because comment-only. r=glandium 2015-02-04 14:33:41 +01:00
Karl Tomlinson d3e56cd4f8 bug 1114898 set GLIB_VERSION_MIN_REQUIRED/MAX_ALLOWED to support symbol version warnings r=glandium
Also bumping GLIB_VERSION to 2.22 and GTK3_VERSION 3.4 in line with Mozilla
build environment.

--HG--
extra : rebase_source : 3f4df0f3485509dba109b3d7936a90a24d0cd893
2015-02-10 11:26:47 +13:00
Ryan VanderMeulen 7f45ab0034 Merge b2g-inbound to m-c. a=merge
CLOSED TREE
2015-02-13 12:24:27 -05:00
Krzysztof Mioduszewski d0cf1485e0 Bug 879861 - Part 5: Build support for SecureElement feature. r=gps 2015-02-11 10:09:00 -05:00
Mike Hommey dcd952059c Bug 1129244 - [Nuwa] wrap pthread_mutex_trylock. r=thinker 2015-02-11 10:21:04 +09:00
Brian Smith 1bb835dbca Bug 1128413, Part 4: Fix warnings in mozilla-config.h and gcc-stl-wrapper.template.h, r=glandium
--HG--
extra : rebase_source : 7ba4fb8a0bd11648908e2790e86ce3bb4517aeb7
2015-02-02 17:35:19 -08:00
Richard Newman bf45c090c9 Bug 1122024 - Bump configure.in minimum Android SDK version to 20. r=nalexander 2015-02-05 15:37:27 -08:00
Terrence Cole e5afb92f3a Bug 1125929 - Remove the unused GC stack capture; r=billm
--HG--
extra : rebase_source : e32779f431f0ddc70ead1b2d273a0a23d99541ac
2015-01-28 11:52:01 -08:00
Ben Turner b44d471515 Bug 1127899 - Upgrade to SQLite 3.8.8.2, r=mak. 2015-01-31 18:00:34 -08:00
Ryan VanderMeulen 175de6b258 Merge inbound to m-c. a=merge 2015-01-30 12:22:33 -05:00
Yoshi Huang 065028a294 Bug 1104476 - Enable MOZ_NFC on L. r=glandium 2015-01-30 12:35:24 +08:00
Brian Smith 0947929dd6 Bug 1119072, Parts 1, 2, 4, 9, 17: Update build system to support MSVC 2015, r=glandium
--HG--
extra : rebase_source : fc8ac588acaa4fc4c7d9cd2216671e43db25ede3
2015-01-29 17:36:39 -08:00
Ehsan Akhgari 5c46df7659 Bug 1122926 - Remove unhelpful configure messages suggesting to use --disable-webgl or install the DirectX SDK; r=glandium
--disable-webgl was removed in bug 1052518, and we don't need a separate
DirectX SDK installation any more.
2015-01-27 08:34:07 -05:00
Hiroyuki Ikezoe 88299aaa55 Bug 1113863 - Move application configure after exporting MOZ_NO_DEBUG_RTL. r=glandium 2015-01-27 12:11:47 +01:00
Kai Engert 27a7ecb5ff Bug 1124903 - Update Mozilla 37 to use NSPR 4.10.8 final (not beta), bump mininum system version requirement, DONTBUILD 2015-01-25 22:57:56 +01:00
Ryan VanderMeulen 9aadb1a898 Bug 1122717 - Upgrade SQLite to version 3.8.8.1. r=mak 2015-01-24 10:24:03 -05:00
Ryan VanderMeulen f6ca65e867 Merge fx-team to m-c. a=merge 2015-01-23 12:20:52 -05:00
Kai Engert 881c62848d Bug 1107731, Upgrade to NSS 3.17.4, landing release candidate NSS_3_17_4_RC0, r=wtc 2015-01-22 23:51:22 +01:00
Nathan Froyd 199161f2f9 Bug 1122126 - add configure checks for gmtime_r; r=mshal 2015-01-15 13:20:22 -05:00
Wes Kocher d595ebca46 Merge m-c to fx-team a=merge 2015-01-22 14:53:05 -08:00
Richard Newman 9d1f5b902f Bug 1123377 - Create build flag for reading list service on Android. r=nalexander 2015-01-22 08:27:43 -08:00
Makoto Kato 6067a444b4 Bug 1123547 - Remove old MSVS toolchain support using _CC_SUITE. r=mshal 2015-01-21 17:08:17 +09:00
Ryan VanderMeulen 50bc583645 Bug 1061240 - Update libjpeg-turbo to version 1.4. r=jmuizelaar, r=glandium, f=rankov
--HG--
rename : media/libjpeg/config.h => media/libjpeg/jconfigint.h
rename : media/libjpeg/simd/jcclrmmx.asm => media/libjpeg/simd/jccolext-mmx.asm
rename : media/libjpeg/simd/jcclrss2-64.asm => media/libjpeg/simd/jccolext-sse2-64.asm
rename : media/libjpeg/simd/jcclrss2.asm => media/libjpeg/simd/jccolext-sse2.asm
rename : media/libjpeg/simd/jccolmmx.asm => media/libjpeg/simd/jccolor-mmx.asm
rename : media/libjpeg/simd/jccolss2-64.asm => media/libjpeg/simd/jccolor-sse2-64.asm
rename : media/libjpeg/simd/jccolss2.asm => media/libjpeg/simd/jccolor-sse2.asm
rename : media/libjpeg/simd/jcgrammx.asm => media/libjpeg/simd/jcgray-mmx.asm
rename : media/libjpeg/simd/jcgrass2-64.asm => media/libjpeg/simd/jcgray-sse2-64.asm
rename : media/libjpeg/simd/jcgrass2.asm => media/libjpeg/simd/jcgray-sse2.asm
rename : media/libjpeg/simd/jcgrymmx.asm => media/libjpeg/simd/jcgryext-mmx.asm
rename : media/libjpeg/simd/jcgryss2-64.asm => media/libjpeg/simd/jcgryext-sse2-64.asm
rename : media/libjpeg/simd/jcgryss2.asm => media/libjpeg/simd/jcgryext-sse2.asm
rename : media/libjpeg/simd/jcsammmx.asm => media/libjpeg/simd/jcsample-mmx.asm
rename : media/libjpeg/simd/jcsamss2-64.asm => media/libjpeg/simd/jcsample-sse2-64.asm
rename : media/libjpeg/simd/jcsamss2.asm => media/libjpeg/simd/jcsample-sse2.asm
rename : media/libjpeg/simd/jdclrmmx.asm => media/libjpeg/simd/jdcolext-mmx.asm
rename : media/libjpeg/simd/jdclrss2-64.asm => media/libjpeg/simd/jdcolext-sse2-64.asm
rename : media/libjpeg/simd/jdclrss2.asm => media/libjpeg/simd/jdcolext-sse2.asm
rename : media/libjpeg/simd/jdcolmmx.asm => media/libjpeg/simd/jdcolor-mmx.asm
rename : media/libjpeg/simd/jdcolss2-64.asm => media/libjpeg/simd/jdcolor-sse2-64.asm
rename : media/libjpeg/simd/jdcolss2.asm => media/libjpeg/simd/jdcolor-sse2.asm
rename : media/libjpeg/simd/jdmermmx.asm => media/libjpeg/simd/jdmerge-mmx.asm
rename : media/libjpeg/simd/jdmerss2-64.asm => media/libjpeg/simd/jdmerge-sse2-64.asm
rename : media/libjpeg/simd/jdmerss2.asm => media/libjpeg/simd/jdmerge-sse2.asm
rename : media/libjpeg/simd/jdmrgmmx.asm => media/libjpeg/simd/jdmrgext-mmx.asm
rename : media/libjpeg/simd/jdmrgss2-64.asm => media/libjpeg/simd/jdmrgext-sse2-64.asm
rename : media/libjpeg/simd/jdmrgss2.asm => media/libjpeg/simd/jdmrgext-sse2.asm
rename : media/libjpeg/simd/jdsammmx.asm => media/libjpeg/simd/jdsample-mmx.asm
rename : media/libjpeg/simd/jdsamss2-64.asm => media/libjpeg/simd/jdsample-sse2-64.asm
rename : media/libjpeg/simd/jdsamss2.asm => media/libjpeg/simd/jdsample-sse2.asm
rename : media/libjpeg/simd/jf3dnflt.asm => media/libjpeg/simd/jfdctflt-3dn.asm
rename : media/libjpeg/simd/jfsseflt-64.asm => media/libjpeg/simd/jfdctflt-sse-64.asm
rename : media/libjpeg/simd/jfsseflt.asm => media/libjpeg/simd/jfdctflt-sse.asm
rename : media/libjpeg/simd/jfmmxfst.asm => media/libjpeg/simd/jfdctfst-mmx.asm
rename : media/libjpeg/simd/jfss2fst-64.asm => media/libjpeg/simd/jfdctfst-sse2-64.asm
rename : media/libjpeg/simd/jfss2fst.asm => media/libjpeg/simd/jfdctfst-sse2.asm
rename : media/libjpeg/simd/jfmmxint.asm => media/libjpeg/simd/jfdctint-mmx.asm
rename : media/libjpeg/simd/jfss2int-64.asm => media/libjpeg/simd/jfdctint-sse2-64.asm
rename : media/libjpeg/simd/jfss2int.asm => media/libjpeg/simd/jfdctint-sse2.asm
rename : media/libjpeg/simd/ji3dnflt.asm => media/libjpeg/simd/jidctflt-3dn.asm
rename : media/libjpeg/simd/jisseflt.asm => media/libjpeg/simd/jidctflt-sse.asm
rename : media/libjpeg/simd/jiss2flt-64.asm => media/libjpeg/simd/jidctflt-sse2-64.asm
rename : media/libjpeg/simd/jiss2flt.asm => media/libjpeg/simd/jidctflt-sse2.asm
rename : media/libjpeg/simd/jimmxfst.asm => media/libjpeg/simd/jidctfst-mmx.asm
rename : media/libjpeg/simd/jiss2fst-64.asm => media/libjpeg/simd/jidctfst-sse2-64.asm
rename : media/libjpeg/simd/jiss2fst.asm => media/libjpeg/simd/jidctfst-sse2.asm
rename : media/libjpeg/simd/jimmxint.asm => media/libjpeg/simd/jidctint-mmx.asm
rename : media/libjpeg/simd/jiss2int-64.asm => media/libjpeg/simd/jidctint-sse2-64.asm
rename : media/libjpeg/simd/jiss2int.asm => media/libjpeg/simd/jidctint-sse2.asm
rename : media/libjpeg/simd/jimmxred.asm => media/libjpeg/simd/jidctred-mmx.asm
rename : media/libjpeg/simd/jiss2red-64.asm => media/libjpeg/simd/jidctred-sse2-64.asm
rename : media/libjpeg/simd/jiss2red.asm => media/libjpeg/simd/jidctred-sse2.asm
rename : media/libjpeg/simd/jcqnt3dn.asm => media/libjpeg/simd/jquant-3dn.asm
rename : media/libjpeg/simd/jcqntmmx.asm => media/libjpeg/simd/jquant-mmx.asm
rename : media/libjpeg/simd/jcqntsse.asm => media/libjpeg/simd/jquant-sse.asm
rename : media/libjpeg/simd/jcqnts2f-64.asm => media/libjpeg/simd/jquantf-sse2-64.asm
rename : media/libjpeg/simd/jcqnts2f.asm => media/libjpeg/simd/jquantf-sse2.asm
rename : media/libjpeg/simd/jcqnts2i-64.asm => media/libjpeg/simd/jquanti-sse2-64.asm
rename : media/libjpeg/simd/jcqnts2i.asm => media/libjpeg/simd/jquanti-sse2.asm
2015-01-20 22:19:57 -05:00
Brian Smith 33a1219ee6 Bug 1119072: Backout cset bc297ccecb13 (parts 1, 2, 4, 9, 17) because I broke the build, a=backout 2015-01-20 16:59:52 -08:00
Brian Smith 7a02ba7054 Bug 1119072, Parts 1, 2, 4, 9, 17: Update build system to make MSVC2015 build succeed, r=glandium
--HG--
extra : rebase_source : 385a279690c1658915bffb348221b5142210bb31
2015-01-13 22:47:16 -08:00
Ehsan Akhgari daffd8f2c8 Revert "Bug 1122785 - Detect the extension for executables when configuring; r=glandium" on a CLOSED TREE
This reverts hg changeset f2ecf0ef0922.
2015-01-20 09:58:28 -05:00
Ehsan Akhgari c6389fef15 Bug 1122785 - Detect the extension for executables when configuring; r=glandium
This is required for cross-compiles with MSVC on Linux, otherwise
the compiler sanity checks fail because ${ac_exeext} is empty.
2015-01-20 09:38:59 -05:00
Ehsan Akhgari f2bf8f12a7 Bug 1122796 - Make it possible to override the path to the mt.exe tool through the mozconfig; r=glandium 2015-01-20 09:38:31 -05:00
Abhishek Bhattacharya cec7cbbd44 Bug 1119921 - Fix "$ANDROID_VERSION" comparison tests. r=nalexander
--HG--
extra : amend_source : 50fa678c38bac71807cd09991d1b4239b5f666b9
2015-01-17 16:42:04 -08:00
Trevor Saunders 5b86ecf80c bug 1077549 - remove useless gcc version checks r=glandium 2015-01-15 21:30:05 -05:00
Nicholas Nethercote f33603596e Bug 1121813 - Make |configure| abort if attempting a Win64 build with a 32-bit toolchain. r=glandium.
--HG--
extra : rebase_source : beb0b7c18a994ddd8b1f1743822ba3b55da582d2
2015-01-15 15:12:38 -08:00
Ehsan Akhgari 8d704322f7 Bug 1121000 - Remove support for non-unified builds; r=gps 2015-01-14 17:26:39 -05:00
Mike Hommey af38583e2e Bug 1121314 - Avoid needing the arena in chunk_alloc_default to avoid possible infinite loops involving a0malloc. r=njn
The infinite loop happens if chunk_alloc_arena needs to be called when a0malloc
is called. It in turn calls chunk_alloc_default, which uses tsd, which calls
a0malloc if it's the first time the tsd is being gotten from the current thread.
tsd only uses a0malloc on platforms where there is no native thread local storage
support, which, for Mozilla, essentially means anything that is not Linux.

But the tsd is only neededto get the dss precedence setting of the given arena.
That setting has no effect when dss is disabled, which it is on Windows and Mac.

Moreover, the default setting for dss precedence is "secondary", which means
jemalloc only tries dss after it failed to get memory with mmap/VirtualAlloc.
Considering the cases where mmap/VirtualAlloc would fail essentially means
there is shortage of address space, sbrk() is not going to have much more
success, so we might as well disable dss support on all platforms, avoiding
the infinite loop problem on Android and B2G as well.
2015-01-14 15:18:49 +09:00
Mike Hommey ae34e96519 Backout changesets 9229135ca287 and cf4eb744f2e1 (bug 762449) because of random oranges on a CLOSED TREE. 2015-01-13 12:05:53 +09:00
Mike Hommey 3bc599c0d7 Followup for bug 762449: disable jemalloc 3 on b2g gonk builds because it breaks system binaries. r=me on a CLOSED TREE 2015-01-13 11:38:17 +09:00
Mike Hommey fd4c0662da Bug 762449 - Enable jemalloc 3 by default, but don' make it ride the trains yet. r=njn 2015-01-13 09:30:25 +09:00
Carsten "Tomcat" Book 830e9e7d40 merge b2g-inbound to mozilla-central a=merge 2015-01-12 14:59:45 +01:00
Vincent Liu 0021f83b73 Bug 1107300 - (gonk-L-Camera) [meta] Camera Android L Porting. r=Sotaro 2015-01-12 10:34:54 +08:00
Brad Lassey 0e7333b6e7 bug 1083116 - build fails: malloc_decls.h conflicting types for 'malloc_usable_size' r=glandium 2015-01-06 19:58:36 -05:00
Bruce Sun dda75f6d63 Bug 1102703: (10/10) Enable MOZ_B2G_BT and MOZ_B2G_BT_BLUEDROID. r=shawnjohnjr 2015-01-09 13:40:02 +08:00
Jacek Caban 10ef01451e Bug 1116777 - Default to static linking on mingw. r=glandium 2015-01-09 11:41:26 +01:00
Ms2ger 6d4d5c8ab7 Bug 739601 - Rewrite (the used parts of) config/milestone.pl in python; r=gps 2015-01-09 10:24:45 +01:00
Chris Peterson 75110a0d12 Bug 1118529 - Remove MSIntTypes.h. r=Waldo 2015-01-06 21:41:15 -08:00
Ted Mielczarek 9a6971c4f8 bug 1117900 - Explicitly require Update 3 for MSVC 2013. r=glandium 2015-01-08 08:23:28 -05:00
Nicholas Nethercote 97b5d348cc Bug 1014341 (part 1) - Remove trace-malloc. r=dbaron,glandium.
--HG--
extra : rebase_source : 771710c5427141d738eef112fab00951eb8e20e3
2015-01-07 16:13:03 -08:00
Wes Kocher 0cf53b165b Merge inbound to m-c a=merge CLOSED TREE 2015-01-07 15:41:20 -08:00
Alexandre Poirot e4e2e588b0 Bug 1047572 - Disable intl on mulet. r=ahal 2014-12-18 07:48:00 -05:00
Ehsan Akhgari 648fd5ffcd Bug 1117820 - Drop support for building with MSVC 2012; r=glandium 2015-01-06 16:30:02 -05:00
Ryan VanderMeulen 51d06e05f4 Bug 1114577 - Miscellaneous build system cleanups now that Windows SDK 8.1 is the minimum supported version. r=glandium 2015-01-07 11:32:07 -05:00
Ryan VanderMeulen 20d7991ef8 Bug 1114577 - GFX cleanups now that Windows SDK 8.1 is the minimum supported version. r=jmuizelaar, r=glandium 2015-01-07 11:32:07 -05:00
Ryan VanderMeulen 0ef93eb5c2 Bug 1114577 - Drop support for Windows SDK versions <8.1. r=glandium, f=jacek 2015-01-07 11:32:07 -05:00
Carsten "Tomcat" Book 87d1119af9 Backed out changeset 3d587e85f2a2 (bug 1083116) for bustage on a CLOSED TREE 2015-01-07 17:01:58 +01:00
Brad Lassey ee59761e5f bug 1083116 - build fails: malloc_decls.h conflicting types for 'malloc_usable_size' r=glandium 2015-01-06 19:58:36 -05:00
Ehsan Akhgari 16193762d8 Bug 1117031 - Turn off unused argument warnings for clang-cl; r=glandium 2015-01-06 12:01:13 -05:00
Ehsan Akhgari 721832ff85 Bug 1117029 - Move the GCC minimum version checks to MOZ_TOOL_VARIABLES; r=glandium 2015-01-06 12:01:12 -05:00
Ms2ger b7d12e4d24 Bug 1117068 - Part c: Remove NEED_CPP_UNUSED_IMPLEMENTATIONS; r=mshal
It is only used in one place, and that place is better off with MOZ_DELETE.
2015-01-05 19:18:58 +01:00
Ms2ger 16ada4e714 Bug 1117068 - Part b: Remove checks for GCC PR 39608; r=mshal
The fix is included in GCC 4.4, which is our minimum supported version.
2015-01-05 19:18:58 +01:00
Ms2ger fa72b9efcb Bug 1117068 - Part a: Remove an obsolete opt-out to the Perl version check; r=mshal
This opt-out was introduced to avoid breaking the builds on a "btek" builder,
about which very little information can be found today.
2015-01-05 19:18:57 +01:00
Martin Stransky b2519b99c7 Bug 1110211 - a11y update for Gtk3. r=glandium 2014-12-16 07:38:00 +01:00
Glenn Randers-Pehrson 4c80b736b4 Bug 1114360 - Update libpng to version 1.6.16. r=jmuizelaar 2014-12-23 06:44:00 +01:00
Ehsan Akhgari 4779d1e10a Backout changeset 3cc992814a7e (bug 882779) because it is no longer needed 2015-01-02 00:55:53 -05:00
Jan Beich f0331f57be Bug 1115793 - Chase jemalloc3 version for MOZ_NATIVE_JEMALLOC after bug 1094275. r=glandium 2014-12-26 15:54:00 +01:00
Jan Beich f4828d35f5 Bug 1115078 - Unbreak MOZ_JEMALLOC3 build on FreeBSD after bug 899126. r=glandium 2014-12-23 12:32:00 -05:00
Nathan Froyd 7f507df247 Bug 1114662 - add --enable-thread-sanitizer configure option; r=glandium
Like --enable-{address,memory}-sanitizer, this doesn't add the
appropriate -fsanitize=FOO flags; it merely sets internal defines and
the LLVM_SYMBOLIZER variable.
2014-12-22 12:54:05 -05:00
Ryan VanderMeulen f423278de1 Backed out changeset 14f75afaad14 (bug 1095103) for causing bug 1106174. 2014-12-22 21:36:40 -05:00
Boris Chiou df96b9fc18 Bug 1098970 - Part 7: Turn on omx decoder. r=sotaro 2014-12-21 20:00:00 +01:00
Michael Wu e11afba824 Bug 1102266 - Update configure.in to support gonk-L, r=glandium 2014-12-17 10:50:42 -05:00
Ryan VanderMeulen bfa139f9e9 Backed out changeset e9750b2a3e42 (bug 1102266) for B2G ICS bustage. 2014-12-19 16:11:15 -05:00
Michael Wu ac6d093681 Bug 1102266 - Update configure.in to support gonk-L, r=glandium 2014-12-17 10:50:42 -05:00
Michael Wu ff7b706c75 Bug 1104651 - Make valloc optional, r=glandium 2014-12-16 20:34:56 -05:00
Michael Wu 11cb060136 Bug 1111033 - Disable EME if FMP4 is disabled, r=glandium 2014-12-16 20:56:09 -05:00
Ehsan Akhgari 5ec594bb99 Bug 1084532 - Drop support for building with MSVC 2010; r=glandium 2014-12-17 10:50:15 -05:00
Nicholas Nethercote 9df23f9a1e Bug 1111948 - Fix --disable-startupcache, and re-disable the startup cache on B2G in the process. r=mshal.
--HG--
extra : rebase_source : 59d14319e67eaf349df0ecc2aa80be94865aed70
2014-12-16 18:18:21 -08:00
Guilherme Goncalves 60eb32a82c Bug 1094275 - Update the in-tree copy of jemalloc3 to commit b4acf73. r=glandium 2014-12-17 09:14:48 +09:00
Carsten "Tomcat" Book 8c8eab8d31 merge fx-team to mozilla-central a=merge 2014-12-16 13:39:48 +01:00
Eugen Sawin 8049b84457 Bug 1109940 - Wrap Android DNS resolver functions. r=glandium 2014-12-15 17:05:58 +01:00
Kai-Zhen Li 79d41284ef Bug 1103827 - Remove __pthread_cond_timedwait. r=cyu 2014-12-12 16:12:21 +08:00
Jan Beich c9404cbde6 Bug 1103858 - Enable FreeBSD wifi scanner on DragonFly. r=ted, r=jdm 2014-11-24 00:10:00 -05:00
Kyle Huey c36d278197 Bug 1126248: Enable skia by testing CPU_ARCH, which is more narrowly defined than target_cpu. r=glandium,jrmuizel 2015-02-11 11:09:16 -08:00
Ryan VanderMeulen 5d3df25f61 Bug 1108328 - Upgrade SQLite to version 3.8.7.4. r=mak 2014-12-10 10:02:17 -05:00
Terrence Cole 281746bf4f Bug 1103269 - Remove the jscall tracer infrastructure; r=sfink 2014-12-04 09:41:02 -08:00
Kai Engert c82a68a468 Bug 1088969 - Upgrade Mozilla 36 to use NSS 3.17.3, changing version numbers, only. 2014-12-01 14:34:08 +01:00
awake 58280aba48 Bug 1100632 - Remove --disable-opus option and MOZ_OPUS #define macros. r=rillian,ted 2014-11-28 01:20:00 -08:00
Benoit Girard 4828cf4930 Bug 1097941 - Properly disable paint-will-resample on b2g. r=jmuizel 2014-11-28 18:42:20 -05:00
Bob Owen b539721eb8 Bug 928044 Part 2: Enable the content sandbox by default on Windows with an open policy. r=tabraldes,glandium,jimm
--HG--
rename : security/sandbox/win/src/warnonlysandbox/wosCallbacks.h => security/sandbox/win/src/logging/loggingCallbacks.h
rename : security/sandbox/win/src/warnonlysandbox/wosTypes.h => security/sandbox/win/src/logging/loggingTypes.h
rename : security/sandbox/win/src/warnonlysandbox/warnOnlySandbox.cpp => security/sandbox/win/src/logging/sandboxLogging.cpp
rename : security/sandbox/win/src/warnonlysandbox/warnOnlySandbox.h => security/sandbox/win/src/logging/sandboxLogging.h
2014-11-29 17:12:18 +00:00
Mike Hommey 822c385b60 Bug 1105894 - Let unified compilation ride the train. r=gps
It was conservatively kept out of non-nightly builds[1], but a year later, we
can assume there are no blocking issues to build releases without unified
compilation.

1. https://lists.mozilla.org/pipermail/dev-platform/2013-December/002393.html
2014-11-28 09:59:17 +09:00
David Major 6212abd611 Bug 1095103: Remove Windows PGO build hacks that are no longer necessary. r=glandium
--HG--
extra : rebase_source : b790c97d1fa3e12597d4cd5f4c7fd6dc7ba133cf
2014-11-27 16:18:25 +13:00
Georg Koppen 144cfd9761 Bug 1067893 - Detect OTOOL in configure. r=glandium 2014-11-25 05:12:00 -05:00
Masatoshi Kimura 359fd77ce4 Bug 1094016 - Do not ship d3dcompiler_43 for 64-bit builds. r=mshal 2014-11-24 22:18:10 +09:00
Masatoshi Kimura f226e5813f Bug 1094013 - Bump subsytem version to 6.1 (Win7) for Win64 builds. r=glandium,jorendorff 2014-11-24 22:18:09 +09:00
Alexander J. Vincent d7afc1cd5a Bug 1102602 - part 2: Rename the XULRunner stub, so that we can compile it. r=gps 2014-11-20 17:08:40 -08:00
Ben Turner 202ba2f567 Bug 1101217 - Upgrade to SQLite 3.8.7.2, r=mak 2014-11-18 20:52:33 -08:00
Mike Hommey 6d15698158 Bug 818922 - Add bidirectional method calls with replace-malloc library. r=njn 2014-11-18 19:21:06 +09:00
Julian Seward 259deac308 Bug 788974 - Don't disable elfhack when enabling profiling on platforms supporting dl_iterate_phdr. r=glandium.
--HG--
extra : rebase_source : b89c14b8a11473e34707447656d8616dd90075c5
2014-11-17 23:43:14 +01:00
Cervantes Yu 160428a1e3 Bug 1091533, Part 1: Don't wrap tgkill() on the Nuwa process. r=BenWa 2014-11-06 19:10:52 +08:00
Chris Peterson e8440cad48 Bug 1095990 - Part 2: Treat -Wnon-literal-null-conversion warnings as errors to match C++14's fix for C++11 core defect 903. r=glandium 2014-11-08 11:33:18 -08:00
Thomas Zimmermann 35933d9749 Bug 1095436: Export MOZ_B2G_BT_DAEMON in configure.in, r=mh+mozilla
This change is required to use bluetoothd in Gecko. It probably
got lost while rebasing the patches of bug 1073548.
2014-11-12 10:36:08 +01:00
Carsten "Tomcat" Book 557a342807 Merge mozilla-central to fx-team 2014-11-11 13:27:49 +01:00
Panos Astithas 674820534e Define MOZ_DEV_EDITION in aurora branding configuration (bug 1095934). r=glandium
--HG--
extra : rebase_source : 28256984e52a182614d36bf0d47122bea6d44c93
2014-11-11 13:21:36 +02:00
Nathan Froyd c767cf0846 Bug 1095633 - part 2 - remove HAVE_CPP_TROUBLE_COMPARING_TO_ZERO bits from the build system; r=mshal 2014-11-07 14:08:13 -05:00
Panos Astithas 821aea821e Don't use the update channel to identify aurora (bug 1095934). r=glandium 2014-11-09 10:35:30 +02:00
Wes Kocher df5afea581 Merge m-c to fx-team a=merge 2014-11-04 20:40:56 -08:00
Mike Conley f9da915811 Bug 1085622 - Fix E10S_TESTING_ONLY define so that it only ever applies when E10S_TESTING_ONLY config is true. r=ally,glandium.
We were defining the E10S_TESTING_ONLY build-time define with the value of the E10S_TESTING_ONLY config variable,
regardless of the value of E10S_TESTING_ONLY. Even if E10S_TESTING_ONLY in configure was blank, we'd still define
E10S_TESTING_ONLY, which resulted in E10S_TESTING_ONLY ifdef'd code to be included when we didn't want it to.

We now only ever define E10S_TESTING_ONLY iff NIGHTLY_BUILD is defined, and we do it globally.

This also fixes a busted E10S_TESTING_ONLY ifdef that didn't have an endif.

--HG--
extra : amend_source : 9c8fe8db110765272fa666a5c118d388f87c23d7
2014-11-04 11:16:47 -05:00
Nick Alexander 452c901e08 Bug 1091087 - Disable MOZ_NATIVE_DEVICES when MOZ_ANDROID_RESOURCE_CONSTRAINED is set. r=glandium
This saves dexing and shipping the Google Play Services and other Google
libraries, which add resources and about 3megs of code.

Due to ordering issues, the relevant flags and toggles were moved to
configure.in and exposed early enough to be used by confvars.sh.
2014-11-03 20:04:19 -08:00
Thomas Zimmermann bca74a81e7 Bug 1073548: Support Bluetooth daemon in build system, r=mh+mozilla 2014-11-03 13:03:48 +01:00
Chris Peterson c9f9232e9a Bug 1090088 - Part 2: Add -Werror=parentheses and -Werror=switch behind --enable-warnings-as-errors check. r=glandium 2014-10-26 21:22:27 -07:00
Chris Peterson be4cbc1211 Bug 1090088 - Part 1: Only enable tree-wide -Werror=* warnings-as-errors with --enable-warnings-as-errors opt-in. r=glandium 2014-10-26 21:22:27 -07:00
Carsten "Tomcat" Book 7611a1f3ee Merge mozilla-central to mozilla-inbound 2014-10-31 14:23:10 +01:00
Carsten "Tomcat" Book 311c76e3c8 merge fx-team to mozilla-central a=merge 2014-10-31 14:19:30 +01:00
Nick Alexander 933728c53c Bug 1039902 - Minify the Fennec JS code in automation. r=glandium
This patch adds a SpiderMonkey jsshell binary via tooltool and arranges
for it to be used in automation (more specifically, whenever JS_BINARY
is defined).

We'd prefer to build a host SpiderMonkey jsshell, but that's not trivial
right now; and we'd prefer to use a minifier better than the existing
Python jsmin (possibly written in JavaScript), but one step at a time.
2014-10-30 17:02:58 -07:00
Glenn Randers-Pehrson ef5da08cf7 Bug 1087841 - Update intree libpng to version 1.6.14. r=jmuizelaar 2014-10-29 12:06:00 +01:00
Mike Hommey da59e89c30 Bug 1091118 part 2 - Do not use the top-level cache file for freetype2 subconfigure. r=gps
We modify the environment before running freetype2 configure. When it uses
the same cache file, it stores knowledge about that environment in the cache
file. The cache file is then reused to configure in js/src, with yet again a
different environment, which makes subconfigure.py clear the cache because
of the differences.

The configure in js/src is however invoked with the same environment as the
main configure was invoked with (mostly), so without freetype2 on the way,
reusing the cache for it works as expected. In fact, it works better with the
cache because of things coming from mozconfig that are not exported.

With freetype2 on the way, as mentioned above, the cache is cleared. Without
the cache, js/src/configure does new detections with a possibly different
environment, and stores that in the cache. Until the next build, which then
uses that different cache for the top-level configure.

This results in subtle differences in the HOST_CC/HOST_CXX variables on
android builds because those variables are not exported from mozconfig,
depending on PATH, what the builder was building before, and if the build
is a clobber.

Avoiding the freetype2 subconfigure writing its environment variables change
to the top-level cache makes the cache never invalidate for js/src.
2014-10-30 14:35:01 +09:00
Mike Hommey 47c853314f Bug 1077148 part 4 - Add and use new moz.build templates for Gecko programs and libraries. r=gps
There are, sadly, many combinations of linkage in use throughout the tree.
The main differentiator, though, is between program/libraries related to
Gecko or not. Kind of. Some need mozglue, some don't. Some need dependent
linkage, some standalone.

Anyways, these new templates remove the need to manually define the
right dependencies against xpcomglue, nspr, mozalloc and mozglue
in most cases.

Places that build programs and were resetting MOZ_GLUE_PROGRAM_LDFLAGS
or that build libraries and were resetting MOZ_GLUE_LDFLAGS can now
just not use those Gecko-specific templates.
2014-10-30 13:06:12 +09:00
Mike Hommey 44b304224a Bug 1077148 part 1 - Define mozcrt in moz.build. r=gps
--HG--
rename : mozglue/build/Makefile.in => mozglue/crt/Makefile.in
rename : mozglue/build/fixcrt.py => mozglue/crt/fixcrt.py
2014-10-30 13:05:50 +09:00
Nicholas Nethercote f5bc18d01c Bug 1089446 - Reimplement build/unix/uniq.pl in Python, and remove its unit test. r=gps.
--HG--
extra : rebase_source : 5e7ebf7a59a5966b1af5c8a3165b53bb7bd42770
2014-10-28 15:04:03 -07:00
Ehsan Akhgari 3414c53230 Bug 1090512 - Emulate the clang-cl compiler version in toolchain.m4; r=glandium
--HG--
extra : rebase_source : 65732c6696699ffb62acb76c19133537448e6fb7
2014-10-29 12:33:32 -04:00
Mike Hommey 5c41b709cb Followup for bug 1091118: Also export RANLIB to unbust android builds on mac. r=gps 2014-10-31 08:51:33 +09:00
Mike Hommey deb5d056a6 Bug 1090107 - Define stlport dependencies in moz.build. r=mshal 2014-10-29 13:29:42 +09:00
Carsten "Tomcat" Book 977dd5ae60 Backed out changeset 9742b31c634a (bug 1073419) for bustage 2014-10-27 16:56:40 +01:00
Dave Huseby 798adb1c66 Bug 1073419 - [ALA] Adjustable location accuracy. r=jdm, r=mt 2014-10-24 18:42:00 -04:00
Hiroyuki Ikezoe 670b1f51ac Bug 1084997 - Replace '\' in MOZ_BUILD_APP with '/' to eliminate the difference between windows and others. r=glandium 2014-10-22 07:18:00 +02:00
André Reinald 436338cb49 Bug 1076385 - Sandbox the content process on Mac. r=smichaud 2014-10-30 13:33:17 -05:00
Ryan VanderMeulen df160c4211 Bug 1091076 - Update SQLite to version 3.8.7.1 - Mozilla changes. r=mak 2014-11-04 10:48:42 -05:00
Dave Huseby 7dba61a20f Bug 1073419 - [ALA] All gecko code needed to support adjustable location accuracy. r=jdm, r=mt 2014-10-30 16:39:00 -04:00
Carsten "Tomcat" Book c86b0bc964 Merge mozilla-central to mozilla-inbound 2014-11-04 13:30:53 +01:00
Carsten "Tomcat" Book f8e30aaa48 merge fx-team to mozilla-central a=merge 2014-11-04 13:17:35 +01:00
Mike Hommey 932ed211cf Bug 1091505 - Run subconfigures in parallel. r=gps
On automation, this brings Windows configure time on a clobber from 5:30 to 3:10.

Sadly, because make needs to run under intl/icu/host before configuring
intl/icu/target, intl/icu/host needs to be configured independently. Fortunately,
that's not configured for normal windows builds anyways.

Also, having multiple subconfigures sharing the same cache file is dangerously
racy. Fortunately, not a lot do. In fact, only js/src and $_subconfigure_subdir
do, so force the latter (only used for ldap sdk on comm-central) not to
configure in parallel.
2014-11-04 13:50:18 +09:00
Terrence Cole 5d4922d03b Bug 1083464 - Use a more standard mechanism to export GC symbols to embedders. r=ted,r=jorendorff 2014-10-27 13:29:44 -07:00
Panos Astithas a770ad057a Bug 1024110 - Change Aurora's default profile behavior to use channel-specific profiles. r=bsmedberg f=gavin,markh 2014-09-23 21:49:03 +03:00
Jan Keromnes 2db002a086 Bug 1011562 - Ship Firefox OS fonts with the simulator. r=fabrice, r=mshal 2014-10-21 12:34:00 -04:00
Ryan VanderMeulen 719072f90f Merge inbound to m-c. a=merge 2014-10-21 15:14:52 -04:00
Joshua Cranmer b4e2d4ace0 Bug 1086705: Disable -Werror=switch, r=froydnj, a=RyanVM
Gecko, for better or worse, allows non-m-c apps to define custom error codes and
use them in nsresult. This error breaks the ability to switch on those custom
error codes when an error happens. For this reason, it's not reasonable to make
this an error at present.
2014-10-21 12:23:12 -05:00
Andrew Martin McDonough 068835d9bb Bug 1014614 - Use Android MediaCodec for decoding H264 and AAC in MP4 r=cpearce,edwin
--HG--
extra : rebase_source : 7e7d1fc38d13b52e2294c0237479b78b31bdeafb
2014-10-21 08:53:01 -05:00
Chris Peterson 0a433c81f2 Bug 1081010 - Part 2: Fix -Wswitch warnings in dom/plugins and enable -Werror=switch warning-as-error. r=bsmedberg 2014-10-08 21:28:00 -07:00
Mike Hommey 23748b1072 Followup to bug 609976 - Build ICU as a shared library on windows. r=mshal 2014-10-18 09:28:57 +09:00
Wes Kocher 36939bc3c8 Backed out 9 changesets (bug 1014614) for Android mochitest bustage on a CLOSED TREE
Backed out changeset 40f99ba7f616 (bug 1014614)
Backed out changeset 8fbc3c85adfc (bug 1014614)
Backed out changeset 40dbd7c6ce65 (bug 1014614)
Backed out changeset f2b504bdd7c5 (bug 1014614)
Backed out changeset c878e29fbef9 (bug 1014614)
Backed out changeset 511dcc817f5d (bug 1014614)
Backed out changeset 2b72e71f1fdf (bug 1014614)
Backed out changeset 8b530a9a2f99 (bug 1014614)
Backed out changeset 7fa1b78de684 (bug 1014614)
2014-10-17 16:34:01 -07:00
Andrew Martin McDonough c7c6773ec1 Bug 1014614 - Use Android MediaCodec for decoding H264 and AAC in MP4 r=cpearce,edwin,snorp
--HG--
extra : rebase_source : 5f104f687b6a68d4d4100abf8a8a28039fbb324d
extra : histedit_source : 6f609ebacd51fffcdcfec92c99329b758c6fdbce
2014-10-17 10:35:12 -05:00
Ehsan Akhgari 94a20717aa Bug 1083616 - Build on clang-cl with MSVC 2013 with fallback emulation; r=gps
We officially test MSVC2013 builds now, so it makes sense to
emulate the same compiler when building with clang-cl.  Also,
we need to build with fallback mode, since clang-cl doesn't
still support SEH.  We also need to pass these flags to NSS
too for the same reason.
2014-10-16 21:40:22 -04:00
Ehsan Akhgari 6e5f973009 Bug 1083887 - Package the clang-cl runtime library for ASAN on Windows ASAN builds; r=gps 2014-10-16 21:40:00 -04:00
Mike Hommey 2597924fe1 Bug 609976 - Fold mozjs.dll back into xul.dll. r=ehsan 2014-10-17 08:12:27 +09:00
Mike Hommey 3d87c3e63b Bug 922912 - Fold gkmedias.dll back into xul.dll. r=ehsan 2014-10-17 08:12:01 +09:00
Carsten "Tomcat" Book e156f56b85 Merge m-c to mozilla-inbound 2014-10-16 16:10:53 +02:00
Carsten "Tomcat" Book 5cbd2e1c3c merge mozilla-inbound to mozilla-central a=merge 2014-10-16 16:07:06 +02:00
Chris Jones 54281ff17a Bug 1082997 - Add an option to explicitly disable skia-gpu and fix the build when it's disabled. r=mattwoodrow 2014-10-14 20:55:37 -07:00
Tooru Fujisawa 8189e6bc60 Bug 1080910 - Add USE_ICU variable separated from ENABLE_INTL_API. r=glandium 2014-10-10 02:55:00 -04:00
Ehsan Akhgari a61d9465c0 Bug 1081414 - Suppress clang-cl warnings about inline 'new' and 'delete'; r=glandium
This is the clang-cl version of the fix to bug 928808.
2014-10-16 09:11:31 -04:00
Jordan Santell f906459194 Bug 1077441 - create empty performance tool under build flag. r=vp 2014-10-15 09:46:00 +02:00
Mike Hommey b79a0595df bug 1081034 part 4 - Remove wrapping for weak libc symbols. r=nfroyd
This effectively backs out bug 791419, a part of bug 850332, and bug 1001703.
2014-10-16 09:20:16 +09:00
Mike Hommey 3fa39f0e02 Bug 1081682 - Make --with-ccache use --with-compiler-wrapper under the hood. r=mshal
Also, avoid removing --with-ccache from all subconfigure calls. Only remove it
from NSPR's.
2014-10-15 14:47:02 +09:00
Mike Hommey 32c8131976 Bug 1080904 - Allow to pass an extra input file for folded-lib symbols through configure. r=mshal 2014-10-14 07:18:57 +09:00
Mike Hommey 59b9a6c072 Bug 1080341 - Remove --enable-wrap-malloc/--with-wrap-malloc. r=mshal
With bug 1077366, --enable-wrap-malloc is not abused anymore for android
linkage. Other than android linkage, the option has been of limited
usefulness since bug 804303 (replace-malloc), which allows runtime wrapping.

In fact, chances are --enable-wrap-malloc breaks things with jemalloc
integration.

This doesn't, however, remove those options from standalone js builds,
although it's not clear they're any useful there either.
2014-10-14 07:17:29 +09:00
Mike Hommey b77d0f1d19 Bug 1077366 - Remove most symbol wrapping from Android builds. r=nfroyd
Since essentially everything is linked to libmozglue and libmozglue takes
precedence in symbol resolution in our dynamic linker, there is no need
to wrap most symbols. PR_GetEnv/PR_SetEnv still needs wrapping because
there's no other way to actually wrap the calls from NSPR itself and NSS,
as well as the symbols wrapped because our dynamic linker can't find them
in system libraries on some devices because they're weak.
2014-10-14 07:17:13 +09:00
Chris Peterson ddfb721db5 Bug 1081208 - Disable -Wparentheses warnings-as-errors because extra parens are expected in preprocessed files. r=bz 2014-10-10 11:25:11 -07:00
Kai Engert 2251b66f13 Bug 1075686, Update Mozilla 35 to use NSS 3.17.2, RTM 2014-10-10 19:16:08 +02:00
Chris Peterson 6344d3ecf3 Bug 1079672 - Fix -Wpointer-arith warning in GonkAudioDecoderManager.cpp. r=cpearce 2014-10-04 23:18:43 -07:00
Eric Rahm aee0114fd5 Bug 806819 - Part 2: Enable FORCE_PR_LOG globally. r=ted 2014-10-08 13:17:29 -07:00
Chris Peterson 788b67aaf6 Bug 1076698 - Part 3: Remove -Werror=implicit-int for jemalloc3. r=ted 2014-10-08 10:25:36 -07:00
Tooru Fujisawa 90f9cf6c63 Bug 1045958 - Enable ICU on B2G Desktop OS X build r=josh. 2014-10-08 22:43:47 +08:00
Chris Peterson 4ffe578250 Bug 1076698 - Part 2: Treat some individual gcc/clang warnings as errors in all directories. r=ted 2014-09-19 15:41:20 -07:00
Chris Peterson 7888f929d8 Bug 1076698 - Part 1: Remove unnecessary MOZ_*_SUPPORTS_WARNING checks for warnings supported by gcc 4.4+ and clang. r=ted 2014-09-23 19:48:47 -07:00
Chris Peterson 06fd088e9f Bug 1076698 - Part 0: Clean up configure.in's list of gcc/clang warnings. r=ted 2014-09-23 19:48:47 -07:00
Wes Kocher 445e1466e9 Backed out 5 changesets (bug 806819) for WinXP test failures on a CLOSED TREE
Backed out changeset 009ae35b0c67 (bug 806819)
Backed out changeset 5a57f87f5061 (bug 806819)
Backed out changeset f06cd735b5b3 (bug 806819)
Backed out changeset e25a2a8d4af4 (bug 806819)
Backed out changeset 70a167982c3f (bug 806819)
2014-10-06 16:32:50 -07:00
Eric Rahm 9fb6db7302 Bug 806819 - Part 2: Enable FORCE_PR_LOG globally. r=ted
--HG--
extra : rebase_source : 926d988f0e50abcd07c223b62d367b22ac242344
2014-10-06 13:08:02 -07:00
Mike Hommey ce2e710e2e Bug 1077214 - Don't export DLLFLAGS from main configure. r=mshal
DLLFLAGS was exported from main configure so that it would be picked by NSPR
configure, allowing to pass down flags to link NSPR against mozglue. With
MOZ_FOLD_LIBS always enabled on MSVC builds, that is not necessary anymore
since the NSPR build system doesn't build any shared library anymore.
2014-10-04 10:34:13 +09:00
Mike Hommey ca69fe623e Bug 1077212 - Move MOZ_FOLD_LIBS to configure. r=mshal
Setting MOZ_FOLD_LIBS should stop being an opt-in for individual applications,
which also makes them responsible for doing the right thing, which happens not
to be the case for B2G Desktop Linux builds.

Enforcing MOZ_FOLD_LIBS to be set on the relevant platforms in configure ensures
everything is setup up correctly, and also allows to stop caring about supporting
now hypothetical e.g. MSVC builds without MOZ_FOLD_LIBS (which require to pass
DLLFLAGS down to the nspr build system to make nspr built against mozglue which
would now be unnecessary)
2014-10-04 10:33:46 +09:00
Mike Hommey 8c10235da0 Bug 1077151 - Always use expandlibs descriptors when they exist. r=mshal
Currently, when there is both an expandlibs descriptor and an actual static
library, expandlibs picks the static library. This has the side effect that
if there are object files in the static library that aren't directly used,
they're dropped when linking, even when they export symbols that would be
exported in the final linked binary.

In most cases in the code base, files are not dropped that way. The most
notable counter-example is xpcomglue, where actually not dropping files
leads to link failure because of missing symbols those files reference
(yes, that would tend to say the glue is broken in some way).

On the opposite side, there is mozglue, which does have both a descriptor
and a static library (the latter being necessary for the SDK), and that
linking as a static library drops files that shouldn't be dropped (like
jemalloc). We're currently relying on -Wl,--whole-archive for those files
not to be dropped, but that won't really be possible without much hassle
in a world where mozglue dependencies live in moz.build land.

Switching expandlibs to use descriptors when they exist, even when there
is a static library (so, the opposite of the current behavior) allows to
drop -Wl,--whole-archive and prepare for a better future. However, as
mentioned, xpcomglue does still require to be linked through the static
library, so we need to make it a static library only.

To achieve that, we make NO_EXPAND_LIBS now actually mean no expandlibs
and use that to build the various different xpcomglues.
2014-10-04 10:33:00 +09:00
Mike Hommey 53ac2c146b Bug 1077132 - Force ELF hash style to System V when building with MOZ_LINKER. r=nfroyd 2014-10-04 10:32:27 +09:00
Ryan VanderMeulen 4b07046320 Merge fx-team to m-c. a=merge 2014-10-03 16:13:24 -04:00
Lucas Rocha 48bdbd6cb3 Bug 1065494 - Put the new tablet UI behind a build flag (r=nalexander)
--HG--
rename : mobile/android/base/resources/color-large-v11/new_tablet_tab_strip_item_title.xml => mobile/android/base/newtablet/res/color-large-v11/new_tablet_tab_strip_item_title.xml
rename : mobile/android/base/resources/drawable-large-hdpi-v11/new_tablet_default_favicon.png => mobile/android/base/newtablet/res/drawable-large-hdpi-v11/new_tablet_default_favicon.png
rename : mobile/android/base/resources/drawable-large-hdpi-v11/new_tablet_ic_menu_back.png => mobile/android/base/newtablet/res/drawable-large-hdpi-v11/new_tablet_ic_menu_back.png
rename : mobile/android/base/resources/drawable-large-hdpi-v11/new_tablet_ic_menu_forward.png => mobile/android/base/newtablet/res/drawable-large-hdpi-v11/new_tablet_ic_menu_forward.png
rename : mobile/android/base/resources/drawable-large-hdpi-v11/new_tablet_ic_menu_reload.png => mobile/android/base/newtablet/res/drawable-large-hdpi-v11/new_tablet_ic_menu_reload.png
rename : mobile/android/base/resources/drawable-large-hdpi-v11/new_tablet_menu.png => mobile/android/base/newtablet/res/drawable-large-hdpi-v11/new_tablet_menu.png
rename : mobile/android/base/resources/drawable-large-hdpi-v11/new_tablet_tabs_count.png => mobile/android/base/newtablet/res/drawable-large-hdpi-v11/new_tablet_tabs_count.png
rename : mobile/android/base/resources/drawable-large-hdpi-v11/new_tablet_tabs_count_foreground.png => mobile/android/base/newtablet/res/drawable-large-hdpi-v11/new_tablet_tabs_count_foreground.png
rename : mobile/android/base/resources/drawable-large-mdpi-v11/new_tablet_default_favicon.png => mobile/android/base/newtablet/res/drawable-large-mdpi-v11/new_tablet_default_favicon.png
rename : mobile/android/base/resources/drawable-large-mdpi-v11/new_tablet_ic_menu_back.png => mobile/android/base/newtablet/res/drawable-large-mdpi-v11/new_tablet_ic_menu_back.png
rename : mobile/android/base/resources/drawable-large-mdpi-v11/new_tablet_ic_menu_forward.png => mobile/android/base/newtablet/res/drawable-large-mdpi-v11/new_tablet_ic_menu_forward.png
rename : mobile/android/base/resources/drawable-large-mdpi-v11/new_tablet_ic_menu_reload.png => mobile/android/base/newtablet/res/drawable-large-mdpi-v11/new_tablet_ic_menu_reload.png
rename : mobile/android/base/resources/drawable-large-mdpi-v11/new_tablet_menu.png => mobile/android/base/newtablet/res/drawable-large-mdpi-v11/new_tablet_menu.png
rename : mobile/android/base/resources/drawable-large-mdpi-v11/new_tablet_tabs_count.png => mobile/android/base/newtablet/res/drawable-large-mdpi-v11/new_tablet_tabs_count.png
rename : mobile/android/base/resources/drawable-large-mdpi-v11/new_tablet_tabs_count_foreground.png => mobile/android/base/newtablet/res/drawable-large-mdpi-v11/new_tablet_tabs_count_foreground.png
rename : mobile/android/base/resources/drawable-large-v11/new_tablet_tab_strip_divider.xml => mobile/android/base/newtablet/res/drawable-large-v11/new_tablet_tab_strip_divider.xml
rename : mobile/android/base/resources/drawable-large-v11/new_tablet_tab_strip_item_bg.xml => mobile/android/base/newtablet/res/drawable-large-v11/new_tablet_tab_strip_item_bg.xml
rename : mobile/android/base/resources/drawable-large-xhdpi-v11/new_tablet_default_favicon.png => mobile/android/base/newtablet/res/drawable-large-xhdpi-v11/new_tablet_default_favicon.png
rename : mobile/android/base/resources/drawable-large-xhdpi-v11/new_tablet_ic_menu_back.png => mobile/android/base/newtablet/res/drawable-large-xhdpi-v11/new_tablet_ic_menu_back.png
rename : mobile/android/base/resources/drawable-large-xhdpi-v11/new_tablet_ic_menu_forward.png => mobile/android/base/newtablet/res/drawable-large-xhdpi-v11/new_tablet_ic_menu_forward.png
rename : mobile/android/base/resources/drawable-large-xhdpi-v11/new_tablet_ic_menu_reload.png => mobile/android/base/newtablet/res/drawable-large-xhdpi-v11/new_tablet_ic_menu_reload.png
rename : mobile/android/base/resources/drawable-large-xhdpi-v11/new_tablet_menu.png => mobile/android/base/newtablet/res/drawable-large-xhdpi-v11/new_tablet_menu.png
rename : mobile/android/base/resources/drawable-large-xhdpi-v11/new_tablet_tabs_count.png => mobile/android/base/newtablet/res/drawable-large-xhdpi-v11/new_tablet_tabs_count.png
rename : mobile/android/base/resources/drawable-large-xhdpi-v11/new_tablet_tabs_count_foreground.png => mobile/android/base/newtablet/res/drawable-large-xhdpi-v11/new_tablet_tabs_count_foreground.png
rename : mobile/android/base/resources/drawable-large-xxhdpi-v11/new_tablet_default_favicon.png => mobile/android/base/newtablet/res/drawable-large-xxhdpi-v11/new_tablet_default_favicon.png
rename : mobile/android/base/resources/drawable-large-xxhdpi-v11/new_tablet_ic_menu_back.png => mobile/android/base/newtablet/res/drawable-large-xxhdpi-v11/new_tablet_ic_menu_back.png
rename : mobile/android/base/resources/drawable-large-xxhdpi-v11/new_tablet_ic_menu_forward.png => mobile/android/base/newtablet/res/drawable-large-xxhdpi-v11/new_tablet_ic_menu_forward.png
rename : mobile/android/base/resources/drawable-large-xxhdpi-v11/new_tablet_ic_menu_reload.png => mobile/android/base/newtablet/res/drawable-large-xxhdpi-v11/new_tablet_ic_menu_reload.png
rename : mobile/android/base/resources/drawable-large-xxhdpi-v11/new_tablet_menu.png => mobile/android/base/newtablet/res/drawable-large-xxhdpi-v11/new_tablet_menu.png
rename : mobile/android/base/resources/drawable-large-xxhdpi-v11/new_tablet_tabs_count.png => mobile/android/base/newtablet/res/drawable-large-xxhdpi-v11/new_tablet_tabs_count.png
rename : mobile/android/base/resources/drawable-large-xxhdpi-v11/new_tablet_tabs_count_foreground.png => mobile/android/base/newtablet/res/drawable-large-xxhdpi-v11/new_tablet_tabs_count_foreground.png
rename : mobile/android/base/resources/layout-large-v11/new_tablet_browser_toolbar.xml => mobile/android/base/newtablet/res/layout-large-v11/new_tablet_browser_toolbar.xml
rename : mobile/android/base/resources/layout-large-v11/new_tablet_tab_strip.xml => mobile/android/base/newtablet/res/layout-large-v11/new_tablet_tab_strip.xml
rename : mobile/android/base/resources/layout-large-v11/new_tablet_tabs_counter.xml => mobile/android/base/newtablet/res/layout-large-v11/new_tablet_tabs_counter.xml
rename : mobile/android/base/resources/layout-large-v11/tab_strip.xml => mobile/android/base/newtablet/res/layout-large-v11/tab_strip.xml
rename : mobile/android/base/resources/layout-large-v11/tab_strip_item.xml => mobile/android/base/newtablet/res/layout-large-v11/tab_strip_item.xml
rename : mobile/android/base/resources/layout-large-v11/tab_strip_item_view.xml => mobile/android/base/newtablet/res/layout-large-v11/tab_strip_item_view.xml
2014-10-03 11:47:46 +01:00
Nathan Froyd 4523144dc7 Bug 1072071 - disable warning C4267 on windows; r=mshal 2014-10-01 10:43:53 -04:00
Mike de Boer 9aa1b91cc1 Bug 1069816: implement Google contacts import class. r=abr 2014-10-02 12:37:38 +02:00
wesj b57116e585 Bug 1071091 - Restrict the system download manager to non-release builds for now. r=nalexander 2014-09-24 22:29:00 -07:00
Carsten "Tomcat" Book 9f76561203 merge fx-team to mozilla-central a=merge 2014-09-26 13:27:36 +02:00
Robert Strong f59a64baf8 Bug 1070428 - NSIS version check uses undefined REQ_NSIS_MAJOR_VER in output messages. r=ted 2014-09-25 13:29:01 -07:00
Gian-Carlo Pascutto 6f90e2262a Bug 1059573 - Add an option to use hardware AEC for WebRTC. r=jesup,ted 2014-09-24 19:11:58 +02:00
Jacek Caban ee32d45c08 Bug 1060401 - NSS and NSPR libs can't be found in mingw builds. r=glandium 2014-09-23 11:51:36 +02:00
Timothy Arceri 7f81beb570 b=1068964 Bump GTK required version to 2.18.0 r=karlt
Now that Seamonkey is building with CentOS 6
we can bump the gtk version ready for some code tidy ups.

--HG--
extra : transplant_source : q%B0%27%5By%171%F2%21%04Q%B4%07s%0A%9C%BC%19%3C%8B
2014-09-18 08:17:11 +10:00
Terrence Cole 1c6b675dce Bug 987666 - Remove root-analysis build option from root configure.in; r=sfink
--HG--
extra : rebase_source : b6fb9f8f13feddbb94b57cb65403519703cc37e0
2014-09-25 16:56:44 -07:00
David Keeler e6fff35ba9 bug 1053565 - update minimum system NSS requirement in configure.in (it is now 3.17.1) r=glandium 2014-09-11 16:12:14 -07:00
Cervantes Yu bbd5435e1c Bug 1067248: Fix the regular expression to strip ccache in building NSPR in bug 1066669. r=ted
--HG--
extra : rebase_source : 86b9b52966ce43d5ace9f2189f1db38173549f19
2014-09-15 17:48:38 +08:00
Markus Stange dae939dbfb Bug 1066669 - Tweak the regex to work with just --with-ccache. rs=ted DONTBUILD 2014-09-12 18:40:12 +02:00
Markus Stange d0043a62fe Bug 1066669 - Use a regex that OS X sed understands. Fixes configure failures when using --with-ccache=... rs=ted 2014-09-12 18:31:50 +02:00
Christian Holler 0d5c56b958 Bug 1058500 - Add MSan support to the build system. r=ted,waldo 2014-09-11 23:21:46 +02:00
Cervantes Yu ea078996cc Bug 991035: Don't prepend ccache twice in building NSPR. r=ted
--HG--
extra : rebase_source : 95a4b5bd9d35b7cfc50da2fa4d14400f31f6d3f5
2014-09-01 17:34:17 +08:00
Mike Hommey 6854b0847f Bug 1051209 - Properly link libxul.so on GTK+3 builds after bug 1045783. r=mshal 2014-09-11 12:24:44 +09:00
Terrence Cole 62fae135f8 Bug 914402 - Remove the defunct conservative stack scanner; r=sfink
--HG--
extra : rebase_source : c261ef7492694e9724c78edc7bc0dac7aa4357ba
2014-09-09 15:08:23 -07:00
Bob Owen 33eaabbf1f Bug 1063455 - Define MOZ_STACKWALKING when NS_StackWalk is available and replace other instances of the same #if logic. r=mshal, r=froydnj 2014-09-08 18:25:20 +01:00
David Major 1275047f59 Backed out 040e85d18eab (bug 931687) for causing bug 1018402
--HG--
extra : rebase_source : c41a6125fabb2b11fb546a3253979003d80095eb
2014-09-10 15:48:56 +12:00
Chris Kitching 418071db5c Bug 1062112: Part 5: Make configure accept JDK 8. r=nalexander 2014-09-03 17:26:06 -07:00
Ryan VanderMeulen 6ca1d53198 Merge fx-team to m-c. a=merge 2014-09-05 11:54:57 -04:00
Nathan Toone dfb824bdec Bug 1055909 - Check for google play services after loading configure.sh from branding. r=glandium 2014-09-04 08:01:00 +02:00
Alan K 14b5bc554e Bug 993584 - Initial landing for CloudSync. r=rnewman 2014-09-04 21:44:00 +02:00
Carsten "Tomcat" Book d578571a85 Backed out changeset 5adabc2818b2 (bug 1018966) for b2g bustage 2014-09-04 15:14:41 +02:00
Bob Owen f19448274c Bug 1018966 - Part 1: Add the main warn only sandbox machinery - with no Chromium code changes. r=bsmedberg
This change also includes the content sandboxing code on Windows Nightly by defining MOZ_CONTENT_SANDBOX=1.
Whether the content sandbox is disabled, in warn only mode, or enabled is controlled by a new pref: browser.tabs.remote.sandbox=(off/warn/on)
2014-06-11 15:32:37 +01:00
Bob Owen 0fdb849687 Bug 1018966 - Part 1: Add the main warn only sandbox machinery - with no Chromium code changes. r=bsmedberg r=tabraldes
This change also includes the content sandboxing code on Windows Nightly by defining MOZ_CONTENT_SANDBOX=1.
Whether the content sandbox is disabled, in warn only mode, or enabled is controlled by a new pref: browser.tabs.remote.sandbox=(off/warn/on)
2014-06-11 15:32:37 +01:00
Mike Hommey 51f6cc88c1 Bug 1062219 - Don't build build/clang-plugin as an external directory. r=jcranmer 2014-09-04 17:44:01 +09:00
Chris Kitching 50da92ad57 Bug 1044794 - Part 1: build flag for share overlays. r=nalexander 2014-08-05 14:37:59 -07:00
Chris Kitching a3726b7f2e Bug 1056128: Enable JDK source level 1.7 for Android Java code. r=nalexander 2014-08-29 03:44:27 -07:00
Andrew Halberstadt 5ec7705a31 Bug 1051809 - Package and upload code coverage data to build directory if code coverage is enabled, r=gps 2014-08-27 13:32:42 -04:00
Ryan VanderMeulen 0522226c5e Merge m-c to inbound. a=merge
CLOSED TREE

--HG--
extra : amend_source : e59af3fa8b325da192204b3a227c24de690055c7
2014-08-27 15:54:44 -04:00
Joshua Cranmer c3348e0335 Bug 1040009: Add support for comm-central applications to --enable-application in mozilla's configure.in, r=glandium, a=edmorley.
The purpose of this bug is to adjust the configure logic so that a .mozconfig
set up for comm-central can be used in the mozilla-central logic without needing
to adjust or override any commands.

--HG--
extra : amend_source : fa388484330eca8ead8b2fefe350f350ad5582e6
2014-08-27 10:03:24 -05:00
Jacek Caban 319bc9cc73 Bug 1042426 - Added --disable-sandbox option that disables building sandbox code. r=glandium 2014-08-27 16:32:55 +02:00
Glenn Randers-Pehrson 0692f931bc Bug 1021713 - Update in-tree libpng to version 1.6.13. r=jmuizelaar 2014-08-22 07:11:00 -04:00
David Major 41fb73f1a8 Bug 1001332 - Set subsystem version to 5.01 to make VS2013 builds run on XP. r=glandium
--HG--
extra : rebase_source : 30b0f750d6a094e16cc9815db697f6bd39ae5a97
2014-08-27 21:20:10 +12:00
Mark Banner 8edde57996 Bug 763180 - NS_XRE_ENABLE_EXTENSION_MANAGER flag does nothing - remove it. r=glandium 2014-08-26 08:50:07 +01:00
Ryan VanderMeulen 361b515048 Bug 1054680 - Upgrade SQLite to version 3.8.6 - Mozilla changes. r=asuth 2014-08-25 08:56:01 -04:00
Kartikaya Gupta 08b5038258 Bug 1055605 - Replace MOZ_ANDROID_OMTC with MOZ_WIDGET_ANDROID. r=BenWa 2014-08-22 15:26:56 -04:00
Nathan Froyd 9e4152607c Bug 1056263 - remove unneeded configure checks for ssize_t, stat.st_blksize, and siginfo_t; r=mshal
js/src/ retains the ssize_t check because ctypes needs it.
2014-08-20 14:55:41 -04:00
Makoto Kato 1be6d2748b Bug 1054811 - Set HAVE_X86_AVX2 for VS2012 or later. r=glandium 2014-08-21 15:46:45 +09:00
Ian Neal d3b38cfa26 Bug 1054470 - Remove unused MOZ_APP_COMPONENT_INCLUDE r=glandium 2014-08-19 12:38:03 +01:00
Ian Neal ecabb3f6d8 Bug 1053439 - MOZ_APP_COMPONENT_MODULES and MOZ_APP_EXTRA_LIBS are no longer required r=glandium 2014-08-15 20:40:19 +01:00
Jon Coppeard 4f5184aacb Bug 650161 - Add --enable-gccompacting configure flag for compacting GC r=terrence r=ted 2014-08-14 11:46:26 +01:00
David Keeler c3d3df58ac bug 1030963 - remove non-standard window.crypto functions/properties r=jst r=briansmith r=glandium 2014-08-14 09:38:42 -07:00
Blake Wu 8b62fa8a0e Bug 1052536 - Remove extra space to silence configure warning. r=glandium 2014-08-12 20:06:00 -04:00
Sylvestre Ledru b159f72e25 Bug 1053135 - Disable the usage of -freorder-blocks when using clang r=glandium
In future version of clang, unsupported optimization flags are going to trigger a warning. They used to be silently ignored or triggering an error.
2014-08-14 14:43:30 +02:00
Ed Morley 69034689d9 Backed out changeset 297ca183fff9 (bug 650161) for crashes; CLOSED TREE 2014-08-14 12:53:15 +01:00
Jon Coppeard 6846d7c355 Bug 650161 - Add --enable-gccompacting configure flag for compacting GC r=terrence r=ted 2014-08-14 11:46:26 +01:00
Ed Morley 1e2086d3a6 Merge latest green fx-team changeset and mozilla-central; a=merge 2014-08-14 08:50:16 +01:00
David Major ccd27e6212 Bug 1043108 - Remove arch:IA32 from non-x86 builds. r=glandium
--HG--
extra : rebase_source : 3826e179b2e2f14371a58a476b29cb1dd4d088d7
2014-08-14 11:08:05 +12:00
Mike Hommey eedb419830 Bug 1042432 - Change how UPLOAD_EXTRA_FILES is passed down from mozconfig.cache to the build system. r=mshal 2014-08-14 07:15:35 +09:00
Vladimir Vukicevic 7dd2f3251a b=1052518; remove --disable-webgl; r=jgilbert 2014-08-12 12:04:36 -04:00