Граф коммитов

2628 Коммитов

Автор SHA1 Сообщение Дата
Ralph Giles c9139105f6 Bug 1286799 - mozboot: Ensure an up-to-date rust toolchain. r=gps
Add a check to `mach bootstrap` that a compatible version of
the rust toolchain is installed and in path. Note that we use
a separate minimum version from the one checked at configure
time, defined in build/moz.configure/rust.configure, because
this script may be running stand-alone.

If we don't find `rustc` in PATH, we check for it in CARGO_HOME
and suggest adding that to PATH.

If we don't find `rustc` but find a `rustup`, we call it with
the --version switch and report if that fails. This will detect
the older `rustup.rs` script.

MozReview-Commit-ID: EPfQhLz4Dvo

--HG--
extra : rebase_source : 2ea4acdfbfdc2a436f386eae7bc3cbcbc485aa1b
2016-11-16 09:27:32 -08:00
Ralph Giles 37961988e7 Bug 1286799 - mozboot: Use a helper for mercurial version detection. r=gps
Also use the abstracted helper method for reading the current
mercurial version too. This changes the regex from what was in
use before, but should work for normal version numbers.

MozReview-Commit-ID: IZfC65Jg6T8

--HG--
extra : rebase_source : d61a73b7b1b438d8c846523e5e1f639950fe5473
2016-11-15 17:18:21 -08:00
Ralph Giles 9416a38fd9 Bug 1286799 - mozboot: Abstract version checking. r=gps
Move version parsing to a helper method so it can be used
for more than one executable.

MozReview-Commit-ID: 4gOgdgYFbFx

--HG--
extra : rebase_source : 944f562c0d5a6a105a0c27af6f4d7dfc214f3c01
2016-11-15 14:31:59 -08:00
Gregory Szorc bad7b2a1c4 Bug 1319484 - Add "stylo" to mozinfo; r=mshal
This will allow tests, etc to conditionally run depending on Stylo's
presence.

MozReview-Commit-ID: 3WHxNawP1qC

--HG--
extra : rebase_source : d4d983d37d3bfac1f9d465a3023b5bd5df52cd56
extra : source : 6baa88f7b1f4183ea57b9f8928556975042cad29
2016-11-22 10:25:52 -08:00
Carsten "Tomcat" Book 8b27dda5d1 merge mozilla-inbound to mozilla-central a=merge 2016-11-22 15:53:05 +01:00
Chris Peterson df18772e96 Bug 1318833 - Part 1: Remove Silverlight plugin tests and test plugin. r=qdot 2016-11-21 21:10:27 -08:00
Andrew Halberstadt 6a6ba62ba2 Bug 1317970 - Filter python unittests through manifestparser.active_tests, r=chmanchester
The build system's TestResolver does a pretty good job of getting the right manifestparser
based tests to run, but it isn't perfect. Notably, it ignores the 'disabled' key. We filter
the tests through manifestparser here to make sure the build system didn't miss anything.
For context, this is also what the other test harnesses (e.g mochitest) do as well.

MozReview-Commit-ID: FaHb4nvuoK9

--HG--
extra : rebase_source : 476b7068c3ddf7d9757d605de5843e21547c6c33
2016-11-17 16:30:27 -05:00
Andrew Halberstadt 6adcf5b456 Bug 1317970 - Use manifestparser manifests for python unit tests, r=chmanchester
This deprecates PYTHON_UNIT_TESTS and replaces it with PYTHON_UNITTEST_MANIFESTS.
In the build system, this means python unittests will be treated the same as all
other test suites that use manifestparser. New manifests called 'python.ini' have
been created for all test directories containing python unittests.

MozReview-Commit-ID: IBHG7Thif2D

--HG--
extra : rebase_source : 11a92a2bc544d067946bbd774975140147458caa
2016-11-16 09:59:22 -05:00
Andrew Halberstadt 4524d8939a Bug 1318488 - [mozlint] Use sys.stdout.encoding when printing formatter's output, r=smacleod
This fixes a UnicodeDecodeError when sys.stdout's encoding can't handle unicode.

MozReview-Commit-ID: 3INna8MRje5

--HG--
extra : rebase_source : bb8f3b5cbdbb6601b6946d5fbb7396848f22b5c6
2016-11-17 17:36:34 -05:00
Carsten "Tomcat" Book 59bb309e38 merge mozilla-inbound to mozilla-central a=merge 2016-11-21 15:44:20 +01:00
Ted Mielczarek fa343243d0 bug 1286934 - Switch to using sccache2. r=gps
This patch does a few things:
1) Change all the in-tree tooltool manifests to contain sccache2 instead of the existing Python sccache
2) Change mozconfig.cache to point at sccache.
3) Lightly tweak the --with-cccache configure option to support sccache, and detect whether we're using ccache or sccache and set an option appropriately.
4) Add a MOZ_SCCACHE_VERBOSE_STATS option, and add a target in the top-level Makefile to make sccache spit out its stats at the end of the build. This is useful to see the cache hits/errors until we get something better.
5) Add MOZ_USING_SCCACHE to the build telemetry. Not that I think it will be immediately useful, but for future use.

MozReview-Commit-ID: 9lrdLwNj5Bm

--HG--
extra : rebase_source : d323457df10d0ee0ac5811940e518d9422a7e070
2016-08-25 18:39:57 -04:00
Carsten "Tomcat" Book b83681ba76 Merge mozilla-central to mozilla-inbound 2016-11-21 15:46:10 +01:00
Gabriele Svelto 5201094fbb Bug 1317968 - Package the minidump-analyzer tool r=ted 2016-11-16 15:24:05 +01:00
Mike Shal 5133dad8c3 Bug 1315810 - Support some FinalTargetFiles in the tup backend; r=chmanchester
MozReview-Commit-ID: 68b596wAp8g

--HG--
extra : rebase_source : cd99d1a0ee9822871eedaca63455578dc79efad1
2016-10-08 11:49:20 -04:00
Mike Shal 458dc35b77 Bug 1315810 - Use tup's internal symlinking instead of build manifests; r=chmanchester
MozReview-Commit-ID: LNsbghIGJvH

--HG--
extra : rebase_source : 475bfbb846910095ae3d8f4b9d3412bd22b0eab5
2016-09-30 11:16:41 -04:00
Ryan VanderMeulen ee574db67b Merge m-c to autoland. a=merge 2016-11-18 15:47:52 -05:00
Ryan VanderMeulen 2c0ace7f19 Merge inbound to m-c. a=merge 2016-11-18 15:47:05 -05:00
Carsten "Tomcat" Book a69c372ef1 Merge mozilla-central to autoland 2016-11-18 16:57:20 +01:00
Mike Shal c79e0b6e0a Bug 1318574 - Support buildbot and TC jobs for opt android artifact builds; r=chmanchester
MozReview-Commit-ID: YkgUJEZiUU

--HG--
extra : rebase_source : ad9a298f5ed27bbbb99795c186e5d16293075862
2016-11-18 13:54:12 -05:00
Gregory Szorc 5661f756b7 Bug 1318182 - Support writing Visual Studio 2017 project files; r=glandium
In order for VS2017 to recognize solution and project files as
belonging to VS2017 and not some earlier version, we need to bump
a few versions strings.

