Commit Graph

333 Commits

Author SHA1 Message Date
Emilio Cobos Álvarez
24cf27d33c Bug 1447611: Remove --enable-stylo and --enable-stylo-build-bindgen. r=froydnj
Will remove the prefs and stuff in a followup.

MozReview-Commit-ID: HVyfbHOEQYI
2018-03-21 19:13:26 +01:00
Csoregi Natalia
d6c6d38406 Backed out 4 changesets (bug 1447611) for mass failures due to --enable-stylo removal. CLOSED TREE
Backed out changeset c6193142bbcf (bug 1447611)
Backed out changeset 01ada1c5a95f (bug 1447611)
Backed out changeset 86c9fed44da2 (bug 1447611)
Backed out changeset bb84ac6e1468 (bug 1447611)
2018-03-21 19:01:07 +02:00
Emilio Cobos Álvarez
330ddd82bf Bug 1447611: Remove --enable-stylo and --enable-stylo-build-bindgen. r=froydnj
Will remove the prefs and stuff in a followup.

MozReview-Commit-ID: HVyfbHOEQYI
2018-03-21 17:24:41 +01:00
Jonathan Watt
f3e6656403 Bug 1447367 - Remove files that are not built when MOZ_OLD_STYLE is not defined. r=emilio
MozReview-Commit-ID: D9bEPfTSw61
2018-03-07 18:08:41 +00:00
Emilio Cobos Álvarez
739b866c71 Bug 1447301: Disable the old style system by default. r=froydnj
This keeps --disable-stylo working and --enable-stylo=build with the same
semantics, but it makes also --enable-stylo / and the default to not build the
old style system at all.

This also removes the stylo-only platforms, since they're now the default.

MozReview-Commit-ID: DL2eZZn9suE
2018-03-20 17:33:47 +01:00
Jonathan Watt
886a63cc64 Bug 1435230 - Don't build SkiaPDF for Windows Nightly. r=glandium
MozReview-Commit-ID: JxCOILSLRtb
2018-02-21 14:54:27 +00:00
Arthur Edelstein
62da146e06 Bug 1433357 - Part 1: Add proxy bypass protection flag r=glandium
--HG--
extra : rebase_source : cb690c9af4200276718ec1e07bbd2551d71b5033
2018-02-02 14:45:00 +02:00
Martin Stransky
bdd7d89f6c Bug 1434574 - Build wayland with EGL OpenGL backend, r=glandium
MozReview-Commit-ID: LpGmUVOYqRI

--HG--
extra : rebase_source : f26825fedcf66b6bdb2bcb32093b1d4451fe60e7
2018-01-31 13:13:50 +01:00
Cameron McCormack
24cbcff6fa Bug 1430014 - Part 1: Add --enable-stylo=only configure option and MOZ_OLD_STYLE define. r=glandium,xidorn
MozReview-Commit-ID: FsypJFV1sxS

--HG--
extra : source : 3043d52e91a1768dddf603a8a6fd992a8fc89ebf
2018-02-01 15:04:04 +11:00
Makoto Kato
7b895ca1a7 Bug 1433775 - Add Linux/arm support to Gecko Profiler. r=mstange
We don't support Android for Gecko Profiler extension yet.

So for investigating arm issue, I would like to add initial support of
Gecko Profiler for Linux/arm.

--HG--
extra : rebase_source : f936a97a87b7eea2ebfefe3cbc7f8791bc90d03a
2018-01-29 18:01:23 +09:00
Chris Manchester
b71a45f1e7 Bug 1431229 - Add configure variables to specify the webidl and ipdl root directories. r=mshal
MozReview-Commit-ID: 1zvO7vAEp5c

--HG--
extra : rebase_source : 206d653b2da551c761a8be4bb2c1d21eb87ae882
2018-01-24 13:55:05 -08:00
Sylvestre Ledru
f8b1d9ab46 Bug 1278282 - update of the moz.build files to remove gtk2 references r=lsalzman
MozReview-Commit-ID: FO1wEHzOkuN

--HG--
extra : rebase_source : ac7e61cf47d013de882048740c889735a0a7cad8
2018-01-10 10:04:59 +01:00
Prathiksha
e58cc0ef84 Bug 1378200 - Remove MOZ_PERMISSIONS define guards. r=mystor
MozReview-Commit-ID: 2IcXC3h29D9
2017-12-14 03:32:41 +05:30
Chris Manchester
08507804bf Bug 1336429 - Add the ability to build GN projects in the tree with mozbuild. r=gps
This commit adds a frontend construct, `GN_DIRS`, to facilitate building
gn projects with moz.build. Directories added to `GN_DIRS` get particular
treatment by two build backends added here as well, `GnConfigGen` and
`GnMozbuildWriter`.

The `GnConfigGen` backend runs `gn gen` for a gn project specified in
`GN_DIRS` and dumps this configuration as json, which is filtered to include
only those elements that will be needed by mozbuild. `gn gen` is run in
the context of a single build's configuration, so when adding or updating
a gn project it will be necessary to run this step with each supported
configuration.

The `GnMozbuildWriter` aggregates the config files generated by the
`GnConfigGen` backend, which it expects to find in the `gn-configs` directory
under the directory specified to `GN_DIRS`. The result is written to a set of
moz.build files suitable for building the project that are intended to be
checked in to the tree.

Once these moz.build files are checked in to the tree the project can be built
as any other directory: when using a general purpose build backend such as
RecursiveMake or FasterMake to build, entries in `GN_DIRS` will be treated as a
normal entries in `DIRS`.


MozReview-Commit-ID: KlHuP4DY2R4

--HG--
extra : rebase_source : b16079b3417bee3e58b0ecc8724b54c1b9d87d98
2017-12-07 15:58:18 -08:00
Ralph Giles
d65dfc2d3d Bug 1423814 - av1: re-enable decoder on 32-bit nightly. r=kinetik
Revert the work-around from bug 1421635 now that the upstream
fix is applied.

MozReview-Commit-ID: GwmXr8zVBGn

--HG--
extra : rebase_source : 253428fac503e8820856b371e44aaa963e932e29
2017-12-06 22:13:15 -08:00
Ralph Giles
d9f12c1bde Bug 1421635 - av1: Disable decoding on 32-bit x86. r=kinetik
Work around crashes on win32 by disabling the decoder for
that target and 32-bit linux. Machines limited to 32 bits
are likely too slow for effective software playback anyway.

MozReview-Commit-ID: FP4wxP3FPOQ

--HG--
extra : rebase_source : 9bdd8a3719c21bb1d26af8272894cf7be46a02f4
2017-12-05 16:11:40 -08:00
Makoto Kato
b444fbea2a Bug 1366049 - enable Stylo for Android. r=snorp
All tests are passed with stylo, So let's turn on stylo even if Android.

MozReview-Commit-ID: X0ORZUn60a

--HG--
extra : rebase_source : 61f0d3513114a2d0716d9e660eba98004ff85bbf
2017-11-21 19:35:32 +09:00
Noemi Erli
088b617365 Backed out changeset 9353a526c194 (bug 1366049) for bustage in /python/mozbuild/mozbuild/test/configure/lint.py r=backout on a CLOSED TREE 2017-11-22 23:31:04 +02:00
Makoto Kato
b2dfd3b57f Bug 1366049 - enable Stylo for Android. r=snorp
All tests are passed with stylo, So let's turn on stylo even if Android.

