Commit Graph

3113 Commits

Author SHA1 Message Date
Ralph Giles
5bd1f9e500 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
d2634046fa merge mozilla-inbound to mozilla-central a=merge 2015-12-04 11:57:23 +01:00
Sebastian Kaspari
6c32aba33d 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).
2015-12-02 20:28:00 +01:00
Chris Peterson
7f4c4d76a4 Bug 1228947 - Replace mfbt/Constants.h with math.h. r=roc 2015-11-27 20:49:55 -08:00
Carsten "Tomcat" Book
c29d9679a2 merge mozilla-inbound to mozilla-central a=merge 2015-12-03 12:00:42 +01:00
Nick Alexander
b49f07d91d Bug 1220892 - Part 1: Remove MOZ_ANDROID_NATIVE_ACCOUNTS_UI. r=mcomella 2015-11-30 14:32:17 -08:00
Mike Hommey
65efc96588 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
410b8bd00c Bug 821291 - Move libmozgnome into libxul. r=glandium,karlt 2015-11-24 12:16:33 -08:00
Carsten "Tomcat" Book
c78dfb0a34 merge mozilla-inbound to mozilla-central a=merge 2015-12-01 15:25:14 +01:00
Dave Townsend
48f9e79f72 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.
2015-11-19 15:30:47 -08:00
Kalpesh Krishna
70c3fd0f45 Bug 1148028 - Remove MOZ_ANDROID_SHARE_OVERLAY. r=vivek,nalexander
Fennec ships the Share Overlay everywhere.
2015-11-27 12:51:02 -08:00
Mike Hommey
5579c98fc4 Bug 1227385 - Avoid make variable references in VISIBILITY_FLAGS and STL_FLAGS. r=mshal 2015-12-01 08:25:22 +09:00
Mike Hommey
b566f514f5 Bug 1227385 - Properly propagate $DIST from top-level after bug 1224490. r=mshal 2015-12-01 08:25:22 +09:00
Mike Hommey
0891588ae5 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
cda88e8c60 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
cff8b37cf2 Bug 1228256 - Move AC_DEFINE(ANDROID) in an Android-specific code-path. r=nalexander 2015-11-27 07:53:48 +09:00
Mike Hommey
fda82181a7 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
3d20ea6fce Backout changeset 0104f1c911ca (bug 1223530) because it breaks running on Windows XP on a CLOSED TREE 2015-11-26 08:38:16 +09:00
Ted Mielczarek
7038d7d62a 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.
2015-11-11 06:24:39 -05:00
Mike Hommey
afaad9471b 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
e42f182b75 Typo fix for bug 1224460 breaking Gtk+2 builds. r=me 2015-11-25 08:54:24 +09:00
Mike Hommey
5fcf4c9b5e 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
7c85ceeedd 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
9187429131 Bug 1224244 - Update in-tree libpng to version 1.6.19. r=seth 2015-11-23 20:20:00 +01:00
Sotaro Ikeda
f41a0f2a4b Bug 1222923 - Enable MOZ_FMP4 on gonk L r=jolin 2015-11-20 01:18:06 -08:00
Sylvestre Ledru
ec641bcfef Bug 1216283 - land NSPR_4_11_RTM, r=dkeeler 2015-11-18 18:43:32 +01:00
Mike Hommey
eb3d41d8e5 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
172aa622eb 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
21ea6a1c90 Bug 1224490 - Kill LIBXUL_DIST. r=mshal 2015-11-17 10:00:19 +09:00
Mike Hommey
a3b3922631 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
c248dd34b4 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
566e03f2ab 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
16f30343c3 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
05b4498268 Bug 1220323 - Enable FasterMake backend by default for all apps. r=gps 2015-11-11 13:13:06 +09:00
Kalpesh Krishna
c8637b39a7 Bug 1207307 - Remove MOZ_ANDROID_FIREFOX_ACCOUNT_PROFILES flag. r=vivek,nalexander 2015-11-09 10:57:01 -08:00
Jon Coppeard
441b24da04 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
0c4804847f Bug 1220476 - Make --disable-compile-environment work for Android builds without an Android NDK. r=glandium 2015-11-02 16:46:42 -08:00
Ralph Giles
582f7f8a69 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
2fa5457fe8 Back out changeset ce56b70293c6 (bug 1219530) for build bustage
CLOSED TREE
2015-11-02 19:07:11 -08:00
Ralph Giles
72c053c9d7 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
6fa60f7652 Bug 1161238 - Remove --disable-logging. r=gps 2015-05-14 11:07:56 -07:00
Wes Kocher
0f10bc7f39 Merge m-c to inbound, a=merge 2015-10-29 17:16:32 -07:00
Adam Farden
0a08f45dcf 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
45f3fb7b19 Bug 1214678 - Allow Apple media decoders to work on iOS r=jya 2015-10-28 14:10:28 -05:00
Nick Alexander
21e9816e85 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.
2015-10-27 17:41:49 -07:00
Nick Alexander
4e763c56da 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.
2015-10-27 17:42:35 -07:00
Joel Maher
11335c549e backout 8b380feae2ae to align talos number prior to uplift next week (bug 1205249) 2015-09-17 10:48:10 -04:00
Carsten "Tomcat" Book
100db2b7f4 merge mozilla-inbound to mozilla-central a=merge 2015-10-22 11:45:11 +02:00
Jonathan Almeida [:jonalmeida]
4172650d0a Bug 1175555 - Build flag to exclude hyphenation dictionaries from Android builds. r=nalexander 2015-09-23 22:28:59 -04:00
Wes Kocher
49d831b1c1 Merge inbound to m-c a=merge 2015-10-21 16:28:43 -07:00