The added code path can't be hit yet because MSVS_VERSION cannot
be "2017" until configure detects VS2017. I hacked up MSVS_VERSION
locally and verified that solutions produced with the new code load
in VS2017.

FWIW, the solution loads significantly faster in VS2017 compared to
VS2015!

MozReview-Commit-ID: 2vYAgd6wOsG

--HG--
extra : rebase_source : a29b956bb6eef9071cb46d30460a42ef17658026
2016-11-16 16:24:34 -08:00
Phil Ringnalda e3b53628aa Merge m-c to m-i
MozReview-Commit-ID: GwBaSZdoAZK
2016-11-17 20:33:59 -08:00
Phil Ringnalda 61baa2aa9a Merge m-i to m-c, a=merge
MozReview-Commit-ID: A3wgReQAalj
2016-11-17 19:21:20 -08:00
Andrew Halberstadt 7c26ce739c Bug 1316925 - Keep track of failed linters in stylish formatter summary, r=jgraham
This replaces the "return_code" property on the LintRoller object with a list of "failed"
linters. This is a bit more useful as it lets us know exactly which linters had a problem
(whereas previously we just knew *something* went wrong). This patch pushes determining
the return code back into cli.py, which I think is fine.

In addition, we now pass the list of failed linters into the formatter. This allows us to
clarify exactly how many linters hit a failure which is a lot better than a seemingly
"successful" summary message.

Finally I also removed the "no files to lint" message because I've seen several people
confuse it for an error. I'll probably add it back as a debug log message when we switch
to using mozlog for output.

MozReview-Commit-ID: 4wyCeOZdOf8

--HG--
extra : rebase_source : 23810a8ab8dd9cbbad6b9e965ccff7214f947fbc
2016-11-14 11:56:46 -05:00
Kris Maglione ce75407221 Bug 1317101 - Part 8a: Read defaults from ancestor manifests when processing test metadata. r=chmanchester
MozReview-Commit-ID: 90ldX6DuKBy

--HG--
extra : rebase_source : 35e2d1b5422801e1365d884dd9838dbffd64b86d
extra : source : e06d269a5d4f35b608b5bc7f1c61e875f2322b45
2016-11-12 18:30:47 -08:00
Ted Mielczarek a449823a50 bug 1295937 - build NSS using gyp files. r=glandium
MozReview-Commit-ID: Gm1PLWSJwbD

--HG--
rename : config/external/nss/moz.build => security/moz.build
rename : config/external/nss/nss.symbols => security/nss.symbols
extra : rebase_source : bedd3b2f315f8504e1d0cb1ee94720e380466e5b
2016-11-09 12:37:09 -05:00
Ted Mielczarek 26ebd20ebf bug 1295937 - Improvements to gyp_reader to handle NSS gyp files. r=glandium
This patch contains a number of changes to the gyp_reader code:
* Add three new flags to GYP_DIRS:
** no_chromium, to skip forcing the includes/etc needed for chromium gyp files
** no_unified, to force building all sources without unification
** action_overrides, to pass scripts used when mapping gyp actions to moz.build GENERATED_FILES
* Handle the flags mentioned above in read_from_gyp
* Handle actions in gyp targets by mapping them to GENERATED_FILES, using scripts specified in the action_overrides flag. We don't try to handle the generic action case, we require special-casing for each action.
* Handle a subset of copies in gyp targets by mapping them to EXPORTS, just enough to handle the use of them for NSS exports.
* Handle shared_library and executable gyp targets
* Handle gyp target dependencies/libraries as USE_LIBS/OS_LIBS
* Handle generated source files
* Handle .def files in sources by mapping them to SYMBOLS_FILE
* Special-case some include_dirs:
** Map `<(PRODUCT_DIR)/dist/` to $DIST/include (to handle include paths for NSS exports)
** Map include_dirs starting with topobjdir to objdir-relative paths, to handle passing the NSPR include path to NSS
* split /build/gyp.mozbuild into two parts, with gyp_base.mozbuild containing generic bits, and gyp.mozbuild containing chromium-specific bits


MozReview-Commit-ID: FbDmlqDjRp4

--HG--
extra : rebase_source : d3fb470c589f92d8c956b9ecd550fb8df79ff5bc
2016-11-15 12:37:09 -05:00
Mike Shal ad4478f15e Bug 1183613 - Cross compile universal OSX builds in Taskcluster; r=froydnj,ted
MozReview-Commit-ID: HNTqiVF9gov

--HG--
extra : rebase_source : 3e02cd433e45f4bb5759f093aaccade2d49745c3
2016-10-21 13:54:10 -04:00
aleth ac4fd4697e Bug 1317674 - Use the correct path to the binary for comm builds in the XPCOM glue check + exceptions for Calendar and Instantbird. r=glandium 2016-11-16 02:01:04 +01:00
Wes Kocher f9e9d69899 Merge inbound to m-c a=merge CLOSED TREE 2016-11-16 17:07:26 -08:00
Benjamin Smedberg 00f9f7a30c Bug 1314350 - Port TestTXMgr to gtest. This removes the framework for testing object destruction order because that was already non-deterministic due to the cycle collector, r=masayuki
MozReview-Commit-ID: vK4iYmytgt

--HG--
extra : rebase_source : fc4be47bf0e68777aaf45250b339cf0d3d332240
extra : source : bb1325166026fec5e13db34eca7588ce18c94505
2016-11-15 13:06:05 -05:00
Benjamin Smedberg 58606875d8 Bug 1314955 part B - Remove the tests for binary-component which is no longer supported. r=froydnj
MozReview-Commit-ID: G7MATc8AGt1

--HG--
extra : rebase_source : f5f0886aab2b6981a12d9c32b120e65a2d022bc8
extra : source : a99c6ce96b6f25a4935bc41fe32841c9b94f1546
2016-10-26 11:34:32 -04:00
Benjamin Smedberg ef89ac1033 Bug 1314955 part A - Move the binary xpconnect testing components into libxul so that we can remove support for external binary components. Ideally we'd only compile these into the xul-gtest version, but currently we can't run xpcshell tests against that version, so I'm going to put them into the release xul, r=mrbkap
MozReview-Commit-ID: Lr6uKtzXdEb

--HG--
extra : rebase_source : d6c813e568ba62bcc7174a0fc990ccf4364717e6
extra : source : c78f97c0b77126fa37c857728192f2e2d0c2d99c
2016-11-16 12:28:57 -05:00
Benjamin Smedberg 067ef5e9f7 Bug 1314378 part B - port TestStartupCache to gtest, r=froydnj
MozReview-Commit-ID: LTz4slzIkjH

--HG--
extra : rebase_source : 852ca996bd042d9c363b79bf47a037f83f3cf804
extra : source : 4585a7b6f3ce8c8dc7b7e043e0fae86f8e5ee392
2016-11-11 11:57:08 -05:00
Dan Minor 77356a7daa Bug 1317009 - Port jsep_session_unittest and jsep_track_unittest to xul gtest; r=bwc
MozReview-Commit-ID: spuZSAnSDC