MozReview-Commit-ID: X0ORZUn60a

--HG--
extra : rebase_source : f93f979711ab5f16eb3ced1d07e3c6d83464a6f0
2017-11-21 19:35:32 +09:00
Mike Hommey
6e39384683 Bug 1417689 - Move elfhack related things to python configure. r=nalexander 2017-11-16 09:37:31 +09:00
Andreas Tolfsen
16c97746d1 Bug 1414401 - Enable geckodriver on Linux i686 r=ted,whimboo
This patch enables building of geckodriver in CI on Linux i686.

MozReview-Commit-ID: GkdHDJrzh2X

--HG--
extra : rebase_source : 3202702d8ae3423079aad512a3d7c8dc8e7408a3
2017-11-03 14:13:06 +00:00
btara
48bd0d4658 Backed out 3 changesets (bug 1414401) for failing Linux opt /webdriver/tests/actions/key_shortcuts.py r=backout on a CLOSED TREE
Backed out changeset 8d17c033d79b (bug 1414401)
Backed out changeset b445d7d2eadc (bug 1414401)
Backed out changeset cb2f1791b209 (bug 1414401)
2017-11-12 12:39:37 +02:00
Andreas Tolfsen
d9caceac2d Bug 1414401 - Enable geckodriver on Linux i686 r=ted,whimboo
This patch enables building of geckodriver in CI on Linux i686.

MozReview-Commit-ID: GkdHDJrzh2X

--HG--
extra : rebase_source : ab4588468939358a41d255dea3a01a8542e35a0e
2017-11-03 14:13:06 +00:00
Sebastian Hengst
87edeab9cb Backed out 2 changesets (bug 1414401) for almost perma failing webdriver's /webdriver/tests/actions/key_shortcuts.py on Linux 32-bit. r=backout
Backed out changeset 331c5f0d914e (bug 1414401)
Backed out changeset 34708561a45c (bug 1414401)
2017-11-11 01:00:26 +02:00
Ryan VanderMeulen
f850c5874e Merge m-c to autoland on a CLOSED TREE. a=merge
--HG--
extra : amend_source : a40e5ae025083e5d00d96f08cc8e78119721317a
2017-11-10 16:15:26 -05:00
huangwenjun
adc74c715f Bug 1223312 - Part 1: Enable webrtc on MIPS64 platforms by default. r=drno, r=jesup, r=ted
--HG--
extra : rebase_source : 4bda2b90dc957d93e92edc6f36d10997608617d4
2017-11-08 18:30:00 -05:00
Andreas Tolfsen
399e94f3b5 Bug 1414401 - Enable geckodriver on Linux i686 r=ted,whimboo
This patch enables building of geckodriver in CI on Linux i686.

MozReview-Commit-ID: GkdHDJrzh2X

--HG--
extra : rebase_source : 2093fcecb9227852295377fe546b1ebe97d6459d
2017-11-03 14:13:06 +00:00
qiaopengcheng
1120b29dd0 Bug 1403421 - Support mips64-linux performance. r=njn 2017-09-28 18:23:00 -04:00
Mark Banner
39be58d801 Bug 1272086 - Remove now-unused MOZ_SOCIAL configure options. r=chmanchester
MozReview-Commit-ID: KjkKRo4NyDm

--HG--
extra : rebase_source : 0d4aadc9f350af1fb642a4fde6088cbcc2a4c344
2017-10-31 09:30:52 +00:00
Makoto Kato
b55c2d4000 Bug 1411802 - Build stylo on Android as default. r=nalexander,snorp,jryans
- Building is nightly channel only.  Beta and release for Fennec 58 don't build
  stylo.  It means that the package size for 58 beta/release isn't incremented
  by this change.
- The preference for stylo is still turned off Nightly 58. It will be turned on
  59 after fixing some bugs for crashtests and etc.  Our target to enable stylo
  for Android is 59.
- ./mach bootstrap already installs clang etc to build stylo and bindgen.
  Developers for mobile won't require additional build options for this change.

MozReview-Commit-ID: CIpYl8I5d7x

--HG--
extra : rebase_source : 6387704e4a94db080d4add10298cf1cc254ddec0
2017-10-29 22:56:41 +09:00
Dan Glastonbury
dbd544f296 Bug 1407487 - P1: Remove --enable-cubeb-remoting. r=kinetik,rillian
Replace with conditional compilation enabled for Linux targets.

MozReview-Commit-ID: GjD0Ix8aeJW
2017-10-19 18:02:50 +13:00
Christian Holler
a351d70944 Bug 1406081 - Make --enable-coverage flag available in JS shell. r=froydnj
MozReview-Commit-ID: 5GGTGu2oMc3

--HG--
extra : rebase_source : 85c079b02f6b408ddfd13e518ed136c3a26b20b1
2017-10-05 18:30:26 +02: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
Jan Keromnes
01d2ba9d5f Bug 1398082 - Support compiling stylo with llvm-config-5.0 or llvm-config-6.0. r=froydnj
--HG--
extra : rebase_source : fad9693d6dedfb9bc2ecc8d8286bee40f4bb31bb
2017-09-12 13:04:00 -04:00
Christian Holler
75d68dab36 Bug 1386304 - Add and integrate asan-reporter system add-on. r=froydnj
MozReview-Commit-ID: IwE2LzofLz0

--HG--
extra : rebase_source : 49d5f79b0774837aa52c02a120f7c16272be157e
2017-07-31 15:13:38 +02:00
Nathan Froyd
1594b08efb Bug 1396683 - clarify bindgen error messages around clang; r=rillian
Stylo's recent enabled-by-default behavior, combined with some Linux
distributions's packaging of LLVM separately from Clang, causes
confusion.  To allay such confusion, rearrange the configure checks to
do two things:

1) Check for the clang binary prior to checking for clang's shared
   libraries; it should be more obvious what you need to install from
   an error about clang, and installing clang should pull in the
   necessary clang libraries, avoiding the following scenario:

     - run configure
     - get error message about libclang
     - install libclang
     - run configure
     - get error message about clang

2) Provide some context for what to do to avoid this error; the user may
not understand why we need a separate C/C++ compiler when they already
have a perfectly suitable one on their system.
2017-09-06 15:43:30 -04:00
Ralph Giles
2a7e53556d Bug 1395392 - Remove pocketsphinx options from configure. r=chmanchester
These were only enabled for b2g nightly builds, which we no longer
support, so these are unnecessary checks. The supporting code was
removed in bug 1396158.

MozReview-Commit-ID: 5oie28IlRz1
2017-09-06 08:54:47 -07:00
Ralph Giles
d48e4560de Bug 1395392 - Clean up unnecessary variable. r=chmanchester
The `os` dereference here is only used in the error message,
and using it in the conditional tree doesn't really help
readability since it's too short; the target prefix is
helpful.

MozReview-Commit-ID: 4A8MpRH2r0p
2017-09-06 08:54:41 -07:00
Ralph Giles
b0a2cdc0bd Bug 1395392 - Remove support for non-standard implied toolkit configs. r=chmanchester
This was a work-around for b2g work and is no longer used
by code we have in-tree.

