Commit Graph

4914 Commits

Author SHA1 Message Date
NARCIS BELEUZU
2e3654a915 Merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-11-03 12:04:55 +02:00
Chris Manchester
914e5042b2 Bug 1411712 - Fixup DEFFILE to be added to EXTRA_DEPS on windows when GNU_CC is set. r=mshal 2017-11-02 23:03:01 +01:00
Chris Manchester
8bc7bdf347 Bug 1411712 - Move LDFLAGS to mozbuild. r=mshal
MozReview-Commit-ID: A8cZ2FUveAf

--HG--
extra : rebase_source : 5f0e9b55c38f3b2382b469bbc886c57696f09792
2017-11-02 11:47:48 -07:00
Chris Manchester
4cfd6c93c3 Bug 1411712 - Make a new variable for pgo flags added to LDFLAGS. r=mshal
The make backend is the only thing that is aware of PROGILE_GEN and
PROFILE_USE, so we move these ldflags to their own variable while
converting the remainder of ldflags to mozbuild.

MozReview-Commit-ID: GwbPD6Q4Oyn

--HG--
extra : rebase_source : 3c90def9ee8cd949dd135ba8fa9b192f114f6727
2017-11-02 11:47:48 -07:00
Chris Manchester
f8a3e49e93 Bug 1411712 - Make a new variable for LDFLAGS to be set by Makefile.in that aren't intended to be handled by other backends. r=mshal
These flags are only relevant on OS X, and will not be necessary soon, so this
commit moves them to a separate variable while we move the remainder of the
ldflags to mozbuild.

MozReview-Commit-ID: 1NDgz3HIYpT

--HG--
extra : rebase_source : 6e9b5f5a5be5ff916db89a0b73896b9058eb040e
2017-11-02 11:47:47 -07:00
Gregory Szorc
be9770f18d Bug 1412460 - Remove targets related to VCS operations; r=mshal
These targets no longer exist in client.mk. I'm not sure when they
were removed. But this is obviously dead code.

A target in rules.mk pointing back to this target in client.mk has
also been removed.

MozReview-Commit-ID: 5v1MOOTP3qq

--HG--
extra : rebase_source : b90f0788b074330b45005223f41c804589d13163
2017-11-01 15:05:50 -07:00
André Bargull
c5c994ac71 Bug 1330149 - Part 1: Set time zone from TZ environment variable as default ICU time zone if it's a valid time zone name. r=Waldo 2017-01-12 14:57:47 -08:00
ANDREEA PAVEL
a859e870fe Backed out changeset d3a0101e3936 (bug 1410132) for build failure ContainerParser.cpp:131 r=backout on a CLOSED TREE 2017-11-02 18:06:58 +02:00
Jon Coppeard
c6c2b4f6ba Bug 1410132 - Use a separate jemalloc arena for all SpiderMonkey malloc allocations r=njn r=nbp 2017-11-02 14:51:27 +00: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
Chris Manchester
92ca8066af Bug 1405811 - Move host compilation flags to mozbuild. r=mshal
MozReview-Commit-ID: 7I5IHM65eaU

--HG--
extra : rebase_source : b33bb2f0f6a9cb36961586ad475cf36f8bbcd091
2017-10-02 11:41:41 -07:00
Chris Manchester
bd83adf337 Bug 1411787 - Convert MOZBUILD_CFLAGS from passthru variables to computed flags. r=mshal
MozReview-Commit-ID: HOMf4vfFE1n