--HG--
rename : media/webrtc/signaling/test/jsep_session_unittest.cpp => media/webrtc/signaling/gtest/jsep_session_unittest.cpp
rename : media/webrtc/signaling/test/jsep_track_unittest.cpp => media/webrtc/signaling/gtest/jsep_track_unittest.cpp
extra : rebase_source : 1f251167ef24d55bfbb7cd8b09b9fc5a65540724
2016-11-15 09:35:14 -05:00
Henrik Skupin 09e17e0d52 Bug 1316707 - Remove Marionette B2G update tests. r=rstrong
MozReview-Commit-ID: Kh0i6hWTZTp

--HG--
extra : rebase_source : aa68ebb186f11ff3202b9079430b738eb4a4f4f3
2016-11-10 22:55:29 +01:00
Andrew Halberstadt 22ef4b7035 Bug 1309060 - Give |mach python-test| the ability to run tests in parallel, r=gps
We recently switched make check to call into |mach python-test| rather than invoking python
itself for each test file. But this ended up slowing down the tests as they were no longer
being run in parallel. This patch adds a --jobs flag to python-tests and runs test files in
parallel.

Note: if more than one job is used, output per test will be buffered and printed at the end
to avoid interleaving. This has the unfortunate side effect of making |mach python-test| look
like it is hanging, especially if running a very long file like mozbase's test.py. For this
reason, we still use -j1 by default so output will continue to be streamed. In automation we
will use multiple processes though.

MozReview-Commit-ID: 3u0wOFmyQLI

--HG--
extra : rebase_source : d08ac412023731c46226c7adbf5f6e798b9a345a
2016-10-11 12:29:09 -04:00
Andrew Halberstadt ba9d1f68ea Bug 1309060 - Update futures to version 3.0.5, r=gps
We need the fix from https://github.com/agronholm/pythonfutures/issues/25
to allow sending KeyboardInterrupts to thread pools.

MozReview-Commit-ID: 5VfBttLbKOr

--HG--
extra : rebase_source : 8e3aa7a1d6fbbaa7b94cea35b196b35e103a1e33
2016-10-24 16:04:45 -04:00
Iris Hsiao 325956f7b5 Backed out changeset 52cfc93236f0 (bug 1314378) to fix the bustage after backed out bug 1314955 2016-11-16 15:30:47 +08:00
Wes Kocher 5f39e9c1f2 Backed out changeset 5cd867e3258b (bug 1317674) for make check failures a=backout 2016-11-15 18:16:22 -08:00
aleth fb59562f25 Bug 1317674 - Use the correct path to the binary for comm builds in the XPCOM glue check + exceptions for Calendar and Instantbird. r=glandium 2016-11-16 02:01:04 +01:00
Benjamin Smedberg 80690f1ce8 Build bustage fixup from bug 1314378 and bug 1314955 - remove things from the whitelist which are no longer built, r=lumpy on a CLOSED TREE
--HG--
extra : amend_source : c9244c8f26aa1255391f3db07fb2f4d8caa15ecd
2016-11-15 17:29:41 -05:00
Matthew Gregan 81105ff0ba Bug 1314514 - Update libcubeb to 8bab182c. r=padenot
--HG--
rename : media/libcubeb/tests/common.h => media/libcubeb/gtest/common.h
rename : media/libcubeb/tests/moz.build => media/libcubeb/gtest/moz.build
rename : media/libcubeb/tests/test_audio.cpp => media/libcubeb/gtest/test_audio.cpp
rename : media/libcubeb/tests/test_devices.cpp => media/libcubeb/gtest/test_devices.cpp
rename : media/libcubeb/tests/test_duplex.cpp => media/libcubeb/gtest/test_duplex.cpp
rename : media/libcubeb/tests/test_record.cpp => media/libcubeb/gtest/test_record.cpp
rename : media/libcubeb/tests/test_resampler.cpp => media/libcubeb/gtest/test_resampler.cpp
rename : media/libcubeb/tests/test_sanity.cpp => media/libcubeb/gtest/test_sanity.cpp
rename : media/libcubeb/tests/test_tone.cpp => media/libcubeb/gtest/test_tone.cpp
2016-11-11 15:01:56 +13:00
Sebastian Hengst e1115d457e Backed out changeset fb3473c1770d (bug 1316450) for landing on wrong integration tree. r=backout on a CLOSED TREE 2016-11-15 14:11:00 +01:00
Sebastian Hengst 511303c11e Bug 1316450 - Enforce that nothing new depends on the XPCOM glue: Re-add sdp_unittests because its removal hasn't been merged around yet. r=bustage-fix a=bustage-fix on a CLOSED TREE
MozReview-Commit-ID: KxrK2dKjhia
2016-11-15 14:04:05 +01:00
Sebastian Hengst d980649453 Bug 1316450 - Enforce that nothing new depends on the XPCOM glue: Remove sdp_unittests, not sdp_file_parser. r=bustage a=bustage on a CLOSED TREE
MozReview-Commit-ID: Kg0822lNuc7
2016-11-15 13:54:00 +01:00
Sebastian Hengst fc95af0673 Bug 1316450 - Enforce that nothing new depends on the XPCOM glue: Remove sdp_unittests (removed in bug 1316886) and TestMinStringAPI (removed in bug 1316732). r=bustage-fix a=bustage-fix on a CLOSED TREE
MozReview-Commit-ID: FEsOFc6Jvp1
2016-11-15 13:44:31 +01:00
Mike Hommey ce8408bddc Bug 1316450 - Enforce that nothing new depends on the XPCOM glue. r=gps
--HG--
extra : rebase_source : 9b276d9f8eccd058001a87acc473d3065d7595c2
2016-11-10 08:41:48 +09:00
Mike Hommey 3e149877ae Bug 1316844 - Make the linter detect unused dependencies. r=chmanchester
--HG--
extra : rebase_source : 44fea4820c95b5e0d274fa1b3bf6ce563af2c30a
2016-11-11 12:52:58 +09:00
Mike Hommey 1844bdb554 Bug 1316844 - Improve function unwrapping to properly cover templates. r=chmanchester
--HG--
extra : rebase_source : 35b56b6a2507bf18ef8182c3d8852bad5d13075f
2016-11-11 11:32:43 +09:00
Andrew Halberstadt 0f0d287852 Bug 1290765 - Add ability to install requirements.txt files in mozbuild/virtualenv.py, r=gps
Some mach commands may want to re-use a requirements.txt file rather than installing packages
individually. This enables --require-hashes which means all packages and dependencies must be
listed with their hashes. For more details, see:
https://pip.pypa.io/en/stable/reference/pip_install/#hash-checking-mode

MozReview-Commit-ID: 3lOutbcSzIY

--HG--
extra : rebase_source : d07ac21bd1f2f0009465f9e004208464b22de01b
2016-08-23 11:12:39 -04:00
Nicholas Nethercote 5daac04ccf Bug 1316792 - gtestify toolkit/components/places/tests/cpp/test_IHistory.cpp. r=mak.
This is a most minimal gtest conversion possible. It leaves in place
significant amounts of non-typical-for-gtest code.

Notable changes:

- All the mock Link and URLSearchParams method definitions are no longer
  needed.

- The changes adds a new constructor for Link that doesn't set mHistory.
  Without that, leaked URLs occur at shutdown.

