Commit Graph
2707 Commits
Author SHA1 Message Date
Eugen Sawin 4a26a3bacb Bug 1307886 - [2.3] Compress libraries with XZ during packaging. r=glandium 2016-10-28 12:59:23 +02:00
Eugen Sawin f561409ffe Bug 1307886 - [1.2] Remove szip support. r=glandium 2016-10-28 12:59:23 +02:00
Phil Ringnalda df73321400 Merge m-i to m-c, a=merge
MozReview-Commit-ID: 56Hspl8LZMY
2016-10-27 19:21:47 -07:00
aleth 6725699ef2 Bug 1311122 - Ensure missing file errors get reported despite missing base path in l10n.py. r=glandium 2016-10-18 21:06:36 +02:00
Leo Schwarz e00c88aecb 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
2016-10-25 10:28:59 +02:00
Mike Hommey 28565d2ecc Bug 1313259 - Fix some preprocessor unit tests to actually do the tests they're supposed to do. r=gps 2016-10-27 10:24:27 +09:00
Chris Manchester 27c6632a32 Bug 1312574 - Use cPickle instead of json to serialize the build system's tests database. r=gps
MozReview-Commit-ID: 9xmUtVV6SRN
2016-10-25 12:31:59 -07:00
Chris Manchester 6b69539bd6 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 56e2253898 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 34b2a74578 Bug 1311136 - Improve 'multiple locales' error message in l10n.py. r=glandium 2016-10-18 21:52:19 +02:00
Francesco Lodolo (:flod) a8714a39b8 Bug 1312333 - Include bug1309191 in devtools l10n migration script for NetMonitor. r=pike 2016-10-23 23:19:00 +02:00
Grisha Kruglov 162f2564cf Bug 1312476 - Update paths for x86 android artifact builds r=sebastian
MozReview-Commit-ID: 3NLluk5mU9g
2016-10-24 09:46:21 -07:00
Gregory Szorc e07d6a6e82 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
2016-10-17 17:03:38 -07:00
Kris Maglione 928093e0b8 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
2016-10-14 05:27:15 +01:00
Mike Hommey 5b4858bdce Bug 1311871 - Fix NSIS version check for NSIS version 3.0. r=chmanchester 2016-10-21 09:15:34 +09:00
Chris Manchester e8054c6123 Bug 1311632 - Update route and package names for android artifact builds to reflect gecko.v2 index locations. r=mshal
MozReview-Commit-ID: 3QtL0bj18x2
2016-10-20 12:33:44 -07:00
Julian Descottes 8b2149e3f5 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
2016-09-08 23:45:42 +02:00
Mike Hommey 944e4ae612 Bug 1311069 - Don't throw InvalidOptionError exceptions when a non-available option was set from an environment variable. r=chmanchester 2016-10-19 09:06:41 +09:00
Mike Shal 356f3f048a Bug 1250700 - Use the gecko.v2 instead of buildbot for artifact builds; r=chmanchester
MozReview-Commit-ID: Hn55McoK1sY
2016-09-30 15:22:28 -04:00
Mike Hommey c42f8ad7b6 Bug 1296530 - Add an only_when context manager, and a when argument to include(). r=chmanchester 2016-10-12 16:56:11 +09:00
Mike Hommey 33037589a7 Bug 1296530 - Add a when argument to imply_option(). r=chmanchester 2016-10-12 14:48:47 +09:00
Mike Hommey 48455da589 Bug 1296530 - Add a when argument to set_config() and set_define(). r=chmanchester 2016-10-12 14:24:28 +09:00
Mike Hommey 837ee0a071 Bug 1296530 - Add a when argument to option(). r=chmanchester 2016-10-12 17:45:53 +09:00
Mike Hommey df9ae55b6f Bug 1296530 - Add a when argument to @depends(). r=chmanchester 2016-10-12 13:52:08 +09:00
Mike Hommey 324b5d3daf Bug 1296530 - Add a test for unexpected keyword argument to @depends. r=chmanchester 2016-10-12 13:48:23 +09:00
Mike Hommey 55dba8d669 Bug 1296530 - Get help text out of TestConfigure.get_config when given --help. r=chmanchester 2016-10-12 11:11:56 +09:00
Mike Hommey fcd3736b2e Bug 1296530 - Move the somehow redundant check for --help dependency from _resolve to _value_for_depends. r=chmanchester 2016-10-11 14:20:18 +09:00
Mike Hommey 0056d6f5a4 Bug 1296530 - Move @depends dependency resolution to a separate function. r=chmanchester 2016-10-11 08:42:17 +09:00
Mike Hommey abc0339e5c Bug 1296530 - Move more things in the new DependsFunction and add a repr() for it. r=chmanchester 2016-10-13 13:28:06 +09:00
Mike Hommey c586894999 Bug 1296530 - Store DependsFunction information for the sandbox as class instances instead of tuples. r=chmanchester 2016-10-13 13:04:18 +09:00
Mike Hommey 3c7eb268a5 Bug 1296530 - Rename DependsFunction to SandboxDependsFunction. r=chmanchester 2016-10-13 12:45:24 +09:00
Mike Hommey 7730953133 Bug 1296530 - Add a repr() for Option. r=chmanchester 2016-10-13 12:43:01 +09:00
Ting-Yu Lin 453ddd1d23 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"
https://github.com/ccache/ccache/commit/0769ea3630efd6315303f7325fc16d73a0ef1a4d

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

MozReview-Commit-ID: 9kZrDrpCopd
2016-10-13 11:20:58 +08:00
Andrew Halberstadt 4831d5a694 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
2016-10-13 16:23:13 -04:00
Nathan Froyd 8a3ac73ffd 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 6f19ca1a32 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 502d2d8b04 Bug 1309304 - Move search python files to a central location. r=glandium
MozReview-Commit-ID: DEqQfJ8lHxA
2016-10-20 11:25:29 -05:00
Chris Manchester afa652ed17 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 89ab6e8ace 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 e231637fd8 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 f6d20ce95a 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 f43e0c7acb 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 704faa9407 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
2016-09-02 15:34:09 -04:00
Sebastian Hengst faa4e03c25 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 24fd37558f merge mozilla-inbound to mozilla-central a=merge 2016-10-05 15:42:48 +02:00
Wes Kocher cd063d9c1e Merge m-c to autoland, a=merge 2016-10-04 17:42:48 -07:00
Nathan Froyd 8a332b5bde 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 938d53ad1f 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 b8a8d68ac8 Bug 1307355 - Add an implicit dependency on --enable-compile-environment to pkg_check_modules. r=chmanchester 2016-10-04 15:33:37 +09:00
Gregory Szorc cdb2ccd57e 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
2016-09-20 18:41:06 -07:00