--HG--
extra : rebase_source : fad33710a5f374f070b4c972c303a6b2ece25758
2017-10-27 10:38:10 -07:00
André Bargull
04879cba6b Bug 1411957 - Part 2: Update tzdata in ICU data files to 2017c. r=Waldo
MozReview-Commit-ID: IHLvaaTEIPm
2017-10-26 23:10:51 +09:00
Sebastian Hengst
443416f881 Merge mozilla-central to autoland. r=merge a=merge 2017-10-26 00:39:55 +02:00
Chris Manchester
d43c1ef2dd Bug 1403346 - Implement clang-plugin cxxflags in moz.build. r=glandium
MozReview-Commit-ID: 9zSryJcTRGl
2017-10-25 15:12:10 -07:00
Chris Manchester
7e47dd1ebb Bug 1403346 - Define flags loading the clang plugin in configure rather than the make backend. r=glandium
MozReview-Commit-ID: EubsjJl1LBS
2017-10-25 15:12:10 -07:00
Chris Manchester
c86173526a Bug 1403346 - Replace all uses of ALLOW_COMPILER_WARNINGS with a template, remove ALLOW_COMPILER_WARNINGS. r=glandium
MozReview-Commit-ID: 1G2o4fy74cf
2017-10-25 15:12:09 -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
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
10140558e1 Bug 1403346 - Move OS_COMPILE flags to computed flags. r=glandium
MozReview-Commit-ID: JUHoBuJYG1T
2017-10-25 15:10:04 -07:00
Chris Manchester
1e2fcc4b06 Bug 1403346 - Move RTL_FLAGS to computed flags. r=glandium
MozReview-Commit-ID: 9tOuNXjyJQD
2017-10-25 15:10:03 -07:00
Chris Manchester
33845169fa Bug 1403346 - Move DSO_CFLAGS and DSO_PIC_CFLAGS to computed flags. r=glandium
MozReview-Commit-ID: Goo0cP6UEEo
2017-10-25 15:10:03 -07:00
Gregory Szorc
6f60ff2761 Bug 1411081 - Derive Rust compiler flags in configure; r=glandium
Before this commit, RUSTFLAGS was derived in rules.mk by consulting
various variables set by configure. It isn't clear to me why things
are implemented this way. We don't appear to have moz.build level
overrides for Rust compiler flags. So there doesn't appear to be a
compelling reason why we can't derive these values in configure.

So, this commit ports the code for deriving default RUSTFLAGS from
rules.mk to toolchain.configure.

The port is pretty straightforward as far as the logic goes.

MozReview-Commit-ID: JhAE9Qlo8SK

--HG--
extra : rebase_source : 6186cb81cd37c516b3d645419b9461bf501d6ba2
2017-10-24 14:42:01 -07:00
Dragana Damjanovic dd.mozilla@gmail.com
026c72f278 Bug 1410147 - On MacOS HAS_CONNECTX should be set for Darwin version greater than and equal 15. r=bagder 2017-10-19 09:45:00 -04:00
Jan Beich
6b04a97785 Bug 1409680 - Extend --disable-debug-symbols to Rust code. r=glandium
This reduces disk I/O and memory usage during build that already lacks
debugging symbols from C++ code, allowing to use more jobs on 32bit hosts.

--disable-debug-symbols build on FreeBSD 10.3 i386 (8 cores) host:
Max RSS before:  libxul - 612 Mb, libgkrust - 1908 Mb
Max RSS after:   libxul - 444 Mb, libgkrust - 1471 Mb
Binary before:   libxul - 203 Mb, libgkrust -  732 Mb
Binary after:    libxul - 123 Mb, libgkrust -  301 Mb

MozReview-Commit-ID: 40UEYuKddZ2

--HG--
extra : rebase_source : 905c61c8f738027bb43d213c4a4e63db1b9c5008
2017-10-18 08:38:54 +00:00
Ted Mielczarek
a95bbdf3f6 bug 1299959 - use GENERATED_FILES for libffi's preprocessed assembly files. r=chmanchester
libffi has assembly files on Windows that need to be preprocessed. Previously
this was handled by using a wrapper shell script as the assembler. This
patch handles them in GENERATED_FILES with a Python script that performs
an equivalent transformation.

MozReview-Commit-ID: 3w0HNpUb8TA