- The output printed by the test is slightly streamlined, mostly by omitting
  the test filename.

- It disables TestMediaFormatReader.cpp, which was causing problems. That test
  is slated for removal in bug 1318225 anyway.

--HG--
rename : toolkit/components/places/tests/cpp/mock_Link.h => toolkit/components/places/tests/gtest/mock_Link.h
rename : toolkit/components/places/tests/cpp/moz.build => toolkit/components/places/tests/gtest/moz.build
rename : toolkit/components/places/tests/cpp/places_test_harness.h => toolkit/components/places/tests/gtest/places_test_harness.h
rename : toolkit/components/places/tests/cpp/places_test_harness_tail.h => toolkit/components/places/tests/gtest/places_test_harness_tail.h
rename : toolkit/components/places/tests/cpp/test_IHistory.cpp => toolkit/components/places/tests/gtest/test_IHistory.cpp
extra : rebase_source : b7def3f9afce3a44e99f5ed35cb220f7814551cd
2016-11-12 06:22:01 +11:00
Axel Hecht 25802c7daf bug 1315976, update compare-locales to 1.2.1, r=flod
MozReview-Commit-ID: 6sZtRiw0mQs

--HG--
extra : rebase_source : 9fe3ef84568e1356f60cd179cf234d5fdcf307df
2016-11-24 14:30:31 +01:00
Ralph Giles fc8803bb33 Bug 1321292 - mozboot: Don't suggest non-existent .cargo.env. r=gps
On Windows, the rustup installer doesn't create ~/.cargo/env
but instead pokes .cargo/bin into the path in the Windows
registry. This doesn't necessarily propagate to the msys
evironment however, so some PATH manipulation may still
be necessary.

Split our path advice to be clear in both the new install
and unconfigured path cases, and amend our path update
advice to not mention .cargo/env if it isn't present.

MozReview-Commit-ID: 9IHhS6UYCqq

--HG--
extra : rebase_source : 898615106078882f335385ac0b50eff1612377f0
2016-12-05 20:53:00 -08:00
Mike Hommey e7e497234b Bug 1316250 - Allow functions using the fake os module to not depend on --help. r=chmanchester
--HG--
extra : rebase_source : 3a39f6deb657a30713f4864d54530d6b0b454ae1
2016-11-09 15:32:28 +09:00
Mike Hommey 566d70bc03 Bug 1316250 - Don't pretend imported modules in templates are inherited by functions they contain. r=chmanchester
The current state of python configure sandbox execution is that if a
template imports a module, and a function defined in the template tries
to use the module, it doesn't work. Ideally, it would, but rather than
try to fix this corner case, we remove the unit tests that assume it
works (and consequently pass for half bad reasons), and add a unit test
so that the behavior doesn't change unwillingly.

--HG--
extra : rebase_source : 579ba2bc7c19d4fe7df11bbdb1ceb6171a1ee857
2016-11-09 15:22:17 +09:00
Carsten "Tomcat" Book 846adaea6c merge mozilla-inbound to mozilla-central a=merge 2016-11-09 16:38:04 +01:00
Gregory Szorc cc764ee794 Bug 1315785 - Set an environment variable when mach is attached to a TTY; r=glandium
The way it works now, `mach` commands often invoke subprocesses where
the subprocesses' stdio file descriptors are pipes so the mach command
can e.g. parse output.

Processes like clang, gcc, and cargo determine if they can send color
codes to {stderr, stdout} by seeing if those file descriptors are TTYs.
When e.g. `make` is executed via `mach`, this test fails because those
descriptors are pipes (even though they eventually end up on a TTY).

We can't wire the file descriptors to the TTY because `mach` needs
to analyze output. We don't want users defining process flags to force
color in their mozconfigs because color codes would still be sent
if stdout was not a TTY.

This patch sets the MACH_STDOUT_ISATTY environment variable in all mach
commands when stdout is a TTY. Subsequent processes can then look for
this variable to determine whether to override color settings, print
terminal control codes, etc.

MozReview-Commit-ID: GxXP2mQssjC

--HG--
extra : rebase_source : 4b99547b453cb7dd5cb590a71ed554ce2bc4759d
2016-11-08 12:15:13 -08:00
Gregory Szorc 0f12e2d300 Bug 1315785 - Restore environment variables after running command; r=glandium
Currently, environment variables set when running mach commands will
propagate after the command is finished. This can allow unwanted state
to bleed through.

This likely isn't an issue today, but isolating state during code
execution is generally a good practice. So do that.

MozReview-Commit-ID: AdaomGub5EF

--HG--
extra : rebase_source : ce81987a1f6de3a16bce6a9e45b9dc8e8eb29b4b
2016-11-08 12:15:07 -08:00
Andrew Halberstadt 5b45c5a120 Bug 1315805 - [mozlint] Make sure multiprocess' stdout gets flushed in lint tasks, r=dustin
MozReview-Commit-ID: FhOI92JySXg

--HG--
extra : rebase_source : f3de6198a2616315358e3e3be1441df0713b442f
2016-11-08 13:33:13 -05:00
Phil Ringnalda 393b414467 Merge m-i to m-c, a=merge
MozReview-Commit-ID: 48WAQwKUCpw
2016-11-02 19:28:38 -07:00
Kim Moir c488cc0a40 Bug 1296396 - remove configs that reference fx-team in tc and buildbot u=aselagea r=kmoir 2016-11-02 10:53:19 -04:00
Trevor Saunders 517fb75798 bug 1297723 - support mozilla::UniquePtr in the gdb pretty printers r=froydnj 2016-11-08 16:30:52 -05:00
Wes Kocher df5dbf81cc Merge central to inbound a=merge 2016-11-02 17:31:08 -07:00
Mike Hommey 900e53b021 Bug 1293675 - Error out when GetShortPathName returns a long path name. r=gps
--HG--
extra : rebase_source : fa95f8a1356009c44b33701b76d878e75fba7324
2016-11-01 08:06:40 +09:00
Mike Hommey c35a6888f9 Bug 1313306 - Allow @depends(when=something) without additional dependencies. r=chmanchester
Also allow when=True/False to avoid the chicken-egg problem of using
a generic `when` to use in replacement of @depends('--help') for things
like @dependable.

--HG--
extra : rebase_source : f1571a5b904efb66a361b90f3b7e1edbaa75772e
2016-10-26 16:42:06 +09:00
Mike Hommey 18c9034b4a Bug 1313306 - Relax the rules for --help dependencies. r=chmanchester
--help dependencies currently help identify functions that will run when
running configure --help, which we don't want to have spreading too
much. OTOH, when such functions have no side effect, it's not really
that important to have them explicitly marked.

So, allow missing --help dependencies for functions that:
- don't use @imports
- don't have a closure
- don't use global variables

This is a first step towards entirely removing the --help markings (the
end goal being that --help dependencies will indicate actual --help
dependencies). As such, we don't really care about updating the lint
error message.

--HG--
extra : rebase_source : e81ec9b51ff01c2ee75722904e551286aa0b2bec
2016-10-27 13:40:42 +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
Mike Hommey 016afea56c Bug 1313306 - Move --help dependency checks to the linter. r=chmanchester
Missing such dependencies shouldn't impair running configure itself
after local modifications, but they are currently required for
(mostly) documentation purpose. Which means they are better done in
the linter.

