Commit Graph

5744 Commits

Author SHA1 Message Date
Enes Goktas
2f65f683e3 Bug 1272629 - Add taskcluster task to build binutils package; r=glandium
MozReview-Commit-ID: AEOShpN8ZMI

--HG--
extra : rebase_source : fc8b99002c4944ae666b1a6922edc42d2b0805f4
extra : source : 86d07e6bd5b7197f249e5064ee600fe83b808fb1
2016-09-14 18:47:50 -07:00
Andrew Halberstadt
5b7356ae02 Bug 1292674 - Also allow android build-tools v23.0.1 in configure, r=gps
I recently discovered that build-tools 23.0.3 doesn't seem to exist on Fedora. Although
I fixed mozboot to download 23.0.1 instead, the builds were still failing because of
configure required 23.0.3.

This seems like an artificial limitation, as building with 23.0.1 seems to work just fine.
This patch will allow either 23.0.1 or 23.0.3.

Note: It would probably better to check for some "minimum" version of build-tools I think
GNU sort has a -V option we could use, but I don't know how cross-platform this is.

MozReview-Commit-ID: 8W0P3yyAHu1

--HG--
extra : rebase_source : 166c1b66962cac6af92c4ce6d3cc1780d9049800
2016-08-26 17:03:02 -04:00
Jim Chen
9c2bd7d17b Bug 1291375 - 2. Let AnnotationProcessor generate multiple sets of bindings; r=snorp
Let AnnotationProcessor accept an output prefix argument, so that we can
generate two different sets of bindings for different jars - one set for
GeckoView code and one set for Fennec code.
2016-09-16 15:13:47 -04:00
Greg Tatum
af2fa2e8ab Bug 1290988 - Add the mach generate-css-db command. r=tromey, r=chmanchester
Provide a single mach command to automatically generate the static
database of CSS properties that devtools uses for the inspector
and various editors.

MozReview-Commit-ID: 8E2jwxF0KbM

--HG--
rename : devtools/shared/css/moz.build => devtools/shared/css/generated/moz.build
extra : rebase_source : ab1815f321d460886168d95ddb739a579599b8c7
extra : histedit_source : f2bfecdcc128a87abcf3c0284a54c53bdeff1c87
2016-09-14 10:00:27 -05:00
Makoto Kato
376abb5214 Bug 1298569 - Part 1. Add NEON_FLAGS for arm32. r=glandium
aarch64 doesn't require compiler flag when using NEON.  To use NEON on aarch64 with BUILD_ARM_NEON, we should move NEON's flags to NEON_FLAGS like SSE2_FLAGS.

MozReview-Commit-ID: PGDjcHdTfH

--HG--
extra : rebase_source : d21bd6f743f363fdd183bda9b9f308fcf100186b
2016-08-27 14:23:22 +09:00
Ryan VanderMeulen
739f3dac5a Merge m-c to autoland. a=merge 2016-09-13 20:46:39 -04:00
Dustin J. Mitchell
43ee56730b Bug 1286075: include redo in mach python path; r=gps
MozReview-Commit-ID: G34XOxlMDV7

--HG--
extra : rebase_source : 335aafa96b395c9f801bde26ae53234f309aded0
2016-08-23 00:02:38 +00:00
Gregory Szorc
99515b1b1a Bug 1283203 - Update to Visual Studio 2015 Update 3, SDK 10.14393.0; r=glandium
Visual Studio 2015 Update 3 has been out for a few months. It appears
stable. So let's start using it.

As part of this, we also update the Windows SDK to the version
corresponding with the Windows 10 Anniversary Update (10.14393.0).

MozReview-Commit-ID: C36sRlKqa8t

--HG--
extra : rebase_source : 2fd46d6053d3eaf62dd8b2b291881c5172cc6056
2016-09-09 10:35:15 -07:00
Gregory Szorc
4702a9636e Bug 1283203 - Package Windows 10 Anniversary Update SDK; r=glandium
The Visual Studio installer now prompts to install Windows 10 SDK
10.14393.0, which corresponds to the SDK released with the Windows 10
Anniversary Update. Since it is the latest SDK available, let's start
packaging it instead of the older SDK in our standalone toolchain
archive.

MozReview-Commit-ID: 29T6hMHX18x

