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

527 Коммитов

Автор SHA1 Сообщение Дата
Eric Rahm 0938982c90 Bug 1389598 - Part 4: Remove remaining gonk refs. r=froydnj
--HG--
extra : rebase_source : 063c7f95dda063eafabfa1921366bd1957b8fe73
2017-08-11 17:45:18 -07:00
Eric Rahm fb60453284 Bug 1386825 - Part 5: Remove MOZ_B2G from configure. r=glandium
MozReview-Commit-ID: Cg5gljpECwo
2017-08-08 14:41:11 -07:00
Nathan Froyd 6b3217da7f Bug 1385276 - move PROFILE_*FLAGS to moz.configure; r=mshal
We are guaranteed to use a GCC or clang new enough that we don't have to
bother checking whether the flags are supported or not.
2017-08-04 13:56:38 -04:00
Nathan Froyd d7190c617c Bug 1387185 - remove --enable-url-classifier configure option; r=mshal
Nothing uses the corresponding defines and substs.
2017-08-04 13:56:38 -04:00
Nathan Froyd 51495a8284 Bug 1387185 - remove --disable-mozril-geoloc configure option; r=mshal
Nothing uses the defines and substs that it sets, and no in-tree
mozconfigs pass it as an option.
2017-08-04 13:56:38 -04:00
Franziskus Kiefer 95280a653c Bug 1386955 - land NSS a0a4e05dcdd5 UPGRADE_NSS_RELEASE, r=me
--HG--
extra : rebase_source : 913834daab6b8404dbeb0654e40e3e7f4ca24a9f
2017-08-04 14:13:06 +02:00
Franziskus Kiefer 382d8cae0a Backed out changeset 0d570ffa07be due to xpcshell test bustage 2017-08-03 12:23:26 +02:00
Franziskus Kiefer 6b1ced62cf Bug 1386955 - bump NSS version old-configure.in to 3.33, r=me
--HG--
extra : rebase_source : 0fc5b22dbd03cbabf9e1bf2e72e92dbb0947e46d
2017-08-03 10:24:46 +02:00
Glenn Randers-Pehrson 8e5226d344 Bug 1377118 - Update in-tree libpng to version 1.6.31. r=jrmuizel
--HG--
extra : rebase_source : 72613717bc7380d217f64ea6ae1191563bdedf4a
2017-07-27 11:42:00 -04:00
Wes Kocher 7a65251f71 Merge m-c to autoland, a=merge
MozReview-Commit-ID: KvG6hKUwF8c
2017-07-27 16:33:25 -07:00
Mike Hommey eafa227d8d Bug 1359912 - Add -z relro linker flags. r=gps
--HG--
extra : rebase_source : ae42e299d59cc139503c411e663cc81b18ff4177
2017-07-26 07:12:59 +09:00
Kai Engert 4b5d3d40a9 Bug 1372579, uplift NSPR_4_16_RTM, no code changes, only version numbers, r=me
UPGRADE_NSPR_RELEASE, DONTBUILD

--HG--
extra : amend_source : 6c51fc6eac78a06c3f2bfbcfa98cee2ec0986d00
2017-07-27 15:33:57 +02:00
Carsten "Tomcat" Book d360d49d2a merge mozilla-inbound to mozilla-central a=merge 2017-07-27 10:57:25 +02:00
Wes Kocher 512f32055e Backed out changeset adb09e2d7a30 (bug 1359912) for breaking linux noopt debug builds a=backout
MozReview-Commit-ID: E1treEAWecM
2017-07-26 15:30:17 -07:00
Mike Hommey b9fc5a46aa Bug 1359912 - Add -z relro linker flags. r=gps
--HG--
extra : rebase_source : ae42e299d59cc139503c411e663cc81b18ff4177
2017-07-26 07:12:59 +09:00
Mike Hommey e1dcb01130 Bug 635961 - Don't disable elfhack when the linker creates GNU_RELRO segments. r=froydnj
--HG--
extra : rebase_source : e739cd796f19fb770c6502806873282da9de5264
2017-07-11 08:10:50 +09:00
Wes Kocher 5dbd554bdd Backed out 2 changesets (bug 635961) at developer's request a=backout
Backed out changeset c56fa9c1eda0 (bug 635961)
Backed out changeset ddda63d5366e (bug 635961)

MozReview-Commit-ID: I6NxBctFn8e
2017-07-25 17:57:43 -07:00
Mike Hommey 0f1f412921 Bug 1384314 - Remove NSPR_LDFLAGS. r=gps
It's set in old-configure, but nothing uses it anymore.

