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

788 Коммитов

Автор SHA1 Сообщение Дата
Mike Hommey bb2afff5c1 Bug 1425381 - Always enable PIE on Android now that we support only >= 4.1. r=froydnj
--HG--
extra : rebase_source : c73d77ab1274b2dd54a3785a6d77c6e8dcb69f87
2018-01-11 10:42:15 +09:00
Mike Hommey 083542c950 Bug 1429282 - Explicitly link against a bunch of OSX frameworks we end up linking. r=gps
The OSX linker apparently decides on its own to link against system
frameworks. We end up with libxul linked to 6 frameworks that were never
given on the command line, and we do use symbols from those.
Interestingly, for those frameworks that don't appear on the command
line, there is no determinism in how stubs for lazy bindings (equivalent
to Linux's PLT, AIUI) are laid out in the binary. But for those that do
appear on the command line, the layout is deterministic.

So add those frameworks to the command line.

With this change, the remaining difference between two builds of the
same changeset on try is due to symbol tables for profiling. Stripping
those (like we do on beta/release) produces no differences.

--HG--
extra : rebase_source : 151342f3c0067c16c26e111247f6da58f4b639be
2018-01-10 11:22:10 +09:00
Sylvestre Ledru ff19deaa32 Bug 1423856 - Backed out changeset 411a410f23b4. Seems that bug 1424294 wasnt' enough to fix it r=me 2017-12-22 21:36:17 +01:00
Andreea Pavel 78bc55ae1f Merge inbound to mozilla-centra r=merge a=merge 2017-12-22 11:54:07 +02:00
Mike Hommey cffd7e8396 Bug 1426555 - Move --enable-stdcxx-compat to python configure. r=chmanchester
At the same time, we make it actually do something on spidermonkey
builds. We also add an environment variable alternative, that we use
in mozconfig.stdcxx, allowing for mozconfig.no-compile to override it
and avoid configure failures on e.g. artifact builds.

--HG--
extra : rebase_source : b68d362025e0c99f9184a03391c652ec2c9357ad
2017-12-21 11:13:08 +09:00
Mike Hommey ec8fa73867 Bug 1426555 - Allow to add host compiler flags from python configure. r=chmanchester
Bug 1325632 added some facility to add target compiler flags. This
change extends it to add allow adding host compiler flags as well.

--HG--
extra : rebase_source : 424b405a1d8f9a4778ff75c3308c9622f050e194
2017-12-21 11:11:22 +09:00
David Major 58e7ba18e5 Bug 1426198: Skip the linker version check in lld builds. r=glandium 2017-12-20 10:28:24 -05:00
David Major 18a5250f02 Bug 1425906: Rename LINK to LINKER throughout the build system. r=glandium
Windows linkers give special meaning to getenv("LINK"), which makes `export LINK=...` in mozconfigs do unexpected things.
2017-12-20 09:07:46 -05:00
Nathan Froyd de9853b2ff Bug 1425035 - move --enable-ui-locale to moz.configure; r=gps
We need MOZ_UI_LOCALE even when building the JS shell so
config/config.mk variable assignments don't run into issues.  But it
doesn't make any sense to configure a UI locale for the JS shell.  So
make --enable-ui-locale a normal `option`, but give it a `default`,
which is the value shell-only builds will always see.

--HG--
extra : amend_source : 047759dd6ec446d9d6f8f5992ed9cf6628ce859e
2017-12-18 14:21:26 -08:00
Nathan Froyd 6d4a891a5f Bug 1422859 - move MOZILLA_*VERSION setting into moz.configure; r=chmanchester
This has the virtue of not executing python three times during configure
just to read the same value of milestone.txt and munge it.  We can also
remove milestone.py as a happy side effect, so all the milestone
computations can be done in init.configure.
2017-12-04 11:19:25 -05:00
Nathan Froyd 74128f6578 Bug 1422852 - remove D_INO setting from configure; r=chmanchester
We only had this "for flexibility with other platforms", but given that
we set it to the same thing for all platforms, and nobody has tried to
change that, this flexibility isn't actually needed.
2017-12-04 08:18:00 -05:00
Andreea Pavel 88a00ab51b Backed out 5 changesets (bug 1418425) for Windows updater bustages and xpshell failures on toolkit/mozapps/update/tests/unit_base_updater/marSuccessPartial.js r=backout on a CLOSED TREE
Backed out changeset 228743018ded (bug 1418425)
Backed out changeset f29f7bb3059a (bug 1418425)
Backed out changeset 1d798e14223b (bug 1418425)
Backed out changeset fd4af65bf966 (bug 1418425)
Backed out changeset 656649ecfb11 (bug 1418425)

--HG--
extra : amend_source : 686bbebdb6f490496f9c69ccff4ac22bbb495ad5
2017-12-12 17:48:45 +02:00
Sylvestre Ledru 87099dcb69 Bug 1418425 - Remove libbz2 files as we were only using it for crc32 as the updater moved to lzma r=glandium
MozReview-Commit-ID: 8Sz8vtV0b5G

--HG--
extra : rebase_source : dfe12a9c531814ae5fd058f6def7a115d4fe7dac
2017-11-24 16:45:47 +01:00
Tom Prince 1d74db87ce Bug 1424651: Remove unused SOCORRO_SYMBOL_UPLOAD_TOKEN_FILE mozconfig variable; r=ted.mielczarek
MozReview-Commit-ID: CkIg3fiwp1z

--HG--
extra : rebase_source : 5a4a50c8feb477a9b50c30e35b72a316b1f1bc8c
2017-12-10 23:05:05 -07:00
Dorel Luca 2f271a1136 Backed out 4 changesets (bug 1424651) as requested by tomprice r=backout on a CLOSED TREE
Backed out changeset 10ebf78f32bb (bug 1424651)
Backed out changeset 746d96792d18 (bug 1424651)
Backed out changeset 6038fb7b458c (bug 1424651)
Backed out changeset 189fd4f1df41 (bug 1424651)
2017-12-12 06:33:18 +02:00
Tom Prince 4dfc8f7a46 Bug 1424651: Remove unused SOCORRO_SYMBOL_UPLOAD_TOKEN_FILE mozconfig variable; r=ted.mielczarek
MozReview-Commit-ID: CkIg3fiwp1z

--HG--
extra : rebase_source : 475e2d8888ff4b93efa9886581de9d145b51c51c
2017-12-10 23:05:05 -07:00
Gurzau Raul 91d3bc0100 Merge inbound to mozilla-central r=merge a=merge 2017-12-09 00:36:15 +02:00
Ryan VanderMeulen 01e424a4bc Bug 1423649 - Fix compiler errors that happen when building with VS2017 15.5. r=rillian 2017-12-08 10:40:08 -05:00
Cosmin Sabou c3a26ac81a Backed out changeset 1ee72d1a9430 (bug 1418052) for Linux x64 asan build bustages on /builds/worker/workspace/build/src/config/recurse.mk:32 r=backout on a CLOSED TREE 2017-12-08 13:44:13 +02:00
Tom Ritter 45ec0ac30c Bug 1418052 Correctly process hardening flags for ASAN, --disable-hardening, and --disable-optimize r=decoder,glandium
Will also address Bug 1377553 and part of Bug 1419607

MozReview-Commit-ID: AUCqBxEGpAl

--HG--
extra : rebase_source : f7582d7089f0f4582a02aeaef090dc0701df994d
2017-11-20 22:20:56 -06:00
Henri Sivonen b1be86855c Bug 1423846 - Remove configure script checks for iconv and mbrtowc/tcrtomb. r=glandium
MozReview-Commit-ID: LCQ0yoSsvi1

--HG--
extra : rebase_source : c8dfc9adac65be4f3404ca91bd3b1cd792bd9c7d
2017-12-07 14:06:53 +02:00
Sylvestre Ledru fc575c2f27 Bug 1423856 - Remove the space in the .app files to fix a potential update issue r=glandium
MozReview-Commit-ID: 5lpe1or6Hod

--HG--
extra : rebase_source : eecf06f83f9ab0257d768c01eaa3452fa914f3d9
2017-12-07 23:39:30 +01:00
Jean-Yves Avenard cfa7a324aa Bug 1331696 - P1. Remove WebSpeech Pico service. r=chmanchester,eeejay
It's no longer used, and won't be able to work with the removal of speech synth direct audio support.

MozReview-Commit-ID: BMdeRJHes0R

--HG--
extra : rebase_source : 9f45b360d27f8013ef229eba79e9d9921d0fdb26
2017-12-02 09:17:39 +01:00
arthur.iakab 4dcbca110a Backed out 3 changesets (bug 1331696) for failing browser chrome on toolkit/components/narrate/test/browser_narrate.js r=backout on a CLOSED TREE
Backed out changeset 4f5d0c5f191b (bug 1331696)
Backed out changeset ce87e2d2f1db (bug 1331696)
Backed out changeset e2c5f5afb6fc (bug 1331696)
2017-12-07 00:25:35 +02:00
Jean-Yves Avenard 7dc06780fc Bug 1331696 - P1. Remove WebSpeech Pico service. r=chmanchester,eeejay
It's no longer used, and won't be able to work with the removal of speech synth direct audio support.

MozReview-Commit-ID: BMdeRJHes0R

--HG--
extra : rebase_source : 9f45b360d27f8013ef229eba79e9d9921d0fdb26
2017-12-02 09:17:39 +01:00
Sylvestre Ledru 06be3310e3 Bug 1407285 - Support spaces in MOZ_MACBUNDLE_NAME and in various Makefile and tools r=glandium
MozReview-Commit-ID: Eda1qiPCTJ0

--HG--
extra : rebase_source : 1766fd1c1b78244161efce0b6db8b58dd2ec2009
2017-11-28 23:21:54 +01:00
Sebastian Hengst 8faace1526 Backed out changeset 9fff8b2fcf78 (bug 1407285) for L10n bustage. r=backout a=backout 2017-12-05 01:28:11 +02:00
Bogdan Tara ebe0a1a20c Merge inbound to mozilla-central r=merge a=merge 2017-12-04 22:20:49 +02:00
Nathan Froyd ec3249906a Bug 1422607 - move PREPROCESS_OPTION to moz.configure; r=chmanchester 2017-12-04 08:14:06 -05:00
Sylvestre Ledru 250a624c2a Bug 1407285 - Support spaces in MOZ_MACBUNDLE_NAME and in various Makefile and tools r=glandium
MozReview-Commit-ID: Eda1qiPCTJ0

--HG--
extra : rebase_source : c85c5e8bfb5a0f0dc673ea0b6fce1ac1162d9497
2017-11-28 23:21:54 +01:00
Jean-Yves Avenard c5a31b73d7 Bug 1420165 - Enforce objective-c/c++ language type when compiling .m/mm files. r=ted
This work around is required when using icecream distributed compilers. Icecream doesn't pass the original filename that would allow the remote clang to automatically determine the language type.

MozReview-Commit-ID: LMs022jDkPt

--HG--
extra : rebase_source : d3d43c29f0e2cf91a29677a1e827463f9e0a9f1d
2017-11-24 12:36:04 +01:00
Sylvestre Ledru 6b2451834b Bug 1423856 - Backed out changeset 3f6d2b219c78. Fixed in bug 1424294 r=me 2017-12-21 22:13:18 +02:00
Dorel Luca 3d27ce2abc Backed out changeset 5d8ae8c4ee4a (bug 1423856) for failing Browser-chrome on toolkit/xre/test/browser_checkdllblockliststate.js on a CLOSED TREE 2017-12-21 21:02:38 +02:00
Sylvestre Ledru 7819c31d06 Bug 1423856 - Backed out changeset 3f6d2b219c78. Fixed in bug 1424294 r=me
--HG--
extra : histedit_source : ee2cbb87a07959db218d83014e66cd434105778f
2017-12-18 14:53:06 +01:00
Cosmin Sabou 1204c668a2 Backed out 5 changesets (bug 1423856, bug 1404796, bug 1378834, bug 1404823) for build bustages on compare-mozconfigs-wrapper.py r=backout on a CLOSED TREE
Backed out changeset 8d8bb8542b3d (bug 1423856)
Backed out changeset 42339ef2360c (bug 1404796)
Backed out changeset 75fd371db04b (bug 1404823)
Backed out changeset 3011254797d5 (bug 1378834)
Backed out changeset c76ad732c275 (bug 1378834)
2017-12-21 00:52:28 +02:00
Sylvestre Ledru 3635c8d960 Bug 1423856 - Backed out changeset 3f6d2b219c78. Fixed in bug 1424294 r=me
--HG--
extra : rebase_source : 27916ba352398d292404466c8a71490905d10650
extra : histedit_source : 49daf53778ccac34880220f7acbcb4157bdca4ad
2017-12-18 14:53:06 +01:00
Petr Sumbera fb96ead697 Bug 1419321 - Linking on Solaris is missing -L${DIST}/bin. r=chmanchester 2017-11-21 01:13:01 -08:00
Gabriele Svelto 0a82b2b0c6 Bug 1418398 - Always un-define _FORTIFY_SOURCE before defining it; r=glandium
MozReview-Commit-ID: 6yN6kA0jQWg

--HG--
extra : rebase_source : 6b805851198fac42e556361557ea6e0524e0ff82
2017-11-20 14:41:35 +01:00
Sylvestre Ledru 903d326169 Bug 1406662 - When defined in the configure.sh, use the MOZ_MACBUNDLE_ID r=glandium
Preserving the MOZ_MACBUNDLE_ID will avoid issue related to bundle identifier

MozReview-Commit-ID: IDIZGl6usXA

--HG--
extra : rebase_source : b01934cdf8a42d805ae467cc08b5beafb02c0732
2017-11-16 09:44:35 +01:00
Tom Ritter aa8fffed76 Bug 1417452 Do not add FORTIFY_SOURCE if --enable-optimize is not set r=glandium
MozReview-Commit-ID: EMjeTvqdME3

--HG--
extra : rebase_source : 86be082ff0fa63099cb54f6665e0cdd8aec8ed49
2017-11-16 13:42:20 -06:00
Mike Hommey 6e39384683 Bug 1417689 - Move elfhack related things to python configure. r=nalexander 2017-11-16 09:37:31 +09:00
Ryan VanderMeulen 6f628fbb68 Bug 1411417 - Upgrade to SQLite 3.21.0. r=mak
--HG--
extra : rebase_source : c6b3dac3cb1bd25edb2a46f7b9c7c60ddc1760af
2017-11-15 18:40:32 -05:00
Mike Hommey 2d81d309b4 Bug 1417309 - Only build elfhack when building a toolkit-based application. r=nalexander 2017-11-16 08:37:31 +09:00
Nathan Froyd f51359bd19 Bug 1325632 - part 5 - ensure that we compile with -fno-sized-deallocation when possible; r=chmanchester
We currently turn off the C++14 sized-deallocation facility on MSVC, and
we'd like to ensure we do the same thing for clang and gcc.  To do so,
we add new functionality to moz.configure for checking and adding
compilation flags, similar to the facility for checking and adding
warning flags.  The newly added facility is then used to add
-fno-sized-deallocation to the compilation flags, when the option is
supported.

Once we do this, we can't define the sized deallocation functions in
mozalloc.h; the compiler will complain that we are using
-fno-sized-deallocation, yet defining these special functions that we'll
never use.  These functions were added for MinGW, where we needed to
compile with C++14 ahead of other platforms to be compatible with MSVC
headers.  But they're no longer necessary, though they would be if we
removed -fno-sized-deallocation; the compiler will complain if we do
that and we'll add them back at that point.
2017-11-15 14:53:16 -04:00
Noemi Erli f24a75f9b7 Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE 2017-11-15 12:15:40 +02:00
Chris Peterson 768b96f58b Bug 1415470 - build: Enable VS2017 C5038 initializer list order warnings (like gcc -Wreorder). r=glandium
C5038 is a new warning in VS2017, similar to gcc and clang's -Wreorder, which is enabled by -Wall. We should enable C5038 so Windows developers can see these warnings locally instead of when gcc and clang fail with warnings-as-errors on Try.

https://blogs.msdn.microsoft.com/vcblog/2017/07/21/diagnostic-improvements-in-vs2017-15-3-0/

We need to suppress C5038 warnings from Windows Runtime Library header files (wrl.h) included in ANGLE and widget/windows:

z:\build\build\src\vs2017_15.4.2\SDK\Include\10.0.15063.0\winrt\wrl\wrappers\corewrappers.h(515): error C5038: data member 'Microsoft::WRL::Wrappers::Details::SyncLockWithStatusT<Microsoft::WRL::Wrappers::HandleTraits::SemaphoreTraits>::sync_' will be initialized after data member 'Microsoft::WRL::Wrappers::Details::SyncLockWithStatusT<Microsoft::WRL::Wrappers::HandleTraits::SemaphoreTraits>::status_'
...

And suppress C5038 warnings in upstream webrtc code:

media/webrtc/trunk/webrtc/modules/video_capture/windows/BaseFilter.cpp(176): error C5038: data member 'mozilla::media::BaseFilter::mClsId' will be initialized after data member 'mozilla::media::BaseFilter::mState'
media/webrtc/trunk/webrtc/modules/video_capture/windows/BasePin.cpp(169): error C5038: data member 'mozilla::media::BasePin::mFilter' will be initialized after data member 'mozilla::media::BasePin::mLock'
media/webrtc/trunk/webrtc/modules/video_capture/windows/BasePin.cpp(170): error C5038: data member 'mozilla::media::BasePin::mLock' will be initialized after data member 'mozilla::media::BasePin::mName'
media/webrtc/trunk/webrtc/modules/video_capture/windows/BasePin.cpp(172): error C5038: data member 'mozilla::media::BasePin::mDirection' will be initialized after data member 'mozilla::media::BasePin::mQualitySink'

MozReview-Commit-ID: BMDVkvQXNoq

--HG--
extra : rebase_source : 0d5ede9530d0d0750b8fffdc1cdfdc646ec8f22a
2017-11-07 19:52:10 -08:00
Chris Peterson fecbada13a Bug 1415470 - build: Remove always-true version check for VS >= 2015. r=glandium
MozReview-Commit-ID: 1e4Xsw3U3LR

--HG--
extra : rebase_source : 72a94b544027ec9b1a4993f924dfc9490d37ff87
2017-11-10 18:24:53 -08:00
Tom Ritter d86bb6f599 Bug 1414067 Fix the compiler test for FORTIFY_SOURCE r=glandium
MozReview-Commit-ID: 8ozY0Zbuczx

--HG--
extra : rebase_source : 7c99ea332b0da1ac20ec1037fb0dc4ac9088d8f8
2017-11-14 12:13:30 -06:00
Chris Manchester 0ae43c13af Bug 1416490 - Backed out changeset 6a412222f22e (bug 1320738) in favor of fixing the underlying issue. r=glandium
MozReview-Commit-ID: 5JaoquWq5Jj

--HG--
extra : rebase_source : 70f3cff23ab7d4d0f0e79d1cf207b0462c355ce0
2017-11-13 23:34:20 -08:00
Chris Manchester 72c380c671 Bug 1416059 - Emit ASFLAGS and YASM_ASFLAGS from configure as lists. r=mshal
MozReview-Commit-ID: LBWpzQ9mISI

--HG--
extra : rebase_source : 4c722e68db4b6858aabbbecac834ea8772e0e06a
2017-11-14 10:38:17 -08:00
Andreea Pavel a1061f09c5 Backed out 2 changesets (bug 1416059) for failing /python/mozbuild/mozbuild/test/frontend/test_emitter.py::TestEmitterBasic::test_use_yasm r=backout on a CLOSED TREE
Backed out changeset 597624409f4c (bug 1416059)
Backed out changeset d0df69766fa5 (bug 1416059)
2017-11-14 20:44:54 +02:00
Chris Manchester 4dca13b1ae Bug 1416059 - Emit ASFLAGS and YASM_ASFLAGS from configure as lists. r=mshal
MozReview-Commit-ID: LBWpzQ9mISI

--HG--
extra : rebase_source : f4074f4bdb0acddceeb57d9806c9a7f63a579280
2017-11-13 14:13:11 -08:00
Nathan Froyd 6dbf81d94f Bug 1320738 - export MOZ_PGO for js/src subconfigure; r=gps
Environment variables for configure don't get automatically propagated
down to js/src on Windows because mingw. So we have to take extra steps.

--HG--
extra : amend_source : fc123e7439ebbf97884eeb56af8409c7b3294b21
2017-11-10 20:08:49 -08:00
Nathan Froyd 4d60ad6f66 Bug 1341234 - part 3 - add various system library CFLAGS to BINDGEN_SYSTEM_FLAGS; r=gps
This change ensures that folks who configure --with-system-FOO for
various values of FOO can build Stylo, since bindgen will know where to
find the flags for said FOO packages.
2017-11-10 10:05:36 -05:00
Nathan Froyd 17b6101551 Bug 1341234 - part 2 - add an intermediate step for determining bindgen's CFLAGS; r=gps
Add an intermediate step in old-configure.in for setting up
BINDGEN_CFLAGS (renamed to BINDGEN_SYSTEM_FLAGS), so we can add whatever
flags we like (e.g. for system libaries with their includes in
non-standard places) at a later point.
2017-11-10 10:05:36 -05:00
Sebastian Hengst a353221537 merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-11-09 00:00:16 +02:00
Franziskus Kiefer 714a126090 Bug 1401594 - land NSS NSS_3_34_BETA2 UPGRADE_NSS_RELEASE, r=me
MozReview-Commit-ID: IZcYFTH0x9o

--HG--
extra : rebase_source : 224952488b3e4beef03d707aa43c17a095df02f9
2017-11-08 11:44:14 +01:00
Valentin Gosu 132162d150 Bug 1415206 - Remove RustURL from Gecko r=bagder
This class isn't being used right now, and MozURL is a much better alternative if interaction with rust URLs is required.

MozReview-Commit-ID: ADdYRrrTnr6

--HG--
extra : rebase_source : b36aa26c20e7daaadab1f3360bab0ed4681eb7f8
2017-11-07 17:11:08 +01:00
Jean-Yves Avenard ee1feb36a7 Bug 1412558 - P2. Disable ffvp8 and ffvp9 decoders on Unixes 32 bits. r=mshal
The system ffmpeg will be used instead or libvpx if not found.

MozReview-Commit-ID: GX5WWPOhPq9

--HG--
extra : rebase_source : 3eec2ee1bc3b66d88653b913d6d1b3ad1a5d5acd
2017-11-06 17:57:48 +01:00
Chris Manchester 77480a3b4d Bug 1414064 - Move BIN_FLAGS to MOZ_PROGRAM_LDFLAGS, get rid of BIN_FLAGS. r=mshal
MozReview-Commit-ID: ELTiYvh6iuS

--HG--
extra : rebase_source : 1547fa9b247649a485c4d31f8bdb7db05a50e043
2017-11-07 14:34:44 -08:00
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
Ryan VanderMeulen c44c375e1a Bug 1386401 - Upgrade to SQLite 3.20.0. r=mak
--HG--
extra : rebase_source : 6a5cfc168b4d2ecef1e472b7b10b2db70c6e2e9c
2017-08-21 11:08:13 -04:00
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
Ryan VanderMeulen 30caacbb11 Merge inbound to m-c. a=merge 2017-05-24 16:32:59 -04:00
Ben Hearsum 40c77afec8 bug 1357808: switch mozilla-central fennec builds to org.mozilla.fennec_aurora id and add new builds for org.mozilla.fennec. r=aki,sylvestre,jlorenzo a=dawn 2017-05-24 15:27:40 -04:00
Ryan VanderMeulen dfcc5830e0 Bug 1366854 - Upgrade to SQLite 3.19.1. r=mak 2017-05-24 13:12:00 -04:00
Ben Hearsum e815bd14cc Backout bug 1357808 for android mochitest bustage. 2017-05-24 12:32:03 -04:00
Ben Hearsum 6803270aa6 bug 1357808: switch mozilla-central fennec builds to org.mozilla.fennec_aurora id and add new builds for org.mozilla.fennec. r=aki,sylvestre,jlorenzo a=dawn
--HG--
extra : amend_source : d9338464f772e662701936d575248769cb996039
2017-05-24 10:40:07 -04:00
Bruce Sun 30306bfc32 Bug 1358023: (2/2) Build freetype2 by using moz.build; r=glandium 2017-05-22 12:02:14 +08:00
Wes Kocher 90573b0612 Merge m-c to autoland, a=merge
MozReview-Commit-ID: FYdNNRDmEla
2017-05-18 17:21:30 -07:00
Mike Hommey 92ba43731c Bug 1365460 - Replace MOZ_MEMORY_DEBUG, MALLOC_DEBUG and !MALLOC_PRODUCTION with MOZ_DEBUG. r=njn
--HG--
extra : rebase_source : eeae81907bb80f78d0ab83343cc514f483d5ddc0
2017-05-18 10:22:20 +09:00
Petr Sumbera 3bc1dfc299 Bug 1364066 - Re-enable bundled NSS on Solaris. r=glandium 2017-05-11 06:14:57 -07:00
Petr Sumbera 421cbf7a04 Bug 1365620 - Option -rpath-link is not supported by Solaris linker. r=glandium 2017-05-17 08:03:02 -07:00
Paolo Amadini c0c0f3b8e5 Bug 1364050 - Part 1 - Remove the MOZ_JSDOWNLOADS configure option. r=mak
MozReview-Commit-ID: B73Ym5tD06R

--HG--
extra : rebase_source : 693137f9996790a780d8ca2eaf952e8747c75246
2017-05-05 12:16:42 +01:00
Mike Hommey 782725e19a Bug 1363992 - Remove jemalloc 4. r=njn
--HG--
extra : rebase_source : 9794320e96279cbb8b7b66db6720c959eaa6a95b
2017-05-11 13:23:07 +09:00
Mike Hommey 1a9d4c6f33 Bug 1363992 - Remove support for system jemalloc. r=njn
--HG--
extra : rebase_source : 9141402b6f9e84c67afc14303633d328eb5b652c
2017-05-11 13:03:20 +09:00
Nick Alexander 14dd745141 Bug 1365060 - Move MOZ_{NATIVE_DEVICES, INSTALL_TRACKING} to moz.configure. r=chmanchester
This intentionally allows to set MOZ_INSTALL_TRACKING without
reference to the milestone being release or beta.  That is, we
separate the default value (which depends on release or beta) from the
value specified, making life easier for developers.

MozReview-Commit-ID: 3vPF7KO7fEX

--HG--
extra : rebase_source : 8d5764104b5322a32e4a048bfd3222f62fed73bb
2017-05-15 14:37:54 -07:00
Jan Beich 81ce358a3e Bug 1364422 - Drop unused -DMOZ_RUST_MP4PARSE after bug 1341967. r=rillian
MozReview-Commit-ID: 8CrpKgThP2E

--HG--
extra : rebase_source : 72f7afe6b8bfc843388e47b72a90011ae24bde42
2017-05-12 12:52:54 +00:00
Ralph Giles f56cb16c14 Bug 1336153 - Remove MOZ_RUST. r=ted
We now have code that unconditionally requires the rust
compiler and are committed to adding more. Remove this
last vestige of conditional support.

MozReview-Commit-ID: EK6FBnAbR

--HG--
extra : rebase_source : 6efda10a74f9ca0482304c2b1ffe6941e42138f8
2017-05-09 11:36:13 -07:00
Tom Ritter 476d7b6f18 Bug 1359552 ANGLE requires MOZ_HAS_WINSDK_WITH_D3D to be set for required includes in MINGW r=gps
The first attempt at this patch in Bug 1314979 turned off the entire
ANGLE section for MINGW builds on Linux for Windows. This was
incorrect, as it also turned off includes of very important files
like d3d11.h

This changes it so we go through the ANGLE section, but if we don't find
a Windows SDK we only consider that an error when we're compiling with
MinGW for Windows _on_ Windows. If the Host and Target OSes don't match
(meaning we're compiling on Linux for Windows) we ignore the lack of a
Windows SDK.

MozReview-Commit-ID: KyggI6yJCEM
2017-04-27 13:43:47 -05:00
Tom Ritter f8c3899ea0 Bug 1353541 Fix rustc in MinGW build r=froydnj,ted
rustc generates .lib files for its libraries when compiling for Windows
(even using MinGW on Linux). But MinGW expects .a files. So we add in
rust-specific prefix and suffixes so MinGW builds can find the libs that
rustc generates. (And the RUST_LIB- variables default to the same vales
as the LIB_ variables otherwise.)

MozReview-Commit-ID: ClsA0YuJaxh

--HG--
extra : rebase_source : 7b46460c94ceb34b7a5a302ce91d3f1dca600041
2017-04-26 12:08:59 -05:00
Alex Gaynor 1de783d5aa Bug 620058 - Add a --enable-hardening flag, which compiles with -fstack-protector-strong on GCC and Clang r=froydnj
This flag enables the stack-cookie exploit mitigation for all functions which
manipulate stack-based buffers, providing better protections than
-fstack-protector, at considerably lower performance overhead than
-fstack-protector-all.

r=froydnj

MozReview-Commit-ID: 7ZNAHHAf376

--HG--
extra : rebase_source : 6d5ccbb9537372912c3f5a73fe0fdc65bb68ac08
2017-04-12 13:58:22 -04:00
Tom Ritter 7d7682b05b Bug 1314979 Support cross compilation with MINGW in windows.configure r=glandium
MINGW builds do not need any of the checks that are performed in the
windows.configure file. Nor do they the D3D compiler DLL that is
needed for ANGLE, so we can skip that entire section in
old-configure.in.

MozReview-Commit-ID: DqufbgGoGy4

--HG--
extra : rebase_source : d5f1ed371f79a8a16f888ccc5d058ac72a69f34f
2017-04-19 10:18:01 -05:00
Mike Hommey e4927e7310 Bug 1357649 - Remove remnants of AudioChannelManager. r=bz
--HG--
extra : rebase_source : 21fba2905cf9171f34c0e155a4ff5a1162829789
2017-04-19 15:55:28 +09:00
Mike Hommey e91179eda5 Bug 1344038 - Remove --enable-gnomeui. r=karlt
--HG--
extra : rebase_source : 562519f2f6727750afe7d4a8503b41e722222d7d
2017-03-08 15:35:53 +09:00
Mike Hommey 94c16743bb Bug 1344038 - Remove --disable-gio. r=karlt
--HG--
extra : rebase_source : 3b5b820536b0e9b1fb1da3a16c444ed7839770b9
2017-04-05 14:06:25 +09:00
Mike Hommey 3deb62f2b2 Bug 1344038 - Move the gio protocol handler under netwerk/protocol. r=chmanchester,karlt
Historically, we had support for some GNOME VFS protocols through the
gnomevfs library, and this was under extension. This may not have been
built by default when it was introduced, but GNOME upstream moved those
things into Gtk itself, and we then got support for the new Gio-based
protocol, similar to what we had through the gnomevfs library.

Time passes, and we switched off the gnomevfs library entirely, and
enabled the Gio-based protocol handlers by default. We then removed
everything related to the gnomevfs library.

Fast forward to now, and disabling Gio support in Firefox just doesn't
make sense, and leaving the gio protocol handler as an extension doesn't
make sense either.

As it is a protocol handler, its natural place is under
netwerk/protocol, which is where we're moving it here.

The netwerk/protocol subdirectories being handled automatically, we
don't need to add the moved directory in any DIRS variable.

--HG--
rename : extensions/gio/moz.build => netwerk/protocol/gio/moz.build
rename : extensions/gio/nsGIOProtocolHandler.cpp => netwerk/protocol/gio/nsGIOProtocolHandler.cpp
extra : rebase_source : 071a9cb1769f013717357458df24e2fd9570ccf4
2017-04-05 13:48:52 +09:00
Iris Hsiao 15a34cacd2 Backed out 3 changesets (bug 1344038) for bustage
Backed out changeset 4befea89d81b (bug 1344038)
Backed out changeset c859506b2e4e (bug 1344038)
Backed out changeset 5d28a6382285 (bug 1344038)

--HG--
rename : netwerk/protocol/gio/moz.build => extensions/gio/moz.build
rename : netwerk/protocol/gio/nsGIOProtocolHandler.cpp => extensions/gio/nsGIOProtocolHandler.cpp
2017-04-06 10:35:56 +08:00
Mike Hommey a96508cc4d Bug 1344038 - Remove --enable-gnomeui. r=karlt
--HG--
extra : rebase_source : cf3cd5795af68fd08ee1e1f0d7b89a67d453fa87
2017-03-08 15:35:53 +09:00
Mike Hommey 0543a25916 Bug 1344038 - Remove --disable-gio. r=karlt
--HG--
extra : rebase_source : b380d5ebfc3689a9d8d4e3825c83028f837838f2
2017-04-05 14:06:25 +09:00
Mike Hommey 753d2ac01e Bug 1344038 - Move the gio protocol handler under netwerk/protocol. r=karlt
Historically, we had support for some GNOME VFS protocols through the
gnomevfs library, and this was under extension. This may not have been
built by default when it was introduced, but GNOME upstream moved those
things into Gtk itself, and we then got support for the new Gio-based
protocol, similar to what we had through the gnomevfs library.

Time passes, and we switched off the gnomevfs library entirely, and
enabled the Gio-based protocol handlers by default. We then removed
everything related to the gnomevfs library.

Fast forward to now, and disabling Gio support in Firefox just doesn't
make sense, and leaving the gio protocol handler as an extension doesn't
make sense either.

As it is a protocol handler, its natural place is under
netwerk/protocol, which is where we're moving it here.

The netwerk/protocol subdirectories being handled automatically, we
don't need to add the moved directory in any DIRS variable.

--HG--
rename : extensions/gio/moz.build => netwerk/protocol/gio/moz.build
rename : extensions/gio/nsGIOProtocolHandler.cpp => netwerk/protocol/gio/nsGIOProtocolHandler.cpp
extra : rebase_source : fe3c9480cee468aa2a24fd34e569b58e4f2c9c9a
2017-04-05 13:48:52 +09:00
Ryan VanderMeulen 94a51643a0 Bug 1352260 - Upgrade to SQLite 3.18.0. r=mak 2017-04-01 15:08:18 -04:00
Andrzej Hunt 86b076ed2e Bug 1338629 - Update annotation processing classpath to reflect SDK 25.3+ r=nalexander
It looks like Google decided to split these jars out a bit, so we need to piece
them all back together.

We could probably just query the sdk version instead, but I'm not 100% sure
know when this setup changed - moreover we don't know when (if?) the paths
are likely to change again. SDK 26.0 still has lint 25.3.1, so the SDK and
lint versions don't appear to be tied.

It seems that only the lint* jars are needed to compile 'build/annotationProcessor',
however we need all the remaining jars in the classpath when running that code
in 'widget/android/bindings'.

MozReview-Commit-ID: GAKwMrVXW55

--HG--
extra : rebase_source : 4e790aaccae8ccc3f151c39bf1ef4404b2581d7a
2017-03-30 18:55:02 -07:00
Dão Gottwald 3eece665d8 Bug 1351258 - Remove faststripe. r=mossop
MozReview-Commit-ID: FfX0kRMg5sM

--HG--
extra : rebase_source : d2e27e5652c28854d50975a1ccd03f4bc4d0773b
2017-03-29 11:05:51 +02:00
Makoto Kato a6e3f6a9cb Bug 1349884 - Turn off ENABLE_INTL_API on Android/x86's all channel. r=snorp
Android/x86 runs xpcshell and a limited of mochitest.  These tests are already passed on m-c.

MozReview-Commit-ID: 7Qkqi0dYh95

--HG--
extra : rebase_source : 4cc064aea022a8ba17d9a78a1f36a612ab877898
2017-03-27 16:39:44 +09:00
Kai Engert 19a18cefda Bug 1347932, bump configure requirement to NSPR 4.14, forgotten when uplifting NSPR_4_14_RTM, no code change
DONTBUILD
2017-03-24 12:11:57 +01:00
Glenn Randers-Pehrson 995a791294 Bug 1348356 - Make libpng 1.6.29 the minimum required version in old-configure.in. r=jrmuizel 2017-03-18 11:51:00 -04:00
Jeff Muizelaar 67d7b8af2a Bug 1345243. Remove support for building without DirectWrite. r=bas
Now that we don't support XP it's reasonable for us to drop support for GDI
fonts and rely solely on DirectWrite. We should start this process by removing
support for building without DirectWrite.
2017-03-17 15:39:14 -04:00
Carsten "Tomcat" Book f6885163cd Merge mozilla-central to mozilla-inbound 2017-03-08 14:28:34 +01:00
Franziskus Kiefer 70eeea1c7f Bug 1345368 - bump NSS version in old-configure, r=me 2017-03-08 09:21:46 +01:00
David Anderson 8082fe14ae Remove references to the Direct3D9 compositor. (bug 1318558 part 1, r=mattwoodrow) 2017-03-08 00:17:36 -08:00
Chris Manchester b3fc54a3dc Bug 1314678 - Don't perform clang plugin checks in artifact builds. r=mshal
Until we have the ability to properly make these flags conditional in
moz.configure, do not perform these checks.

MozReview-Commit-ID: CexvgiadIw0

--HG--
extra : rebase_source : 3944a7c98a6570bf0f30dc01a9d895cc07cc0ff1
2017-03-07 10:21:33 -08:00