Commit Graph

2956 Commits

Author SHA1 Message Date
Gabriele Svelto
f71d6d9b09 Bug 1376922 - Make mach's '--enable-crash-reporter' option work on debug builds; r=glandium
MozReview-Commit-ID: Et8452Rfh1F

--HG--
extra : rebase_source : cbfa349cbe0d7763cae8987da4e18fd4c848def4
2017-06-28 22:46:03 +02:00
Sebastian Hengst
d787a096f5 merge mozilla-central to autoland. r=merge a=merge 2017-06-29 03:21:05 +02:00
Justin Wood
acdc65c932 Bug 1376550 - Support tar.gz (mac) regeneration of complete.mar r=mshal
Support OSX Signed nightlies (in the complete.mar too)

MozReview-Commit-ID: HXiFGE14wYJ

--HG--
extra : rebase_source : 1d02b4714c8fafe6cdcd74e6d9b5612c44dcb3b4
2017-06-27 14:00:52 -07:00
Andrew Swan
e9b0926a4a Bug 1369517 Make automation work with legacy extensions disabled r=rhelmer
- Set the extensions.legacy.enabled pref for mochitests etc
- Skip a plugin-inside-xpi test for now if legacy extensions
  are force-disabled.  That test can just be removed once we
  get to 57.

MozReview-Commit-ID: As9LtkQTcTS

--HG--
extra : rebase_source : fcc84daef95c453e893cc3b98498fdb87f54b1bb
2017-06-01 21:20:08 -07:00
Carsten "Tomcat" Book
259377b6ab merge mozilla-inbound to mozilla-central a=merge 2017-06-26 13:25:51 +02:00
Marco Castelluccio
7fdfd7350d Bug 1374348 - Rewrite paths from JAR files. r=chmanchester
--HG--
extra : rebase_source : 53222218bb4f831e677c6e9727b832ee615b0679
2017-06-23 17:02:07 +01:00
Carsten "Tomcat" Book
d5969fcdf2 Backed out changeset ececd1d2c875 (bug 1374348) for bustage 2017-06-23 15:00:28 +02:00
Marco Castelluccio
37b556de07 Bug 1374348 - Rewrite paths from JAR files. r=chmanchester
--HG--
extra : rebase_source : 941a70b5e1d4dcbcd6b01c9866fb97cb3fe44435
2017-06-23 12:01:42 +01:00
Mike Hommey
35931ba727 Bug 1354581 - Add unit tests for DEVELOPER_OPTIONS. r=chmanchester
MozReview-Commit-ID: JXNICUdzWzD
2017-06-22 22:05:31 -07:00
Phil Ringnalda
d36c89dea2 Backed out changeset f1288dc02384 (bug 1354581) for test_toolkit_moz_configure.py bustage 2017-06-22 19:30:32 -07:00
Mike Hommey
7cccfe94be Bug 1354581 - Make automation builds imply --enable-release at the configure level. r=cmanchester+432261
--HG--
extra : rebase_source : b6be454ec3b6aad7a1b60905ffe65e1891d4bb22
2017-06-21 11:33:30 +09:00
Mike Hommey
da18a9b1df Bug 1354581 - Add unit tests for DEVELOPER_OPTIONS. r=cmanchester+432261
--HG--
extra : rebase_source : 4f72f6e89d1873618ddaa93c760a5765cb59496a
2017-06-21 10:55:37 +09:00
Bryce Van Dyk
6b2d7e6552 Bug 1372051 - Remove external media tests from /testing, /build, /python. r=maja_zf
MozReview-Commit-ID: 7X2kYf7HLZY

--HG--
extra : rebase_source : 09421cf96c4d214795362e0f53c51310bff0abba
2017-06-12 10:27:42 +12:00
Mike Hommey
aeeee02009 Bug 1374917 - Convert exception messages from the requests module before logging them. r=gps
--HG--
extra : rebase_source : 4fae04c80efbdb7b444578b27a346007430644e1
2017-06-21 13:53:31 +09:00
Wes Kocher
b17932664d Merge m-c to autoland, a=merge
MozReview-Commit-ID: 1dQBCh5pBY6
2017-06-22 14:21:39 -07:00
Wes Kocher
8075c09d4c Merge inbound to central, a=merge
MozReview-Commit-ID: Gk6AmaPVVbV
2017-06-22 14:01:59 -07:00
Wes Kocher
26f08e883b Backed out 2 changesets (bug 1355625) for causing bustage a=backout
Backed out changeset 0b7af9b62aff (bug 1355625)
Backed out changeset b44a1a078e64 (bug 1355625)

