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

4990 Коммитов

Автор SHA1 Сообщение Дата
Nathan Froyd b491c675df Bug 1233542 - re-export variables prior to running JS subconfigure; r=glandium
We need to do this for the same reason we do it for ICU: msys messes
with environment variables (as suggested in build/subconfigure.py).
2015-12-17 16:25:25 -05:00
Mike Hommey a3e3b0838f Bug 1232912 - Remove leftovers from bug 758595 after bug 1047584. r=mshal
Bug 758595 added a MOZ_SIGNING AC_DEFINE, used in the package manifest for
mac builds. Bug 1047584 changed mac signing in a way that removed the use
of MOZ_SIGNING, but the AC_DEFINE was left in configure.in, where it is now
unused. Remove it.
2015-12-18 15:57:12 +09:00
Botond Ballo 1cb64f6960 Bug 1228597 - Remove the MOZ_SINGLE_PROCESS_APZ define. r=tn
Code previously guarded by this (added in bug 1224015) will now run
unconditionally.

--HG--
extra : source : ce0f51f55572334002ddf1878db447540d4c9b82
2015-11-27 21:39:07 -05:00
Ralph Giles b9bb7645ac Bug 1228703 - Support rust on 32-bit Intel MacOS X. r=mshal
When we build universal binaries, we effectively cross-compile
from 64 to 32 bit darwin. Check for this and add the appropriate
target triplet to the definition of RUSTC.

Move the MacOS X 10.6 linkage check to after HAVE_64BIT_BUILD is defined.
2015-12-09 11:08:48 -05:00
Carsten "Tomcat" Book 8d69e722ff merge mozilla-inbound to mozilla-central a=merge 2015-12-04 11:57:23 +01:00
Sebastian Kaspari cea7faa939 Bug 1197720 - Introduce background service for downloadable content. r=rnewman
This patch introduces a background service for downloading content from a
catalog (bug 1200291). This catalog ships with the application and contains
only fonts in this first version (MOZ_ANDROID_EXCLUDE_FONTS).

For now this service is disabled by default (MOZ_ANDROID_DOWNLOAD_CONTENT_SERVICE).

--HG--
extra : commitid : 7v0q886zR9q
extra : rebase_source : cf877b0ab7d286d1f973daebc8c004b320e426c7
2015-12-02 20:28:00 +01:00
Chris Peterson 46bb7c80dd Bug 1228947 - Replace mfbt/Constants.h with math.h. r=roc
--HG--
extra : rebase_source : 4ab2c4a917ea90055e48bd6adcb53904f2266ee0
2015-11-27 20:49:55 -08:00
Carsten "Tomcat" Book df451fe7b0 merge mozilla-inbound to mozilla-central a=merge 2015-12-03 12:00:42 +01:00
Nick Alexander 3e1c5ea1e5 Bug 1220892 - Part 1: Remove MOZ_ANDROID_NATIVE_ACCOUNTS_UI. r=mcomella
--HG--
extra : commitid : 3drJfjq0uyX
extra : rebase_source : 67a2e524b90f78e8f719e1f8efc9a84a6f9a19dd
extra : histedit_source : 68805f753e785e2d935ee221ba5243597ec24f92
2015-11-30 14:32:17 -08:00
Mike Hommey 826f769939 Bug 1229541 - Turn NSPR_CFLAGS, NSS_CFLAGS, MOZ_JPEG_CFLAGS, MOZ_PNG_CFLAGS and MOZ_ZLIB_CFLAGS into AC_SUBST_LISTs. r=mshal 2015-12-02 11:24:34 +09:00
Kit Cambridge c7aea57412 Bug 821291 - Move libmozgnome into libxul. r=glandium,karlt
--HG--
extra : commitid : 99eCKOxuHHi
extra : rebase_source : 7e148e7b3b72ffd4687df5ba342599c55fd41280
2015-11-24 12:16:33 -08:00
Carsten "Tomcat" Book f3e1aec951 merge mozilla-inbound to mozilla-central a=merge 2015-12-01 15:25:14 +01:00
Dave Townsend c872ff3d33 Bug 1226386: Remove most of the preprocessing from the add-ons manager. r=gps
For build speed, for correct line numbers in errors, for faster development, for so many reasons.
Still a couple of cases left mostly in XUL files for different strings on Windows.

Bonus: The new lexical scope means ADDON_SIGNING and REQUIRE_SIGNING can just
be declared as regular constants and outside code can't get to them easily.

--HG--
extra : commitid : Kj8khjuCwG2
extra : rebase_source : 2e0a3143900c0c414cda43254306f0c070f8e621
2015-11-19 15:30:47 -08:00
Kalpesh Krishna bd090743b5 Bug 1148028 - Remove MOZ_ANDROID_SHARE_OVERLAY. r=vivek,nalexander
Fennec ships the Share Overlay everywhere.