--HG--
extra : rebase_source : 6bfff2342cda2ed1351f561c9eb9623f1fb4e4c4
2016-10-27 10:02:21 +09:00
Mike Hommey e9aa83949b Bug 1313306 - Add a placeholder python configure linter. r=chmanchester
--HG--
extra : rebase_source : d7b17160bbf61e9aca2edfb2874a87182140c144
2016-10-27 09:36:33 +09:00
Chris Manchester 0723aadf51 Bug 1313379 - Fix mach bootstrap for Windows desktop artifact mode. r=gps
MozReview-Commit-ID: JqQ52K89q3H

--HG--
extra : rebase_source : b0580f19d8d53d4cf14f0016f7ecda8adeca2a66
2016-10-28 21:45:43 -07:00
Dustin J. Mitchell ceadc4b4c8 Bug 1301785: update python/redo to 1.6; r=gps
MozReview-Commit-ID: BdSQshy2f0p

--HG--
extra : rebase_source : 2dc5a1a95cbf3a01e4b62251638cdf98a88bf193
2016-10-31 15:41:28 +00:00
Eugen Sawin e28632312d Bug 1307886 - [2.3] Compress libraries with XZ during packaging. r=glandium 2016-10-28 12:59:23 +02:00
Eugen Sawin 5999591289 Bug 1307886 - [1.2] Remove szip support. r=glandium 2016-10-28 12:59:23 +02:00
Phil Ringnalda 445097654c Merge m-i to m-c, a=merge
MozReview-Commit-ID: 56Hspl8LZMY
2016-10-27 19:21:47 -07:00
aleth bb41ac3b46 Bug 1311122 - Ensure missing file errors get reported despite missing base path in l10n.py. r=glandium
--HG--
extra : rebase_source : 1171410b3a6df675c3551c694748202176e42cbf
2016-10-18 21:06:36 +02:00
Leo Schwarz 33768e74f6 Bug 1312290 - Force package extension when building AUR packages on Arch Linux. r=gps
Previously if an Arch Linux user had a different package extension configured
in `/etc/makepkg.conf` building AUR packages during bootstrap would fail.
Forcing the extension by providing it as an environment variable makes sure
building doesn't fail regarding of a user's configuration.

MozReview-Commit-ID: 4aryYS0XVr7

--HG--
extra : rebase_source : 4c466e49f729de625e814a92325c6d38e6d1e0b4
2016-10-25 10:28:59 +02:00
Mike Hommey 158b715543 Bug 1313259 - Fix some preprocessor unit tests to actually do the tests they're supposed to do. r=gps
--HG--
extra : rebase_source : 70e9a8ed265d1bb7f74dd1d37cd8e561e649bd5a
2016-10-27 10:24:27 +09:00
Chris Manchester 29650e6f7d Bug 1312574 - Use cPickle instead of json to serialize the build system's tests database. r=gps
MozReview-Commit-ID: 9xmUtVV6SRN

--HG--
extra : rebase_source : 957bfacfa5c13fa88b298e33dcaf475c08be8776
2016-10-25 12:31:59 -07:00
Chris Manchester b09b78a7c5 Bug 1298740 - Populate Python environment with variables from mozconfig. r=glandium
MozReview-Commit-ID: KDCoxxh37Um
2016-10-14 11:06:30 -07:00
Chris Manchester 0d0d70f0f2 Bug 1312520 - Store and process manifest-level defaults in the build system separately from individual tests. r=gps
MozReview-Commit-ID: 1dSMAaOqToJ
2016-10-25 12:23:39 -07:00
aleth b8af6b7271 Bug 1311136 - Improve 'multiple locales' error message in l10n.py. r=glandium
--HG--
extra : rebase_source : f46d5120f962380f989ebd115cc44c08ef858eb8
2016-10-18 21:52:19 +02:00
Francesco Lodolo (:flod) cce240d070 Bug 1312333 - Include bug1309191 in devtools l10n migration script for NetMonitor. r=pike
--HG--
rename : python/devtools/migrate-l10n/migrate/conf/bug1308500 => python/devtools/migrate-l10n/migrate/conf/bug1308500_1309191
2016-10-23 23:19:00 +02:00
Grisha Kruglov c2e769ff54 Bug 1312476 - Update paths for x86 android artifact builds r=sebastian
MozReview-Commit-ID: 3NLluk5mU9g

--HG--
extra : rebase_source : 86b30c5e2899e2d15e26199323f3aee0b9211391
2016-10-24 09:46:21 -07:00
Gregory Szorc 22c45fdb44 Bug 1310868 - Tie resource collection to lifetime of context manager; r=glandium
Both BuildMonitor and BuildOutputManager are doing similar things and
wrapping the build with forms of monitoring. These classes are only
used in the `mach build` command.

Since the BuildOutputManager takes an instance of BuildMonitor as an
argument and since BuildOutputManager behaves as a context manager,
it makes sense for BuildOutputManager to control the lifetime of
BuildMonitor's collection.

So, we teach BuildOutputManager's context manager to start the
BuildMonitor and ensure its resource collection is stopped when it
exits.

MozReview-Commit-ID: 3l9Hwz0Xe7o

--HG--
extra : rebase_source : 600b0231fce050465bdccb2bc11680f77bbc35d9
2016-10-17 17:03:38 -07:00
Kris Maglione 67e2b2f753 Bug 1309350: Part 2 - Speed up synchronous resolution of module paths. r=gps,ochameau
r?gps for the build changes and ochameau for the rest.

This results in about a 28% speed-up for Jetpack mochitest runs, for me.

MozReview-Commit-ID: K30q7BfvTLs

--HG--
extra : rebase_source : 8074947062c73a329f1d8a255a9601147ba1ba0c
2016-10-14 05:27:15 +01:00
Mike Hommey 2a9930daf9 Bug 1311871 - Fix NSIS version check for NSIS version 3.0. r=chmanchester
--HG--
extra : rebase_source : 5e99dc999e2c54813ec447134bc4b008f7af826a
2016-10-21 09:15:34 +09:00
Chris Manchester 6199bfe74b Bug 1311632 - Update route and package names for android artifact builds to reflect gecko.v2 index locations. r=mshal
MozReview-Commit-ID: 3QtL0bj18x2

--HG--
extra : rebase_source : 01f171ae40c015b00a8cb7689f7afe7f723be1ee
2016-10-20 12:33:44 -07:00
Julian Descottes 336f71fd5e Bug 1295157 - create devtools l10n migration script for dtd to properties migration;r=Pike
For devtools-html, devtools will progressively stop using DTD files and will use only properties
files. To avoid retranslating already localized strings in every locale, this script can be used
by localization teams to automatically migrate strings moved in the scope of the devtools-html
project.

MozReview-Commit-ID: KNDfCoPXOM9