MozReview-Commit-ID: DgZIecxqfB6
2017-09-06 08:54:30 -07:00
J. Ryan Stinnett
258ab1f0a4 Bug 1330412 - Enable Stylo by default. r=bholley,froydnj
MozReview-Commit-ID: LqrUHJ4WNFG

--HG--
extra : rebase_source : 1ae2b31908a252f448e6c4de86cde95f2d063fe1
2017-08-24 18:22:22 -05:00
Dan Glastonbury
f1e1b786c6 Bug 1391523 - P5: Compile in audioipc crates. r=kamidphish
MozReview-Commit-ID: 6BC0fu1rrEE

--HG--
extra : rebase_source : b986541c97eee9eaa70bbc54ccfcd63b2d3fa006
2017-08-11 12:41:35 +10:00
Andrew Swan
d48e863d10 Bug 1363897 Switch legacy extensions handling to option() r=glandium
MozReview-Commit-ID: 2DquMSM1ECJ

--HG--
extra : rebase_source : 16ced52d009e55a611155ec0aa7b7dbef7d6a87a
2017-08-17 11:48:44 -07:00
J. Ryan Stinnett
81c85dfb02 Bug 1366050 - Build with Stylo for Linux32. r=gps
Now that various Rust bindgen issues are resolved, we can build with Stylo
support on Linux 32-bit.

MozReview-Commit-ID: H1BHxZkOqky
2017-08-22 14:54:21 -05:00
Nicholas Hurley
d4f64ba24e Bug 1391467 - Remove --enable-necko-protocols. r=gps,valentin
This patch removes the ability to select which protocols you want
included in necko, a wholly untested configuration that is broken in
practice. We have no need of this kind of configurability in necko.

In addition, this removes the final vestiges of rtsp support, which was
originally removed in bug 1295885 but still had some stuff hanging
around behind some ifdefs (that were never true).

MozReview-Commit-ID: KOEaDmit2IL

--HG--
extra : rebase_source : f6c2fdb972aaba46e922cda801252dc953550b94
2017-08-17 17:30:57 -07:00
Chenxia Liu
9c27584fe8 Bug 1386906 - Add Pocket keys to build system. r=chmanchester
MozReview-Commit-ID: 8fjcSkn1P7P

--HG--
extra : rebase_source : bb7d2a561517decdf3b05badaced27ea9e7e2000
2017-08-09 12:11:10 -07:00
Wes Kocher
b6e3e08c6d Backed out changeset 59bc932c44ea (bug 1386906) for breaking single locale fennec builds a=bustage
MozReview-Commit-ID: 4z1nq8Z9gnV
2017-08-11 12:30:22 -07:00
Chenxia Liu
8b3a0e7bc2 Bug 1386906 - Add Pocket keys to build system. r=chmanchester
MozReview-Commit-ID: 8fjcSkn1P7P

--HG--
extra : rebase_source : 42c608d41e1262d0985dd9f59946a0732a971abc
2017-08-09 12:11:10 -07:00
Ricky Chien
7ebc576138 Bug 1382514 - Remove MOZ_PHOTON_PREFERENCES build flag r=jaws
--HG--
extra : rebase_source : e3df3a8ebbecbecfecb561f748a8c3b5f162bf99
2017-08-08 11:44:02 +08:00
Michael Kohler
674e1b96fb Bug 1366555 - Remove MOZ_PHOTON_THEME ifdefs and non-MOZ_PHOTON_THEME code. r=dao
MozReview-Commit-ID: 8w1vfF2yRui

--HG--
extra : rebase_source : 222d8e9d3b9543552ff5b08967375fa46d62b896
2017-08-08 12:09:14 +02:00
Jared Wein
76f886b972 Bug 1385913 - Remove MOZ_PHOTON_ANIMATIONS ifdef. r=Gijs
MozReview-Commit-ID: 40TP43EKPCU

--HG--
extra : rebase_source : 203f7449e8345ed5c779dfc4fd5e9bd515b89da8
2017-08-07 12:37:34 -04:00
Landry Breuil
ea28e9774d Bug 1387510 - Use glob() when looking for libclang.so on OpenBSD. r=froydnj 2017-08-04 12:43:00 -04:00
Axel Hecht
b9f1d30851 bug 1370506, for Nightly builds, automatically clone l10n repos for localized installers, r=glandium
Making more decisions on behalf of developers:

L10NBASEDIR is always defined, if not specified, it's ~/.mozbuild/l10n-central,
or in MOZBUILD_STATE_PATH/l10n-central if the state path in defined in the
environment.
If a locale isn't checked out, do that. The targets for which that works are
merge-%, installers-%, langpack-%

But only do that for Nightly builds, as for Beta and beyond, we have
explicit revisions to use for the builds, and we don't want to break release
builds silently with this.

MozReview-Commit-ID: EhGJPLuiyYO

--HG--
extra : rebase_source : 61a92396920965107a8811679552c1992b29155e
2017-06-15 19:47:28 +02:00
Ralph Giles
c7c885bcbe Bug 1384258 - Build Stylo by default. r=chmanchester
Build Stylo (the styling system from servo) by default in all
builds for win32, win64, macOS and linux64 targets. It was
previously enabled for automation builds, so this just changes
the behaviour for local developer builds.

Note that this introduces a new dependency on libclang for the
binding generator. If you're developing on a tier-1 platform,
run `./mach boostrap` to install a working copy. Otherwise
llvm+libclang 4.0.1 is recommended.

Remove the explicit --enable-stylo=build in mozconfig.stylo
in favour of the configure default.

Add mozconfig.stylo to the hazard and debug-asan mozconfigs
so LLVM_CONFIG is defined properly for those builds.

Based on a patch by Bobby Holly in bug 1356991.

MozReview-Commit-ID: C2wRNl7JHpz

--HG--
extra : rebase_source : 1ed7c36a64e25b235a26864592cd7ea969a4cd25
2017-07-25 14:29:52 -07:00
Jared Wein
6848c874f5 Bug 1380585 - Add MOZ_PHOTON_PREFERENCES build-time flag to help with implementing visual refresh of preferences. r=chmanchester,rickychien
MozReview-Commit-ID: H9vWWeq9d1i

--HG--
extra : rebase_source : 3546ae2c178aa8e6e378f93b3ba2503c09172267
extra : source : 50b7c4e14304b5b788094d1eaead8940d3d73c99
2017-07-12 14:25:05 -04:00
Marco Castelluccio
0f9d4e1985 Bug 1380665 - Define MOZ_CODE_COVERAGE for the entire tree. r=jmaher 2017-07-13 19:12:23 +02:00
Ralph Giles
7c724f8669 Bug 1379341 - Prefer llvm-config from homebrew to mozbuild. r=gps
We've had trouble with crashes and hangs on macOS with
libclang builds from tooltool, so for local developer
builds we prefer the homebrew or macports packages
installed by `mach bootstrap`.

However, we were searching ~/.mozbuild before the homebrew
directory, resulting using the wrong libclang when developers
had run `mach bootstrap` before the switch, or anyone who
had used `mach artifact toolchain` on macOS.

MozReview-Commit-ID: JpLBDNthG6e

--HG--
extra : rebase_source : cca6f2772fd16425bd9b75cdfb4c7b60e4da577f
2017-07-07 19:20:34 -07:00
Gregory Szorc
7c45840cbd Bug 1375231 - Properly compare value for --enable-webrender; r=glandium
"value" here is a PositiveOptionValue, which behaves like a tuple.
Its __eq__ fails if the types of the operands aren't the same. A
string literal isn't a PositiveOptionValue, so the "value == 'build'"
check always fails. This meant that --enable-webrender=build was
always being interpreted as --enable-webrender. Yikes.