--HG--
extra : commitid : 5BjYeDt7odR
extra : rebase_source : 8f8b97ee70161312a3c4ba7add801a1b2d340d23
2015-11-27 12:51:02 -08:00
Mike Hommey 54278f48fa Bug 1227385 - Avoid make variable references in VISIBILITY_FLAGS and STL_FLAGS. r=mshal 2015-12-01 08:25:22 +09:00
Mike Hommey 281ed723c5 Bug 1227385 - Properly propagate $DIST from top-level after bug 1224490. r=mshal 2015-12-01 08:25:22 +09:00
Mike Hommey 100431babf Bug 1228463 - Set MOZ_PIXMAN_{CFLAGS,LIBS} directly from PKG_CHECK_MODULES. r=mshal
PKG_CHECK_MODULES sets the values, and AC_SUBST_LISTs them on its own.
No need to duplicate the values to variables local to configure.in to
then AC_SUBST/AC_SUBST_LIST them. Also, since bug 1224452, MOZ_PIXMAN_CFLAGS
needs to be an AC_SUBST_LIST instead of AC_SUBST.
2015-12-01 08:25:22 +09:00
Randall Barker c3c082c5dd Bug 1224015 - Part 3: ifdef changes to C++APZ so that they only apply to single process APZ. r=tnikkel
Added MOZ_SINGLE_PROCESS_APZ flag.
2015-11-26 20:51:13 -06:00
Mike Hommey e9b08b1689 Bug 1228256 - Move AC_DEFINE(ANDROID) in an Android-specific code-path. r=nalexander 2015-11-27 07:53:48 +09:00
Mike Hommey 6a40d83fb7 Bug 1224452 - Straighten up a couple things in some moz.builds. r=gps
We're going to change how e.g. CFLAGS are printed out in backend.mk, and
to fit that model, the data in the corresponding moz.build variables
need to be straightened up.
2015-11-26 08:50:52 +09:00
Mike Hommey 0cc838448f Backout changeset 0104f1c911ca (bug 1223530) because it breaks running on Windows XP on a CLOSED TREE
--HG--
rename : toolkit/components/maintenanceservice/Makefile.in => xpcom/windbgdlg/Makefile.in
2015-11-26 08:38:16 +09:00
Ted Mielczarek 879065de9d bug 1223530 - Move MOZ_WINCONSOLE to configure. r=glandium
This patch moves the logic for selecting MOZ_WINCONSOLE out of individual
Makefile.in files and into configure. It also changes config.mk to only
pass -SUBSYSTEM:CONSOLE if MOZ_WINCONSOLE=1. The MSDN docs state that
in the absence of -SUBSYSTEM, the linker will select the proper subsystem
based on whether the program contains [w]main or [w]WinMain, so let it
do that.

One program (windbgdlg) needed a tweak to add a wmain for when MOZ_WINCONSOLE
is defined.

This patch leaves one instance in security/sandbox/win/wow_helper/Makefile.in,
that Makefile has its own separate bug.

--HG--
extra : commitid : 8acDjmfKivj
extra : rebase_source : 03b4fa4c8ae077a894b08f3762ef93541e34ac1a
2015-11-11 06:24:39 -05:00
Mike Hommey 259b73a779 Backout changeset 29c31b5cdc19 (bug 1227385) for Linux, Android and B2G bustage on a CLOSED TREE. 2015-11-25 09:33:48 +09:00
Mike Hommey 5752ced4c9 Typo fix for bug 1224460 breaking Gtk+2 builds. r=me 2015-11-25 08:54:24 +09:00
Mike Hommey 70a5b9589d Bug 1227388 - Finish removing dehydra support. r=mshal
Dehydra/Treehydra is unmaintained, broken (iirc), and obsoleted by clang
static analysis. We've removed parts of the build system support for it, but
not all. This is meant to remove the remains.
2015-11-25 08:23:25 +09:00
Mike Hommey 1044711983 Bug 1227385 - Avoid make variable references in VISIBILITY_FLAGS and STL_FLAGS. r=mshal 2015-11-25 08:23:23 +09:00
Glenn Randers-Pehrson 60a6d95d13 Bug 1224244 - Update in-tree libpng to version 1.6.19. r=seth 2015-11-23 20:20:00 +01:00
Sotaro Ikeda acbc5c644e Bug 1222923 - Enable MOZ_FMP4 on gonk L r=jolin 2015-11-20 01:18:06 -08:00
Sylvestre Ledru e44d9581a2 Bug 1216283 - land NSPR_4_11_RTM, r=dkeeler 2015-11-18 18:43:32 +01:00
Mike Hommey 8c97828a10 Bug 1224460 - Avoid make variable references in TK_CFLAGS, TK_LIBS, MOZ_CAIRO_CFLAGS, MOZ_ICU_CFLAGS and CAIRO_FT_CFLAGS. r=gps 2015-11-19 08:05:51 +09:00
Mike Hommey 342a6a38c6 Bug 1224460 - Use pwd -W to fill _topsrcdir in configure. r=gps
We're going to be using -I$_topsrcdir in some CFLAGS variables, and for that
we need windows-y paths, not msys paths. All things currently using
$_topsrcdir should cope with this just fine.
2015-11-19 08:05:51 +09:00
Mike Hommey 5ab167c3b0 Bug 1224490 - Kill LIBXUL_DIST. r=mshal 2015-11-17 10:00:19 +09:00
Mike Hommey 444e45a99a Bug 1224490 - Don't set NSS_LIBS in the non-native NSS case. r=mshal
We never use the variable in that case.
2015-11-17 09:59:45 +09:00
Mike Hommey e88f90548f Bug 1222323 - Avoid passing extra defines to the compiler from config.mk. r=gps
C/C++ code should not be relying on XPI_NAME or AB_CD being defined, so
moving them out works.
2015-11-14 08:40:54 +09:00
Phil Ringnalda 647f36e5d6 Backed out 2 changesets (bug 1222323) for build bustage
CLOSED TREE