--HG--
extra : rebase_source : b22dba5f922dcbeb4147ac1a744c772e82e0e9ed
2016-09-09 09:55:44 -07:00
Sebastian Hengst
1984be4adc Backed out changeset d67ee15cd875 (bug 1290988) 2016-09-13 17:42:29 +02:00
Greg Tatum
77ecdadfe2 Bug 1290988 - Add the mach generate-css-db command; r=chmanchester,tromey
Provide a single mach command to automatically generate the static
database of CSS properties that devtools uses for the inspector
and various editors.

MozReview-Commit-ID: 8E2jwxF0KbM

--HG--
extra : rebase_source : 2cd21cd08f431ff933c3fd89ebca3e6684fb80f8
2016-08-29 11:35:52 -05:00
Carsten "Tomcat" Book
c737c8cee6 Merge mozilla-central to autoland 2016-09-13 13:09:21 +02:00
Mike Hommey
935ad653b8 Bug 1299919 - Set CPP/CXXCPP from python configure. r=chmanchester 2016-09-13 13:25:18 +09:00
Akihiko Odaki
3ac9332f73 Bug 1298565 - Do not decode preprocessor output as ASCII r=glandium
MozReview-Commit-ID: BmXVO4KHRR2

--HG--
extra : rebase_source : b39f1289bb45d5b318e370ea54d48450f6cd37d2
2016-08-30 18:47:28 +09:00
Mike Hommey
6070365bf2 Bug 1289946 - Work around preprocessor default defines in get_compiler_info(). r=gps
Some compilers on some platforms by default #define some of the values
we're using in the source we use in get_compiler_info(). Namely,
mingw-gcc #defines WINNT by default, and the WINNT in the source is then
replaced by 1, breaking the check.

The C preprocessor, fortunately, doesn't expand macros inside C strings.
So instead of `%KERNEL WINNT`, we output `%KERNEL "WINNT"`, and strip
out the double quotes. For good measure, we do this for all values in
the source used in get_compiler_info().

--HG--
extra : rebase_source : dd4cc2b8c3bf0cb508b09598706b74ccc12162be
2016-09-08 07:27:56 +09:00
Michael Layzell
71cd730292 Bug 1301171 - Remove unused rust.m4 file, r=froydnj
MozReview-Commit-ID: ABaZzfTAbrQ
2016-09-08 10:34:50 -04:00
Valentin Gosu
4a0dbd7270 Bug 1301069 - Backed out bug 1185120 (changeset 38cad72a77a6) a=backout 2016-09-08 00:04:07 +02:00
Ralph Giles
ca13da128b Bug 1299864 - Target i585 linux when building rust code. r=glandium
Update linux32 tooltool manifest to use a gecko build of rustc and cargo
for x86_64-unknown-linux-gnu host targeting both x86_64 and i586.

    rustc built with --enable-llvm-static-stdcpp --disable-docs
    --enable-debuginfo --release-channel=stable from 'stable' branch
    rust 1.11.0 (commit 9b21dcd6a89f38e8ceccb2ede8c9027cb409f6e3)

Pass --target i585-unknown-linux-gnu when building for 32-bit linux.
We mostly want this for official builds, but Debian needs it too,
in both cases to support old machines without SSE2 instruction set
support, so while it means developers will have to `rustup target add
i585-unknown-linux-gnu` when building for this architecture that is
not a common task (most linux devs will be on 64-bit) and it reduces
variance and surprise if binaries are distributed.

MozReview-Commit-ID: 3mAjWxYGpwZ
2016-09-07 10:40:29 -07:00
Carsten "Tomcat" Book
656d6db419 Merge mozilla-central to mozilla-inbound 2016-09-07 17:21:27 +02:00
Michael Layzell
9c75f35e6a Bug 1018486 - Part 10: Add an analysis to reject the kungFuDeathGrip pattern on function results and member variables, r=ehsan
MozReview-Commit-ID: K8rehjAxIA6
2016-09-07 10:50:48 -04:00
Sebastian Kaspari
9b9a3bee93 Bug 1300569 - Add palette-v7 support library to build. r=ahunt
MozReview-Commit-ID: F29cOyHsd8B

