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

578 Коммитов

Автор SHA1 Сообщение Дата
Chris Manchester 732b66708f Bug 1414064 - Remove WRAP_LDFLAGS, it is never set in the build system. r=mshal
MozReview-Commit-ID: Da4a4JmaxoL

--HG--
extra : rebase_source : 837e83e6836ea25d64f013b2b16456f9f6bcb88f
2017-11-07 14:34:44 -08:00
Masatoshi Kimura 383e90a03b Backed out changeset 6555a2a899a0 (bug 1384557) due to causing bug 1414060. r=backout
MozReview-Commit-ID: FV44JQSDXPQ

--HG--
extra : amend_source : 8c05281fad889edd723ab58786d0bf16f7d325b0
2017-11-07 20:39:00 +09:00
Martin Thomson 195dbda63e Bug 1414735 - Upgrade Firefox to NSS 3.35, r=franziskus UPGRADE_NSS_RELEASE
MozReview-Commit-ID: 6hDnHCWVeWz

--HG--
extra : rebase_source : 4bf98010c7afefe9bc0f2da240bb676bd82496b6
2017-11-07 12:24:58 +11:00
Csoregi Natalia c1537027d2 Backed out 1 changesets (bug 1414735)
Backed out changeset f019d4ffff53 (bug 1414735)for failing Gtest TransportTest.TestCipherMismatch and Xpcshell dom/presentation/tests/xpcshell/test_tcp_control_channel.js tests on a CLOSED TREE r=backout UPGRADE_NSS_RELEASE
2017-11-06 12:27:00 +02:00
Martin Thomson 0cfea8948c Bug 1414735 - Upgrade Firefox to NSS 3.35, r=franziskus
UPGRADE_NSS_RELEASE

MozReview-Commit-ID: KRx6mpQC4rr

--HG--
extra : rebase_source : 1d28c3b4a50d3df02dd9e7a6564aa4e4c4bd2865
extra : amend_source : 060c22bd61acfbb2c63ba9d684539a2d30747cd9
2017-11-06 18:55:42 +11:00
Sebastian Hengst be1041c906 Backed out changeset f8eae610782a (bug 1414067) for Android build bustage at media/libstagefright/system/core/include/cutils/properties.h:61: use of undeclared identifier 'PROP_VALUE_MAX'. r=backout on a CLOSED TREE 2017-11-03 17:33:15 +01:00
Tom Ritter 3ad2a4dd91 Bug 1414067 Fix the compiler test for FORTIFY_SOURCE r=glandium
MozReview-Commit-ID: 8ozY0Zbuczx

--HG--
extra : rebase_source : d1e05783316126667a59e24e597951a9bbcd1b81
2017-11-02 16:25:30 -05:00
Jean-Yves Avenard 2f8b62c59a Bug 1295886 - P16. Enable FLAC C decoder on aarch64 machines. r=mshal
MozReview-Commit-ID: 9i3AaG5CGex

--HG--
extra : rebase_source : 2e6cc87d2e1629d5b44fd67627675c4460201023
2017-11-02 10:51:22 +01:00
Jean-Yves Avenard dae7070b4a Bug 1295886 - P14. Add arm neon and vfp optimized methods to ffmpeg. r=mshal
MozReview-Commit-ID: KMUZoDWoisi

--HG--
extra : rebase_source : a08eae842680b9d475bfc0afd2d569533dba676b
2017-11-02 01:48:00 +01:00
Jean-Yves Avenard 3f07325414 Bug 1295886 - P10. Add a FLAC only option to ffvpx. r=gerald
Remove the VP8 and VP9 decoder and the subsequently unused functions.

This drops the size to libmozavcodec to around 1MB down from 4MB.

MozReview-Commit-ID: Ge57fauG35L

--HG--
extra : rebase_source : 3f667d7bf89036e9b059727d846af2504ce488b3
2017-11-01 19:01:59 +01:00
Jean-Yves Avenard 391ca166f1 Bug 1295886 - P5. Add flac support on Android. r=gerald
For now this is a C decoder only and FFmpeg isn't optimised to only decode flac (both vp8 and vp9 C decoders code is included, however they aren't enabled).