Backed out changeset 7fe3d7c91ecd (bug 1222323)
Backed out changeset 2b006f565385 (bug 1222323)
2015-11-10 21:10:10 -08:00
Mike Hommey 8d5f937d9e Bug 1222323 - Avoid passing extra defines to the compiler from config.mk. r=gps
C/C++ code should not be relying on XPI_NAME or AB_CD being defined, so
moving them out works.
2015-11-11 13:13:06 +09:00
Mike Hommey 0ca2b70c17 Bug 1220323 - Enable FasterMake backend by default for all apps. r=gps 2015-11-11 13:13:06 +09:00
Kalpesh Krishna bd454774aa Bug 1207307 - Remove MOZ_ANDROID_FIREFOX_ACCOUNT_PROFILES flag. r=vivek,nalexander
--HG--
extra : commitid : EDAzygqNz9I
extra : rebase_source : 39b977fddd43906b15024efce1e34362cf0e3259
2015-11-09 10:57:01 -08:00
Jon Coppeard f04a28db9e Bug 1220731 - Refactor embedjs script for use from moz.build rather than makefiles r=shu r=glandium 2015-11-06 13:09:01 +00:00
Nick Alexander 7fd985b3bb Bug 1220476 - Make --disable-compile-environment work for Android builds without an Android NDK. r=glandium
--HG--
extra : commitid : 9vtzh7HRAB0
extra : rebase_source : d60c6614bf109ba8c0427941b335984d661e85c5
extra : histedit_source : 72ee79eb44ae20ae283768538e747ec2fe355f34
2015-11-02 16:46:42 -08:00
Ralph Giles 87aab4c5c3 Bug 1219530 - Add MOZ_RUST_MP4PARSE feature switch. r=glandium
Add a switch to enable the rust mp4parser code through confvars.sh
and set this for browser targets. Configure will only pass this
through as a CPP define if the rust toolchain is available.

The MOZ_RUST check is hoisted to an outer conditional to
make it cleaner to add other features.

Thanks to zhoubcfan@163.com for the typo fix in configure.in.
2015-11-02 16:40:00 -08:00
Phil Ringnalda bdf1feba1c Back out changeset ce56b70293c6 (bug 1219530) for build bustage
CLOSED TREE
2015-11-02 19:07:11 -08:00
Ralph Giles 050e04d240 Bug 1219530 - Add MOZ_RUST_MP4PARSE feature switch. r=glandium
Add a switch to enable the rust mp4parser code through confvars.sh
and set this for browser targets. Configure will only pass this
through as a CPP define if the rust toolchain is available.

The MOZ_RUST check it hoisted to an ourter conditional to
make it easier to add other features.
2015-11-02 16:40:00 -08:00
Eric Rahm 60c367f4d6 Bug 1161238 - Remove --disable-logging. r=gps 2015-05-14 11:07:56 -07:00
Wes Kocher 78fcbfb1ce Merge m-c to inbound, a=merge
--HG--
extra : commitid : 5VPid7mV1Uk
2015-10-29 17:16:32 -07:00
Adam Farden 800fa53d99 Bug 1217827 - Enable MOZ_WEBRTC for Firefox OS on aarch64. r=glandium
webtrc should be used on aarch64 targets. When not enabled we hit
bad ANDROID_NDK path (see Bug 1218702) so we actually cannot build
without it right now.
2015-10-27 01:45:00 +01:00
James Willcox d51dcbce99 Bug 1214678 - Allow Apple media decoders to work on iOS r=jya 2015-10-28 14:10:28 -05:00
Nick Alexander 3323ad2cde Bug 1207708 - Part 2: Build against play-services-{basement,base,gcm} if MOZ_ANDROID_GCM. r=sebastian
Since MOZ_NATIVE_DEVICES builds against play-services-{basement,base,cast},
some ad-hoc de-duplication is necessary.

--HG--
extra : commitid : 2jNIgZpLUq2
extra : source : 0957d3435ac22765d7868cb3c7db1e0787836bc3
2015-10-27 17:41:49 -07:00
Nick Alexander 28cbcc16f5 Bug 1207708 - Part 1: Add MOZ_ANDROID_GCM{_SENDERID} build flags. r=sebastian
These flags are not intended to be feature specific.  On day one, we
intend to support a single GCM-backed feature -- Push Notifications --
but the set of GCM-consuming features is potentially large (e.g.,
possibly Firefox Sync tickles and Send Tab to Device alerts).  Such
features can and will have their own build flags.

Note that GCM sender IDs are not sensitive -- see link in code
comment.  Since this is something custom branding will almost always
want to set, I don't want to bury the default value in confvars.sh.

--HG--
extra : commitid : HBHDBk2tC6S
extra : source : d4e39587c87c16564eeac6d1f8568814b63e5325
2015-10-27 17:42:35 -07:00
Joel Maher 484279244f backout 8b380feae2ae to align talos number prior to uplift next week (bug 1205249) 2015-09-17 10:48:10 -04:00
Carsten "Tomcat" Book b26729a177 merge mozilla-inbound to mozilla-central a=merge 2015-10-22 11:45:11 +02:00
Jonathan Almeida [:jonalmeida] 42e1dd6a60 Bug 1175555 - Build flag to exclude hyphenation dictionaries from Android builds. r=nalexander
--HG--
extra : transplant_source : %D5%D7J9NH%9D%26%3E%96P%96%B2%BF%F9y%7B%2C%D0%CB
2015-09-23 22:28:59 -04:00
Wes Kocher b8596f28a2 Merge inbound to m-c a=merge 2015-10-21 16:28:43 -07:00
J. Ryan Stinnett 978cb5107a Bug 1203159 - Update each product's DevTools inclusion. r=glandium
A new configure option --with-devtools (which sets MOZ_DEVTOOLS) is added to
control whether all DevTools, just the server, or no DevTools are included.
This defaults to just the server.

