Commit Graph

3203 Commits

Author SHA1 Message Date
Axel Hecht
1a652fc2fa Bug 1245836 - nsinstall.py is in MOZILLA_DIR, r=glandium
changeset: 319212:a11309a6feb4
bookmark: bug-1245836-disable-compile-env
tag: tip
user: Axel Hecht <axel@pike.org>
summary: bug 1245836, nsinstall.py is in MOZILLA_DIR, r?glandium
2016-02-15 06:28:00 +01:00
Jonathan Kew
f6bb7c602d Bug 1243073 - Require at least fontconfig 2.7.0 (for the FcConfigReference function). r=karlt 2016-02-15 13:23:37 +00:00
Nick Alexander
5f375e64e3 Bug 1119520 - Add opt-in Gradle build mode for mobile/android. r=gps
Opt-in by adding --enable-gradle-mobile-android-builds.

Gradle dependencies (including the Android-Gradle plugin) are assumed
to be present.  Local developers will fetch them from the jcentral
repository.

Android-specific Maven dependencies are shipped as "extras" with the
Android SDK, and should be found automatically by the Android-Gradle
plugin.

MozReview-Commit-ID: 966XgddWgEu
2016-02-12 10:06:40 -08:00
Mike Hommey
635d33e292 Bug 1247162 - Generate a header defining MOZ_SOURCE_*. r=mshal
The behavior is not entirely idempotent (most notably for
buildconfig.html), but this can be improved later if necessary.
It is idempotent where it matters.

This allows to get rid of config/makefiles/rcs.mk and its uses.
2016-02-12 07:16:14 +09:00
Carsten "Tomcat" Book
67a51393f3 merge mozilla-inbound to mozilla-central a=merge 2016-02-10 11:47:34 +01:00
Michael Comella
e245f43427 Bug 1233238 - Compile with play-services-{ads,analytics,appindexing} to support Adjust SDK. r=nalexander
On a CLOSED TREE because this is Android only.

When we switched to fine-grained Google Play Services bundling (Bug
1115004), we stopped shipping com.google.android.gms.analytics.  That
silently breaks Adjust, which queries the Google Ad ID using
reflection: now the package isn't present!  This patch restores the
Play Services libraries that Adjust relies on.  (Sadly, this bloats
our APK tremendously.)

There is some hijinkery, however: the Play Services libraries
reference a library (org.apache.http) that is deprecated in Android
23!  However, the library is still present on Android 23 devices,
which buys Google time to replace the offending code.  This compiles
just fine, breaks the Proguard global optimization pass.  To give
Proguard the information, we add the library as a Proguard "library
JAR".  This is equivalent to the Google-provided Gradle `useLibrary`
directive.
2016-02-04 16:10:29 -08:00
Mike Hommey
1b02a9a664 Bug 1246894 - Remove msys-perl-wrapper. r=mshal
msys-perl-wrapper was used to transform windows paths after the -I flag,
which was a preprocessor flag, which a) doesn't exist anymore and b) the
preprocessor has not even be in perl for years.
2016-02-10 10:12:22 +09:00
Nick Alexander
e8ecccfd4c Bug 1234629 - Part 1: Create bouncer APK for OTA distribution installs. r=margaret,gps
This commit produces an "install bouncer" APK which is a "hollow
shell" that looks like the main Fennec APK.  In particular, both APKs have:

* the same Android package name (application id); and
* the same set of <permission>, <uses-permission>, and <uses-feature>
  blocks in their manifests.