--HG--
extra : rebase_source : e0197529b980d424afedb1a04eb7ba14bb606d90
2017-07-26 07:07:32 +09:00
Mike Hommey 4672873bb0 Bug 635961 - Don't disable elfhack when the linker creates GNU_RELRO segments. r=froydnj
--HG--
extra : rebase_source : 23b050a6a26dc5caa14256e4028fe93d9a8003b5
2017-07-11 08:10:50 +09:00
Gregory Szorc 204ba452aa Bug 1382930 - Remove configure references to gonk; r=glandium
Some gaia-related code was also found and removed as part of the
cleanup.

MozReview-Commit-ID: DEjVSljzzu1

--HG--
extra : rebase_source : 58c4c34df44a258d90029853f29ea01338bd142b
2017-07-20 21:48:10 -07:00
Nathan Froyd 320fa56056 Bug 1384220 - remove --with-crashreporter-enable-percent configure option; r=ted.mielczarek
This option was added ~decade ago; AFAICT from bug archaeology, the
option was added to prevent our servers from being overwhelmed.
Somewhere over the years, however, we obtained more capable servers and
the option disappeared from mozconfigs.  It seems moderately unlikely
that we'll have a need for this option again, and we could reintroduce
this patch very easily in any event.  Let's go ahead and remove it.
2017-07-26 11:16:43 -04:00
mozilla@mozilla-23773 6d62fe4972 Bug 1344244 - Part 1: Accept newer Android lint version. r=glandium
MozReview-Commit-ID: KRwU0UKjkZZ

--HG--
extra : rebase_source : 45325d8c37dcdaffa6ee6f22273db59963758509
2017-06-29 11:43:22 -07:00
Zibi Braniecki 51982f7d96 Bug 1344625 - Turn on ENABLE_INTL_API=yes on Android's release build. r=m_kato
MozReview-Commit-ID: 81Jpo3MXf1P

--HG--
extra : rebase_source : 2fc69472f977dc26347efcaa6eeeb112c49f0925
2017-07-17 21:28:35 -07:00
Jean-Yves Avenard 77f31bcb34 Bug 1379190: P2. Remove OMX related config. r=glandium
They are no longer used.

MozReview-Commit-ID: BTTjmhoqKgi

--HG--
extra : rebase_source : 395f6385f7d5ee6bd4413e6247297aa5002ea137
2017-07-13 13:00:23 +02:00
Ryan VanderMeulen 019bd042fc Merge autoland to m-c. a=merge 2017-07-14 09:16:03 -04:00
Sebastian Kaspari f201a35ab9 Bug 1380644 - Update Android lint library dependency to 25.3.2. r=Grisha
This is primarily for local builds that use the latest Android SDK.

MozReview-Commit-ID: 5uIjC6EhCho

--HG--
extra : rebase_source : 338caa12cf72a711cf3dbc2fd67df0afef1ef373
2017-07-14 11:04:55 +02:00
Nick Alexander bd230aea82 Bug 1352602 - Part 2: Use build system SDK versions in Gradle configurations. r=maliu
This patch does two things:

- add a Gradle-only ANDROID_COMPILE_SDK_VERSION substitution;
- uses it while uniformizing all of the Gradle Android SDK version
  configurations.

The approach is fairly standard (and we were using it already); see,
for example
https://medium.com/@ali.muzaffar/gradle-configure-variables-for-all-android-project-modules-in-one-place-5a6e56cd384e

This will make bumping the Gradle configuration versions forward
easier.

MozReview-Commit-ID: 1j5siCvR5qt

--HG--
extra : rebase_source : 07afb00de0e4a72af4026eb19ff4f2530c119336
2017-06-21 10:52:30 -07:00
Marco Castelluccio 0f9d4e1985 Bug 1380665 - Define MOZ_CODE_COVERAGE for the entire tree. r=jmaher 2017-07-13 19:12:23 +02:00
Makoto Kato 2e2e84007a Bug 1379032 - Use -Oz as optimization flag on android/clang. r=froydnj
Due to https://github.com/android-ndk/ndk/issues/133#issuecomment-308549264 and bug 1163171 comment #14, we should use -Oz instead of -Os on Android/clang

MozReview-Commit-ID: 1T6fI87sa33

--HG--
extra : rebase_source : 84f912c59ecdabef9e606f89f72f00eb158846d5
2017-07-07 16:30:21 +09:00
Mike Hommey ed863255b4 Bug 1378592 - Remove MOZ_REPLACE_MALLOC_LINKAGE. r=froydnj
MOZ_REPLACE_MALLOC_LINKAGE was added back when there were problems with
getting weak references working properly for replace-malloc.

