Commit Graph

715 Commits

Author SHA1 Message Date
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
Jonathan Watt
5817084eb6 Bug 1270217 - Change the default MACOS_DEPLOYMENT_TARGET value to 10.9. r=froydnj 2018-05-10 10:41:13 +01:00
Cosmin Sabou
9994e67745 Backed out changeset cbf0895981cd (bug 1270217) for turning bug 1405083 into permafail. a=backout 2018-06-03 13:08:10 +03:00
Jonathan Watt
67537a721b Bug 1270217 - Change the default MACOS_DEPLOYMENT_TARGET value to 10.9. r=froydnj
--HG--
extra : rebase_source : bb180a82c87bb49c688dbcb2f8da6756e6c54224
2018-05-10 10:41:13 +01:00
Julian Seward
fef50df448 Bug 1461304 - Windows bustage eg: /js/src/wasm/WasmBinaryToAST.cpp when Gecko 62 merges to Beta on 2018-06-14. r=froydnj.
Some configurations of SpiderMonkey wind up producing C++ switch statements of
the form

   switch (..) {
     default: break;
   }

We hoped that they would simply be optimised out without comment.  But MSVC
warns about the lack of non-default cases, which then are escalated into
errors, causing the build to fail.  This commit simply disables that warning
feature when building with MSVC.

--HG--
extra : rebase_source : 468022d30cdaf483aaa64fc7aa9dd1308fbc7335
2018-05-27 09:39:06 +02:00
Tom Ritter
9d8f5959d1 Bug 1460796 Resolve 'Missing entry point ScriptBreak' by including usp10 for the MinGW build r=froydnj
MozReview-Commit-ID: KirwpvYty5s

--HG--
extra : rebase_source : 9a920e8c4aa621e43c880a41627b034a6c31aec2
2018-05-10 22:04:36 -05:00
Tom Ritter
c59f8dd7b8 Bug 1456552 Make Optimized MinGW builds use -O# instead of falling through and collecting a -O r=ted
We use -O2 for js (because we can) and we use -O1 for the root because there is an x86 compiler bug
that is not immediately bypassable

MozReview-Commit-ID: CnDk2ko3jfo

--HG--
extra : rebase_source : bf889ab143bbf9480a261b06000d62cf0e1af8cc
2018-05-16 16:32:47 -05:00
Tom Ritter
a56f337b8c Bug 1457162 Remove -TC from CFLAGS r=ted
-TC specifies 'treat all inputs at C files' which breaks things when you
specify a @list file of inputs.

During configure, -TP is required for C++ configure checks (although we
could probably make it smart and not need it at all), but -TC does not seem
to be required.

MozReview-Commit-ID: DNA8vUMdIXb

--HG--
extra : rebase_source : 523c6d815adf55c834fd858b10010123f86b25f6
2018-05-19 01:26:33 -05:00
Mike Hommey
89cd7b7de6 Bug 1462157 - Remove abuse of MOZ_UPDATE_CHANNEL for A11Y_LOG. r=ted
MOZ_UPDATE_CHANNEL is meant to set the channel to use for the updater,
and nothing else. It's not an indicator of which branch we're building
on and it's not an indicator of whether it's a developer build or a CI
build. The latter seems to be what it's used for for A11Y_LOG, so use
DEVELOPER_OPTIONS instead.

--HG--
extra : rebase_source : 48822af1e4af444e00c89859c51c01c57d130248
2018-05-17 07:03:24 +09:00
Tom Ritter
c5a26d81ec Bug 1457483 Retrieve nm from environment for check_vanilla_allocations.py r=glandium
MozReview-Commit-ID: HIZpMk4Ierb

--HG--
extra : rebase_source : 670da25b7e516e176f2eae116b58e5e62ccbbde7
2018-04-27 10:25:35 -05:00
Tom Ritter
333013f148 Bug 1443823 Apply no-keep-inline-dllexport to MinGW x64 also r=glandium
MozReview-Commit-ID: 2Nyw738ZHou

--HG--
extra : rebase_source : 4a18e47f8f1cb425864811230fd33c6620760021
2018-03-23 14:35:30 -05:00
Nicolas B. Pierron
857a642337 Bug 1456183 - Add gio-unix as part of the list of GTK dependencies. r=glandium 2018-05-16 14:54:30 +00:00
J.C. Jones
e5c3745f29 Bug 1460617 - land NSS 6e4b0141df2f UPGRADE_NSS_RELEASE, r=fkiefer
--HG--
extra : transplant_source : %3D%28%5E94%D6e%DD%F4%22rM%E5%E0%AB%0B%DFmE%F7
2018-05-15 07:07:28 -07:00
Nathan Froyd
493330ae3f Bug 1460379 - remove --with-pthreads option; r=ted.mielczarek
This option does nothing if it's provided, and things will probably
break in some most peculiar manner if somebody uses --without-pthreads.
Given that neither outcome is useful, we should remove the option.
2018-05-09 17:26:31 -04:00
Nathan Froyd
c21c323370 Bug 1460373 - move --enable-valgrind to moz.configure; r=ted.mielczarek 2018-05-09 17:26:31 -04:00
Nathan Froyd
5141d7d645 Bug 1460367 - move audio sample-related settings to moz.configure; r=ted.mielczarek,nalexander
With moz.configure, it's a little more obvious that MOZ_TREMOR and
MOZ_VORBIS are mutually exclusive.
2018-05-09 17:26:31 -04:00
Jan Henning
2417c8160f Bug 1352015 - Part 2: Build with Android O SDK. r=nalexander
MozReview-Commit-ID: BhqwL4nyj6J