The bouncer APK must always have an android:versionCode smaller than
the main Fennec APK; for now, we will just bump that manually
mobile/android/bouncer/moz.build.
2016-01-27 15:28:31 -08:00
Ehsan Akhgari
95f23a2959 Bug 1246333 - Re-enable structured exception handling with clang-cl; r=glandium
clang-cl has been taught SEH now.
2016-02-09 15:35:03 -05:00
Nigel Babu
18bb965179 Backed out 10 changesets (bug 1234629, bug 1233882) for bustage on Android rc tests
Backed out changeset 9aa32d9a25df (bug 1234629)
Backed out changeset d73d36c9619b (bug 1234629)
Backed out changeset a7f63b3721cd (bug 1233882)
Backed out changeset c79f4a8c3e86 (bug 1234629)
Backed out changeset 400c030d3c01 (bug 1234629)
Backed out changeset 54a3d0851bc6 (bug 1234629)
Backed out changeset f80912ecfa87 (bug 1234629)
Backed out changeset 50bcadca2131 (bug 1234629)
Backed out changeset aaa420ed66d7 (bug 1234629)
Backed out changeset 7a62e97f07c2 (bug 1234629)
2016-02-05 15:42:28 +05:30
Nick Alexander
b5750db854 Bug 1234629 - Part 1: Create bouncer APK for OTA distribution installs. r=margaret,gps
This commit produces an "install bouncer" APK which is a "hollow
shell" that looks like the main Fennec APK.  In particular, both APKs have:

* the same Android package name (application id); and
* the same set of <permission>, <uses-permission>, and <uses-feature>
  blocks in their manifests.

The bouncer APK must always have an android:versionCode smaller than
the main Fennec APK; for now, we will just bump that manually
mobile/android/bouncer/moz.build.
2016-01-27 15:28:31 -08:00
Nick Alexander
1e05e169b8 Bug 1163082 - Part 1: Add --with-android-distribution-directory. r=gps
This simply packs the assets/ subdirectory of the distribution
directory into the assets/ directory of the Android APK using existing
mechanisms.  It also removes the older method of manually pushing
files into dist/bin/distribution, from where they would be packaged
into the APK under distribution/.
2016-01-27 12:25:04 -08:00
Mike Hommey
9628470596 Bug 1245422 - Remove the -FR C*FLAGS on Windows builds. r=mshal
The flag is used to create .sbr files, which bscmake subsequently uses to
create .bsc files. These files and related tools are, aiui, the ancestors
of Intellisense.

The -FR C*FLAGS are added to the build if MOZ_BROWSE_INFO or MOZ_BSCFILE
are set in the recursive make backend. While the former has an AC_SUBST,
the latter does not, so in practice, only the former can be set by
supported methods, and would need to be set in a mozconfig. At that
rate, people who do want those flags can add them in the C*FLAGS on
their own.

Developers are probably better served by the VisualStudio backend
anyways.
2016-02-04 12:49:57 +09:00
Nathan Froyd
0a3505e27a Bug 1177599 - always pass --target to rustc; r=mshal
rustc, unlike our typical C++ compilers, can target multiple platforms
with ease through its use of the --target flag.  To support
cross-compiling, we just need to pass the appropriate --target option.