MozReview-Commit-ID: 7ulwvJDJqVg

--HG--
extra : rebase_source : 7090eee32ba394224ef8c3c1c31abf1543b69975
2017-10-31 14:48:04 +01:00
Chris Manchester 857b599beb Bug 1411712 - Use AC_SUBST_LIST instead of AC_SUBST for vairables from configure contributing to LDFLAGS. r=mshal
MozReview-Commit-ID: 21jJY8oanQB

--HG--
extra : rebase_source : 5ba85c10bc64fd8817fda956dab3bc6965679eff
2017-11-02 11:47:48 -07:00
Sebastian Hengst 4ff29d14f8 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: GSDYk9wLOAM

--HG--
rename : browser/base/content/test/general/browser_bug561636.js => browser/modules/test/browser/formValidation/browser_form_validation.js
rename : browser/base/content/test/general/browser_bug595507.js => browser/modules/test/browser/formValidation/browser_validation_iframe.js
rename : browser/modules/test/browser/browser_bug1319078.js => browser/modules/test/browser/formValidation/browser_validation_invisible.js
2017-11-01 22:55:12 +01:00
Daniel Holbert 81f397dba2 Bug 1413348: Remove build system variable for no-longer-used/supported MOZ_HORIZON configuration. r=froydnj
MozReview-Commit-ID: upsiM9SnHl

--HG--
extra : rebase_source : 5397f8d36574c70546efb3d1b00cc2c7a236ac9c
2017-10-31 15:37:43 -07:00
Chris Manchester 1f6173e37c Bug 1405811 - Use AC_SUBST_LIST for various variables contributing to host compilation flags. r=mshal
MozReview-Commit-ID: 53JKycKlzY2

--HG--
extra : rebase_source : 34771971820d3d1178e0763860b6a41d02c45f86
2017-10-02 11:34:25 -07:00
Nick Alexander a562b72999 Bug 1221344 - Remove Fennec Search Activity. r=gueroJeff,sebastian,snorp
MozReview-Commit-ID: L7rihfeqvzH

--HG--
extra : rebase_source : 3170b86ef2c95e642c451c3e9bbe9db83bc9edcf
2017-10-19 14:14:36 -07:00
Chris Manchester 3bd4902247 Bug 1403346 - Move C{XX}FLAGS to mozbuild computed flags. r=glandium
This also introduces C{XX}_LDFLAGS variables which contain cflags that
are meant to be passed to the linker, and adds them to various linker
command lines in place of CFLAGS.

MozReview-Commit-ID: GyKlD9nMqrt
2017-10-25 15:12:09 -07:00
Chris Manchester 7539017f92 Bug 1403346 - Use AC_SUBST_LIST for various configure variables containing compile flags. r=glandium
MozReview-Commit-ID: 6BjKBSVGAw4
2017-10-25 15:11:54 -07:00
Chris Manchester a1d26e4177 Bug 1403346 - Make a separate variable used to append pgo flags to compile command lines. r=glandium
This commit establishes a separate variable to add PROFILE_GEN and PROFILE_USE
CFLAGS to compile and link command lines. Currently the make backend
orchestrates the pgo build steps and is the only thing aware of whether
we're in the profile generate or profile use stage. The flags are separated
here to allow other flags to be moved to mozbuild, but this will not yet
sufficient to perform a PGO build independent of the make backend.

MozReview-Commit-ID: IX30l2MvvNc
2017-10-25 15:10:04 -07:00
Chris Manchester 77827089d0 Bug 1403346 - Do not set unneeded CFLAGS variables during artifact builds. r=glandium
When we move to a shell aware split for AC_SUBST_LIST it will become an error
to emit an unquoted make variable reference. Currently this happens to only
occur during artifact builds when setting cflags related variables that aren't
needed there anyway, so here we skip settting those variables when a compile
environment isn't present.