--HG--
extra : rebase_source : 284a3825cdaf2957507d60276a772f88f8c96488
extra : source : 3f422cbd4f222bc0b19f0a9e76878787652b3788
2017-09-14 06:42:53 -04:00
Dustin J. Mitchell
0d5ca56ea5 Bug 1404401 - ignore presence of target_task_config.json in tests; r=ahal
I *think* the modifications to MockedOpen are correct, but I'm not sure..

MozReview-Commit-ID: 6vTZBtdQ1dz

--HG--
extra : rebase_source : 2d2008f87640747ef831d000bf13a4b1b7fcd338
2017-10-12 17:58:14 +00:00
Mike Hommey
59ba5a09e4 Bug 1381043 - Enable fuller debug info for rust code on OSX cross builds. r=froydnj
--HG--
extra : rebase_source : 145edf24d2ea1366fe8ee0430bb95a99b841dd83
2017-10-12 18:02:49 +09:00
Gian-Carlo Pascutto
433feb3f7e Bug 1387837 - Add library paths from /etc/ld.so.conf to broker read access policy. r=jld
MozReview-Commit-ID: S5vq6suTU4

--HG--
extra : rebase_source : b82f3ff902ca6e4929a8458aa952f409e30356b5
2017-10-06 12:35:35 +02:00
Zibi Braniecki
c14c88b4c3 Bug 1270140 - Add Intl.RelativeTimeFormat. r=Waldo
MozReview-Commit-ID: GqetnVVmXXL

--HG--
extra : rebase_source : 131c125e73e2132d6b1abb2489ecf8e96412b8a5
2017-10-06 07:00:08 -07:00
Phil Ringnalda
e4dbaefed7 Backed out changeset 024ce7dd2f65 (bug 1270140) for check_spidermonkey_style.py failures
MozReview-Commit-ID: KyttCEkmYSo
2017-10-09 21:06:15 -07:00
Zibi Braniecki
71799db666 Bug 1270140 - Add Intl.RelativeTimeFormat. r=Waldo
MozReview-Commit-ID: GqetnVVmXXL

--HG--
extra : rebase_source : a9f30e017fe630c36cb560accca067c5859a545c
2017-10-06 07:00:08 -07:00
Robert Helmer
f0cf406637 Bug 1348981 - provide a list of valid system add-ons for packaging r=glandium
MozReview-Commit-ID: K2jCHBBJBqw

--HG--
extra : rebase_source : 0a1414d3e778d36f053800212e7d633eaa91de6b
2017-09-13 22:49:43 -07:00
Sebastian Hengst
ea41018a71 Backed out changeset 59d279deac34 (bug 1348981) for frequently failing xpcshell's toolkit/mozapps/extensions/test/xpcshell/test_system_update_empty.js on OS X 10.10 debug. r=backout 2017-10-04 15:45:03 +02:00
Robert Helmer
8143368fa5 Bug 1348981 - provide a list of valid system add-ons for packaging r=glandium
MozReview-Commit-ID: K2jCHBBJBqw

--HG--
extra : rebase_source : 0a1414d3e778d36f053800212e7d633eaa91de6b
2017-09-13 22:49:43 -07:00
Sebastian Hengst
773adb3c2f Backed out changeset b8b9f1dbeda3 (bug 1348981) for failing xpcshell toolkit/components/telemetry/tests/unit/test_TelemetryEnvironment.js. r=backout 2017-10-04 01:01:14 +02:00
Robert Helmer
3392a20460 Bug 1348981 - provide a list of valid system add-ons for packaging r=glandium
MozReview-Commit-ID: K2jCHBBJBqw

--HG--
extra : rebase_source : 0a1414d3e778d36f053800212e7d633eaa91de6b
2017-09-13 22:49:43 -07:00
Mark Banner
a3393e0d94 Bug 1403928 - Remove unused config/string-format.js, and mark config as a no-js-files directory in .eslintignore. r=glandium
config/string-format.js was made obsolete in the removals in bug 1227388.

MozReview-Commit-ID: 1nQwlKhoC0e