rustc uses specific names for its accepted --target option, however, and
they are slightly different from the values we get out of autoconf.  So
in addition to checking whether rustc can accept --target for our chosen
platform, we also need to munge autoconf's idea of the target into
something rustc understands.
2016-01-25 16:25:59 -05:00
Mike Hommey
5ecc0370d4 Bug 1245013 - Move CMFLAGS/CMMFLAGS from config.mk to configure. r=mshal
We don't really care to set those in js/src/configure because the JS
engine doesn't use ObjC. We also don't care to preserve the += behavior
because there were no AC_SUBST in the first place, so it's unlikely
anyone has an override in their mozconfig and expects it to work.
2016-02-03 08:41:19 +09:00
Birunthan Mohanathas
9ec61f38ed Bug 1204202 - Package Universal CRT DLLs for VS2015. r=glandium,ehsan 2016-02-02 17:42:04 +02:00
Birunthan Mohanathas
b55eddd0d2 Bug 1204202 - Remove packaging for now obsolete appcrt140.dll/desktopcrt140.dll on VS2015. r=ehsan 2016-02-02 17:42:04 +02:00
Birunthan Mohanathas
6357985cf9 Bug 1236330 - Get rid of configure warning spew on VS2015 from unnecessary crtdll.obj check. r=khuey 2016-02-02 17:42:04 +02:00
Jeff Muizelaar
d591084794 Bug 1243861 - Specify SSE_FLAGS and SSE2_FLAGS when compiling with MSVC; r=glandium 2016-02-02 10:25:19 -05:00
Carsten "Tomcat" Book
526da08504 merge mozilla-inbound to mozilla-central a=merge 2016-02-02 11:50:53 +01:00
Xidorn Quan
c39708cc55 Bug 1244092 - Require Update 1 to build if using Visual C++ 2015. r=gps 2016-02-02 11:05:43 +11:00
Georg Fritzsche
1cf5aeaa99 Bug 1244688 - Allow overriding SOURCE_REV_URL with external repository information. r=ted 2016-02-01 18:22:19 +01:00
Phil Ringnalda
f574943fb7 Back out e8d8faa25955 (bug 1241111) for breaking platform.ini, a=bustage 2016-01-31 10:01:22 -08:00
Wes Kocher
82372cee01 Merge m-c to fx-team, a=merge 2016-01-29 13:44:12 -08:00
Georg Fritzsche
072cb0f655 Bug 1242667 - Remove unused MOZ_TELEMETRY_DISPLAY_REV define. r=froydnj 2016-01-25 20:46:22 +01:00
Georg Fritzsche
7e5b71006c Bug 1241111 - Allow overriding SOURCE_REV_URL, SOURCE_REPO, SOURCE_CHANGESET. r=ted 2016-01-29 18:42:51 +01:00
Ted Mielczarek
675026d895 bug 1243349 - fix NSPR link paths for NSS. r=mshal 2016-01-27 09:28:40 -05:00
Ralph Giles
f2f277e56c Bug 1243037 - part 2 - export RUSTC from configure; r=mshal
Because of how subshells and exporting variables works with msys bash,
we need to explicitly re-export everything interesting for things
executed downstream from configure.
2015-12-16 12:54:18 -08:00
Carsten "Tomcat" Book
d498fb860d Merge mozilla-central to fx-team 2016-01-26 12:46:28 +01:00
Ehsan Akhgari
0300c324a9 Bug 1242722 - Remove clang-cl command-line argument workarounds; r=glandium
In https://llvm.org/bugs/show_bug.cgi?id=26090, we changed the default
behavior of clang-cl to accept unknown command line arguments.  This
patch removes the Firefox workaround for this issue.
2016-01-25 21:34:57 -05:00
Alessio Placitelli
d5e2052993 Bug 1234518 - Clean MOZ_SERVICES_HEALTHREPORT and and MOZ_SERVICES_METRICS. r=gfritzsche 2016-01-21 07:59:00 +01:00
Nicholas Nethercote
aa550f23b8 Bug 1144842 (part 2) - Make --enable-dmd imply --enable-profiling. r=glandium.
This requires moving the --enable-dmd code earlier, before MOZ_PROFILING starts
being used.
2016-01-21 16:58:50 -08:00
Nicholas Nethercote
18843d8616 Bug 1144842 (part 1) - Don't use MOZ_PROFILING before all the places it can be set. r=glandium. 2016-01-19 16:03:06 -08:00
Nathan Froyd
676463ea95 Bug 1222578 - remove workaround for clang-cl not understanding -arch:IA32; r=glandium
LLVM bug 24335 is resolved as of the middle of October 2015.
2015-11-06 15:31:49 -05:00
Ted Mielczarek
c672acba53 bug 1230117 - get rid of TARGET_MD_ARCH. r=glandium 2016-01-21 06:07:22 -05:00
Ted Mielczarek
f21c3547e4 bug 1230117 - get rid of {HOST,TARGET}_NSPR_MDCPUCFG. r=glandium 2016-01-21 06:13:06 -05:00
Ted Mielczarek
b2a67768aa bug 1230117 - Stop using NSPR's configure. r=glandium 2016-01-21 06:04:11 -05:00
Kai Engert
6b8cac7e0a Bug 1228410, land NSS_3_22_RTM, r=nss-confcall 2016-01-29 12:16:10 +01:00
Mike Hommey
7048f85971 Bug 1239217 - Enable the hybrid FasterMake+RecursiveMake backend for artifact builds. r=gps 2016-01-22 15:43:27 +09:00
Wes Kocher
5de862ae68 Merge inbound to m-c a=merge 2016-01-21 16:24:42 -08:00
Ryan VanderMeulen
6373f0c02f Bug 1241121 - Upgrade SQLite to version 3.10.2. r=mak 2016-01-21 08:53:39 -05:00
Carsten "Tomcat" Book
d76cebb66c Merge mozilla-central to fx-team 2016-01-21 12:30:07 +01:00
Mike Hommey
12d5e4cb16 Bug 1240990 - Define all backends in one place. r=gps
When adding a backend, we currently have to add them in three different
places so that they appear in the right places.