MozReview-Commit-ID: 57hWl0VqDmD

--HG--
extra : rebase_source : 44b858a4bbf9002813a16ba29429696005901ccc
2017-06-21 13:04:04 -07:00
Nathan Froyd
48d6d4d603 Bug 1310852 - part 2 - search for Homebrew and MacPorts's llvm-config when appropriate; r=rillian
Since Homebrew doesn't automatically place clang and associated binaries
on PATH, we need to do the task ourselves.  MacPorts does place the
binaries in PATH, but uses yet another name, so we have to add that to
the search list.
2017-07-03 11:13:05 -04: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
Nathan Froyd
e0674ba40d Bug 1376956 - use find_program to search for clang for bindgen configuration; r=rillian
llvm-config on Windows can return a path for the clang binary which does
not end in ".exe", which then causes failures when attempting to check
for the existence of the file.  Rather than attempting to simply tack
".exe" onto the file if it's not already there, delegate to
moz.configure's `find_program` function, which will take care of that
case and several others besides.
2017-06-28 18:41:52 -04:00
Mike Hommey
0bc3c0dfde Bug 1375798 - Figure out host library/object prefix/suffixes and use them for libclang. r=mshal
The libclang test wants to find a libclang library for use for rust bindgen.
But that's a host process, that needs a host libclang. However, we
currently only have the target library/object prefix/suffixes. This
works fine... except when cross-compiling.

So we need to figure out the proper ones for the host, and use those
instead. For that, we templatize library_name_info in order to get a
separate set of library/object prefix/suffixes for the host and the
target.

And we use the host set for the libclang check.

Ideally, the build system would also use the host set for host tools
builds, but we'll leave that to a followup.

--HG--
extra : rebase_source : 1970791d6d5f9b3f79fbe34b7e3d05dd4b5c3f7b
2017-06-23 15:12:04 +09:00
Mike Hommey
2b86683647 Bug 1375798 - Reorganize the library_name_info function. r=mshal
The function as it currently is matches how things were done in
old-configure.in. However, that's just confusing and hard to follow. In
fact, the unit test failing numerous times while writing this patch
pretty much highlights the problem.

So instead of a confusing set of overrides to the prefixes and suffixes,
spell out the whole set for each set of platforms. This also happens to
make the function shorter. Win/win.

At the same time, we normalize the function output as a nested
namespace, where we get, for each of dll, lib, import_lib, etc. a
prefix/suffix pair. Further down the road, we can imagine changing those
to class instances with a method allowing to format file names based on
those prefix/suffixes.

--HG--
extra : rebase_source : c18520d4df54feeea0a7f9588bc3cf8346793aaf
2017-06-23 15:05:06 +09:00
Ralph Giles
f079cebc09 Bug 1369932 - Enable av1 playback in nightly Windows builds. r=froydnj
Enable for Windows targets now that they're building.

MozReview-Commit-ID: HTitN5FKV7F

--HG--
extra : rebase_source : 06dbfbd99fe21ee6a14c9ece69c343172356a974
2017-06-02 14:42:17 -07:00
Nicholas Nethercote
784f6f2ee9 Bug 1374908 - Remove --enable-systrace. r=glandium.
This option causes MOZ_USE_SYSTRACE to be defined. The only use of that is in
GeckoProfiler.h where it causes the PROFILER_PLATFORM_TRACING macro to set
android::ScopedTrace. But android::ScopedTrace was defined in widget/gonk/
which was recently removed, so this won't work any more.

Furthermore, all that android::ScopedTrace did was to do a pair of
atrace_{begin,end}() calls, which doesn't seem that useful.
2017-06-21 14:06:22 +10:00
Nathan Froyd
2bc177cc76 Bug 1375168 - check for llvm-config where mach bootstrap would install it; r=rillian
For ease of use, we want to make checks for llvm-config automatically
examine the directory where `mach bootstrap` would install things, so
users don't necessarily have to have a mozconfig when building stylo.
Since the computation of this value is non-trivial, we pull out the
whole list of possible names for llvm-config into a @depends function,
and insert the computed value into that list when necessary.
2017-06-22 17:15:59 -04:00
Brian Birtles (:birtles)
3ea6292651 Bug 1363655 - Unwrap (lib)clang_path before passing it to os.path.* methods; r=froydnj
It seems like when we get (lib)clang_path from a --with-(lib)clang-path option
it has type PositiveOptionValue. If we pass that directly to os.path.exists or
os.path.isdir we will get:

  TypeError: coercing to Unicode: need string or buffer, PositiveOptionValue found