MozReview-Commit-ID: JRmf8nbLFPP
2017-06-22 12:05:56 -07:00
Wes Kocher
d0eddcaa44 Merge m-c to autoland a=merge
MozReview-Commit-ID: 5D2HzsGopzc
2017-06-21 18:13:41 -07:00
Carsten "Tomcat" Book
7177a36cde Merge mozilla-central to mozilla-inbound 2017-06-21 14:55:27 +02:00
Andi-Bogdan Postelnicu
c45c5298f3 Bug 1374561 - Allow to set log level in mach for every class derived from MozbuildObject. r=glandium
MozReview-Commit-ID: KpNRZuHkpFe

--HG--
extra : rebase_source : 74e28b203cd5ea0f7d06c9eaf64032a6cbe3a0e0
2017-06-20 11:31:26 +03:00
Wes Kocher
bad95c3b8d Merge m-c to autoland, a=merge
MozReview-Commit-ID: 22m0q698kw2
2017-06-20 18:33:41 -07:00
Wes Kocher
c0e1236f1a Merge autoland to m-c a=merge
MozReview-Commit-ID: LFtpTAueYrF
2017-06-20 18:24:29 -07:00
Nick Alexander
aaab10e6d3 Bug 1355625 - Part 1: Invoke aapt using py_action. r=mshal
This adds a py_action invocation wrapping aapt and implements a hacky
implementation of the Gradle build system's resource merging
algorithm; once we have the moz.build and Gradle resources identical,
we'll be one big step closer to producing bit-identical builds and
flipping the switch in favour of Gradle.  With this, the R.txt
produced by the aapt invocation is the same as the R.txt produced by
the py_action invocation.

Originally I wrote this to use GENERATED_FILES, but it produced a
world of pain.  Since Android's aapt tool is fundamentally directory
oriented, not file oriented, it required adding support for FORCE to
GENERATED_FILES and required directory crawling and FileAvoidWrite in
the wrapper.  After getting that working I was eventually stymied by
the arcane requirements of the Android re-packaging system, which
interacts with the l10n system.  I would have required support for
building GENERATED_FILES in the libs tier rather than the misc tier.
After that realization I gave up and turned to py_action: the
dependencies on branding are just too entangled with l10n to use
GENERATED_FILES.

And, in the not-so-distant future, all of this moz.build and
Makefile.in chicanery will be deleted in favour of invoking Gradle at
the appropriate points!

MozReview-Commit-ID: 4ueVNa7gzgs

--HG--
extra : rebase_source : dab092a188bc735ef819a4be0ad13387e85c87e2
extra : source : a05bd87b09ee5e4cff20fe84c2e75ac3b2a494a1
2017-06-20 15:35:48 -07:00
Kartikaya Gupta
67df6ec929 Bug 1369156 - Bump the minimum allowed version of cargo-vendor. r=froydnj
MozReview-Commit-ID: 2W7og1U8LBv

--HG--
extra : rebase_source : 2436cbb964087cd62af0787e832951ce721fc980
2017-06-20 16:04:07 -04:00
Andrew Halberstadt
af86c88b2f Bug 1369787 - [mozlint] Add a test for vcs operations, r=bc
Create a test for version control related functionality.

MozReview-Commit-ID: GXd27O69GNg

--HG--
extra : rebase_source : 56ce4a38b591fd62f05fbaed0ff05d56ec127422
2017-06-08 14:28:37 -04:00
Andrew Halberstadt
4761330083 Bug 1369787 - [mozlint] Fix up version control commands, r=standard8
The underlying commands to mozlint's vcs.py had a few problems. This:

    1. Ensures deleted files aren't considered in both hg and git
    2. Automatically determines the default remote repo and branch when using --outgoing with git
    3. Excludes metadata from output of the git command used with --outgoing
    4. Adds --cached to the git command for --workdir, which lints all staged files

MozReview-Commit-ID: EBtM3MCiCDs

--HG--
extra : rebase_source : 982b24acd81c86e383b28b8a71bcd51a041e60f4
2017-06-08 23:31:16 -04:00
Andrew Halberstadt
5fde640164 Bug 1369787 - [mozlint] Refactor vcs.py into separate classes for hg and git, r=bc
The old method had a bunch of 'if vcs == git' statements and the like. This
made it hard to follow code paths for a given vcs system. I think this refactor
makes things cleaner to read. It shouldn't be changing any functionality.