Instead, keep the list in a single place.
2016-01-21 13:54:03 +09:00
Jean-Yves Avenard
7bc248b54a Bug 1240630: [ffmpeg] P3. Only build FFmpeg on mac and unixes. r=kentuckyfriedtakahe
This is a partial revert of bug 1214462 part2. We don't need FFmpeg support on Android or Windows anymore; instead the functionality is provided by the FFVPX PDM.
Remove support for FFmpeg on Windows.
2016-01-19 22:00:03 +11:00
Wes Kocher
bd4e26252b Backed out 4 changesets (bug 1240630) for asan failures in mochitest(2) and mochitest(oth) CLOSED TREE
Backed out changeset dc949ca1e1ec (bug 1240630)
Backed out changeset 06abea99a292 (bug 1240630)
Backed out changeset 9d90d4b0b928 (bug 1240630)
Backed out changeset 6162c46b32ff (bug 1240630)
2016-01-20 13:47:41 -08:00
Nathan Froyd
6da01f88cf Bug 1236577 - turn off -Wignored-attributes when compiling with clang-cl; r=glandium
Several JS engine header files, notable RootingAPI.h, do:

class JS_PUBLIC_API(...) { ... };

which sticks __declspec(dllimport) on the type.  clang-cl warns us that
it doesn't implement that, but since we're compiling with clang-cl as an
interesting side project, rather than shipping releases with it, we can
ignore that warning.
2016-01-04 11:30:22 -05:00
Jean-Yves Avenard
02aa378cf3 Bug 1240630: [ffmpeg] P3. Only build FFmpeg on mac and unixes. r=kentuckyfriedtakahe
This is a partial revert of bug 1214462 part2. We don't need FFmpeg support on Android or Windows anymore; instead the functionality is provided by the FFVPX PDM.
Remove support for FFmpeg on Windows.
2016-01-19 22:00:03 +11:00
Carsten "Tomcat" Book
8bc514989f Backed out changeset 1f5356e9679e (bug 1240630) 2016-01-20 16:10:49 +01:00
Jean-Yves Avenard
9620796af3 Bug 1240630: [ffmpeg] P3. Only build FFmpeg on mac and unixes. r=kentuckyfriedtakahe
This is a partial revert of bug 1214462 part2. We don't need FFmpeg support on Android or Windows anymore; instead the functionality is provided by the FFVPX PDM.
Remove support for FFmpeg on Windows.
2016-01-20 23:55:36 +11:00
Ryan VanderMeulen
a8070758e0 Bug 1237324 - Upgrade SQLite to version 3.10.1. r=mak 2016-01-04 22:54:15 -05:00