Applications should also include /devtools within their moz.build tree, so that
DIST_SUBDIR is in effect for all DevTools files if it is used by the app.
2015-10-21 12:22:59 -05:00
Ryan VanderMeulen 4538efc57a Bug 1214713 - Upgrade SQLite to version 3.9.1. r=mak 2015-10-21 12:19:31 -04:00
Wes Kocher 9630ce26b8 Merge b2ginbound to central, a=merge 2015-10-20 14:59:07 -07:00
Fabrice Desré a01e1431c1 Bug 864843 - Part 4. Turn on Intl API for b2gdroid r=glandium 2015-10-19 22:25:45 -07:00
Iaroslav (yarik) Sheptykin abcebff312 Bug 1209458 - Replace HISTOGRAM_FILE_VERSION preprocessor usage with AppConstants.jsm definitions. r=ted,gfritzsche
--HG--
extra : transplant_source : %B9%5D%20%1EN%D0%C3%F7%0F1%CF%91%F2%2C%10%81U%D8X%3F
2015-10-01 10:18:10 +02:00
Kai Engert a922dcab99 Bug 1215200, NSPR_4_10_10_RTM and NSS 3_20_1_RTM, bump version requirements, r=keeler 2015-10-20 12:34:15 +02:00
Karl Tomlinson 9406708e70 bug 1214953 set GDK_VERSION_MIN_REQUIRED/MAX_ALLOWED to specify the GTK/GDK API and suppress irrelevant deprecated warnings r=glandium
--HG--
extra : rebase_source : f746092854d925e65bea8b6c6e37dc2fc2d946b2
2015-10-21 18:05:31 +13:00
Mike Hommey 3de00b45dd Bug 1216444 - Remove GKMEDIAS_SHARED_LIBRARY. r=mshal
In bug 922912, we folded back gkmedias.dll info xul.dll, so in practice, there
is no default configuration left that exercises GKMEDIAS_SHARED_LIBRARY. And
sure enough, it's been broken for months in many different ways.

The gkmedias intermediate library is however kept for webrtc signaling tests.
2015-10-21 14:47:22 +09:00
Mike Hommey 25b94aa500 Fixup for b2g bustage from bug 1164921. r=me 2015-10-15 17:10:03 +09:00
Mike Hommey 9af046b5b4 Bug 1211765 - Remove remnants from --with-libxul-sdk. r=bsmedberg
The configure option has explicitly thrown an error for more than a year now,
and it happens that the remaining way to still forcefully use it has been
broken for more than 8 months.
2015-10-14 08:02:34 +09:00
Jacek Caban ef98cfc55b Bug 1197281 - Use MOZ_FIND_WINSDK_VERSION for MOZ_WINSDK_MAXVER on mingw. r=glandium 2015-10-07 12:26:40 +02:00
Steve Fink 1eb9a85635 Bug 1205887 - Verify that MOZILLA_VERSION was set correctly, r=glandium
--HG--
extra : commitid : 3g91k2r7xzC
extra : rebase_source : 2e49c764882e7234dddcdaea3273b7057ba12543
2015-09-29 13:39:37 -07:00
Carsten "Tomcat" Book 71e22d0c44 merge mozilla-inbound to mozilla-central a=merge 2015-10-06 12:01:35 +02:00
Terrence Cole b16e5ef7d1 Bug 1205012 - Allow rust source code in SpiderMonkey; r=mshal
--HG--
extra : rebase_source : b837db972abeb5b2a955c4b52b7ceb6f31c74660
2015-09-18 13:55:29 -07:00
Justin Dolske 90ec2cead9 Bug 1210611 - Globally define MOZILLA_OFFICIAL. r=glandium 2015-10-02 15:18:04 -07:00
Sebastian Kaspari f95aacebb1 Bug 1210755 - Mach build: Compile with SDK version 23 and use build tools 23.0.1. r=nalexander
--HG--
extra : commitid : KSzxhqJn0iI
extra : rebase_source : ccd59642dc6025fd2fec574ef9502a15670fb43e
2015-10-05 15:01:23 +02:00
Nick Alexander e11f7d3873 Bug 1237880 - Remove code for syncing Reading List. r=rnewman
--HG--
extra : commitid : 6IDWYzgCMUt
extra : rebase_source : 89a938e4430bd16f4a0df68c0ac831fbb4b3170a
2016-01-19 15:06:28 -08:00
Ted Mielczarek 8d85b85053 bug 543111 - add support for alternate dsymutil paths to configure, add to cross-mozconfig. r=glandium
--HG--
extra : commitid : 3xaBaiTqvnI
extra : rebase_source : 64189985ee6955e59ffe74b1ca84418fdda887f8
2015-09-29 12:59:12 -04:00
Ted Mielczarek b8305eb01b bug 543111 - enable Breakpad for cross-mac builds. r=glandium
--HG--
extra : commitid : FEcPyAxmzAp
extra : rebase_source : 2e03e158844557306bec272ceb7e468bd51f1489
2015-09-11 06:48:50 -04:00
Carsten "Tomcat" Book d325d6fc78 Backed out 4 changesets (bug 543111) for mac bustage on a CLOSED TREE
Backed out changeset 81f6fdc25862 (bug 543111)
Backed out changeset d1a73eaa6113 (bug 543111)
Backed out changeset 08c7f9ed5970 (bug 543111)
Backed out changeset 3b323ed3b20a (bug 543111)