Versions of OSX < 10.6 needed flat namespace, but aren't supported
anymore.

Versions of Xcode < 4.5 required flat namespace + a dummy library in
order to produce proper weak references. There is virtually nobody still
building with such an ancient toolchain.

Keeping those around doesn't /really/ hurt, except recent versions of
Xcode don't expose dyldinfo in /usr/bin, used for the configure test.
Consequently, MOZ_REPLACE_MALLOC_LINKAGE ended up being set to use the
dummy library setup, which, by using flat namespace, now causes harm in
bug 1356701, causing bug 1378332.

--HG--
extra : rebase_source : e3edc1f2cf905943c33fafeb631f2f88fc87167e
2017-07-06 10:26:04 +09:00
Carsten "Tomcat" Book 59605ed6b5 Merge mozilla-central to mozilla-inbound 2017-06-30 15:11:49 +02:00
Bruce Sun 7946a11af0 Bug 1368948: [6/7] Build freetype when enabling SkiaPDF on Windows. r=glandium
Add the dependency between "MOZ_ENABLE_SKIA_PDF" and "MOZ_TREE_FREETYPE" on Windows:
 - let |tree_freetype| returns true if |skia_pdf| returns true on Windows, and
 - avoid defining "MOZ_ENABLE_CAIRO_FT" on Windows ("cairo-ft-font.c" includes <dlfcn.h>, which only exists on posix platforms)

MozReview-Commit-ID: 6CWVwzIHL1Q
2017-06-29 17:17:46 -07:00
Mike Hommey 2160b355d0 Bug 1375859 - Build fennec with in-tree zlib. r=snorp
--HG--
extra : rebase_source : dc43403e5778a88897670475ace4832837cf9a6f
2017-06-28 04:00:41 +09:00
Mike Hommey df3ab76c5a Bug 1375859 - Build zlib in libmozglue when the linker in enabled. r=mshal
The linker uses zlib. The linker is in mozglue, zlib is in libxul by
default. As a consequence, we made --with-system-zlib a requirement for
builds enabling the linker.

In the meanwhile, we added an option that makes zlib built in mozglue
for different needs, which, in fact, also allows to do that when the
linker is enabled.

So, allow to build without system zlib when the linker is enabled.

--HG--
extra : rebase_source : 873a87b17b306fc392018049e01cf794b63a6206
2017-06-28 03:57:36 +09:00
Mike Hommey cc62c377cd Bug 1354581 - Move MOZILLA_OFFICIAL to python configure. r=cmanchester+432261
--HG--
extra : rebase_source : 085f29d9a3d46e9cff77444da594f6149c10f63d
2017-06-21 10:20:31 +09:00
Nathan Froyd 2fc0cc265c Bug 1372987 - move library/object prefix/suffix configuration to moz.configure; r=mshal
For parts of configuring Stylo, we need information about the library
extensions on all of our platforms, and this change is a reasonable way
to get at that information without duplicating it in two places.  Plus
moving more things to moz.configure is more better.
2017-06-19 14:20:29 -04:00
Gregory Szorc 231cefc973 Bug 1371465 - Move MSVS_VERSION to moz.configure and properly define for vs2017; r=glandium
Before, MSVS was set in old-configure and could only be unset or
"2015." We move the definition of the variable to moz.configure
and support defining its value as "2017" when VS2017 is being used.

As part of this, I discovered that GYP barfs with a "2017" value.
This is likely a limitation of the legacy version of GYP we have
vendored. Rather than go down the rabbit hole of upgrading GYP,
I added code to convert the value to "2015." This preserves existing
behavior and unblocks us from setting MSVS_VERSION properly. A
warning is emitted to remind us to remove this hack once GYP is
upgraded.

After this commit, we now generate native VS2017 solutions and
projects when building with VS2017.

MozReview-Commit-ID: BvNJX3F8qCn

--HG--
extra : rebase_source : 13a495856a83d9ca7afbb4770ebab1cc7f651cae
2017-06-14 16:52:55 -07:00
Chris Manchester 479795876a Bug 1370695 - Remove build system code handling binary components. r=glandium
MozReview-Commit-ID: BKHWR34vWsu

