Commit Graph
2097 Commits
Author SHA1 Message Date
Ralph Giles 7d7a07b3c6 Bug 1354221 - Remove dead code in _process_rust_library. r=froydnj
These variables are ignored in favour or reading the same values
from the passed in libdef object.

MozReview-Commit-ID: 8Xkkd68clNN
2017-04-06 10:59:46 -07:00
Ting-Yu Chou f8fcde2d04 Bug 1333003 part 5 - Include ASan runtime dll in common.tests.zip. r=ted
MozReview-Commit-ID: AzPdxaWwJn4
2017-03-10 12:09:17 +08:00
Chris AtLee 24bb152a2d Bug 1351071: Get rid of pre-generated startup cache r=glandium
MozReview-Commit-ID: BcWcqEKwGBv
2017-04-04 09:26:25 -04:00
Justin Wood 3782f35120 Bug 1185666 - Move DMG unpack logic to a python script, support linux. r=mshal
MozReview-Commit-ID: inKT2BWof4
2017-03-28 21:46:19 -04:00
Chris Manchester cae182e6aa Bug 1349640 - Upload a mapping for headers in dist/include for the benefit of code coverage builds. r=mshal
MozReview-Commit-ID: 5q9I5S1QOt9
2017-03-29 11:43:16 -07:00
Mike Shal 2198612479 Bug 1347576 - Add a 'mach repackage' command, with OSX dmg support; r=chmanchester
This is the initial support of 'mach repackage', which can take an
existing tarball and create a DMG on either an OSX host or on a Linux
host with cross-OSX tools. Configure is needed in order to find the
tools necessary to create the DMG. On a Linux cross-compiled environment
with tooltool, this can be as simple as:

export MKFSHFS=$topsrcdir/hfsplus-tools/newfs_hfs
export DMG_TOOL=$topsrcdir/dmg/dmg
export HFS_TOOL=$topsrcdir/dmg/hfsplus
ac_add_options --disable-compile-environment

MozReview-Commit-ID: 6t2rlXpwUvu
2017-03-10 18:36:23 -05:00
Dan Minor fa7422512c Bug 964133 - Add mach command for webrtc.org unit tests; r=chmanchester
MozReview-Commit-ID: HJ1eNdaqIQM
2017-01-26 13:23:44 -05:00
Wes Kocher 3095b422dc Backed out 7 changesets (bug 1333003) for windows asan failures a=backout
Backed out changeset 3d2b2eeda8d3 (bug 1333003)
Backed out changeset 400d409ba4ca (bug 1333003)
Backed out changeset 1ba027abdfc9 (bug 1333003)
Backed out changeset 70114135bd8c (bug 1333003)
Backed out changeset 5715b15e33c0 (bug 1333003)
Backed out changeset 375e952bd738 (bug 1333003)
Backed out changeset d5d4112599f2 (bug 1333003)

MozReview-Commit-ID: DZUHJTdjX7V
2017-03-23 11:01:44 -07:00
Carsten "Tomcat" Book 97bcba5d10 Merge mozilla-central to autoland 2017-03-23 13:59:20 +01:00
Ting-Yu Chou 9fb02d37da Bug 1333003 part 5 - Include ASan runtime dll in common.tests.zip. r=ted
MozReview-Commit-ID: AzPdxaWwJn4
2017-03-10 12:09:17 +08:00
Steve Fink 1bd38ff6a5 Bug 1330746 - Disable terminal-style output when running within emacs, r=qdot
MozReview-Commit-ID: CgjgL91alUa
2017-03-22 14:03:53 -07:00
Carsten "Tomcat" Book 13c33830e3 Backed out changeset 42cf5ddabc8a (bug 1333003) 2017-03-23 10:38:09 +01:00
Ting-Yu Chou 9ce8f712c2 Bug 1333003 part 5 - Include ASan runtime dll in common.tests.zip. r=ted
MozReview-Commit-ID: AzPdxaWwJn4
2017-03-10 12:09:17 +08:00
Edmund Wong 503acfebbf Bug 1345422 - Do not hardcode the sfx package and installer path. r=mshal 2017-03-22 08:52:35 +08:00
Carsten "Tomcat" Book 2620527719 Merge mozilla-central to mozilla-inbound 2017-03-16 15:39:58 +01:00
Nathan Froyd 4aebc3be96 Bug 1316990 - part 2b - add initial set of approved licenses for Rust packages; r=gerv
This commit adds the initial whitelist of (mostly) SPDX license
identifiers and the initial whitelist of separately-specified license
files for those packages that require it.  For gamma-lut, the license
that the hash identifies is:

https://hg.mozilla.org/mozilla-central/file/47611a305c44/third_party/rust/gamma-lut/LICENSE

For deque, the license that the hash identifies is:

https://hg.mozilla.org/mozilla-central/file/47611a305c44/third_party/rust/deque/LICENSE-MIT

Integrating any new licenses into about:license is left as separate work
for the time being.
2017-03-16 10:00:02 -04:00
Nathan Froyd b518eaa441 Bug 1316990 - part 2a - check licenses of vendored Cargo packages; r=rillian
This commit adds the core support to `mach vendor rust` to verify that
the licenses of vendored packages are OK for distribution in Firefox.
2017-03-16 10:00:02 -04:00
Nathan Froyd d0e8561658 Bug 1316990 - part 1 - split out an _ensure_cargo function; r=rillian
We're going to be adding some more code to the vendor function, and
splitting this function out helps make vendor a little more manageable.
2017-03-16 10:00:02 -04:00
Paul Yang c694ea3b95 Bug 1272113: Packaging awsy in build job r=jmaher
MozReview-Commit-ID: 9VhsVIaaWqt
2017-03-11 02:33:19 +08:00
Mike Hommey a4bd4382c8 Bug 1346381 - Strip executables in the jsshell package. r=mshal
In bug 1335309, FileFinder was made to default to not find executables,
and zip.py was made to use the default instead. Which made sense for
most uses of zip.py, except for the jsshell package.

So we add a flag to make zip.py able to strip executable (which happens
when the FileFinder is made to find them), and use that flag for the
jsshell package only.
2017-03-14 15:22:39 +09:00
Andrew Halberstadt 9f06f03c86 Bug 1345109 - Delete 'JS_STANDALONE' from EmptyConfig when generating test metadata, r=mshal
EmptyConfig objects set JS_STANDALONE=1 by default. However, test tasks that need to run without an objdir
need to be behind an "if not CONFIG['JS_STANDALONE']" condition to avoid causing bustage to sm-pkg task (js
packaging). This patch explicitly deletes that default value, only when generating the TestManifestBackend.

Ideally, the js/src packaging should have their own moz.build instead of re-using the root moz.build. But this
is an easier fix in the short term to get the marionette-harness tests working again.

MozReview-Commit-ID: 26lHLY6WlZK
2017-03-07 10:56:22 -05:00
Chris Manchester 9fda0f591d Bug 1314678 - Use hfs and dmg tools rather than mozinstall to unpack downloaded builds during cross artifact builds. r=mshal
Mozinstall uses hdiutil, which doesn't exist on cross osx-linux builders.

MozReview-Commit-ID: A4KAIFUp4Gj
2017-03-07 10:21:34 -08:00
Rob Thijssen 2f05f4e214 bug 1287881 - windows repackage refactored as actions; r=mshal
MozReview-Commit-ID: 2vI6LlMVvLE
2017-02-20 16:11:47 +00:00
Wes Kocher b7f8ddaa07 Merge m-c to autoland, a=merge
MozReview-Commit-ID: FzykkWPQCrq
2017-03-01 17:48:44 -08:00
Bob Owen f4857a6163 Bug 1339729: Remove wow_helper from Windows process sandboxing. r=glandium 2017-03-01 10:41:07 +00:00
Mike Hommey 3521edce4a Bug 1341215 - Remove the dependency on the python taskcluster client module for mach artifact. r=chmanchester
This also removes the need for a virtualenv.
2017-02-21 15:32:28 +09:00
Mike Hommey 0221fec13f Bug 1341215 - Remove the dependency on the mozregression module for mach artifact. r=chmanchester
This imports two modules from mozregression in the tree to do so. They
are imported from current trunk on github, rather than the version we
were getting from pypi.