--HG--
rename : toolkit/crashreporter/google-breakpad/src/tools/mac/dump_syms/dump_syms_tool.cc => toolkit/crashreporter/google-breakpad/src/tools/mac/dump_syms/dump_syms_tool.mm
2015-10-01 14:32:11 +02:00
Ted Mielczarek 152500a97c bug 543111 - add support for alternate dsymutil paths to configure, add to cross-mozconfig. r=glandium
--HG--
extra : commitid : 3rwqhDnicWF
extra : rebase_source : f5abac85a20d810b13060a450e5e7bd0fef59e3e
2015-09-29 12:59:12 -04:00
Ted Mielczarek 09624368d4 bug 543111 - enable Breakpad for cross-mac builds. r=glandium
--HG--
extra : commitid : A7OS661lyaH
extra : rebase_source : 8c719fb14d0a7ee90bf85b516251fdbafcddb42a
2015-09-11 06:48:50 -04:00
Kevin Grandon d176e0d847 Bug 1204965 - Graphene support. Merge larch into mozilla-central. r=fabrice r=glandium 2015-09-30 23:49:00 +02:00
Mike Hommey 9f2c4e94ba Bug 1209875 - Get rid of XULPPFLAGS. r=gps
The flags added in toolkit/locales/Makefile.in turn out not to be actually
used, so just remove that.

The remaining uses of XULPPFLAGS are to set debug flags depending on whether
MOZ_DEBUG is set or not. Just set a dedicated variable with the right value
from configure.
2015-10-01 07:30:48 +09:00
Mike Hommey d0d3300abc Bug 1209398 - Enable the FasterMake backend by default for desktop Firefox builds. r=gps
The order in which backends appear is important, and dealing with deduplication
in configure.in is not really nice, so for all simplification purposes, this relies
on using AC_SUBST_SET, which does the deduplication and keeps the original order
in which items appear (despite its name).
2015-09-30 11:51:47 +09:00
Mike Hommey d72ba2a81c Bug 1209391 - Remove build/unix/uniq.py. r=mshal 2015-09-30 11:51:46 +09:00
Nicholas Nethercote 00da404692 Bug 1207465 - Remove disabling of no-longer-used MSVC warning C8442. r=ted.
As of MSVC2012 this warning no longer occurs, because the code pattern it's for
is valid C++11, so we no longer need to disable the warning.

This undoes bug 832280.

--HG--
extra : rebase_source : e38a414ef134d0ffd0aadde697a18eedb46bf849
2015-09-29 18:28:03 -07:00
Eitan Isaacson 0d0b280146 Bug 1003464 - Support Web Speech API synthesis via speech-dispatcher. r=kdavis 2015-09-29 11:17:40 -04:00
Mike Hommey 86a76ef43b Bug 1207897 - Add a configure option to build multiple build backends. r=gps
Also record what backends were requested at configure time so that running
`mach build-backend` or `config.status` uses the same set.
2015-09-29 09:23:50 +09:00
Joel Maher 3e9ab04fd5 backout 85ec486cf202 to reenable jemalloc 4 from bug 1205249 2015-09-23 13:39:43 -04:00
Nick Alexander 8a89dfb148 Bug 1204260 - Pin Android package versions to android-22 and build-tools-22.0.1. r=glandium
Right now, --with-android-sdk expects a path to a specific Android SDK
version, like /path/to/platforms/android-22.  That path is exposed as
ANDROID_SDK; the Android SDK root is exposed as ANDROID_SDK_ROOT.

Right now, the provided platform's version number is extracted into
ANDROID_TARGET_SDK.  The extracted ANDROID_TARGET_SDK is checked
against a minimum version number (supplied as a parameter to
MOZ_ANDROID_SDK).

After this patch, --with-android-sdk expects what is now
ANDROID_SDK_ROOT, and then derives ANDROID_SDK from that path and a
pinned SDK platform version number.  The exact version number which we
search for is now a parameter given to MOZ_ANDROID_SDK.  We accept and
fail, with a helpful message, if we recognize an old-style ANDROID_SDK
path.

The existing MOZ_ANDROID_{MIN,MAX}_SDK_VERSION variables remain as
they are.

Right now, the Android build tools are searched in a deterministic but
non-obvious manner.  After this patch, the exact build tools version
number is now a parameter given to MOZ_ANDROID_SDK.

--HG--
extra : commitid : 7z4T3EYH8fg
extra : rebase_source : 118a2a163d0deb1896e4959f12e9fbb132732bd8
extra : histedit_source : f18feda343e3c8e9f0dbb65eb7127262690e3cad
2015-09-12 15:04:19 -04:00
Ted Mielczarek e796606d24 bug 1205278 - Use direct_nspr_config for iOS builds. r=glandium
--HG--
extra : commitid : KdToKl1r6GE
extra : rebase_source : 177152b54f467201b5117d4866ba715b472dfc91
2015-09-16 09:01:03 -04:00
Wes Kocher 7aae894c59 Merge inbound to central, a=merge 2015-09-17 14:59:11 -07:00
Joel Maher 0e94e9e887 backout 8b380feae2ae to align talos number prior to uplift next week (bug 1205249) 2015-09-17 10:48:10 -04:00
Nathan Toone bc36c933d1 Bug 1203800 - Allow for specifying the ANDROID_VERSION_CODE to use; r=nalexander
This patch allows you to set MOZ_APP_ANDROID_VERSION_CODE in a branding's configure.sh to specify the exact android:versionCode to use in the final (main) APK.  It does *not* modify the android:versionCode used in any other APKs.