--HG--
extra : rebase_source : 95a111c221b01a2d2243fb451c9bd3ec97967ac6
2018-05-06 17:38:22 +02:00
Sylvestre Ledru
d8248a15c7 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 : 9f48f2e181fb16ad6bde1c357d74f879e1ef101e
2017-11-24 16:45:47 +01:00
Nick Alexander
53a4852ffa Bug 1444546 - Part 3: Use GENERATED_FILES for Android SDK bindings generation. r=froydnj,jchen
MozReview-Commit-ID: 2blmzKTvpj3

--HG--
extra : rebase_source : 0954b407ce6625510eadc67dd9989da949b22110
2018-03-06 19:19:48 -08:00
J.C. Jones
0fe289986b Bug 1445731 - land NSS NSS_3_37_RTM UPGRADE_NSS_RELEASE, r=me
--HG--
extra : rebase_source : 0c5dbfbfab874158345a4fe2237dc898655f0052
2018-05-04 10:42:48 -07:00
David Major
1e59fef758 Bug 1457523: Add msdia140.dll to the package on Windows ASan CI builds. r=ted 2018-05-03 15:53:53 -04:00
Jan Beich
6a8b9ac6f9 Bug 1452509 - Move --enable-pulseaudio to moz.configure. r=froydnj
MozReview-Commit-ID: J1fJUukDJXh

--HG--
extra : rebase_source : c582a589b767d199413e77c7c237d4402599179f
2018-03-18 23:55:25 +00:00
Jan Beich
efa1be2618 Bug 1452509 - Move --enable-alsa to moz.configure. r=froydnj
MozReview-Commit-ID: Cv0HnZPvkWe

--HG--
extra : rebase_source : 1108a3d58e14bef335334e160186dca8a0bfcaee
2018-03-18 23:46:16 +00:00
Jan Beich
4c4327e871 Bug 1452509 - Make -DMOZ_ALSA global and prune duplicate -DMOZ_PULSEAUDIO. r=froydnj
MozReview-Commit-ID: 6O0pkscXczw

--HG--
extra : rebase_source : 0d8dffa1f8e4942b3fe8832ad860409ec24784a2
2018-03-19 02:13:04 +00:00
Ryan VanderMeulen
445ef738c3 Bug 1453193 - Upgrade to SQLite 3.23.1. r=mak 2018-04-11 09:04:00 -04:00
Franziskus Kiefer
ff0e1c0785 Bug 1371991 - don't link against crmf when building with --with-system-nss, r=ted
Differential Revision: https://phabricator.services.mozilla.com/D836

--HG--
extra : rebase_source : 04127ba88296e8bd6849d227641bb0eebae2c23b
extra : amend_source : dde2e35e2d12316950113e5f320d47a914783623
2018-04-04 14:36:12 +02:00
Nathan Froyd
ee48bf82e0 Bug 1448978 - use more aggressive optimization flags for clang-cl; r=chmanchester
We want to use clang-cl to ship Firefox, and the only way we can come
close to MSVC numbers is to use -O2 here, for better or worse.
2018-03-26 18:37:00 -04:00
Makoto Kato
ef2b99f490 Bug 1446270 - Android/arm target should turn on crash reporter as default. r=froydnj
target value of Anndroid/arm is arm-unknown-linux-androideabi, so arm-*-linux*
matches on android/arm and MOZ_CRASHREPORTER is unset as default option.

Since taskcluster's build adds --enable-crashrepoter as default, we should set
it as developer's default too.

MozReview-Commit-ID: 8V6sWAN07F9

--HG--
extra : rebase_source : b4a26eea2d53eb8b53cc49e972d9d41b32d4ec97
2018-03-16 16:38:14 +09:00
Nathan Froyd
2f491089d2 Bug 1340588 - enable clang-cl to generate depfiles directly, rather than using a wrapper; r=build-peer
We use a wrapper script when compiling with MSVC to parse the
/showIncludes output and thereby generate a Makefile dependency
fragment.  This fragment enables us to do correct and faster incremental
builds.  But the cost of invoking the wrapper script can be significant;
it's an extra process or two to launch for every single compilation.

Instead, let's have clang-cl generate the dependencies directly, which
should be somewhat faster.
2018-03-13 09:06:00 -05:00
Kai Engert
0b95c6bfca Bug 1432480, land NSPR_4_19_RTM, no code changes, only version numbers. Require version 4.19 for building. r=me
UPGRADE_NSPR_RELEASE
DONTBUILD
2018-03-05 17:05:18 +01:00
Mike Hommey
61d75ea276 Bug 1442468 - Remove workaround for http://code.google.com/p/android/issues/detail?id=23203. r=froydnj
That NDK bug has been fixed since r8c, and we now require something more
recent than that. This effectively reverts the changes from bug 720621
and bug 734832.

--HG--
extra : rebase_source : 9ff76a790ec4135dc0172cfd0f11fc1ecef7df64
2018-03-01 15:15:02 +09:00