Commit Graph

3399 Commits

Author SHA1 Message Date
Mike Hommey
6ab3f2d98e Bug 1250294 - Make configure a Python script that invokes the old configure.sh. r=ted 2016-02-25 07:22:33 +09:00
Carsten "Tomcat" Book
5f2eb05976 Backed out changeset 889072501f26 (bug 1239808) bustage for web platform tests as run via taskcluster 2016-02-24 12:52:16 +01:00
Henrik Skupin
0783e6386f Bug 1239808 - Rename test_packages.json to include package basename as prefix. r=chmanchester, r=jlund
MozReview-Commit-ID: LxTr8Mo2P0i
2016-02-24 10:49:40 +01:00
Gregory Szorc
12006761c8 Bug 1250748 - Remove the 20s countdown timer from mach first run; r=chmanchester
Previously on first `mach` run on a system, we'd display a prompt with a
20s countdown timer after which the default state directory
(~/.mozbuild) was created. Users had to wait 20s or ctrl+c and
make the directory by hand. Either way, they'd have to re-invoke
mach to run whatever command they were trying to run.

This was annoying.

This commit makes the following changes:

1) The countdown timer is replaced with "press RETURN/ENTER to continue"
2) The requirement to re-invoke mach has been removed

On first run, people now see a message telling them to press
RETURN/ENTER. Then the directory is created and whatever mach command
they requested to run is run.

While I was here, I also changed the permissions on the newly created
directory to match what it was a few lines above. Without, we're relying
on umask, which may be permissive. UNIX convention is to use a more
restrictive umask insider user directories. So this feels like the right
behavior.

MozReview-Commit-ID: IodN13xAJ8P
2016-02-23 17:29:38 -08:00
Dan Minor
64bf29115f Bug 1244160 - Create json-schema for build telemetry data r=gps
This adds a simple schema for build telemetry data. We can make it more
restrictive once we have a better feeling for what kind of data we want
to submit.

This also moves more common data about the system to the telemetry handler.
We leave psutil derivied information in the resource usage data as not every
system will have psutil installed.

MozReview-Commit-ID: CFRq1Ow6AOf
2016-02-02 09:32:49 -05:00
Carsten "Tomcat" Book
c69829500b merge mozilla-inbound to mozilla-central a=merge 2016-02-19 12:02:26 +01:00
Mike Hommey
bed0e35451 Bug 1249167 - Fix dependencies involving stdc++compat and clang-plugin. r=mshal 2016-02-19 07:00:03 +09:00
Margaret Leibovic
14eea75795 Bug 1247324 - Disable Switchboard in automation. r=gbrown,mfinkle
MozReview-Commit-ID: ItqHBIEdD0Q
2016-02-18 12:03:51 -05:00
Chris Peterson
0719eb45af Bug 1233297 - Part 1: Consolidate MOZ_C*_SUPPORTS_WARNING configure checks in compiler-opts.m4. r=glandium 2016-02-02 00:04:26 -08:00
Mike Shal
5fe1e2faab Bug 1243750 - Install all SDKs into sdk/; r=glandium 2016-01-29 14:52:52 -05:00
Jeff Muizelaar
8a203a2364 Bug 1248290. Add an lsan supression for libdricore9.2.1.so.
Mesa 9.2.1 looks to be leaking debug messages and I can't figure out how
to make it stop. The upstream code has been entirely rewritten so it's
probably not worth investigating further.
2016-02-14 17:39:22 -05:00
Mike Shal
b09b8021e9 Bug 1247490 - display ssh output if upload command fails; r=ted 2016-02-10 20:21:16 -05:00
Mike Hommey
ecad3301ab Bug 1247162 - Generate a header defining MOZ_SOURCE_*. r=mshal
The behavior is not entirely idempotent (most notably for
buildconfig.html), but this can be improved later if necessary.
It is idempotent where it matters.

This allows to get rid of config/makefiles/rcs.mk and its uses.
2016-02-12 07:16:14 +09:00
Mike Hommey
213f941410 Bug 1246881 - Generate a header defining MOZ_BUILDID. r=mshal 2016-02-12 07:15:55 +09:00
Andrew Halberstadt
12877eee6c Bug 1231784 - Install specialpowers and mochikit extensions at runtime via AddonManager.loadTemporaryAddon(), r=jgriffin
MozReview-Commit-ID: 9I56x6Vnbf7
2016-01-25 09:55:57 -05:00
Andrew Halberstadt
cbedc045c0 Bug 1247054 - Fix |mach reftest| on Android, r=gbrown
There is an ImportError on Android, as well as a log related
regression from the structured log patch once that is fixed.