MozReview-Commit-ID: EnHu48yyZ1C
2017-10-25 15:10:04 -07:00
Chris Manchester 94d7650a55 Bug 1403346 - Use AC_SUBST_LIST for OS_COMPILE_C{XX}FLAGS. r=glandium
MozReview-Commit-ID: Iz2slNFKR81
2017-10-25 15:10:04 -07:00
Chris Manchester 5c1a91facd Bug 1403346 - Expand references to the objdir in old-configure. r=glandium
MozReview-Commit-ID: LtReuXQwheR
2017-10-25 15:10:04 -07:00
Chris Manchester 5ce7957d0f Bug 1403346 - Use AC_SUBST_LIST for DSO_CFLAGS and DSO_PIC_CFLAGS r=glandium
MozReview-Commit-ID: 7aJ7uOR6tjO
2017-10-25 15:10:03 -07:00
Gregory Szorc ae7cf57366 Bug 1411081 - Move --enable-optimize/MOZ_OPTIMIZE to moz.configure; r=glandium
The Rust optimization logic is tied to --enable-optimize/MOZ_OPTIMIZE
and --enable-debug/MOZ_DEBUG. In order to more easily implement more
customization, let's move --enable-optimize/MOZ_OPTIMIZE to
moz.configure so its value can be consulted there.

The logic here is a bit wonky. The option behaves like a boolean
or a string. If a string, MOZ_OPTIMIZE is set to 2. Otherwise it
is 1 or unset depending on the boolean value.

The custom compiler flags string is passed to old-configure, where it
overwrites whatever old-configure derived as the default value.
We stop short of moving all references to MOZ_OPTIMIZE_FLAGS to
moz.configure because there are a handful of them and I don't want
to scope bloat.

MozReview-Commit-ID: 6iNDu2HwLGr

--HG--
extra : rebase_source : a64f1236012d13913f21253df1b9b5ff0ae8ea6e
2017-10-24 19:54:48 -07:00
Gregory Szorc b7a368158f Bug 1411081 - Move assignment of default value for MOZ_OPTIMIZE_FLAGS; r=glandium
It is now closer in the file to where other default values are computed.

MozReview-Commit-ID: BffCEb6FAUP

--HG--
extra : rebase_source : 81b17131f9330d89818a36ffff625b672c19c01e
2017-10-24 19:30:48 -07:00
Mike Hommey bf5c85e4ef Bug 1411156 - Set MOZ_DEBUG globally as both a CONFIG and a #define. r=mshal
Bug 1365460 introduced code paths behind MOZ_DEBUG #ifdefs, but
MOZ_DEBUG is never defined, while it is available in CONFIG in
moz.builds. This is kind of a confusing situation, but the fact that
we've been able to avoid those problems for so long would tend to
put the blame on mozjemalloc, and fixes should go there.

