Thomas P.
fde56b2dde
Bug 1483780: enable sanitizer-less libfuzzer builds r=froydnj
2018-09-20 21:21:38 +00:00
Andreea Pavel
a6ba34f2ad
Backed out 2 changesets (bug 1483780) for build bustages on a CLOSED TREE
...
Backed out changeset 2b0a42c589c5 (bug 1483780)
Backed out changeset 48d133cbafd3 (bug 1483780)
2018-09-21 05:43:03 +03:00
Thomas P.
dae33d978b
Bug 1483780: enable sanitizer-less libfuzzer builds r=froydnj superreview=decoder
...
--HG--
extra : histedit_source : 6fd1a37c3fb5d8997be11f7846b2976fc7b8a647
2018-09-11 03:49:37 +00:00
Narcis Beleuzu
61b03524fb
Merge mozilla-central to inbound. a=merge CLOSED TREE
2018-09-19 19:45:46 +03:00
Ryan VanderMeulen
c5bf22cd9a
Bug 1491671 - Upgrade to SQLite 3.25.1. r=mak
...
Differential Revision: https://phabricator.services.mozilla.com/D6207
--HG--
extra : moz-landing-system : lando
2018-09-19 13:28:02 +00:00
Nathan Froyd
90c91d64dc
Bug 1491901 - move MK*SHLIB to moz.configure; r=ted.mielczarek
...
It's nicer to have all that logic in one place, and to be able to common
up the Unix-y flags setting. The Makefile constructs in string values
is gross, but it's no worse than we had before.
2018-09-19 10:03:42 -04:00
Ryan VanderMeulen
f53c113d39
Bug 1491467 - Update libpng to 1.6.35. r=aosmond
...
Differential Revision: https://phabricator.services.mozilla.com/D5913
--HG--
extra : moz-landing-system : lando
2018-09-18 18:33:11 +00:00
Tom Ritter
0a9605a5c2
Bug 1490566 Do not pass --enable-stdcall-fixup to clang in a x86 Windows build r=froydnj
...
clang doesn't recognize --enable-stdcall-fixup as an option. We needed this for the
mingw-gcc build (added in Bug 787653) because gcc had difficulty dealing with
Angle's symbol linking
Differential Revision: https://phabricator.services.mozilla.com/D6072
--HG--
extra : moz-landing-system : lando
2018-09-18 13:44:05 +00:00
Ted Mielczarek
201bd292e7
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.
2018-09-14 12:12:34 -04:00
Chris Peterson
da01f965e0
Bug 1490575 - Remove MOZ_MULET checks from build files. r=froydnj
...
Mulet was a Firefox OS simulator that is no longer supported: https://wiki.mozilla.org/Mulet
Differential Revision: https://phabricator.services.mozilla.com/D5734
--HG--
extra : rebase_source : 5d6c8563fe7f5b3bafa9a17d1057eb3a3db6e241
extra : source : f7c8de6bc4a978421f49e43b951188597086874b
2018-09-11 23:16:36 -07:00
Jim Chen
216db72bef
Bug 1480834 - 4. Specify -Werror for pthread_cond_timedwait_monotonic_np check; r=glandium
...
On 64-bit Android, `pthread_cond_timedwait_monotonic_np` is only
available for API 28+. The issue is, even though the NDK header does not
define `pthread_cond_timedwait_monotonic_np` for API 27 and below, the
NDK library _does_ include the function (in order to support builds
targeting API 28+).
During our configure test, the compiler only emits a warning about
`pthread_cond_timedwait_monotonic_np` being undefined, but linking
succeeds because the function is present in the library. Because linking
succeeds, the test inadvertently passes. This patch adds a '-Werror'
flag to the compilation, so the warning turns into an error to make the
test fail.
Differential Revision: https://phabricator.services.mozilla.com/D4482
2018-09-13 12:09:25 -04:00
Nathan Froyd
e829874703
Bug 1490765 - delete code for application-specific subconfigure scripts; r=nalexander
...
We don't need this code nowadays, and it probably doesn't work anyway.
2018-09-12 16:22:10 -04:00
Masatoshi Kimura
6e443c9a86
Bug 1414060
- move NONASCII to moz.configure; r=mshal
2018-09-10 18:57:40 -04:00
Nathan Froyd
4454f01d19
Bug 1480552 - handle aarch64 windows when determining MOZ_D3DCOMPILER_VISTA_DLL; r=ted.mielczarek
...
AArch64 Windows includes the necessary DLL in its default configuration,
so we don't need to bother locating it in the SDK. We made need to
distribute an updated version that won't by on the system by default,
though, so we need some extra checking.
2018-09-04 16:41:08 -04:00
Myk Melez
7978cd2fe4
Bug 1482810 - set COMPILE_FLAGS var to hide warnings for Rust crates r=chmanchester
...
In conjunction with the cc crate changes in https://github.com/alexcrichton/cc-rs/pull/342 (which I'll land in https://phabricator.services.mozilla.com/D4699 ), this hides warnings generated by C code in Rust crates (by removing warnings flags from CFLAGS when compiling Rust libraries).
MozReview-Commit-ID: 9CZgLGbWjbA
Differential Revision: https://phabricator.services.mozilla.com/D3939
--HG--
extra : moz-landing-system : lando
2018-08-30 17:29:54 +00:00
Mike Hommey
1a6f5a62c7
Bug 1485759 - Pass --build-id=sha1 to the linker instead of --build-id. r=froydnj
...
BFD ld's --build-id means --build-id=sha1, but with lld it means
--build-id=fast. Both support the explicit --build-id=sha1, so use that.
Gold supports --build-id=sha1 too.
ld64, used for mac builds doesn't support neither --build-id=sha1 nor
--build-id.
2018-08-29 08:02:07 +09:00
Nathan Froyd
b40f3ab975
Bug 1481513 - disable ffvpx on aarch64 windows; r=gps
...
There's no support for it in our local tree.
2018-08-28 13:44:54 -04:00
Mike Hommey
95f25c8a5d
Bug 1485610 - Avoid copy relocations in binaries we build. r=froydnj
...
See bug 1485562 for an example of bad things that can happen with such
relocations, and see also
c90379ddfe/ELF/Relocations.cpp (L496-L537)
2018-08-24 08:57:04 +09:00
Nathan Froyd
13c9216e36
Bug 1485367 - disable libjpeg-turbo support for aarch64 windows; r=dmajor
2018-08-22 12:15:19 -04:00
David Major
3226912d99
Bug 1485072: Remove some unnecessary (on-by-default) LDFLAGS from Windows builds. r=froydnj
...
-DEBUGTYPE:CV, -NXCOMPAT, and -DYNAMICBASE are on by default in both link.exe and lld-link.
--HG--
extra : rebase_source : 3b50b88bb8ac9257689df2e10146906ef9962b08
2018-08-21 17:16:45 -04:00
Nathan Froyd
7661e89923
Bug 1480558 - part 3 - unset AS_DASH_C_FLAG for aarch64 windows; r=mshal
...
The assembler for this platform doesn't need the special handling
AS_DASH_C_FLAG provides.
2018-08-21 11:00:35 -04:00
Mike Hommey
7b448e6258
Bug 1484872 - Remove --enable-llvm-hacks. r=froydnj
...
It calls for cargo-culting its use when using clang, when it's specific
to skipping one linker flags for sanitizers.
2018-08-21 08:40:00 +09:00
Nathan Froyd
2c50d79c91
Bug 1481864 - disable the sandbox on aarch64 windows by default; r=gps
...
The Chromium sandbox doesn't have the necessary arch-specific support.
2018-08-20 17:22:44 -04:00
Masatoshi Kimura
3d01e517aa
Bug 1484184 - Remove now unused _RAISE macro check to deal with MSVC 2017 15.8. r=froydnj
...
--HG--
extra : source : b38403f36056d301321c128be96ee60d14739859
2018-08-17 01:27:29 +09:00
Narcis Beleuzu
96343e8f1f
Backed out 3 changesets (bug 1484184, bug 1484190, bug 1484191) for bustages on test_toolchain_configure.py. CLOSED TREE
...
Backed out changeset dca5444170e0 (bug 1484190)
Backed out changeset 1ef81d07bc5b (bug 1484184)
Backed out changeset 2a42fd4df1bb (bug 1484191)
2018-08-20 19:49:37 +03:00
Masatoshi Kimura
59a91c2a72
Bug 1484184 - Remove now unused _RAISE macro check to deal with MSVC 2017 15.8. r=froydnj
...
--HG--
extra : rebase_source : d93dbda28fff9cdbf0f6a908e0c1d59c152665e5
extra : source : b38403f36056d301321c128be96ee60d14739859
2018-08-17 01:27:29 +09:00
Mike Hommey
f6560362a9
Bug 1480004 - Normalize optimization level passed to the linker when doing LTO with clang. r=froydnj
2018-08-14 07:25:09 +09:00
Chris Manchester
e481e46c6f
Bug 1482442 - Do not check for gamepad related headers in an artifact build. r=ted,firefox-build-system-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D3119
--HG--
extra : moz-landing-system : lando
2018-08-10 19:23:44 +00:00
Masatoshi Kimura
5386e9c84f
Bug 1472254 - Backed out changeset 69259eedc1e6 as the final fix has landed. r=dmajor
...
--HG--
extra : rebase_source : f77217d0946d4c99c421f1cd4611044935131024
2018-08-10 18:42:10 +09:00
Nathan Froyd
49dcc19d92
Bug 1481505 - add aarch64 bits to DEFINES and DSO_LDOPTS; r=dmajor
...
Not having _ARM64_ in DEFINES makes any number of things go wrong.
2018-08-08 16:37:05 -04:00
Masatoshi Kimura
3b21b7868b
Bug 1090497 - Re-enable warnings as errors on clang-cl. r=froydnj
...
--HG--
extra : rebase_source : c09366fb93e5b0f72abe1e99d3094e3d96a934fb
extra : intermediate-source : 5950c9d63c3b4fd63a25464a7b50944aaec7079f
extra : source : ca1b9a2bcc4381795f556fea2fb59066567c30f3
2018-07-31 22:10:07 +09:00
Nathan Froyd
60ba63041d
Bug 1480553 - part 2 - add a case for aarch64* when setting MIDL_FLAGS; r=glandium
2018-08-02 21:40:40 -04:00
Cosmin Sabou
de8c2bd891
Backed out changeset 5950c9d63c3b (bug 1090497) for build bustages on several files. CLOSED TREE
2018-08-02 19:59:53 +03:00
Masatoshi Kimura
feea19030c
Bug 1090497 - Re-enable warnings as errors on clang-cl. r=froydnj
...
--HG--
extra : rebase_source : a62521fdc66def4e4d5d7bf52e68365a786b5c55
extra : source : ca1b9a2bcc4381795f556fea2fb59066567c30f3
2018-07-31 22:10:07 +09:00
Masatoshi Kimura
e77355efc0
Bug 1472254 - Temporarily suppress -Wpragma-pack warning spam globally. r=dmajor
...
--HG--
extra : rebase_source : 2e4ad7c6fed96ad1327eeca63f434cad1c4fa902
2018-08-02 00:48:55 +09:00
Nathan Froyd
3dc6481a30
Bug 1444141 - part 4 - make the JS engine depend on Rust; r=chmanchester,glandium,jorendorff
...
The Rust dependency in Firefox has been limited to Firefox builds by
virtue of having the Rust check in a Firefox-specific location,
toolkit/moz.configure. For JS to start depending on Rust, we need to
move that check to a location where a standalone JS engine build will
pick up the Rust check.
2018-08-02 11:00:21 -05:00
David Major
f0f43e919c
Bug 1477744 - Re-enable -Werror in clang-cl for Spidermonkey. r=froydnj
...
--HG--
extra : rebase_source : a2da624418ab3578bfed878628e9ad52beedbbd3
2018-07-26 16:14:27 -04:00
Tudor-Gabriel Vîjială
7034598959
Bug 1476165 - Part 2: Update Android Gradle plugin to version 3.1.0. r=nalexander,snorp
...
MozReview-Commit-ID: LR1OWncvuwt
--HG--
extra : rebase_source : 6de8f8927e801789d559a7c361c7b434ae1f74c4
2018-07-17 13:20:19 +01:00
Brian Grinstead
40b40ad653
Bug 1478128 - Rename `MOZ_BROWSER_CHROME_URL_QUOTED` to `BROWSER_CHROME_URL_QUOTED`;r=gps
...
MozReview-Commit-ID: G73z0y5A8Re
--HG--
extra : rebase_source : 074d5085d37d726716b7522e1a049c98ea3e44c7
2018-07-24 15:25:18 -07:00
Brian Grinstead
eb11f1de3b
Bug 1476333 - Define the browser chrome URL as BROWSER_CHROME_URL so it can be accessed from AppConstants instead of a pref;r=gps
...
MozReview-Commit-ID: DPxayAW4D1s
--HG--
extra : rebase_source : 4d3f1e71b0abd1f38cd750d52b84269b6af52991
2018-07-24 08:12:48 -07:00
Petru Lingurar
10add268a1
Bug 1473872 - Start targeting API 26; r=nalexander
...
MozReview-Commit-ID: GqBiQbRy4bu
--HG--
extra : amend_source : 57b2ce873af5aedf99ef337abc669a3bcd624fed
2018-07-06 16:57:36 +03:00
David Major
99f9246f52
Bug 1475650: Use llvm-lib when linking with lld-link. r=froydnj
2018-07-16 10:10:03 -04:00
Jacek Caban
53527f20c4
Bug 1471556 - Support mingw clang in configure scripts. r=glandium
...
MozReview-Commit-ID: GKLbHvYgXnL
--HG--
extra : rebase_source : 61c7c7b11373a7ef3fd6b653b1baf828c322ee0b
2018-06-26 18:53:42 +02:00
Franziskus Kiefer
dc24a072c6
Bug 1470914 - bump minimum NSS version to 3.39, r=me
2018-07-06 16:00:08 +02:00
Mike Hommey
da38aeba7d
Bug 1457168 - Make configure tests use LINKER_LDFLAGS. r=chmanchester
...
Because we have no linking configure test in python configure (yet), we
just make old-configure tests use LINKER_LDFLAGS, and make those flags
added to LDFLAGS by old-configure at the same time.
--HG--
extra : rebase_source : 80ab7c5021c7ddd1b53d58ef76cd4372a524d3cb
2018-07-04 16:18:48 +09:00
Nathan Froyd
2a1d44002c
Bug 1472805 - silence more clang-cl warnings; r=chmanchester
...
clang seems to have decided that a new warning,
-Wused-but-marked-unused, is useful. For the purposes of our codebase,
where we add __attribute__((unused)) explicitly to avoid warnings about
unused things, this new warning is useless. The new warning is also
quite noisy, given that we have unused things in commonly-used headers
like Assertions.h. So disable the warning.
2018-07-02 20:36:49 -04:00
jgilbert@mozilla.com
1527dfb596
Bug 1472402 - -MG for clang-cl breaks missing-include error reporting. - r=froydnj
...
MozReview-Commit-ID: EhtNTZcXBrt
--HG--
extra : rebase_source : 900afc0e4cfd0dde1c0f4f3ec883e879a295567c
2018-06-29 20:18:08 -07:00
Kyle Machulis
c126f54cc6
Bug 1324147 - Remove MOZ_GAMEPAD_BACKEND; r=daoshengmu
...
MOZ_WIDGET_TOOLKIT can be used for platform choice for Gamepad. Need
to leave linux header check in configure for now.
MozReview-Commit-ID: VT7T2KmLts
--HG--
extra : rebase_source : 02e7a23311c65fccffb1375a3adf8980d3d6031c
2018-06-27 12:32:36 -07:00
Kris Maglione
0506a56751
Bug 1468362: Remove ADDON_SINGING buildconfig setting. r=aswan
...
MozReview-Commit-ID: MeD4VQPVf6
--HG--
extra : rebase_source : c40ed5b7d194290332f0aa77deaf91812de48c42
extra : histedit_source : 34a69d708597fcdbfb9bffccd7dbf28c9d1a42a7
2018-06-12 13:56:58 -04:00
Ryan VanderMeulen
3147d6c01d
Bug 1467121 - Upgrade to SQLite 3.24.0. r=mak
...
--HG--
extra : rebase_source : 49ce4fbcf40630655b96933fe44fb8b10432d8cb
2018-06-06 09:52:32 -04:00