--HG--
extra : rebase_source : 48fbf2ae3daab89891262e460c979b6c141a2caa
2016-09-08 23:45:42 +02:00
Mike Hommey ffb7fbf6c4 Bug 1311069 - Don't throw InvalidOptionError exceptions when a non-available option was set from an environment variable. r=chmanchester
--HG--
extra : rebase_source : 74b61120a2d1ec721d92c7f8697694b807670013
2016-10-19 09:06:41 +09:00
Mike Shal 0d1c85f23a Bug 1250700 - Use the gecko.v2 instead of buildbot for artifact builds; r=chmanchester
MozReview-Commit-ID: Hn55McoK1sY

--HG--
extra : rebase_source : 5d01539b726014677d64cac43dc616d098b76005
2016-09-30 15:22:28 -04:00
Mike Hommey 5983667dd8 Bug 1296530 - Add an only_when context manager, and a `when` argument to include(). r=chmanchester
--HG--
extra : rebase_source : a74c539148e0a0597d1ff4af85ccf917cc37e1d4
2016-10-12 16:56:11 +09:00
Mike Hommey b527447baf Bug 1296530 - Add a `when` argument to imply_option(). r=chmanchester
--HG--
extra : rebase_source : 4822e6eb942dcfe3580cee9667d85a6e20118ca3
2016-10-12 14:48:47 +09:00
Mike Hommey 6b2314bdbb Bug 1296530 - Add a `when` argument to set_config() and set_define(). r=chmanchester
--HG--
extra : rebase_source : 707b77c326dfab3b6a7cf484ec88b5d7ece1f98c
2016-10-12 14:24:28 +09:00
Mike Hommey 6742fd1764 Bug 1296530 - Add a `when` argument to option(). r=chmanchester
--HG--
extra : rebase_source : afc1041aae1ad388e08435999098f06cce3a8e13
2016-10-12 17:45:53 +09:00
Mike Hommey ff7ca5af9d Bug 1296530 - Add a `when` argument to @depends(). r=chmanchester
--HG--
extra : rebase_source : ba3e8e781655efd8a0a404382048612a3dc3c7c4
2016-10-12 13:52:08 +09:00
Mike Hommey e8c24ed7b4 Bug 1296530 - Add a test for unexpected keyword argument to @depends. r=chmanchester
--HG--
extra : rebase_source : 7779cff4702997436da70cecf01df025b2fcb463
2016-10-12 13:48:23 +09:00
Mike Hommey 8a3a49206b Bug 1296530 - Get help text out of TestConfigure.get_config when given --help. r=chmanchester
--HG--
extra : rebase_source : 730c136d9df703365d5da29b6f3b82e3f87a97bf
2016-10-12 11:11:56 +09:00
Mike Hommey a787f620da Bug 1296530 - Move the somehow redundant check for --help dependency from _resolve to _value_for_depends. r=chmanchester
--HG--
extra : rebase_source : b187fdef27746d4a59af549b2335761618d82d4e
2016-10-11 14:20:18 +09:00
Mike Hommey f265d16c20 Bug 1296530 - Move @depends dependency resolution to a separate function. r=chmanchester
--HG--
extra : rebase_source : c78f2532258c99f4c8dfe536cce20417657c6e93
2016-10-11 08:42:17 +09:00
Mike Hommey caeb1547de Bug 1296530 - Move more things in the new DependsFunction and add a repr() for it. r=chmanchester
--HG--
extra : rebase_source : 739ff145c9f50438d9b7997ab12a7270d4c1b4e5
2016-10-13 13:28:06 +09:00
Mike Hommey 359529b830 Bug 1296530 - Store DependsFunction information for the sandbox as class instances instead of tuples. r=chmanchester
--HG--
extra : rebase_source : 5b05df452074180669bc9cc16501acfe7be7be50
2016-10-13 13:04:18 +09:00
Mike Hommey 16f5c51446 Bug 1296530 - Rename DependsFunction to SandboxDependsFunction. r=chmanchester
--HG--
extra : rebase_source : 60d2ef6f9d8eda36a9f9e3fb82c017958eab18a3
2016-10-13 12:45:24 +09:00
Mike Hommey 1c3867ff90 Bug 1296530 - Add a repr() for Option. r=chmanchester
--HG--
extra : rebase_source : 156293c0be028e346c164751178ebc006c291fee
2016-10-13 12:43:01 +09:00
Ting-Yu Lin 6bd7fdd2ae Bug 1309657 - Update ccache stats parser for version 3.3. r=gps
ccache 3.3 added two fields in the status.
1. "cache hit rate"
https://github.com/ccache/ccache/issues/94

2. "cleanups performed"
0769ea3630

We just teach the parser the two fields. Nothing else.

MozReview-Commit-ID: 9kZrDrpCopd

--HG--
extra : rebase_source : ecb55fa9187abb37e668f0d25b40afd41597f7f8
2016-10-13 11:20:58 +08:00
Andrew Halberstadt dde3965629 Bug 1309963 - Make sure return codes are passed from .lint files up to the cli, r=jgraham
If a linter returns a status code instead of a list of results, mozlint will throw away
that status code and move on to the next linter. We should make sure that status code
bubbles all the way up to the cli.

MozReview-Commit-ID: 9fXpmtlUUT1

--HG--
extra : rebase_source : 84c80d1b24d7233d0c4c6e38b23e775110776d1f
2016-10-13 16:23:13 -04:00
Nathan Froyd e818915fae Bug 1304815 - rearrange Rust crate structure for newer Rust releases; r=ted.mielczarek
In our current Rust world, we have the following dependency structure:

  xul.so --------------------------+
                                   |
  xul-gtest.so -+--> xul.a --------+-> gkrust
                |
                +--> gkrust-gtest

This structure results in link errors with multiply-defined symbols
between gkrust-gtest and gkrust with newer Rust releases when linking
xul-gtest.so.  So we have to do something different.

Our new structure is:

  xul.so --------------------------+
                                   |
  xul-gtest.so -+--> xul.a --------+-> gkrust --+-> gkrust-shared
                |                               |
                +--> gkrust-gtest --------------+

and we enforce that a given shared library can only have at most one
Rust library that it depends on.  Said Rust library is assumed to
include all significant Rust dependencies of the dependent static
libraries as well.  (In the above structure, gkrust is simply a wrapper
around gkrust-shared, so gkrust-gtest doesn't have to include gkrust as
a dependency.)
2016-10-15 18:16:13 -04:00
Kartikaya Gupta f6d49dac63 Bug 1310215 - Add a verbose argument to mach install which provides useful information in case the android emulator startup fails. r=ahal
MozReview-Commit-ID: EhuBgeewqtb
2016-10-14 11:15:10 -04:00
Michael Kaply 3e3d89e4e2 Bug 1309304 - Move search python files to a central location. r=glandium
MozReview-Commit-ID: DEqQfJ8lHxA

--HG--
rename : browser/locales/searchjson.py => python/mozbuild/mozbuild/action/generate_searchjson.py
rename : browser/locales/searchplugins.py => python/mozbuild/mozbuild/action/output_searchplugins_list.py
extra : rebase_source : 43f808fa50f4124e2ce4e3b36df44c82f143dabf
2016-10-20 11:25:29 -05:00
Chris Manchester 6f8124b45f Bug 1308982 - Read gyp files in a separate process. r=gps
This moves reading of gyp files to a separate process from the main
reader/emitter pipeline, causing gyp contexts to be consumed after other
contexts.