--HG--
extra : transplant_source : U%F31E%1AK%3BY%18e.%E8%BD%F3_0%04%C6%84%7B
2015-09-11 16:05:56 -06:00
Mike Hommey 90b4aa4b91 Bug 1203851 - Skip jemalloc subconfigure when building with --disable-compile-environment. r=gps 2015-09-15 10:21:39 +09:00
Mike Hommey 55fe15cdb5 Bug 1203857 - Allow to build standalone js against jemalloc4. r=gps 2015-09-15 10:21:38 +09:00
Ted Mielczarek e939eeb1b1 bug 1203573 - add a MOZ_SIMPLE_PACKAGE_NAME variable to simplify package naming for taskcluster's benefit. r=gps
--HG--
extra : commitid : CMb2NHCjHCw
extra : rebase_source : 5f1e994da6283c43076d12b524b17c40dbd57a88
2015-09-10 15:46:18 -04:00
Ted Mielczarek 15800ee8cb bug 935237 - use libdmg-hfsplus to create DMG files during packaging on Linux. r=gps
--HG--
extra : commitid : 2d19BPHSECP
extra : rebase_source : 8121f9f1a929fdf2bdbf53817b7f98c26d9163ec
2015-08-21 15:33:03 -04:00
Ted Mielczarek 6be16c3688 bug 1198226 - Move HOST_{C,CXX}FLAGS to moz.build HOST_{CFLAGS,CXXFLAGS,DEFINES}. r=mshal
As part of this move, HOST_NSPR_MDCPUCFG needed to be changed to get the quoting right.

--HG--
extra : commitid : J26MhSiPq9g
extra : rebase_source : 81c5b98371042803741ddace8d01b0097757dff3
2015-09-08 11:35:43 -04:00
Nicholas Nethercote 24cd9d5226 Bug 1203005 - Remove all traces of -Wdeclaration-after-statement. r=glandium.
Even though we compile C code as C99, we used to need
-Wdeclaration-after-statement because MSVC didn't allow declarations after
statements.

However, Visual Studio 2013 added support, so we can now merrily mix
declarations and statements everywhere. Hooray.

--HG--
extra : rebase_source : 00a89fed733008785429827408a0c6c466971080
2015-09-09 04:57:44 -07:00
Ehsan Akhgari 8fecf3299e Bug 1126813 - Turn on the -Wrange-loop-analysis warning if available; r=gps 2015-09-08 20:08:34 -04:00
Nigel Babu 5bb5e361bd Backed out changeset 1b13dab24bd1 (bug 1142403) for Linuxx64 M-e10s(2) bustage. 2015-09-08 13:13:32 +05:30
Mike Hommey 6c1fc083dc Bug 1142403 - Enable jemalloc debug on debug builds. r=njn 2015-09-08 13:13:27 +09:00
Ehsan Akhgari 126e98eb6f Bug 1117259 - Disable the no-unused-local-typedef warning if clang supports it; r=gps
This warning is typically triggered by code which implements
some kind of assertion macro, and it's probably not a good
indicator of bugs anyway, so there is no good reason to keep
it on.
2015-09-04 21:28:19 -04:00
Mike Hommey 973a03b561 Bug 762449 - Enable jemalloc4 by default, but don't make it ride the trains yet. r=njn 2015-09-04 15:20:10 +09:00
Mike Hommey 0efccdc82c Bug 1201792 - s/MOZ_JEMALLOC3/MOZ_JEMALLOC4/. r=njn 2015-09-04 15:15:47 +09:00
Mike Hommey 0ef0b61651 Bug 1199974 - Build libvpx neon code with -mfloat-abi=softfp when targetting ARM softfloat ABI. r=nfroyd 2015-09-04 14:42:56 +09:00
Mike Hommey 4a986d4f4b Bug 1201738 - Update jemalloc4 to 594c759 + two pending patches. r=njn
Also do a dummy change to configure.in to trigger a reconfigure, working
around bug 1021347.
2015-09-04 14:35:55 +09:00
Ryan VanderMeulen 6e18bb2fc7 Backed out changeset 292d13beeb7b (bug 1186522) for Gaia unit test bustage. 2015-08-28 21:43:37 -04:00
Jordan Lund 87407424dc Bug 1186522 - force per checkin builds to require signed add-ons on beta 42, r=mshal 2015-08-28 13:41:26 -07:00
Mark Finkle 7ba2bb4f8b Bug 1196897 - Add flags to control using Switchboard in Fennec r=nalexander 2015-08-27 13:49:48 -04:00
Fabrice Desré 38d84056f8 Bug 1180461 - Part 1: Build gaia during b2gdroid build. r=glandium
--HG--
extra : commitid : EsVFILuJ091
extra : rebase_source : a491d749017a2ccec6c16b40f051053d6a1fa317
2015-07-05 19:01:00 -07:00
Fabrice Desré 2e46ff4eff Bug 1181209 - Make changes to Gecko needed for b2gdroid to boot. r=fabrice
--HG--
extra : commitid : 9ntMFgbvjmP
extra : rebase_source : e47230e20d81d2207e129ca451c6e9cfe341ba55
2015-08-25 13:42:24 -07:00
Fabrice Desré 8884986827 Bug 1180358 - Part 1: Add the b2gdroid sub-product. r=fabrice
--HG--
extra : commitid : KnBczv1pVI0
extra : rebase_source : aa18f0a525ae975d6080f8b41ea74d105fea329b
2015-08-25 13:40:04 -07:00
Makoto Kato f3ebef7d41 Bug 1197681 - Remove MOZ_NTDDI_WIN7 from configure.in. r=mshal 2015-08-25 16:52:08 +09:00
Ryan VanderMeulen 5b75ad5195 Merge inbound to m-c. a=merge 2015-08-23 17:18:36 -04:00
Nick Alexander 39f4c891ef Bug 1191067 - Pre: Add MOZ_ANDROID_NATIVE_ACCOUNT_UI build flag. r=glandium
Currently, all versions of Firefox run with the existing native
Firefox Account UI.  This flag will opt-in to maintaining that
experience while we transition to a web account UI.  Once we're stable
on the web, we'll remove this flag entirely.