Except that bug 1261161 explains that the only existing alternative
(the DEBUG #define), as used in MFBT, is not working for spidermonkey,
so it actually makes sense to converge to MOZ_DEBUG rather than DEBUG.

So start defining MOZ_DEBUG globally, fixing the mozjemalloc issues of
not having the debug code enabled. Bug 1261161 can then take care of
changing the DEBUG #ifdefs.

--HG--
extra : rebase_source : 37e3d03ac8350c62c8059d4ca01d1ecfdf5f421a
2017-10-24 14:07:37 +09:00
Ted Mielczarek 54b6236e29 bug 1384557 - move _DEPEND_CFLAGS+CL_INCLUDES_PREFIX to toolchain.configure, ignore {CC,CXX}_WRAPPER when using sccache r=glandium
Currently mozconfig.cache overrides a few build options for sccache. This
patch moves them into toolchain.configure so that the build system will
set them properly when sccache is in use. Additionally, {CC,CXX}_WRAPPER
are set in config.mk, so just avoid setting them when sccache is in use.

MozReview-Commit-ID: FYlVKRI8OiN

--HG--
extra : rebase_source : 00715beb5fbd2c11311dec43809bd1febab56a11
extra : intermediate-source : 0f2b1b75b83737378d882a3c3e0d8dfb4efecd1f
extra : source : a8032ae9cb2ad1c4574c6ac6f5c2778863cd71e0
2017-01-10 16:52:27 -05:00
Tom Ritter 47a066f95e Bug 1359908 Add FORTIFY_SOURCE to gcc and clang builds by default r=froydnj
This adds a section in both old-configure.in's for hardening flags.

In old-configure.in we add $HARDENING_CFLAGS (which are turned on by
--enable-hardening) and are defined in toolchain.configure (and
which does compiler detection there.) We then add non-optional
hardening flags, performing compiler detection here.

In js/src/old-configure.in we follow the same pattern, but omit
$HARDENING_CFLAGS because we don't apply the current lone flag
to js (doing so is Bug 1359905).

MozReview-Commit-ID: EFE0Pc7yZHa

--HG--
extra : rebase_source : f793e665cabe3d33bdc73fc8a68208d69b55137a
2017-10-19 01:43:07 -05:00
Nick Alexander af26e68984 Bug 1366644 - Part 3a: Update Android build-tools (25.0.3), Gradle (3.4.1), Android-Gradle (2.3.3). r=maliu
The goal is to use a newer Android-Gradle build plugin version (2.3.3
is latest stable).  That requires a modern Gradle (anything 3.3+, but
3.4.1 is the default from my Android Studio), and also a newer
build-tools (25.0.3 is latest stable).

The locations of lint output changed, and we want to use the standard
output location because it's difficult to accommodate variant details
in custom names.  We change the location of findbugs output to follow
suit.

This requires either:

- fixing lint errors
- adding to the lint whitelist
- using the new lint baseline

It's best to use the new lint baseline, which will happen in the next commit.

MozReview-Commit-ID: D19FzIDCJrE

--HG--
extra : rebase_source : 12d132c0c3e0dbe2b8873b31360ea96d612de44c
2017-10-16 15:09:15 -07:00
Mike Hommey 1c51789e7e Bug 1407468 - Only build js/src when building toolkit. r=mshal
--HG--
extra : rebase_source : 3112ad271f23e8d01dfbe9141ec2b4bdd80f3748
2017-10-05 11:30:18 +09:00
Mike Hommey 2998d3dcc4 Bug 1407468 - Only enable necko-wifi by default when toolkit is built. r=mshal
--HG--
extra : rebase_source : 08694286f5f55242ae2581b7e69439d6ebc78ecb
2017-10-05 11:41:25 +09:00
Jan Henning a31bec0c1f Bug 1407029 - Accept Android lint dependencies from SDK versions 26.0.0*. r=nalexander
MozReview-Commit-ID: GHMRossAUaB

--HG--
extra : rebase_source : c4ad6eddd4436c6169b98913a5aa9e085e15a70e
2017-10-09 21:54:54 +02:00
Mike Hommey 4d379e455b Bug 1403366 - Remove the --with-default-mozilla-five-home configure flag. r=froydnj
--HG--
extra : rebase_source : 354efac644a7fdeea507c0e87cf44183d773413d
2017-09-28 11:02:45 +09:00
Franziskus Kiefer ec342f99ce Bug 1401594 - bump NSS version to 3.34, r=me
MozReview-Commit-ID: AFEfImt8iv

--HG--
extra : rebase_source : c760f256449893247227cd7088f5c059f21502ff
2017-10-04 10:50:19 +02:00
Glenn Randers-Pehrson 16b91208a6 Bug 1402057 - Update in-tree libpng to version 1.6.34. r=jrmuizel 2017-09-30 16:53:00 -04:00
Sebastian Hengst 6692d1c565 Backed out changeset a4914a29fb26 (bug 1330142) 2017-10-03 18:26:38 +02:00
Nathan Froyd 7ae1b94b0c Bug 1330142 - part 2 - move TARGET_XPCOM_ABI to moz.configure; r=chmanchester
Nothing in js/ uses TARGET_XPCOM_ABI, so the code in js's configure is
dead.  Since TARGET_XPCOM_ABI is a Gecko-only thing, the reasonable
place for it is toolkit/moz.configure.

TARGET_XPCOM depends on TARGET_COMPILER_ABI, and the value of
TARGET_COMPILER_ABI is easily derivable from the current target and
compiler.  The only notable change we make in the conversion to
moz.configure is that the ARM old-ABI is no longer supported by any of
our current targets: Android and Linux for ARM targets are both
exclusively EABI nowadays, so we have one less case to worry about.
TARGET_COMPILER_ABI's sole purpose was to provide information for
TARGET_XPCOM_ABI, and since we are deriving TARGET_XPCOM_ABI exclusively
inside moz.configure, we can remove TARGET_COMPILER_ABI.
2017-10-03 10:33:44 -05:00
Sebastian Hengst 863d9030ca Backed out changeset 48a74b8750b4 (bug 1403366) 2017-09-29 17:19:22 +02:00
Mike Hommey 4c9ac7836e Bug 1403366 - Remove the --with-default-mozilla-five-home configure flag. r=froydnj
--HG--
extra : rebase_source : e2723771fb76392269ea27de00c590e2e2bc6d9b
2017-09-28 11:02:45 +09:00
Mike Shal 43b9ff721e Bug 1402404 - Remove HAVE_CPP_PARTIAL_SPECIALIZATION from non_global_defines; r=chmanchester
Use of this define was removed in bug 866988, but is still listed in
non_global_defines.

MozReview-Commit-ID: BIiwlxL6i7i

--HG--
extra : rebase_source : 76488041e4144eccc63854a9267bd42adf3b4a85
2017-09-22 13:46:12 -04:00
Chris Manchester 68ede80645 Bug 1401654 - Move MOZ_WEBRTC and some related defines to moz.configure. r=mshal
MozReview-Commit-ID: Kp7lCLqJ6FH

--HG--
extra : rebase_source : f2f9d3fb85e1c22df6c0c7cee3072e54a8b8b3e0
2017-09-20 16:29:39 -07:00
Ting-Yu Lin 985a397720 Bug 1281101 Part 3 - Remove MOZ_ENABLE_MASK_AS_SHORTHAND in old-configure.in. r=ted
MozReview-Commit-ID: 5LoLlZN7yuv

--HG--
extra : rebase_source : c6293275f8f9a37a9c8192dfec521f15c6965ed7
2017-09-21 17:41:25 +08:00
Kai Engert 3d4de91391 Bug 1393854, land NSPR_4_18_RTM, no code change, only version numbers, r=me
UPGRADE_NSPR_RELEASE
DONTBUILD
2017-09-19 18:43:02 +02:00
Liang Wei 6b9969cba4 Bug 1120444 - Use fdatasync properly instead of fsync where appropriate. r=glandium
MozReview-Commit-ID: 4ObwOvWhrhx

--HG--
extra : rebase_source : 25c5a97458c485bd314397847823f11d4bf02019
2017-09-01 09:03:22 +02:00
Wes Kocher 05c4aba599 Merge m-c to autoland, a=merge CLOSED TREE
MozReview-Commit-ID: 2dRRh6JLTIL
2017-09-11 15:21:36 -07:00
Jon Coppeard a2c208aafe Bug 1396156 - Define MOZ_DEV_EDITION for js/src. r=ted 2017-09-08 04:27:00 -04:00
Chris Manchester e059037e2b Bug 1386876 - Add classes to handle compile flags computed by moz.build with templates, convert 'DISABLE_STL_WRAPPING' to use them. r=glandium
MozReview-Commit-ID: 3PYOtX4E8OC

--HG--
extra : rebase_source : 162999582bc2ef078680ce6feae628d5b1f4e857
2017-04-28 16:35:19 -07:00
Ryan VanderMeulen 4febc79b28 Bug 1393526 - Upgrade to SQLite 3.20.1. r=mak 2017-08-24 14:50:48 -04:00
Sebastian Hengst 75955d0246 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 8fJX1xXgzhD
2017-08-22 11:49:04 +02:00
Nevin Chen 7ef4d3ebee Bug 1391575 - Move MMA GCM sender ID to config file r=maliu,nalexander
MozReview-Commit-ID: Iro4cszQrpF

--HG--
extra : rebase_source : 640614062d699413afdf15c29606a3bfff2d461b
2017-08-18 18:12:11 +08:00