--HG--
extra : rebase_source : d870a222d393479bb8ede2aaec571299488806c0
2017-06-13 16:01:45 -07:00
Franziskus Kiefer d2014b373f Bug 1370890 - require NSS 3.32, r=me 2017-06-13 16:00:51 +02:00
Mike Taylor 3454a7b1c7 Bug 1368920. Part 1 - AC_SUBST MOZ_DEV_EDITION so it can be used in moz.build. r=ted
MozReview-Commit-ID: AghBiQ7CG4w

--HG--
extra : rebase_source : cdd4a682d120c1eef669860f36fa01f12001cf7a
2017-06-07 12:38:38 -05:00
Ryan VanderMeulen 5ca4cfab4f Bug 1371364 - Upgrade to SQLite 3.19.3. r=mak 2017-06-08 15:23:34 -04:00
Jean-Yves Avenard 484055c07b Bug 1370192: P2. Remove DirectShow's reader and relative. r=cpearce
MozReview-Commit-ID: ESYagjKpS5E

--HG--
extra : rebase_source : 6a267996f09deb11c8929cdb4f00f83a4bf02163
2017-06-05 13:04:27 +02:00
Stephen A Pohl 8692190b2e Bug 1367487: Change bundle name (CFBundleName) of content process on OSX/macOS to differentiate it from the Firefox bundle name. r=mstange,ted 2017-06-05 16:08:24 -04:00
Mike Shal 04a7d0565e Bug 1369866 - Use TOOLCHAIN_PREFIX when running dyldinfo; r=ted
The test in old-configure.in for MOZ_REPLACE_MALLOC_LINKAGE runs
dyldinfo, which is a native tool on OSX. We have it in the cross
toolchain as well, but as x86_64-apple-darwin11-dyldinfo. We should use
the TOOLCHAIN_PREFIX here to make sure we get the same result as native
builds.

MozReview-Commit-ID: 3jyzpaM8ZGy

--HG--
extra : rebase_source : fa0d2c1470f8d61b3f31c9a46609d8911ae2ff91
2017-06-02 16:09:11 -04:00
Tom Ritter 9d75725eb8 Bug 1350362 Fix NSS Build System for MinGW r=ted
MozReview-Commit-ID: 4QROlna5Cvg

--HG--
extra : rebase_source : a13c7080a6ee445bf3d10248305a6eb88405c173
2017-05-12 11:39:00 -05:00
Masatoshi Kimura 7e1cc0b6f1 Bug 1368260 - Enable warnings-as-errors for embedjs.py. r=glandium
js/src/builtin/Intl.js will spew three C4819 warnings every time non-Western
developers build the tree locally on Windows because of non-ASCII characters
in the file. Usually we have compilers use UTF-8 to prevent this, but it did
not work for Intl.js because embedjs.py did not pass around $CPPFLAGS.
--enable-warnings-as-errors did not catch this because embedjs.py did not
pass around warnings-as-errors flags either.

This patch will fix both issues.

MozReview-Commit-ID: 5D1TCGnIX1T

--HG--
extra : rebase_source : 9f353d46d0a5320f9a0b9be2aea11fb66d6a88b4
2017-05-27 22:38:43 +09:00
Mike Hommey d4a59a2d9d Bug 1368649 - Default to -O2 when building on Linux without PGO. r=gps
-Os generates smaller code, at the expense of performance. On desktop,
this tradeoff is not necessarily the best, especially when considering
the vast performance difference. Most downstream redistributors also
don't do PGO and don't override defaults, so they would tend to ship
slower builds as a consequence.

We however keep -Os as default for debug builds for now, because -O2
triggers -Werror=strict-overflow failures somehow.

--HG--
extra : rebase_source : ad2f4fedb7934b6b23b84412c86b30d29a8fb5f8
2017-05-31 06:19:38 +09:00
Wes Kocher 622c5de8c6 Backed out changeset d956ff86aaa6 (bug 1368649) for wError bustage on linux builds a=backout
MozReview-Commit-ID: DObINDiBa0F
2017-06-01 18:14:02 -07:00
Mike Hommey a9c8986f6c Bug 1368649 - Default to -O2 when building on Linux without PGO. r=gps
-Os generates smaller code, at the expense of performance. On desktop,
this tradeoff is not necessarily the best, especially when considering
the vast performance difference. Most downstream redistributors also
don't do PGO and don't override defaults, so they would tend to ship
slower builds as a consequence.

--HG--
extra : rebase_source : 7d66393d03b9424fdcc46874a09239ffe46cfb33
2017-05-31 06:19:38 +09:00
Ryan VanderMeulen 3b4c1cc790 Bug 1367892 - Upgrade to SQLite 3.19.2. r=mak 2017-05-25 17:03:46 -04:00