--HG--
extra : rebase_source : 0c568158a20ae34687b135ce414ccfb5f710d228
2016-09-06 08:39:16 +02:00
Bob Owen
fe52c7727a Bug 1287426 Part 1: Ignore clang warnings for implicit conversions in Chromium sandbox code. r=ehsan
MozReview-Commit-ID: Bq0PocdYdm9
2016-09-06 08:57:20 +01:00
Yen Chi Hsuan
5a098d36c7 Bug 1185120 - Convert raw pointers in DNS.cpp and nsHostResolver.cpp to smart pointers. r=valentin 2016-09-05 03:47:58 +08:00
Chris Manchester
8577fd7039 Bug 1298536 - Move --with-linux-headers to Python configure. r=glandium
MozReview-Commit-ID: FWovXD9rjed

--HG--
extra : rebase_source : 4a9693b512c51b37abd5cdafcedc21cff8b4434c
2016-08-31 14:29:29 -07:00
Chris Manchester
70af134705 Bug 1298536 - Allow flags passed to try_compile to be a depends function. r=glandium
MozReview-Commit-ID: BH9oJPHei3r

--HG--
extra : rebase_source : bfbb5402401d8602fe54a8869a813ab85422def2
2016-08-31 14:23:20 -07:00
Andrew Halberstadt
b8794fb825 Backed out changeset 0d714827d06c for causing local build failures on Android (bug 1292674)
MozReview-Commit-ID: LPos2cJMyRR
2016-09-01 13:34:01 -04:00
Andrew Halberstadt
9d41cac3c3 Bug 1292674 - Also allow android build-tools v23.0.1 in configure, r=gps
I recently discovered that build-tools 23.0.3 doesn't seem to exist on Fedora. Although
I fixed mozboot to download 23.0.1 instead, the builds were still failing because of
configure required 23.0.3.

This seems like an artificial limitation, as building with 23.0.1 seems to work just fine.
This patch will allow either 23.0.1 or 23.0.3.

Note: It would probably better to check for some "minimum" version of build-tools I think
GNU sort has a -V option we could use, but I don't know how cross-platform this is.

MozReview-Commit-ID: 8W0P3yyAHu1

--HG--
extra : rebase_source : 8e2809327eabd49f681ef42eec9c2f0eb43f1eb8
2016-08-26 17:03:02 -04:00
Paul Bignier
31295dc155 Bug 1287458 - clang-plugin - style consistency with LLVM. r=mystor
MozReview-Commit-ID: 41uSgifPWRw

--HG--
extra : amend_source : 2eaaf8d04d4d69cee0fd8234508811545b505ecd
2016-08-29 17:17:13 +02:00
Nathan Froyd
61228089c3 Bug 1299145 - use the proper debuginfo option for clang-cl; r=mshal
clang-cl, oddly, does not accept -g and wants the MSVC-esque -Zi
option instead.

MozReview-Commit-ID: JHecFCdfjbz

--HG--
extra : rebase_source : 1c191e9c17437b2ef97b67960104f7da5427ea25
2016-08-30 10:17:21 -04:00
Mike Hommey
4b2aff3235 Bug 1291356 - Ensure building with --with-servo keeps building with mozjemalloc, whatever the default jemalloc is. r=chmanchester
--HG--
extra : rebase_source : 0eddfe8262dd1f015a38de8e10a2889ef9f3d342
2016-08-26 10:28:04 +09:00
Mike Hommey
9aa5c1b0b4 Bug 1137305 - Move --enable-skia{,-gpu} to python configure and enable skia by default on little-endian platforms. r=chmanchester
--HG--
extra : rebase_source : 4038081460a8c071510a326df8127e9e6d1ae653
2016-08-26 07:55:16 +09:00
Chris Manchester
942b77d16c Bug 1294803 - Move MOZ_SYSTEM_FFI to moz.configure in preparation for moving libffi to our build system. r=glandium
This patch introduces a small change in behavior: we now unconditionally
require libffi > 3.0.9 when using system ffi, rather than accepting 3.0.9
when using GCC, as 3.0.10 was released 5 years ago, and should be widely
available.