--HG--
extra : commitid : CmokCKcYNJQ
extra : rebase_source : eb7e8f136f9a5134f84c8dbe111841b72827146a
2015-08-04 16:54:00 -07:00
David Major 3fc8acc770 Bug 1193467: Allow SSE2 on clang-cl builds. r=glandium
--HG--
extra : rebase_source : 93cb856526813218877c87e5ab73687373719f68
2015-08-18 19:29:30 -04:00
Mike Hommey dea9486c28 Bug 1120793 - Remove obsolete _Throw wrapping. r=froydnj 2015-08-21 14:28:41 +09:00
Makoto Kato 45b2236f90 Bug 1191688 - Add -nologo option to rc.exe. r=ted 2015-08-18 15:55:17 +09:00
Mike Hommey 3ec8bddc11 Bug 1142412 - Remove last jemalloc patch by using a workaround when running its configure. r=mshal 2015-08-18 08:42:24 +09:00
Mike Hommey 54863d2784 Bug 1142412 - Update memory/jemalloc to 4.0.0 release. r=njn 2015-08-18 08:42:23 +09:00
Nathan Froyd d903c2ee7e Bug 1192277 - remove check for LLVM PR 8927; r=glandium
The PR was fixed in early 2011.  clang 3.3, the oldest version of clang
that we build with, was released in mid-2013.  It's safe to say that all
versions of clang now have this fix, and we can delete the check.
2015-08-07 19:35:43 -04:00
Nathan Froyd 96c7e20fe3 Bug 1192233 - delete check for sys/cdefs.h from configure; r=mshal
We never consult HAVE_SYS_CDEFS_H anywhere.  All the places we do
include <sys/cdefs.h> do it unconditionally.  So let's get rid of this
useless check.
2015-08-07 17:38:14 -04:00
Wes Kocher 83a7cbf448 Merge m-c to inbound, a=merge 2015-08-06 18:11:16 -07:00
Nathan Froyd 7894c2fd13 Bug 1191900 - remove superfluous check for GCC force_align_arg_pointer attribute; r=glandium
qcms and libav use __attribute__((force_align_arg_pointer))
unconditionally; the libav use case suggests that the attribute has been
around since GCC 4.2.  We're well past that point with GCC, and clang
supports it also.  So we can simply assume the compiler has it in the
appropriate places.

It is, however, x86 only (x86-64 appropriately aligns the stack at all
times), so we need to adjust the libpixman build code appropriately.
2015-08-06 21:07:57 -04:00
Nathan Froyd 0a5095ccbf Bug 1191884 - remove now-unnecessary check for GCC PR49911; r=glandium
This PR was fixed in the GCC 4.7 development cycle.  Since we require
GCC 4.7 now, we no longer have to check for this bug.
2015-08-06 20:41:38 -04:00
Ryan VanderMeulen 6b37d9c465 Merge m-c to fx-team. a=merge 2015-08-06 15:53:46 -04:00
Nathan Froyd bb24525b8a Bug 1191816 - don't check for sys/int_types.h in configure; r=mshal
<sys/int_types.h> appears to be a pre-standardization header that was
common on SunOS systems (which apparently also provided <inttypes.h>?).
Searching also turns up references in the NetBSD source tree for
less-common architectures (e.g. sh3).  There are a few includes for
<sys/int_types.h> in the tree, but only as a fallback for <inttypes.h>.