MozReview-Commit-ID: CevPcpe5cFI
2016-12-21 16:28:28 -08:00
Chris Manchester cc9c24c6a8 Bug 1308982 - Stop adding gyp directories to the DIRS make variable. r=gps
Due to an apparent bug, DIRS are being ouptut inconsistently for directories
with code built by gyp files (as of this writing, they are output for child
directories of media/webrtc but not for some other directories). The DIRS
variable no longer drives compilation, so this was essentially a no-op.

MozReview-Commit-ID: IMfjyrcsWyv
2016-12-21 16:28:28 -08:00
Chris Manchester 4bcebd4fe0 Bug 1308982 - Normalize gyp_reader.py indentation to 4 spaces. r=gps
MozReview-Commit-ID: HRE3cVmNB2d
2016-12-21 16:28:28 -08:00
Chris Manchester 2d2292267f Bug 1316140 - Allow use of multiprocessing from config.status on windows. r=mshal
This generalizes the monkey-patching of the main module added
in bug 914563 to allow multiprocessing to be used from config.status
(which triggers the same bug as when it's used with `mach` as main).

MozReview-Commit-ID: AdOdpKzmbsp
2016-12-21 16:28:28 -08:00
Nathan Froyd 05b3912397 Bug 1193452 - don't use -fallback with clang-cl; r=glandium
We no longer need this.
2016-12-21 06:56:48 -05:00
Ted Mielczarek 11449f6fba bug 1305958 - Allow custom GENERATED_FILES in SYMBOLS_FILE. r=glandium
This patch allows specifying an objdir path in `SYMBOLS_FILE`, with the
requirement that the file is also listed in `GENERATED_FILES`. This is used
for handling NSS' .def files with their special processing.

I added tests for the existing `SYMBOLS_FILE` case as well as the new case
and a test for the error if the file is not listed in `GENERATED_FILES`.

MozReview-Commit-ID: 3cVbKplltfb

--HG--
extra : rebase_source : 0ae4180dbe9383b09f14554bfda8aec20d7cc094
2016-09-02 15:34:09 -04:00
Sebastian Hengst cdcc9e20da Bug 1304829 - rename RELEASE_BUILD to RELEASE_OR_BETA: main part. r=ted,Mossop
MozReview-Commit-ID: 1lCt0xTMV5O
2016-10-08 11:14:49 +02:00
Carsten "Tomcat" Book 3522f1d38a merge mozilla-inbound to mozilla-central a=merge 2016-10-05 15:42:48 +02:00
Wes Kocher b4e6b8fba5 Merge m-c to autoland, a=merge 2016-10-04 17:42:48 -07:00
Nathan Froyd d05eb39d9d Bug 1296737 - make clang-cl compile in c++14 mode; r=glandium
MSVC headers have C++14 features without appropriate guards, so clang-cl
needs to be instructed to default to a C++14-compatible mode by default.
2016-10-04 20:34:04 +00:00
Chris Manchester 0c70afc0a3 Bug 1305502 - Add an option to download symbols for an artifact build. r=glandium
MozReview-Commit-ID: HJxJeMkLiz9
2016-09-26 14:54:24 -07:00
Mike Hommey 09e520c674 Bug 1307355 - Add an implicit dependency on --enable-compile-environment to pkg_check_modules. r=chmanchester
--HG--
extra : rebase_source : bd16320895f54d42c8207722a4a4c366d1332170
2016-10-04 15:33:37 +09:00
Gregory Szorc f4832137ac Bug 1286900 - Stop producing web-platform tests zip file; r=ted
Now that we access WPT related files from a source checkout, we no
longer need the web-platform tests zip file produced or consumed by
automation. So stop producing it.

MozReview-Commit-ID: Ea8KjKZJ5Yx

--HG--
extra : rebase_source : f22506a02fdd5e78434cdc5d1c1f274db1cd04e2
2016-09-20 18:41:06 -07:00
Phil Ringnalda c1e745733c Merge m-i to m-c, a=merge
MozReview-Commit-ID: IffTwuMbwmG
2016-10-03 20:09:05 -07:00
Andrew Halberstadt 1b0964f59b Bug 1304593 - Take universal binaries into account when detecting objdir mismatches, r=gps
When attempting to run mach from a make target, there were failures on OSX due to an objdir
mismatch:
https://dxr.mozilla.org/mozilla-central/rev/7c576fe3279d87543f0a03b844eba7bc215e17f1/python/mozbuild/mozbuild/base.py#656

The two detected objdirs were "<objdir>" and "<objdir>/x86_64". I believe this should not
count as a mismatch, otherwise it would not be possible to run a mach command from the
x86_64 directory.

MozReview-Commit-ID: CXDEABNWX8L

--HG--
extra : rebase_source : 9daeaf372d872921e7b2854eee0313b5adc0e707
2016-09-30 14:27:38 -04:00
Andrew Halberstadt fae591ac2b Bug 1304593 - Fix broken test_entry_point.py in mach, r=gps
Fix and enable python/mach/mach/test/test_entry_poiny.py.

MozReview-Commit-ID: FtMpt8Nmq3g

--HG--
extra : rebase_source : 73755266b7d9570065c0ab18e0b50e074559914c
2016-09-27 17:11:00 -04:00
Ted Mielczarek 739348c41e bug 1294565 - add a `mach vendor rust` command to vendor crates into third_party/rust. r=gps
This command is mostly just a wrapper around `cargo vendor`, but it runs
it the right way and will install the cargo-vendor tool if necessary.

Additionally, the mach command will by default error if there are uncommited
changes to files other than Cargo.{toml,lock} in your working copy, and it
will stage changes to the vendored crates in your VCS after the update.

MozReview-Commit-ID: 2fMDBawNUMO

--HG--
extra : rebase_source : fe72f26aec795eb663c554933432e700ac5089c3
2016-09-29 06:39:14 -04:00
Ted Mielczarek 93587924f6 bug 1294565 - add some more helpers to mozversioncontrol, add MozbuildObject.repository. r=gps
I wanted to be able to do some VCS interaction from a mach command, and we
didn't have anything suitable, so I tore up mozversioncontrol and replaced
it with a framework to hang new features off of. I've only implemented
the bits I need currently (get_modified_files and add_remove_files),
but it should be straightforward to add more functionality there.

This patch also adds a `repository` property to `MozbuildObject`, which will
return a `Repository` object for the topsrcdir to make using these helpers
even easier for `MozbuildObject`-derived classes.

MozReview-Commit-ID: Gw6Ixp1ltiN

--HG--
extra : rebase_source : e619d6642eb86c3f96e679ac22a3e561dfdbb56a
2016-09-29 06:48:37 -04:00
Mike Shal 07b492f103 Bug 1306405 - add BUILDSTATUS messages to the tup backend; r=chmanchester
MozReview-Commit-ID: HoDUuKkmv2l

--HG--
extra : rebase_source : 3d4acbcf639976d769a51eacd0d04beb87a40bf3
2016-09-26 14:16:09 -04:00
Carsten "Tomcat" Book 5b45193594 merge mozilla-inbound to mozilla-central a=merge 2016-09-29 11:44:58 +02:00
Mike Shal 91feda6d73 Bug 1305157 - Handle the build/ directory's GENERATED_FILES; r=gps
This is a little tricky since tup expects rules in a single Tupfile to
be topologically sorted, and the emitter emits the GeneratedFile object
before it emits the FinalTargetPreprocessedFile object. We work around
this by delaying when we process the application.ini.h GeneratedFile
object, but it's a hack.

MozReview-Commit-ID: 8nVm76nZOKb

--HG--
extra : rebase_source : a82cfbeef739aac791998fb6d45cf88eb7116e32
2016-09-28 13:59:36 -04:00
Mike Shal b5f5829f3f Bug 1305157 - Handle FinalTargetPreprocessedFiles in the tup backend; r=gps
MozReview-Commit-ID: 6fxTagN6mGl

--HG--
extra : rebase_source : 26a00428ad9a337c355d20b8acf229c8387fbede
2016-09-28 13:55:38 -04:00
Mike Shal 02bca067c4 Bug 1305157 - Fix buildid.h and create source-repo.h in make before tup runs; r=gps
MozReview-Commit-ID: CPYA1OJUfo8

--HG--
extra : rebase_source : ed8f4b193ec37f3015277a4d39f19a4904b04d9a
2016-09-28 13:51:34 -04:00
Mike Shal deedb1fd3b Bug 1305157 - Move GeneratedFile handling into its own function; r=gps
MozReview-Commit-ID: HbZBYVugj9E

--HG--
extra : rebase_source : 576aa8d93c964740f5c44a9cf151fd1b9cf4bcef
2016-09-27 13:41:16 -04:00
Carsten "Tomcat" Book b5206d37f5 Merge mozilla-central to mozilla-inbound 2016-09-28 16:25:01 +02:00
Carsten "Tomcat" Book 572e74ee99 merge mozilla-inbound to mozilla-central a=merge 2016-09-28 15:56:33 +02:00
Phil Ringnalda 3e7326c4fd Backed out 6 changesets (bug 1286900) for making wpt-7 permanently fail on Windows debug
CLOSED TREE

Backed out changeset 859457467e3c (bug 1286900)
Backed out changeset 4b08ed30e0a5 (bug 1286900)
Backed out changeset 3928e945b584 (bug 1286900)
Backed out changeset 5b0f69c86028 (bug 1286900)
Backed out changeset 01c3527edde5 (bug 1286900)
Backed out changeset 6b5f059a85ad (bug 1286900)
2016-09-27 18:24:38 -07:00
Matthew Gregan de2a95a064 Bug 1305604 - Convert dashes to underscores in crate name when generating --extern option. r=froydnj 2016-09-28 10:07:47 +13:00
Ted Mielczarek 6fba0e392a bug 1256642 - have the build system automatically detect LIB_IS_C_ONLY. r=glandium
MozReview-Commit-ID: 3xWSEe0Tmp9

--HG--
extra : rebase_source : 473fd5911dcf5e6d0122cb74de16e7d41cd35cdc
2016-08-24 11:29:00 -04:00
Chris Manchester 732cc6b973 Bug 1304522 - Fix the "when" argument to check_header to actually make checks conditional. r=glandium
MozReview-Commit-ID: JlYUFsPRGAV

--HG--
extra : rebase_source : 8cd667969fefb043f9769f35ba1fd12fe209a2b4
2016-09-21 22:02:43 -07:00
Gregory Szorc 13bf17ed00 Bug 1286900 - Stop producing web-platform tests zip file; r=ted
Now that we access WPT related files from a source checkout, we no
longer need the web-platform tests zip file produced or consumed by
automation. So stop producing it.

MozReview-Commit-ID: Ea8KjKZJ5Yx

--HG--
extra : rebase_source : ee6ec00689696a710faf390d3dec5c5d02d8ec74
2016-09-20 18:41:06 -07:00
Xidorn Quan 1da4aa60e1 Bug 1304302 part 11 - Remove StyleSheetHandle as well as other places reference it. r=heycam
MozReview-Commit-ID: FfYZiShjJNX

--HG--
extra : source : b75ca959d5bc0128e643a58126693b4cc704e09b
2016-09-26 22:03:25 +10:00
Mike Shal 366bb17910 Bug 1304125 - Perform WebIDL code generation in the tup backend; r=gps
MozReview-Commit-ID: Fnw8380zyGU

--HG--
extra : rebase_source : 4cad1fc9699260ce2dd25530060596de51212deb
2016-09-19 13:30:03 -04:00
Mike Shal b48e8b54f9 Bug 1304129 - Use xpidllex.py / xpidlyacc.py from GENERATED_FILES; r=gps
MozReview-Commit-ID: 8w50kZWinzl

--HG--
extra : rebase_source : c2231f6e776cc8195063dad8c1480cec88bd5e62
2016-09-19 13:47:32 -04:00
Mike Shal 2275e6ed2e Bug 1304129 - Build GENERATED_FILES in the tup backend; r=gps
MozReview-Commit-ID: IaVAuRWIjmC

--HG--
extra : rebase_source : 66e28cea04873ba1ebace456a6607f1ee05f923f
2016-09-19 13:47:05 -04:00
Henrik Skupin 401257b7ed Bug 1301334 - Package Marionette tests via moz.build entries r=gps
Move packaging for Marionette from make to test_archiver by using root manifest files.

MozReview-Commit-ID: 1cxEBYQeJ2Z
**

--HG--
extra : rebase_source : 372a407d9207bfbccbfb88c689df60b8cc1abcaf
2016-09-20 18:05:43 +02:00
Henrik Skupin e20a8e6f48 Bug 1302364 - Include firefox-ui and puppeteer in all-tests.json, and allow to run tests via "mach test". r=gps
MozReview-Commit-ID: EwONsQSgAym

--HG--
extra : rebase_source : 4bcf4497a2af79790378ddc1bbe47712e4c0ea6c
2016-09-21 10:31:05 +02:00
Henrik Skupin 3cd74b7623 Bug 1302364 - Update TEST_MANIFESTS documentation for install_root in resolve_tests(). r=gps
MozReview-Commit-ID: 9EXT3Jakwx1

--HG--
extra : rebase_source : 2e3752e385e2e9ed9ad38549539f24126452da07
2016-09-21 10:16:33 +02:00
Michael Layzell 73b988acc6 Bug 1303223 - Ensure that panic = 'abort' is specified for all toplevel Cargo.tomls, r=froydnj
MozReview-Commit-ID: GX0FJjDVA5q
2016-09-20 13:56:09 -04:00
Michael Layzell 05bd5a1076 Bug 1300208 - Allow specifying multiple rust crates to mozbuild within the same FINAL_LIBRARY, r=froydnj
MozReview-Commit-ID: IIjV4Kg7wOv
2016-09-20 11:26:43 -04:00
Yen Chi Hsuan 80b867a458 Bug 1143421 - install file copies instead of symlinks for Spidermonkey. r=glandium 2016-08-25 15:51:55 +08:00
Mike Hommey 94ad81b0b0 Bug 1295542 - Ensure at least an empty chrome.manifest next to each omnijar file. r=gps 2016-09-20 13:43:54 +09:00