MozReview-Commit-ID: EBtM3MCiCDs

--HG--
extra : rebase_source : 9c0fda3f4f824351bae852af25bcd2240b1b1024
2017-06-08 23:31:02 -04:00
Andrew Halberstadt
91efad9d6d Bug 1369787 - [mozlint] Remove 'rev' option from |mach lint|, r=bc
The rev option is inherently broken. It does let you lint files touched by any
revision, but it doesn't update those files to that revision first.  Instead,
they get linted at whatever the working directory is and their results are
bogus. Even if we did some magic to update the files to the proper revision
with in-memory version control magic, the config files would still be out of
date.

Plus, the new --outgoing option does pretty much the only thing --rev was good
for. Rather than cause confusion, I think it's better to just remove the
option.

MozReview-Commit-ID: 2y2UnfIkvsR

--HG--
extra : rebase_source : 9b5c142270c98905d71ebb89d1620e91914c0b47
2017-06-08 22:54:00 -04:00
Chris Manchester
2ad823acd0 Bug 1371871 - Do not install unnecessary files in an artifact build. r=mshal
This prevents us from redundantly installing httpd.js and httpd.manifest
from the test package during an artifact build, which interferes with
the Tup backend's handling of these files as symlinks.

MozReview-Commit-ID: LuMurUc1P36

--HG--
extra : rebase_source : 1aabd788ff71ae28434a4076d5304f611ada5d92
2017-06-21 16:20:18 -07:00
Chris Manchester
a5c1097837 Bug 1371871 - Do not process XPIDL in the tup backend during an artifact build. r=mshal
MozReview-Commit-ID: AtnXcv6iPRD

--HG--
extra : rebase_source : f0f9699fb16c0f93c01af5fd6099b87b1855af32
2017-06-21 16:20:18 -07:00
Chris Manchester
764bbd5f7c Bug 1371871 - Do not generate or attempt to install unnecessary files in artifact builds in the Tup backend. r=mshal
MozReview-Commit-ID: B2zyhKD4gVt

--HG--
extra : rebase_source : f5d28c6b05ee15a1dcfae94f91f0b41832d34bcc
2017-06-21 16:20:18 -07:00
Chris Manchester
08b8a5b405 Bug 1319225 - Install generated FinalTargetFiles in the Tup backend. r=mshal
MozReview-Commit-ID: 8NLF11upDCn

--HG--
extra : rebase_source : b9c3d3bc25b64a72e31c3b0e739a52f2ee649b06
2017-06-21 16:19:16 -07:00
Chris Manchester
43dec7d716 Bug 1371817 - Handle FinalTargetFiles with wildcards in the Tup backend. r=mshal
MozReview-Commit-ID: KMJJ8vg7g7s

--HG--
extra : rebase_source : a96e30e8060d370f86a2ce59d8a16ef15a683187
2017-06-21 15:35:19 -07:00
byron jones
c191b98031 Bug 1361003 - Use check_call when calling "mach vendor rust". r=ted
As mozprocess doesn't have any special handling of stderr, should cargo
operations fail their output is dropped.  Switch to subprocess.check_call to
ensure cargo errors are displayed to the caller.
2017-06-22 13:52:38 +08:00
Andrew Halberstadt
4b93103061 Bug 1375166 - [mozlint] Don't require leading '.' in extensions, r=standard8
This was a regression from bug 1288432. The 'extensions' config in mozlint required a
leading period, but eslint requires them without the period (and this got copied over
to the linter definition). The result was mozlint filtering out any files (not dirs)
that were passed in.

This just modifies mozlint to strip out the period so both are acceptable.

MozReview-Commit-ID: CbNynYzrbGz

--HG--
extra : rebase_source : 51c740cb1d2febaee3ae46784f83381cda5e5eaa
2017-06-21 13:22:34 -04:00
Jan Beich
095deaf886 Bug 1375198 - FreeBSD bootstrap: drop explicit dependency on libGL. r=rillian
libGL package was consolidated into mesa-libs but quarterly set still
uses the old name. Since gtk3 (via libepoxy) and gtk2 (via cairo)
already indirectly depend on mesa-libs take advantage of it to avoid
churn on updates.

MozReview-Commit-ID: F5LBOOthAMc