In short, we don't care about this header, and we shouldn't check for it.
2015-08-06 17:54:57 -04:00
Nathan Froyd 8ac446bac2 Bug 1191819 - part 1 - substitute MOZ_BZ2_CFLAGS as a list; r=mshal
We appear to be inconsistent about which CFLAGS variables get
substituted as lists (most things relating to widget libraries, for
instance) and which are just raw strings (most everything else).  This
patch is a first step towards making everything a list, which makes the
next patch much easier to write.  The other variables can be converted
as a followup bug.
2015-08-06 17:49:12 -04:00
Jacek Caban da30b32ccd Bug 856404 - Enable libraries folding on mingw. r=glandium 2015-08-06 13:26:33 +02:00
James Long eb0c322c90 Bug 1181646 - Add React as a shared library for devtools. r=gps,fitzgen
--HG--
extra : commitid : 8Icuj1NpV64
2015-08-06 00:27:39 -07:00
Bas Schouten 04e271a9a0 Bug 1186472: Locate DirectX files in the Windows 10 SDK. r=vlad 2015-08-06 19:29:24 +00:00
Makoto Kato 0c13d41989 Bug 830801 - Part 1. Set NOMINMAX define as default. r=mshal 2015-08-03 10:05:05 +09:00
Lee Salzman cf2fe05f07 Bug 1188462 - Add SKIA_INCLUDES list for adding Skia to header search path. r=jrmuizel 2015-07-30 12:05:22 -04:00
Ryan VanderMeulen 7c486ed4c2 Merge inbound to m-c. a=merge 2015-07-30 16:08:21 -04:00
Ryan VanderMeulen e6798f2427 Bug 1188578 - Upgrade SQLite to version 3.8.11.1. r=mak 2015-07-30 07:49:40 -04:00
Thomas Zimmermann 2f7aeaeba9 Bug 1187872: Remove HAL backend from Bluetooth, r=shuang
Bluedroid's HAL backend has been superseded by the Bluetooth daemon, and
already been unused in current releases. This patch removes the code from
Gecko.
2015-07-30 09:09:26 +02:00
Nathan Froyd 16716c50a2 Bug 1188555 - part 2 - remove write-only configure.in variables MKSHLIB_{UN,}FORCE_ALL; r=mshal 2015-07-28 14:08:08 -04:00
Nathan Froyd 7713f24298 Bug 1188555 - part 1 - remove write-only configure.in variable NO_LD_ARCHIVE_FLAGS; r=mshal 2015-07-28 14:07:07 -04:00
Nathan Froyd 9ad53e71c9 Bug 1188469 - remove configure.in workaround for broken egrep in OS X 10.7; r=mshal
Even if we used FIXED_EGREP at one point, we don't anymore.
2015-07-28 12:49:41 -04:00
Ted Mielczarek ee0ef02a1f bug 1183129 - Remove a dead iOS-related conditional from configure.in. r=glandium
--HG--
extra : rebase_source : 59f06d0f9e6734dc005e5458a05da062367d71cb
2015-07-13 07:20:30 -04:00
Giovanny Andres Gongora Granada 2e800a3fea Bug 1150312 - Remove MOZ_SHARK. r=glandium 2015-07-23 18:16:00 -04:00
ISHIKAWA, Chiaki 00b7bf66d2 Bug 1187124 - Refer to $ANDROID_VERSION "... -ge 18" only when it is a non-empty string. r=gps
--HG--
extra : rebase_source : 7e29fbc1e71ae5a639a194293450849090a29bc4
2015-07-23 16:47:00 +02:00
Andreas Tolfsen 29d401a02f Bug 1177608: Support for compiling optimised Rust code
Optimised Rust compilation is enabled on passing --enable-optimize to
the configure script.  This sets the RUSTFLAGS output variable that gets
picked up by the compile targets RSOBJS and RSSRCS and passed to rustc.

r=glandium

--HG--
extra : commitid : 8thSkfLFXSY
extra : rebase_source : 5ec79b76a187bcbb0f09ad374cf9f763f0adb0d7
2015-07-21 14:21:40 +01:00
Mike Hommey d450691e52 Bug 1186229 - Enable Gtk+3 builds by default. r=gps
Note Gtk+3 builds need both Gtk+2 *and* Gtk+3.
2015-07-23 10:24:31 +09:00
Jed Davis ff6f22789d Bug 1182565 - Disable sandboxing on Linux Thread Sanitizer builds. r=kang 2015-07-16 11:53:00 -04:00
Ralph Giles fb7a70ca1a Bug 1181441 - Configure check for no-tls rust toolchain. r=ted
By default the rust standard library uses linker-assisted
thread-local storage, which isn't supported on MacOS X 10.6.
If we're targetting that version make sure we can link code
built with $RUSTC.

If so it's presumedly been built with alternate support.
2015-07-15 22:36:45 -07:00
Sylvestre Ledru 2cfaca06a1 Bug 1176533 - Rename the variable MOZ_APP_VERSION_ABOUT for something more general r=glandium
--HG--
rename : browser/config/version_about.txt => browser/config/version_display.txt
2015-07-11 19:37:54 -06:00
Kyle Machulis 17cc1532fc Bug 1157768 - Build files and config headers for libav fft; r=glandium 2015-07-10 14:34:07 -07:00
Wes Kocher b561edb7f4 Backed out 3 changesets (bug 1157768) for win64 pgo build bustage CLOSED TREE
Backed out changeset 24ced1b9f9dd (bug 1157768)
Backed out changeset 55efd92ce59d (bug 1157768)
Backed out changeset 812f311c4ee4 (bug 1157768)
2015-07-09 14:40:20 -07:00
Kyle Machulis 1d49a2f906 Bug 1157768 - Build files and config headers for libav fft; r=glandium 2015-07-09 09:07:52 -07:00
Valentin Gosu 9a74e8f645 Bug 1048131 - Remove MOZ_CAPTIVEDETECT and enable captive portal detector for all products. r=mcmanus 2015-07-03 17:14:51 +02:00
Carsten "Tomcat" Book 75b4073eb3 Backed out changeset 5f2ca3ac2fcb (bug 1048131) for test failures in android s4 test_captive_portal_not_found.js 2015-07-03 14:26:56 +02:00
Valentin Gosu f20197c275 Bug 1048131 - Remove MOZ_CAPTIVEDETECT and enable captive portal detector for all products. r=mcmanus 2015-07-03 12:06:45 +02:00
Jan Gerber c186adf8ce Bug 1178215 - update update.py for new libvpx r=rillian
libvpx dropped vpx_mem_set_functions,
only use it if an external libvpx
is used and still has it.

update update.py
add vpx_dsp_rtcd.h
rebase disable_pthread_on_mingw.patch
add vp9_filter_restore_aligment.patch
drop msvc2015.patch
2015-06-29 23:06:04 +02:00