Note we take six from testing/web-platform/tests/tools/six) instead of
moving it to python/six because it's there by coming from a copy of
https://github.com/w3c/wpt-tools, which contains it as a submodule, and
moving it would make updates there harder.
2017-02-21 16:10:54 +09:00
Kartikaya Gupta a3f0f19181 Bug 1336555 - Ensure that cargo-vendor is new enough when running mach vendor rust. r=ted
MozReview-Commit-ID: 3wQ5bA7ZpS5
2017-02-24 13:14:16 -05:00
Kris Maglione 418aec3890 Bug 1341502: Fix automatic regeneration of backend when an included test manifest changes. r=mshal
MozReview-Commit-ID: 1ZQNQpqboz9
2017-02-21 17:31:21 -08:00
Nathan Froyd 1a557cbccb Bug 1302704 - part 6 - enforce identical profiles for gkrust and gkrust-gtest; r=chmanchester
Cargo hashes various compilation settings into the dependency graph for
dependent libraries.  So if the compilation settings for gkrust and
gkrust-gtest are different, their dependencies will likewise be
different.  The setup we've created in the previous patches depends on
the compilation settings being identical, so we should enforce that at
the moz.build level.
2017-02-23 10:35:06 -05:00
Nathan Froyd a2c19c682a Bug 1302704 - part 3 - propagate information about CARGO_TARGET_DIR from the frontend into the backend; r=chmanchester
Rust libraries can set RUST_LIBRARY_TARGET_DIR so that they can share
compilation artifacts with other libraries.  This setting needs to be
propagated to the backend so it can be communicated to Cargo.
2017-02-23 10:35:07 -05:00
Nathan Froyd 288cc355af Bug 1302704 - part 2 - rename cargo_target_directory; r=chmanchester
We're going to be introducing a value for CARGO_TARGET_DIR in a later
patch, we we should rename this function to not conflict with that
concept.
2017-02-23 10:35:07 -05:00
Nathan Froyd 32c34613b1 Bug 1302704 - part 1 - define CARGO_TARGET_DIR in the backend; r=chmanchester
CARGO_TARGET_DIR is currently hardcoded to the current directory, but
we'd like the ability to choose a value for Rust libraries.
2017-02-23 10:35:07 -05:00
Mike Hommey 316fd0f7d5 Bug 1341207 - Use MachCommandConditions.is_{git,hg} for mach clobber python. r=chmanchester 2017-02-21 16:04:08 +09:00
Mike Hommey f8e42386c4 Bug 1339240 - Detect git worktrees in MachCommandConditions.is_git. r=chmanchester 2017-02-21 15:53:27 +09:00
Nathan Froyd 24f24e2833 Bug 1340401 - add back definition of FILESIZE_LIMIT; r=obvious-bustage 2017-02-17 10:18:48 -05:00
Ting-Yu Lin 5c8cc6e696 Bug 1341962 - Update ccache stats parser for version 3.3.3. r=glandium
The "unsupported code directive" is added to the 'ccache -s' output in
https://github.com/ccache/ccache/commit/b6d7cf55028c4e23778fb02595e7d1ee6596a5a8

We need to teach our parser for it.

MozReview-Commit-ID: IrrJv7I7BVa
2017-02-23 11:35:39 +08:00
Iris Hsiao a6a04a6365 Backed out changeset 2a15e34e2d22 (bug 1341962) for build bustage 2017-03-01 11:54:27 +08:00
Ting-Yu Lin 8598589114 Bug 1341962 - Update ccache stats parser for version 3.3.3. r=glandium
The "unsupported code directive" is added to the 'ccache -s' output in
https://github.com/ccache/ccache/commit/b6d7cf55028c4e23778fb02595e7d1ee6596a5a8

We need to teach our parser for it.

MozReview-Commit-ID: IrrJv7I7BVa
2017-02-23 11:35:39 +08:00
Mike Shal ce0cb4746c Bug 1339182 - Remove OSX universal support in the build system; r=glandium
This removes the UNIFY_DIST and UNIFIED_BUILD variables, as well as the
--unify flag from the packager and UnifiedBuildFinder from mozpack. As a
result the STAGEPATH variable is never defined anymore, so its uses can
be removed as well.