--HG--
extra : rebase_source : 6b06e4d7ca2e8fc66fc2d93ade54c813d975acec
2017-09-28 14:55:03 +01:00
Nathan Froyd
f0fcd23367 Bug 1373878 - part 2 - build system support for Rust tests; r=rillian 2017-10-02 09:21:22 -04:00
Sebastian Hengst
4ad3e6f78d Backed out changeset 1ae1bd9b2b5c (bug 256180) for crashtest failures on Windows 7 debug, e.g. in layout/base/crashtests/507119.html, and on suspicion of causing crashtest failures on Android. r=backout 2017-09-28 11:31:47 +02:00
Henri Sivonen
4518c3597b Bug 256180 build config part - Increase the max size for the runtime stack on Windows. r=glandium
MozReview-Commit-ID: JhWucajuuFz

--HG--
extra : rebase_source : 48a80faae8e378695529bf6acae6526393d83d7b
2017-09-14 11:39:43 +03:00
Phil Ringnalda
216b709c48 Backed out 4 changesets (bug 1348981) for Linux debug timeouts in test_system_update.js
Backed out changeset b1fe39ea6d5c (bug 1348981)
Backed out changeset 47866f942752 (bug 1348981)
Backed out changeset 5e93d8760487 (bug 1348981)
Backed out changeset 58431e2c37d7 (bug 1348981)

MozReview-Commit-ID: 2WjZKztxyVs
2017-09-23 06:20:56 -07:00
Robert Helmer
a9838c2aff Bug 1348981 - provide a list of valid system add-ons for packaging r=glandium
MozReview-Commit-ID: K2jCHBBJBqw

--HG--
extra : rebase_source : 446409d7eaa5aaa7cc3b8d566539ab67152f67bc
2017-09-13 22:49:43 -07:00
Wes Kocher
43fdbce8a0 Backed out 4 changesets (bug 1348981) for addon related xpcshell failures a=backout
Backed out changeset af30bdde5572 (bug 1348981)
Backed out changeset dc6f6f59da82 (bug 1348981)
Backed out changeset b5149335d9ed (bug 1348981)
Backed out changeset a943c88d0dd5 (bug 1348981)

MozReview-Commit-ID: GIWRb1mY7wJ
2017-09-22 15:27:49 -07:00
Robert Helmer
498b682f1b Bug 1348981 - provide a list of valid system add-ons for packaging r=glandium
MozReview-Commit-ID: K2jCHBBJBqw

--HG--
extra : rebase_source : 446409d7eaa5aaa7cc3b8d566539ab67152f67bc
2017-09-13 22:49:43 -07:00
Mike Hommey
0c37db303e Bug 1052573 - Generically whitelist memalign calls from anything under memory/. r=njn
--HG--
extra : rebase_source : bcfa34744c1f7385b89b5ea63b2215921bc4e3df
2017-09-22 08:57:23 +09:00
ffxbld
ddbf9d22ec Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release
MozReview-Commit-ID: Equ8FrTJpTj
2017-09-21 16:42:31 +02:00
Chris Manchester
89a09e8d67 Bug 1398897 - Move os includes to computed flags. r=glandium
MozReview-Commit-ID: Ef1wu5fQo7M

--HG--
extra : rebase_source : b5f15b2da47e724790ffee0512b5477059ae1c3a
2017-09-20 12:43:24 -07:00
Chris Manchester
c6f31b26d8 Bug 1398897 - Move includes to computed flags. r=glandium
MozReview-Commit-ID: Ec0wZfoV63B

--HG--
extra : rebase_source : c004185b9a9938343efb93920f646afd30b4b01e
2017-09-20 12:43:23 -07:00
Chris Manchester
6de6ad13ab Bug 1398897 - Move defines to computed compile flags. r=glandium
MozReview-Commit-ID: CgQv79dYj7Y

--HG--
extra : rebase_source : 2e95f04d586ccb31bbd68e76b550fe1afcac32ec
2017-05-01 18:13:48 -07:00