--HG--
extra : rebase_source : 4e3e30e817187c3ffef30e280554b12b02f44568
2017-06-21 18:45:14 +00:00
Sylvestre Ledru
dbfe98bb2d Bug 1375593 - If cannot find ThirdPartyPaths.txt, don't break the build r=gps
MozReview-Commit-ID: KSUCct6Si2I

--HG--
extra : rebase_source : 73166eab662c97687fd51ff0d5e7f8a6a6abd87f
2017-06-23 15:42:19 +02:00
Ted Mielczarek
a1155285c8 bug 1367329 - fix error handling code in mozversioncontrol. r=gps
MozReview-Commit-ID: Bu5FA9PhxJY

--HG--
extra : rebase_source : 4aa19c087cd4f9e03f2fd385e0d0052cca9bc954
2017-06-22 12:54:25 -04:00
Andrew Halberstadt
96fe8190c2 Bug 1375834 - [mozlint] Stop printing vcs command used if command returns non-zero, r=bc
MozReview-Commit-ID: HfG5CqQDIdr

--HG--
extra : rebase_source : 062d201073a13a906e156cee6592ef5251ab39d6
2017-06-23 08:55:04 -04:00
Ralph Giles
ea1e9c1f12 Bug 1376940 - mozboot: Update rustup to 1.5.0. r=froydnj
Bump the target version and checksums for the rustup installers
we use for the latest release so reduce the variance with manual
installs.

MozReview-Commit-ID: E5O4UOu1wLr

--HG--
extra : rebase_source : a0745515957667787929bc5df05a66adb29cbd66
2017-06-28 14:23:48 -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
Carsten "Tomcat" Book
013fb0680e merge mozilla-inbound to mozilla-central a=merge 2017-06-20 11:26:40 +02:00
Sylvestre Ledru
8f9cde3657 Bug 1373951 - Use the existing list of thirdparty code instead an hardcoded list r=gps
MozReview-Commit-ID: LaBH5Ye019Y

--HG--
extra : rebase_source : 82da697e243ffd9297a0cbf1753871b04759b4e6
2017-06-20 00:17:58 +02:00
Marco Castelluccio
aa2147bda8 Bug 1373794 - Test parsing LCOV containing a function name with commas. r=chmanchester 2017-06-17 01:27:32 +01:00
Marco Castelluccio
b4eaf0fe46 Bug 1373794 - Don't fail when FN or FNDA records contain function names with commas. r=chmanchester 2017-06-16 23:50:58 +01:00
Chris Manchester
615e3b813e Bug 1370535 - Install the geckodriver binary in artifact builds when available. r=froydnj
MozReview-Commit-ID: 6NnbomedmRy

--HG--
extra : rebase_source : 7844f39cc16797fa60c6d03d35625373e5862875
2017-06-19 08:57:42 -07:00
Carsten "Tomcat" Book
d8e080c10c Backed out changeset 07e0c4e4ae85 (bug 1373256) for breaking android tests 2017-06-28 14:47:55 +02:00
Marco Castelluccio
d291cf05a4 Bug 1373789 - Handle some kinds of malformed lcov lines better. r=chmanchester
--HG--
extra : rebase_source : 43b52f283ebd5c03de54ad46bbbf49046ae21051
2017-06-16 20:16:33 +01:00
Gregory Szorc
231cefc973 Bug 1371465 - Move MSVS_VERSION to moz.configure and properly define for vs2017; r=glandium
Before, MSVS was set in old-configure and could only be unset or
"2015." We move the definition of the variable to moz.configure
and support defining its value as "2017" when VS2017 is being used.

As part of this, I discovered that GYP barfs with a "2017" value.
This is likely a limitation of the legacy version of GYP we have
vendored. Rather than go down the rabbit hole of upgrading GYP,
I added code to convert the value to "2015." This preserves existing
behavior and unblocks us from setting MSVS_VERSION properly. A
warning is emitted to remind us to remove this hack once GYP is
upgraded.

After this commit, we now generate native VS2017 solutions and
projects when building with VS2017.

MozReview-Commit-ID: BvNJX3F8qCn

--HG--
extra : rebase_source : 13a495856a83d9ca7afbb4770ebab1cc7f651cae
2017-06-14 16:52:55 -07:00
Chris Manchester
9383f9dfb2 Bug 1224691 - Parse lcov files and rewrite them based on preprocessor info. r=marco,mshal
MozReview-Commit-ID: LeBPclcFz7l

--HG--
extra : rebase_source : 40df1abae9cc5ad5a4a58c91cd7ee60b650f12ea
2017-06-14 15:36:13 -07:00