test_unify.py is currently the only mozbuild/mozpack test that fails
without running configure first, and there isn't much point in fixing
tests for things that we don't actually use anymore.

MozReview-Commit-ID: F5q1FPW3Did
2017-02-10 16:52:17 -05:00
Mike Shal 2433844258 Bug 1338559 - Use the tier system to recurse for 'make check'; r=glandium
This helps us avoid recursing over every directory when we only need to
run 'make check' in a select few.

MozReview-Commit-ID: BJ3hJBOneIz
2017-02-03 16:47:28 -05:00
Andrew Halberstadt af4668e060 Bug 1320194 - Generate all-tests.pkl and related files when resolving tests r=mshal
This replaces the 'run-tests-deps' make target with a python function that will directly
read moz.build files, emit them with TestManifestEmitter, then consume them with
TestManifestBackend. Because the TestResolver is the only place that actually reads the
test metadata files, we can remove this logic from the CommonBackend as well.

MozReview-Commit-ID: DXgMoeH5dKf



MozReview-Commit-ID: HstZ57qkqf2
2017-02-01 09:56:09 -05:00
Andrew Halberstadt d1ef84c3ff Bug 1320194 - Add ability to specify custom emitter function in TreeMetadataEmitter r=gps
Currently, the only way to emit objects after reading moz.build, is to emit everything. Though, sometimes
it may be desirable to only emit certain types of objects. This adds a new argument that allows consumers
to specify a custom emitter function. This gives them the flexibility to do whatever they want.

This will be used when resolving tests, so only TestManifest objects are emitted.

MozReview-Commit-ID: DPGgNmn2JvE
2017-01-27 11:54:09 -05:00
Andrew Halberstadt d4d246d256 Bug 1320194 - Fix bug preventing more than two backends in a HybridBackend r=gps
This is a drive by fix that is not relevant to the rest of the commit series.

MozReview-Commit-ID: Bwrb74o3Qh8
2017-01-27 16:31:15 -05:00
Andrew Halberstadt 741670d9c4 Bug 1320194 - Refactor test metadata related backend code into a partial TestManifestBackend r=gps
Currently the CommonBackend is responsible for processing TestManifest objects and using them to generate
the test metadata files (e.g all-tests.pkl et al). This patch pulls that logic out into a partial backend
specifically for test manifests.

This patch is solely a refactoring and shouldn't change any build behaviour. CommonBackend has a
TestManifestBackend instance and calls consume_object directly on it. However, this is just a temporary
measure to avoid checking in a broken commit.

This commit also adds a test for the 'test-defaults.pkl' file which was previously missing.

MozReview-Commit-ID: HOr2QVT8CJ1
2017-01-27 11:47:34 -05:00
Nathan Froyd 79390906ae Bug 1306078 - part 3 - make mach vendor rust check for overly-large files; r=ted.mielczarek
When vendoring third-party files, we'd like an explicit notice/review
when said files contain a "large file".  This commit adds such checks
for files vendored via `mach vendor rust`.

As we don't yet have a server-side hook in place to prevent large files
from being added, we just have a command-line flag that people are
expected to use, on the honor system, to permit large files to be added
when vendoring.
2017-02-14 16:12:19 -05:00
Gabriele Svelto 13e3767437 Bug 1310703 - Introduce the pingsender executable; r=ted
MozReview-Commit-ID: 2SEwwGywahQ
2017-01-16 17:39:22 +01:00
Wes Kocher dd70933f86 Merge m-c to autoland, a=merge
MozReview-Commit-ID: D76dMYwFRUQ
2017-02-09 17:06:59 -08:00
Ehsan Akhgari fe55a520a0 Bug 1337874 - Include files that participate in unified builds in the compilation database; r=glandium
Without this, clang-tidy cannot check any diffs including such files.
In the future, when checking the entire tree using clang-tidy, we will
ignore these entries in the compilation database.
2017-02-09 10:14:47 -05:00
Justin Wood e3dec2cbe6 Bug 1197325 - Remove now unused genisoimage. r=ted
MozReview-Commit-ID: AO3RgE4SdsH
2017-02-02 10:10:27 -05:00