Commit Graph
5079 Commits
Author SHA1 Message Date
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
Phil Ringnalda 32a3e9d2b7 Merge m-i to m-c, a=merge
MozReview-Commit-ID: IffTwuMbwmG
2016-10-03 20:09:05 -07:00
Andrew Halberstadt df7998b448 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
2016-09-30 14:27:38 -04:00
Andrew Halberstadt 64ca1ae8d0 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
2016-09-27 17:11:00 -04:00
Ted Mielczarek 0a672ff95a 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
2016-09-29 06:39:14 -04:00
Ted Mielczarek 5e679ea604 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
2016-09-29 06:48:37 -04:00
Mike Shal 028fc1b127 Bug 1306405 - add BUILDSTATUS messages to the tup backend; r=chmanchester
MozReview-Commit-ID: HoDUuKkmv2l
2016-09-26 14:16:09 -04:00
Carsten "Tomcat" Book 63402ac422 merge mozilla-inbound to mozilla-central a=merge 2016-09-29 11:44:58 +02:00
Mike Shal d609c4b2e6 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
2016-09-28 13:59:36 -04:00
Mike Shal ceb9ab44b1 Bug 1305157 - Handle FinalTargetPreprocessedFiles in the tup backend; r=gps
MozReview-Commit-ID: 6fxTagN6mGl
2016-09-28 13:55:38 -04:00
Mike Shal e7e0fca6d2 Bug 1305157 - Fix buildid.h and create source-repo.h in make before tup runs; r=gps
MozReview-Commit-ID: CPYA1OJUfo8
2016-09-28 13:51:34 -04:00
Mike Shal c9a6a5b040 Bug 1305157 - Move GeneratedFile handling into its own function; r=gps
MozReview-Commit-ID: HbZBYVugj9E
2016-09-27 13:41:16 -04:00
Carsten "Tomcat" Book 9828e8b912 Merge mozilla-central to mozilla-inbound 2016-09-28 16:25:01 +02:00
Carsten "Tomcat" Book d3896c257f merge mozilla-inbound to mozilla-central a=merge 2016-09-28 15:56:33 +02:00
Phil Ringnalda 0026263afd 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 e71f91f08c 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 128a1f46a9 bug 1256642 - have the build system automatically detect LIB_IS_C_ONLY. r=glandium
MozReview-Commit-ID: 3xWSEe0Tmp9
2016-08-24 11:29:00 -04:00
Chris Manchester 43a10b82be Bug 1304522 - Fix the "when" argument to check_header to actually make checks conditional. r=glandium
MozReview-Commit-ID: JlYUFsPRGAV
2016-09-21 22:02:43 -07:00
Gregory Szorc b2abfff668 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
Xidorn Quan 971487f7fe Bug 1304302 part 11 - Remove StyleSheetHandle as well as other places reference it. r=heycam
MozReview-Commit-ID: FfYZiShjJNX
2016-09-26 22:03:25 +10:00
Mike Shal e4b29b79d2 Bug 1304125 - Perform WebIDL code generation in the tup backend; r=gps
MozReview-Commit-ID: Fnw8380zyGU
2016-09-19 13:30:03 -04:00
Mike Shal 1a21875a11 Bug 1304129 - Use xpidllex.py / xpidlyacc.py from GENERATED_FILES; r=gps
MozReview-Commit-ID: 8w50kZWinzl
2016-09-19 13:47:32 -04:00
Mike Shal cad26b881a Bug 1304129 - Build GENERATED_FILES in the tup backend; r=gps
MozReview-Commit-ID: IaVAuRWIjmC
2016-09-19 13:47:05 -04:00
Henrik Skupin fc66643805 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
**
2016-09-20 18:05:43 +02:00
Henrik Skupin 6b27bee107 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
2016-09-21 10:31:05 +02:00
Henrik Skupin 2ed38590c7 Bug 1302364 - Update TEST_MANIFESTS documentation for install_root in resolve_tests(). r=gps
MozReview-Commit-ID: 9EXT3Jakwx1
2016-09-21 10:16:33 +02:00
Michael Layzell 4509faa888 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 163973d51c 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 1de511399f Bug 1143421 - install file copies instead of symlinks for Spidermonkey. r=glandium 2016-08-25 15:51:55 +08:00