This patch makes us unwrap those values before passing them.
2017-06-22 14:29:50 -04:00
Wes Kocher
d0eddcaa44 Merge m-c to autoland a=merge
MozReview-Commit-ID: 5D2HzsGopzc
2017-06-21 18:13:41 -07:00
Nathan Froyd
622cba0919 Bug 1363655 - part 8 - check for the existence of a libclang bindgen will use; r=rillian
Ideally this check will alert people that something is wrong with their
configuration.  This check shouldn't normally be firing with our `mach
boostrap` setup, but if somebody chooses to install distribution
packages for some reason, this will at least prevent some problems.
2017-06-21 13:28:37 -04:00
Nathan Froyd
608a0616fe Bug 1363655 - part 7 - make stylo bindgen bits depend on a compile environment; r=rillian
People building without a compilation environment (artifact builds, l10n
builds) won't have a compiler available, let alone the bits to build
bindgen.  We should limit our checks for bindgen-y things accordingly.
2017-06-21 13:28:37 -04:00
Nathan Froyd
2382b9da09 Bug 1363655 - part 6 - remove the stylo configure function; r=rillian
After the previous set of patches, it's just a bloated wrapper for
bindgen_config_paths.
2017-06-21 13:28:37 -04:00
Nathan Froyd
a230d5cae9 Bug 1363655 - part 5 - make things properly depend on stylo bindgen building; r=rillian
Prior to this patch, we had a not-so-great hack in place: the bit of
configure that determined bindgen config paths *and* the bit of
configure that returned various pieces of information about Stylo were
both guarded on --enable-stylo-build-bindgen.  We should really only
have one place that depends on --enable-stylo-build-bindgen, and this
patch puts us in a place to do that, by making bindgen_config_paths
properly use a when= argument to determine when it needs to run.

This commit makes the `stylo` function entirely redundant, and said
function will be removed in the next patch.
2017-06-21 13:28:37 -04:00
Nathan Froyd
c0ebcb333b Bug 1363655 - part 4 - remove bindgen_enabled key from namespace returned from stylo; r=rillian
We can get this information directly from --enable-stylo-build-bindgen.
2017-06-21 13:28:37 -04:00
Nathan Froyd
70ed6d3da5 Bug 1363655 - part 3 - remove stylo.build key in favor of stylo_config.build; r=rillian
stylo.build is just a copy of stylo_config.build, so we should use the
former to limit the number of duplicate concepts we have.  Using
stylo_config consistently enables us to separate out what artifact
builds need vs. non-artifact builds.
2017-06-21 13:28:37 -04:00
Nathan Froyd
6acf66edca Bug 1363655 - part 2 - check for existence of paths returned by llvm-config; r=rillian
On some systems, llvm-config may be installed, but not the files to
which it needs to refer.  We should ensure that the values returned
actually make some sense.
2017-06-21 13:28:37 -04:00
Nathan Froyd
dbd4e424b9 Bug 1363655 - part 1 - clarify the required values for stylo bindgen options; r=rillian
--with-libclang-path is supposed to be a directory, and
--with-clang-path is supposed to be a file, but it was easy to pass a
directory for the latter, and it was easy to misinterpret the
documentation for --with-libclang-path as pointing to one of the
libraries themselves.  Clearer documentation and additional checks
should help with this situation.
2017-06-21 13:28:37 -04:00
Gregory Szorc
d34a0c3506 Bug 1374824 - Fix --enable-stylo value processing; r=froydnj
The argument passed to the function is a PositiveOptionValue,
which represents its option values as a tuple. The __eq__ for
this type first compares type() of the operands. Since the
previous code compared a PositiveOptionValue to a string
literal, this always failed. There's possibly room to
improve the behavior of PositiveOptionValue. But for now,
let's rewrite stylo_config() so it works.

MozReview-Commit-ID: B4vkYwCDHrb

--HG--
extra : rebase_source : 639711bde7b96749405905825aae37a7908554a8
2017-06-21 12:17:37 -07:00
Nathan Froyd
fc95670240 Bug 1374432 - enable stylo attribute for tests only if stylo is enabled; r=jgraham
If we don't do this, various bits of test infrastructure will turn on
when stylo is merely built, not enabled, which will cause no end of
orange and unhappiness.
2017-06-20 11:34:37 -04:00
Chris Manchester
814dae1db3 Bug 1370535 - Provide a useful error message when passing --enable-geckodriver in artifact bulds. r=froydnj
MozReview-Commit-ID: 88TlmFAdOuf

--HG--
extra : rebase_source : 663ebb22aeafb85a0b2adb163b12b4d08b6d19a0
2017-06-19 08:57:43 -07:00
Henri Sivonen
4c0760dcf9 Bug 1261841 part 6 - Make --enable-rust-simd a no-op on CPU architectures other than aarch64, x86 and x86_64. r=froydnj.
MozReview-Commit-ID: JZ2iwvJXUB7
2017-06-13 13:25:15 +03:00
Henri Sivonen
763d66dd51 Bug 1261841 part 4 - Add a configuration option for enabling explicit SIMD in Rust. r=froydnj.
MozReview-Commit-ID: ICifcJ9499a
2017-06-13 13:24:19 +03:00
Ralph Giles
fd50a8af60 Bug 1370978 - Enable av1 decoding in Nightly on macOS and Linux. r=froydnj,gerald
Enable av1 decoding with the aom reference library on nightly
build except on Windows and Android where it's not working yet.

This codec is under development and subject to incompatible
changes. We're supporting a specific encoder revision for
testing with website authors to get early feedback.

See media/libaom/README_MOZILLA for the specific codec commit
hash our decoder expects.

MozReview-Commit-ID: JCPiVFg3geC

--HG--
extra : rebase_source : c7b9de67415d885ada64658f8f938b4091b468e3
2017-06-07 10:29:59 -07:00
Andreas Tolfsen
e721ebada1 Bug 1368035 - Enable geckodriver building in automation; r=ted
geckodriver compilation was disabled by default in
https://bugzilla.mozilla.org/show_bug.cgi?id=1368084 due to issues
building it locally on Windows.

This re-enables building of geckodriver in automation, but gives
developers an option, --enable-geckodriver, to opt-in to building
it locally.

geckodriver is implied on supported platforms when MOZ_AUTOMATION is
set, but we also provide the option for developers to use.  This means
geckodriver will be built in CI by default, but not in developers'
local environments.

MozReview-Commit-ID: ACkO97ekVsi

--HG--
extra : rebase_source : 067e25911f72d80a54e662f24cc71dedde53a4e1
2017-05-27 18:51:40 +01:00
Andreas Tolfsen
b082609c14 Bug 1368035 - Correct description of Marionette in toolkit configure; r=automatedtester
MozReview-Commit-ID: B16umNXSOZ

--HG--
extra : rebase_source : d1ff4ba220784c4dc86353b6f91117709a45a214
2017-05-26 16:27:07 +01:00
Nick Alexander
b6fef5fc95 Bug 1365089 - Add MOZ_ANDROID_MMA and --with-leanplum-sdk-keyfile to configure. r=chmanchester
This is the equivalent of MOZ_INSTALL_TRACKING, but for MMA (Mobile
Marketing Automation) using the Leanplum SDK.

To test this locally, add lines like:

export MOZ_ANDROID_MMA=1
ac_add_options --with-adjust-sdk-keyfile=/path/to/adjust-sdk-developer.token

MOZ_ANDROID_MMA depends on MOZ_NATIVE_DEVICES and MOZ_ANDROID_GCM,
since Leanplum requires Google Play Services library that those flags
are a proxy for and enable, respectiviely.

We want to enable MOZ_ANDROID_MMA in Nightly, but only for
MOZILLA_OFFICIAL builds.  Since MOZILLA_OFFICIAL is still defined in
old-configure.in, we can't interrogate it in
mobile/android/moz.configure, and therefore we enable using the
automation mozconfigs.

MozReview-Commit-ID: 1tiToeyH5Hx

--HG--
extra : rebase_source : f85706c5a0911c7d2edc109d8c47ecc1c1bc6ffc
2017-05-26 12:31:20 -07:00
Sebastian Hengst
66d9eb3103 Backed out changeset 9c7688e54e92 (bug 1365089) for breaking Android L10n nightlies. r=backout a=backout
MozReview-Commit-ID: FxH7nBskSNj
2017-05-28 16:53:10 +02:00
Nick Alexander
0a0a08ec4c Bug 1365089 - Add MOZ_ANDROID_MMA and --with-leanplum-sdk-keyfile to configure. r=chmanchester
This is the equivalent of MOZ_INSTALL_TRACKING, but for MMA (Mobile
Marketing Automation) using the Leanplum SDK.

To test this locally, add lines like:

export MOZ_ANDROID_MMA=1
ac_add_options --with-adjust-sdk-keyfile=/path/to/adjust-sdk-developer.token

MOZ_ANDROID_MMA depends on MOZ_NATIVE_DEVICES and MOZ_ANDROID_GCM,
since Leanplum requires Google Play Services library that those flags
are a proxy for and enable, respectiviely.

We want to enable MOZ_ANDROID_MMA in Nightly, but only for
MOZILLA_OFFICIAL builds.  Since MOZILLA_OFFICIAL is still defined in
old-configure.in, we can't interrogate it in
mobile/android/moz.configure, and therefore we enable using the
automation mozconfigs.

MozReview-Commit-ID: 1tiToeyH5Hx

--HG--
extra : rebase_source : 5390cf8c5c2eb7ffe675757b372debbb639bc900
2017-05-26 12:31:20 -07:00
Andrew Swan
403ece85aa Bug 1359203 Part 2 Add build-time constant for allowing legacy extensions
MozReview-Commit-ID: GhluEfupIrL

--HG--
extra : source : 510bb3d21711c04700b250e484b616a2a1d552ec
2017-05-12 21:28:14 -07:00
Ryan VanderMeulen
acb2f518fc Merge inbound to m-c. a=merge 2017-05-19 11:46:56 -04:00
Mike Hommey
282a2bc3b8 Bug 1363811 - Replace is_nightly with milestone.is_nightly. r=cmanchester+432261
And remove is_nightly.
2017-05-19 07:05:05 +09:00
Mike Hommey
f10295dbae Bug 1363811 - Replace all uses of delayed_getattr(a, 'b') with a.b. r=cmanchester+432261
And remove delayed_getattr.
2017-05-19 07:03:40 +09:00
J. Ryan Stinnett
ee8925e1ee Bug 1350036 - Clarify llvm-config detection error. r=froydnj
Reword the `llvm-config` detection error message to recommend setting the
LLVM_CONFIG env var, like we do for the bootstrap path.  This avoids exposing
`clang` as well, so the compiler won't be changed.

MozReview-Commit-ID: CVNJ2bX2POa

--HG--
extra : rebase_source : fedfb95e105f88fec08689ae3c69a841f3b52173
2017-05-16 09:44:07 -05:00
Mike Hommey
02a06f7958 Bug 1363992 - Remove support for making jemalloc4 the default. r=njn
--HG--
extra : rebase_source : 77e1c13aa329637d0ec875439d572ee06e6919fa
2017-05-11 13:16:00 +09:00
Emilio Cobos Álvarez
11eaba1c6f Bug 1363666: followup - Remove outdated comment. r=me
DONTBUILD, because it's only a comment.

MozReview-Commit-ID: FlSLdeB4TUF
2017-05-11 15:29:38 +02:00
Wes Kocher
1b5ad2c128 Merge inbound to central, a=merge
MozReview-Commit-ID: DfRZi0gKjit
2017-05-10 16:48:03 -07:00
Ted Mielczarek
9927e65761 bug 1363358 - add a MOZ_PHOTON_THEME build option. r=chmanchester
MozReview-Commit-ID: 5fZqmCkAUUg

--HG--
extra : rebase_source : b7aca3fca0726a66e4beb6e2bf33c4350b376c1c
2017-05-09 09:26:16 -04:00
Ted Mielczarek
8f2c658ba3 bug 1358215 - add MOZ_PHOTON_ANIMATIONS config var/define, default enabled on nightly. r=chmanchester
MozReview-Commit-ID: JBdo2ppiJOP

--HG--
extra : rebase_source : 00e09d9d99fb52f5268c34fce73956df32581002
extra : source : 6fef5e7b5a233f43ea1e1572d2beb857295fdff0
2017-05-08 16:01:44 -04:00
Jan Beich
b729e27675 Bug 1363686 - Prefer llvm-config aliases for 4.0 on Debian and FreeBSD. r=rillian
MozReview-Commit-ID: 8Fs0Nhj8P8M

--HG--
extra : rebase_source : 8f52b315e9141b8b9cb2e6ead9df1f5c7566ac26
2017-04-29 17:54:21 +00:00
Emilio Cobos Álvarez
984a536a5f Bug 1363666: Remove more LLVM version requirements for stylo. r=froydnj
MozReview-Commit-ID: 81ICdulYJF7

--HG--
extra : rebase_source : e8f9eb7b1c5e3999e2b7254e98528bd52a1f0876
2017-05-10 10:35:55 +02:00
Sebastian Hengst
6e7689b9e5 Backed out changeset 5914a5dcc385 (bug 1358215) for bustage / failing python/mozbuild/mozbuild/test/configure/lint.py. r=backout 2017-05-09 16:16:30 +02:00
Ted Mielczarek
5d52552713 bug 1358215 - add MOZ_PHOTON_ANIMATIONS config var/define, default enabled on nightly. r=chmanchester
MozReview-Commit-ID: JBdo2ppiJOP

--HG--
extra : rebase_source : c889be3fe8c528ef16b2c61a8b818355e979a19a
2017-05-08 16:01:44 -04:00
Kit Cambridge
5fc76a861d Bug 1361171 - Remove CloudSync. r=markh
MozReview-Commit-ID: CjBsEZa6oIP

--HG--
extra : rebase_source : 965db37197242acf63e77dbcca74a2984532b4ff
2017-05-01 14:43:00 -07:00
Ralph Giles
67df295692 Bug 1314147 - Add --enable-av1 configure switch. r=froydnj
Build system switch for optional inclusion of libaom
for support of the Alliance for Open Media AV1 video
codec.

MozReview-Commit-ID: 2C4o1ogRS9v

--HG--
extra : rebase_source : d4a68f1fc4654895f62a905666f0b75726e20e7f
2017-04-18 09:08:18 -07:00
Jim Chen
7041014748 Bug 1360322 - 2. Add initial AArch64 support to Gecko profiler; r=mstange
Add enough AArch64-specific code for the Gecko profiler to build.
2017-05-03 11:36:18 -04:00
Jan Beich
c4d4ebe05c Bug 1360771 - llvm-config is N/A on FreeBSD try llvm-config39 as well. r=rillian
llvm39 package on FreeBSD installs llvm-config under non-default
prefix with llvm-config39 wrapper under PATH. No package currently
provides default/unsuffixed llvm-config. So, adjust lookup to avoid
having to add "export LLVM_CONFIG=llvm-config39" in .mozconfig for the
common case when Stylo bindgen is known to work.

MozReview-Commit-ID: 9PmnpTPoBcR

--HG--
extra : rebase_source : 6c252e9e0e8da1f02fa74107597f69066b024f55
2017-04-29 02:12:43 +00:00
Nathan Froyd
64a0bd97c8 Bug 1364428 - use normsep for windows bindgen paths; r=rillian
bindgen, for whatever reason, is much happier with C:/path/to/file
than "normal" Windows paths.  If we provide normal Windows paths,
clang-sys will complain that it's unable to find libclang.dll/clang.dll,
even though we've clearly given it the correct paths by passing in an
appropriate value for LIBCLANG_PATH.
2017-05-18 18:39:39 -04:00
Bobby Holley
5751b4990d Bug 1364428 - Pass bindir instead of libdir to llvm-config on windows; r=froydnj
libdir contains libclang.lib, whereas bindir contains libclang.dll; we
want the latter on Windows for bindgen's purposes.
2017-05-18 18:39:39 -04:00
Bobby Holley
f9bb028811 Bug 1364428 - Add a separate define for enabling stylo; r=rillian
This completes the separation between "build stylo" and "enable stylo"
that we started in the build system a few commits ago.
2017-05-18 18:39:39 -04:00
Bobby Holley
afc221f23b Bug 1364428 - Don't use LLVM_CONFIG in non-stylo builds; r=froydnj
We'll want to define LLVM_CONFIG in mozconfig.common for building Stylo
by default.  But if we do that, builds where we don't have an
appropriate clang available will complain that they can't find
llvm-config.  So we should only check if we're building Stylo.
2017-05-18 18:39:39 -04:00
Nathan Froyd
0b54cd9c51 Bug 1364428 - make stylo enabling more flexible; r=rillian
We currently have an --enable-stylo option, which when passed builds
Stylo and enables Stylo at runtime.  With an upcoming move to building
Stylo everywhere by default, but only enabling it on specific platforms,
we need something more sophisticated than a binary yes/no.

The recent WebRender support offers a model worth emulating: we modify
things so there are four possibilities:

* nothing passed (the default);
* --disable-stylo (explicitly not building);
* --enable-stylo=build (build, but do not enable by default);
* --enable-stylo (build and enable)

The last option corresponds exactly to what we have today, so there's no
change in functionality.  This patch makes the default and
--disable-stylo the same; splitting the default and --disable-stylo into
separate cases enables us to change the default behavior at some point
in the future.
2017-05-18 18:39:40 -04:00
Emilio Cobos Álvarez
896ee812cd Bug 1359508: Allow LLVM 5 for stylo. r=froydnj
MozReview-Commit-ID: 3JtzH7kVR6Z

--HG--
extra : rebase_source : 97dc4d33a2f694a17d774efd008327205a35fc57
2017-04-21 14:12:32 +02:00
Nathan Froyd
0ece476d59 Bug 1357889 - forbid LLVM >= 4.0 for being used for stylo bindgen; r=rillian
Released versions of LLVM 4.0 do not work properly with bindgen, and the
in-development 5.0 version doesn't either.  To avoid undue hair-pulling,
we should detect such versions early during configure and advise the
user about appropriate versions.
2017-04-20 13:48:20 -04:00
Mike Hommey
34e619d1c1 Bug 1357323 - Remove support for gonk in the build system. r=gps
Everything depending on the widget being gonk can go away, as well as
everything depending on MOZ_AUDIO_CHANNEL_MANAGER, which was only
defined on gonk builds under b2g/ (which goes away in bug 1357326).

--HG--
extra : rebase_source : 9f0aeeb7eea8417fa4e06d662d566d67ecaf2a24
2017-04-18 16:56:09 +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
Martin Stransky
1cc883c9df Bug 1299083 - Add cairo-gtk3-wayland toolkit target to enable Gtk/Wayland build, r=glandium
This compile time option only allows to explicitly enable/disable
build of Wayland related parts of Firefox.
We target Gtk/Wayland in stable Gtk+ 3.22 and later.

MozReview-Commit-ID: LfQfEkYfHf8

--HG--
extra : rebase_source : 9ac5ad3b2ef0efdae052388c8c6d30c99d044996
2017-04-06 10:40:27 +02:00
Kartikaya Gupta
52441baad4 Bug 1323612 - Remove unused dependency in moz.configure rule. r=bustage
MozReview-Commit-ID: C5dSQoal3G1
2017-04-05 11:12:53 -04:00
Sotaro Ikeda
f6906ddf6f Bug 1323612 (Part 1) - Enable WebRender build on Android. r=froydnj
MozReview-Commit-ID: AVpgLoXJYVQ
2017-04-05 10:11:46 -04:00
Kartikaya Gupta
301e315b2f Bug 1342450 - Extract a MOZ_ENABLE_WEBRENDER from MOZ_BUILD_WEBRENDER so that we build but disable by default. r=rhunt,froydnj,ted
This adds back a MOZ_ENABLE_WEBRENDER define, which only controls whether or
not WebRender is enabled at runtime. The default behaviour is changed so that:
- if the user specifies --disable-webrender in the mozconfig, WebRender is
  neither built nor enabled
- if the user specifies --enable-webrender in the mozconfig, WebRender is
  built and enabled
- if the user specifies --enable-webrender=build in the mozconfig, WebRender is
  built but not enabled, except on Android where it is neither built nor enabled
- if the user doesn't specify any of the above, the default behaviour is:
  - on nightly/local builds, the same as --enable-webrender=build
  - on other channels (e.g. aurora), the same as --disable-webrender

The net effect is that local/Nightly-automation builds will have WebRender
built-in but not enabled where possible (i.e. not Android). However the user
can override this behaviour via mozconfig options to either not build WebRender
at all, or to enable it in addition to building it.

MozReview-Commit-ID: IM7DdSHkIB
2017-03-22 17:38:09 -04:00
Kartikaya Gupta
b215cfd1e1 Bug 1342450 - Rename MOZ_ENABLE_WEBRENDER to MOZ_BUILD_WEBRENDER. r=rhunt
MozReview-Commit-ID: 3GkmCJJq8et
2017-03-22 17:36:25 -04:00
Matt Brubeck
6301a01266 Bug 1344318 - Check for llvm-config-3.9 in configure. r=ted
MozReview-Commit-ID: 9SoInQFyfLd

--HG--
extra : rebase_source : 6c057ccd0c525e8123f7b4db861e976fd2fb3008
2017-03-03 11:08:23 -08:00
Jan Beich
c824cc6355 Bug 1339075 - stylo: don't force mozjemalloc on Tier3 platforms. r=froydnj
MozReview-Commit-ID: 91ONYHQ9zzU

--HG--
extra : rebase_source : 0e87b775b40387b8ed926a1e5df9ee50e4a88b34
2017-02-22 08:22:08 +00:00
Christoph Diehl
e7b945296c Bug 1339306 - Faulty: Use --enable-fuzzing instead of --enable-ipc-fuzzing. r=billm
--HG--
extra : rebase_source : ea691b454f4b89ab3bda903b7c4636caf6e1a245
2017-02-14 03:12:10 +01:00
Kartikaya Gupta
4b3f339eab Bug 1335525 - Add --enable-webrender configure option and hook it up build webrender. r=gps
MozReview-Commit-ID: BWLoSnV2yEN
2017-02-06 11:42:53 -05:00
Nicholas Nethercote
265eb793ce Bug 1333296 (part 7) - Remove SPS references in tookit/moz.configure. r=glandium.
--HG--
extra : rebase_source : 238cfb13ecf57426b80ed73fe431df160e4c92ce
2017-01-25 09:08:15 +11:00
Carsten "Tomcat" Book
ff34e66ec7 Merge mozilla-central to autoland 2017-01-25 13:52:18 +01:00
Christian Holler
2e12913349 Bug 1333252 - Move FUZZING definition from toolkit to js. r=glandium
MozReview-Commit-ID: GjmfY5GjXJc

--HG--
extra : rebase_source : 9af2364425758bd00108fdcd454f0f8c69c98ce8
2017-01-24 00:40:38 +01:00
Nicholas Nethercote
22b6d342d7 Bug 1333296 (part 1) - Rename MOZ_ENABLE_PROFILER_SPS as MOZ_GECKO_PROFILER. r=mstange,glandium.
--HG--
extra : rebase_source : 223f3a17f009645369be503392cc1f0cea7f19a1
2017-01-24 14:15:12 +11:00
Nathan Froyd
e8163dcede Bug 1333054 - band-aid - avoid checking llvm-config version if we're not building stylo/bindgen; r=me; a=Tomcat 2017-01-23 09:43:06 -05:00
nfroyd@mozilla.com
31967ef11e Bug 1302028 - part 2 - add configury for stylo build-time bindgen needs; r=gps,chmanchester 2017-01-20 16:33:04 +00:00
Chris Pearce
b1da9f40f8 Bug 1329543 - Remove Adobe from ac_add_options --enable-eme. r=glandium
MozReview-Commit-ID: D5B1CAQKGGR

--HG--
extra : rebase_source : 81384c7b8bed3918328c220ce8d73618cea1f189
2017-01-09 21:41:19 +08:00
Jonathan Kew
3d478b5e48 Bug 1324739 - patch 2 - Enable use of sfntly in Skia-PDF to subset fonts. r=lsalzman,glandium 2017-01-07 22:20:25 +00:00
Lee Salzman
e26d6e540d Bug 1278282 - disallow building with gtk2 toolkit. r=glandium
MozReview-Commit-ID: 7WysLJsiLEb
2017-01-11 12:21:26 -05:00
Jonathan Watt
64635f1ea4 Bug 1322540 - Turn on building of Skia PDF in Nightly builds. r=lsalzman, r=glandium
--HG--
extra : rebase_source : d6fb9941802ad0baeae87f6b0cf33b5f3d2b06be
2016-12-01 12:16:19 +00:00
Lee Salzman
28fa74680f Bug 1323303 - require building with Skia. r=glandium
MozReview-Commit-ID: 56oawitOHEP
2016-12-21 09:31:13 -05:00
Carsten "Tomcat" Book
35cc78d738 Backed out changeset 28c47fbedac4 (bug 1323303) for bustage 2016-12-21 15:12:31 +01:00
Lee Salzman
d6faf512b6 Bug 1323303 - require building with Skia. r=glandium
MozReview-Commit-ID: 56oawitOHEP
2016-12-21 08:23:48 -05:00
lochang
6c19bb7391 Bug 1313295 - Integrate mortar into gecko build system. r=glandium
--HG--
extra : rebase_source : 8c7b15dc524f196317754772394a0fc4bef6d3ad
2016-11-29 18:21:00 -05:00
Nick Alexander
672e74a3e1 Bug 1321408 - Move ENABLE_MARIONETTE to python configure. r=chmanchester
This patch tries to do three things:

1) Replace the ENABLE_MARIONETTE entrypoint with --enable-marionette.

2) Fold the default value -- forced on unless building for target OS
Android or building with toolkit gonk -- into the flag, rather than
embedding that condition in the tree.

3) Stop using AC_DEFINE and instead use only AC_SUBST, so that no
compiled code needs to be rebuilt if the flag is flipped locally.
n.b., each installer/Makefile.in knows that ENABLE_MARIONETTE is set
(in order to set -DENABLE_MARIONETTE=1 for
*/installer/package-manifest.in) due to it being an AC_SUBST.

MozReview-Commit-ID: AkkmybyP1uI

--HG--
extra : rebase_source : c2c8b268c60350ff39d872cee357b53f17e79eef
2016-12-16 15:49:14 -08:00
Mike Hommey
36952d2ae0 Bug 1283898 - Don't check for rust outside of toolkit builds. r=rillian
Spidermonkey doesn't currently depend on rust code, and this
unblocks enabling rust by default on gecko builds until we
can get the appropriate toolchain hooked up to all of the
SM automation jobs.

The include must be conditional to avoid breaking artifact builds.

MozReview-Commit-ID: 1PmcFvcZLM2

--HG--
extra : rebase_source : 1a22232e064dd253b80ebaa55decfde1ba7e1ea0
2016-12-15 13:40:06 -08:00
Gregory Szorc
b0a535b2cc Bug 1300290 - Avoid --enable-dmd and --enable-stylo setting conflicting --enable-jemalloc values; r=glandium
Before, --enable-dmd implied --enable-jemalloc. If --enable-stylo was
also set, it tried to imply --enable-jemalloc=moz. Configure barfed
due to setting the value twice.

The commit refactors the logic for implying the --enable-jemalloc value
to set the proper value depending on the state of dmd and stylo.

MozReview-Commit-ID: 1wKE9Cs1Umt

--HG--
extra : rebase_source : 03acfc386fa9c86ae90e0feb5dae092ea5897179
2016-11-30 22:17:59 -08:00
Gregory Szorc
1d26bd0c8a Bug 1319484 - Add MOZ_STYLO to build config; r=mshal
Previously, we recorded it in defines. Let's add it in substs so more
tools can key off it.

MozReview-Commit-ID: HDrf46BCd6W

--HG--
extra : rebase_source : be8cae71dfbe994fa6dadbdb0007e430413c743b
extra : source : 9e707fcf47691a4684d7b6953dd8a08ae6687893
2016-11-22 10:23:19 -08:00
Mike Hommey
6fa3828b4e Bug 1316844 - Remove unused dependencies. r=chmanchester
--HG--
extra : rebase_source : f9c4f39b198fbb83aa02b2eee65863695e7b75ca
2016-11-11 12:52:37 +09:00
Mike Hommey
17153e5c27 Bug 1314894 - Avoid path changes from b6be0e9e3e1e. r=chmanchester
Importing 'os' in python configure functions, on Windows, changes the
separate the various os.path functions use, and that can have
unexpected, badly handled, consequences. While on the long term, it is
desirable to make @imports('os') modify os.path to use the same base
functions as if there were no @imports, let's go with the simpler
workaround of restoring the non-{isfile,isdir,exists} os.path functions
from b6be0e9e3e1e.

--HG--
extra : rebase_source : a1857b5dce2aa818c72a77d0d9727ac6ce16cb8f
2016-11-04 06:50:43 +09:00
Mike Hommey
b89b671cc8 Bug 1313306 - Don't expose os.path.{exists,isdir,isfile} to python configure without an @imports. r=chmanchester
We want functions without an @imports to not have any side effects, and
to not use external resources. So remove the few functions we expose from
os.path without @imports('os') that do.

--HG--
extra : rebase_source : a9485ec269d4de5785d66d7772eda4fae5a84b4a
2016-10-26 11:49:58 +09:00
Jonathan Watt
7b894d6da6 Bug 1309272, part 1 - Add an --enable-skia-pdf configuration option. r=lsalzman
--HG--
extra : rebase_source : 2edd8282c26e8772caea3db0a3d9204a4838e8db
2016-10-26 19:23:07 +01:00
Chris Manchester
f63cec632c Bug 1305145 - Move --enable-tree-freetype to Python configure. r=glandium
This commit also removes the option, as it's only known to work
on Android, where it is the default.

MozReview-Commit-ID: JqdC5Q5dwQH
2016-10-14 11:06:31 -07:00
Chris Manchester
a3e6682857 Bug 1305145 - Move freetype2 detection to Python configure. r=glandium
MozReview-Commit-ID: 1O4SdH0HvzL
2016-10-14 11:06:31 -07:00
Chris Manchester
7d177e214f Bug 1305145 - Move fontconfig detection to Python configure. r=glandium
MozReview-Commit-ID: J6XQFA6whCr
2016-10-14 11:06:31 -07:00
Chris Manchester
15035474f8 Bug 1305145 - Move Pango detection to Python configure. r=glandium
A test against MOZ_PANGO is also removed, this has not been
set since bug 947379.

MozReview-Commit-ID: IwpsCda6mmw
2016-10-14 11:06:30 -07:00
Chris Manchester
95f73bebb9 Bug 1305145 - Make libs and flags set by pkg_check_modules available to the caller. r=glandium
MozReview-Commit-ID: 7uZheAOXKwE
2016-10-14 11:06:30 -07:00
Christian Holler (:decoder)
cb5facc399 Bug 1303757 - Build system changes for unified fuzzing interface. r=glandium
MozReview-Commit-ID: 8bvAxmmo3Vn

--HG--
extra : rebase_source : 07408ccd30e53f82d7516428bf25515c1611f582
2016-10-17 22:19:03 +02:00