MozReview-Commit-ID: DtSDPoZSPcx
2016-08-22 15:07:07 -07:00
Chris Manchester
470a2afbb6 Bug 1294803 - Move BUILD_CTYPES to Python configure. r=glandium
MozReview-Commit-ID: 3TlgdpNDLZW
2016-08-22 12:17:19 -07:00
Mike Hommey
b65bccd9ce Bug 1276003 - Move --enable-necko-protocols to python configure. r=chmanchester
--HG--
extra : rebase_source : 6187c1a382b240e2fa01f38f4c739000d5f177ce
2016-08-18 09:57:06 +09:00
Chris Manchester
76d8f148d9 Backed out changeset c0e6aae0b93d (bug 1294803) for breaking artifact builds.
MozReview-Commit-ID: BTrQMCJSCRn
2016-08-19 11:12:07 -07:00
Chris Manchester
65ba8ff0f6 Backed out changeset 7f6047b2bc09 (bug 1294803) for breaking artifact builds.
MozReview-Commit-ID: FdzqUJnaSQT
2016-08-19 11:12:07 -07:00
Chris Manchester
49a7faf599 Bug 1294864 - Move MOZ_PERMISSIONS to Python configure. r=glandium
MozReview-Commit-ID: AyaWOvm5cq
2016-08-18 13:39:40 -07:00
Chris Manchester
4cdee259e5 Bug 1295784 - Use the argument name for when when passing it to Python configure's pkg_check_modules. r=glandium
MozReview-Commit-ID: GcVEzS3nLql
2016-08-17 15:02:31 -07:00
Chris Manchester
7d9c80e4aa Bug 1295784 - Use when instead of condition as an argument name in Python configure's pkg_check_modules for consistency. r=glandium
MozReview-Commit-ID: 61XglTI0BII
2016-08-17 15:02:31 -07:00
Chris Manchester
872c57fe84 Bug 1294803 - Move BUILD_CTYPES to Python configure. r=glandium
MozReview-Commit-ID: 3TlgdpNDLZW
2016-08-17 15:02:31 -07:00
Chris Manchester
269e8590e8 Bug 1294803 - Move MOZ_SYSTEM_FFI to moz.configure in preparation for moving libffi to our build system. r=glandium
This patch introduces a small change in behavior: we now unconditionally
require libffi > 3.0.9 when using system ffi, rather than accepting 3.0.9
when using GCC, as 3.0.10 was released 5 years ago, and should be widely
available.


MozReview-Commit-ID: DtSDPoZSPcx
2016-08-17 15:02:31 -07:00
Chris Manchester
b0b84a1928 Bug 1240134 - Incorporate the interfaces.xpt from downloaded artifacts instead of building XPIDL during an artifact build. r=glandium
MozReview-Commit-ID: 8oEyS1xLOwV
2016-08-17 15:02:31 -07:00
Wes Kocher
c84ec3b3f3 Merge m-c to inbound, a=merge 2016-08-16 22:06:58 -07:00
Wes Kocher
48b8d407c8 Merge inbound to central, a=merge
a=release to get around the webidl hook for a comment-only change

--HG--
extra : amend_source : f7e57101e1a25d3cf3536a256898ec2a21c54b38
2016-08-16 17:05:30 -07:00
Wes Kocher
073e095b66 Merge fx-team to central, a=merge CLOSED TREE 2016-08-16 16:37:28 -07:00
Ian Stakenvicius
1f75b211c2 Bug 1282843 - Add ability to specify system paths to @old_configure_options. r=glandium 2016-08-16 09:42:00 -04:00
Gregory Szorc
2562138ede Bug 1291944 - Verify makensis binary is 32-bits; r=glandium
This required implementing a utility function to resolve the binary
type. I used GetBinaryTypeW via ctypes because this seems the fastest.
I arbitrarily limited the function to testing 32-bit and 64-bit Windows
executables because hopefully those are the only executables we'll
ever encounter. We can expand the binary detection later, if needed.
This includes support for running on non-Windows platforms.

MozReview-Commit-ID: CYwyDWQrePc

--HG--
extra : rebase_source : 8fd7ca7f253d9e9e18d64784652a5ff934ad2272
2016-08-15 18:11:48 -07:00
Mike Hommey
ebd899b9d6 Another fixup for bug 1294639 on a CLOSED TREE. a=Kwierso 2016-08-16 08:53:33 +09:00
Mike Hommey
3f3d75fb1f Bug 1294632 - Remove unused old_configure_options. r=chmanchester
--enable-approximate-location and --enable-gps-debug were removed in bug
1278410.
--enable-media-navigator was removed in bug 1259581.
--enable-webapp-runtime was removed in bug 1238079.
2016-08-16 08:32:53 +09:00
Mike Hommey
c6d1e73834 Bug 1294585 - Move --with-*-keyfile options to python configure. r=chmanchester 2016-08-16 08:32:51 +09:00