MozReview-Commit-ID: KxSEotr38qO
2016-02-09 16:19:44 -05:00
Syd Polk
d31a334c18 Bug 1243546 - Add mach command for external-media-tests - r=gps
MozReview-Commit-ID: 5BcunutbebG
2016-02-10 11:48:25 -06:00
Justin Wood
0016fff476 Bug 1242641 - Update gtk3 package in tooltool to specify the fontconfig path in the setup.sh r=glandium 2016-02-05 16:21:19 -05:00
Nick Thomas
c5f710ef0d Bug 1242641 - GTK+3 still not working for buildbot builds on beta. r=rail
gtk3/setup.sh at unpack time in tooltool
2016-01-29 22:19:48 +13:00
Carsten "Tomcat" Book
24a4428cfe Merge mozilla-central to mozilla-inbound 2016-02-10 14:29:05 +01:00
Carsten "Tomcat" Book
3847eaf3bd merge mozilla-inbound to mozilla-central a=merge 2016-02-10 11:47:34 +01:00
Dan Minor
d9ea9200f8 Bug 1239296 - add post_dispatch_handler hook to mach r=gps
This adds a post_dispatch_handler hook that will be called after each
mach invocation and uses it to submit data to telemetry.
2016-02-09 10:09:17 -05:00
Michael Comella
e96bcf3add Bug 1233238 - Compile with play-services-{ads,analytics,appindexing} to support Adjust SDK. r=nalexander
On a CLOSED TREE because this is Android only.

When we switched to fine-grained Google Play Services bundling (Bug
1115004), we stopped shipping com.google.android.gms.analytics.  That
silently breaks Adjust, which queries the Google Ad ID using
reflection: now the package isn't present!  This patch restores the
Play Services libraries that Adjust relies on.  (Sadly, this bloats
our APK tremendously.)

There is some hijinkery, however: the Play Services libraries
reference a library (org.apache.http) that is deprecated in Android
23!  However, the library is still present on Android 23 devices,
which buys Google time to replace the offending code.  This compiles
just fine, breaks the Proguard global optimization pass.  To give
Proguard the information, we add the library as a Proguard "library
JAR".  This is equivalent to the Google-provided Gradle `useLibrary`
directive.
2016-02-04 16:10:29 -08:00
Ehsan Akhgari
1f8b4549b6 Bug 1042132 - Part 3: Add a MOZCONFIG helper script that lets you pick clang-cl; r=rail 2016-02-08 14:55:31 -05:00
Ehsan Akhgari
4e84ed47be Bug 1042132 - Part 1: Port build-clang.py to Windows; r=rail
This is useful for deploying clang-cl to the infrastructure.
2016-02-08 14:55:27 -05:00
Andrew Halberstadt
b8149ff9de Bug 1034290 - Use structured log output for test results in reftest, r=jmaher
Structured logs bring many benefits. We can stop parsing the logs for magic strings, we
can modify the format without breaking things, and we can stream results into systems like
ActiveData. The structured logs originate primarily in reftest.js. StructuredLog.jsm is
used to generate the JSON-based log stream. Finally OutputHandler in the python harness
reads structured output from stdout, and formats it into human readable form.

MozReview-Commit-ID: G3ZLkMRl6p7
2016-02-05 15:44:20 -05:00
Dan Minor
88689bf81c Bug 1239296 - Add telemetry_handler function to mach context r=gps
This adds a telemetry_handler function to the mach context that can be
used to store telemetry data in the state directory for later reporting.
2016-01-29 13:06:36 -05:00
Carsten "Tomcat" Book
79896f1489 Backed out changeset 200da85932e9 (bug 1230862) for valgrind perma failures 2016-02-10 11:04:50 +01:00
Julien Pagès
4088b605da Bug 1230862 - Remove mozhttpd. r=wlach 2016-02-09 03:26:43 +01:00
Phil Ringnalda
ef4157031e Back out 0a0582597885 (bug 1243546) for Mac "global name 'args' is not defined" bustage 2016-02-09 18:44:35 -08:00
Mike Hommey
cb2d569cec Bug 1246894 - Remove msys-perl-wrapper. r=mshal
msys-perl-wrapper was used to transform windows paths after the -I flag,
which was a preprocessor flag, which a) doesn't exist anymore and b) the
preprocessor has not even be in perl for years.
2016-02-10 10:12:22 +09:00
Syd Polk
e4027a9019 Bug 1243546 - Add mach command for external-media-tests - r=gps 2016-02-09 18:10:19 -06:00
Mike Shal
e7d3e4681e Bug 700997 - enable l10n-check on mac; r=glandium 2016-02-02 09:04:40 -05:00
Mike Hommey
ed1c39fba6 Bug 1246874 - Unify GRE_BUILDID and MOZ_APP_BUILDID at the build system level. r=mshal 2016-02-10 07:39:30 +09:00
Jim Chen
fc59c0a8e8 Bug 1244875 - Update binding generator; r=snorp
Update the automatic binding generator to match the JNI template
changes.
2016-02-09 17:27:28 -05:00
Ehsan Akhgari
f305c88ab0 Bug 1246550 - Don't run autobinscope.py with clang-cl; r=glandium
Currently it will fail with errors such as:

Insufficient debug information (private symbols are needed) or code from
unknown language. The following modules didn't have full symbols:
nsBrowserApp.obj
AppData.obj (xpcomglue_staticruntime.lib)
FileUtils.obj (xpcomglue_staticruntime.lib)
nsCRTGlue.obj (xpcomglue_staticruntime.lib)
nsXPCOMGlue.obj (xpcomglue_staticruntime.lib)

We need to turn this back on when clang-cl grows more debug
info support.
2016-02-09 15:35:03 -05:00
EKR
9ccb4db582 Bug 1246402 - Environment variable to disable mercurial setup check. r=gps 2016-02-06 08:02:40 -08:00
Phil Ringnalda
83d9f44d6d Back out d1779fe421c3 (bug 1034290) for UnicodeDecodeErrors in things run by the reftest harness
CLOSED TREE
2016-02-05 08:18:47 -08:00
Ehsan Akhgari
ab1bf1e0f2 Reformat clang-plugin.cpp using clang-format, no bug 2016-02-05 10:29:39 -05:00
Ehsan Akhgari
5f41a8ae9c Bug 1245269 - Part 2: Add a configure check for the existence of the new AST Matcher API names; r=glandium 2016-02-05 10:29:39 -05:00
Ehsan Akhgari
9d79527f47 Bug 1245269 - Part 1: Make clang-plugin build with clang 3.8 and newer; r=mystor 2016-02-05 10:29:39 -05:00
Andrew Halberstadt
d3d7b76966 Bug 1034290 - Use structured log output for test results in reftest, r=jmaher
Structured logs bring many benefits. We can stop parsing the logs for magic strings, we
can modify the format without breaking things, and we can stream results into systems like
ActiveData. The structured logs originate primarily in reftest.js. StructuredLog.jsm is
used to generate the JSON-based log stream. Finally OutputHandler in the python harness
reads structured output from stdout, and formats it into human readable form.
2015-10-29 15:01:44 -04:00
Wes Kocher
f286430995 Backed out changeset 65e246baede4 (bug 1242641) for valgrind bustage CLOSED TREE 2016-02-04 11:42:34 -08:00
Nick Thomas
3cf3ab7318 Bug 1242641 - GTK+3 still not working for buildbot builds on beta. r=rail
gtk3/setup.sh at unpack time in tooltool
2016-01-29 22:19:48 +13:00
Mike Hommey
c3cc33cd5e Bug 1245763 - Don't emit Sources objects when there is no Linkable in the same directory. r=gps
We have very few directories where we have SOURCES declared that are not
part of a library or program in some way. In fact, there is only one
where it is legitimate because we only use the object file
(build/unix/elfhack/inject). Others are the result of moz.build control
flow (see e.g. netwerk/standalone), and we end up building more objects
than we need to.

There are other cases where we need objects without actually linking
them anywhere, but there are other sources in the same directory, and a
corresponding Linkable is emitted. And in fact, the only case I knew
about (media/libvpx), doesn't use such objects since bug 1151175.
2016-02-04 17:16:29 +09:00
Wes Kocher
3b6e1cd6a4 Backed out 3 changesets (bug 1231784) for breaking 10.10 opt jetpack tests
Backed out changeset 653df21ca861 (bug 1231784)
Backed out changeset 0aac20bc3619 (bug 1231784)
Backed out changeset edcbd7c0aa36 (bug 1231784)
2016-02-03 17:38:12 -08:00
Andrew Halberstadt
5206c5981f Bug 1231784 - Install specialpowers and mochikit extensions at runtime via AddonManager.loadTemporaryAddon(), r=jgriffin 2016-01-25 09:55:57 -05:00
Carsten "Tomcat" Book
17f3703246 Backed out changeset b542e3e8bb79 (bug 1245269) for bustage on a CLOSED TREE 2016-02-03 15:47:02 +01:00
Carsten "Tomcat" Book
1a14b6a4f8 Backed out changeset ad3e81d12128 (bug 1245275) 2016-02-03 15:46:47 +01:00
Carsten "Tomcat" Book
57ccf7668a Backed out changeset 70ca2c2cb7d9 2016-02-03 15:46:46 +01:00