Commit Graph

1367 Commits

Author SHA1 Message Date
Mike Shal
09fce23d0a Bug 1036093 - ignore mach exceptions when printing binary paths; r=gps 2014-07-11 10:55:40 -04:00
Mike Hommey
2d0876a533 Bug 1036864 - Remove EXPORT_LIBRARY. r=mshal 2014-07-11 19:06:55 +09:00
Mike Hommey
a59c994972 Bug 1035543 - Remove the MOZ_PSEUDO_DERECURSE variable. r=gps 2014-07-10 14:11:52 +09:00
Mike Hommey
0bd1397f96 Bug 936384 - Display nicer errors when failing to validate moz.build sandboxes. r=gps 2014-07-10 14:11:40 +09:00
Mukilan Thiyagarajan
8d8c7b6e8b Bug 1000994 - Allow specifying SONAME of a shared library in moz.build. r=glandium 2014-07-09 00:47:00 +02:00
Carsten "Tomcat" Book
41a15251fb merge fx-team to mozilla-central a=merge 2014-07-08 15:10:56 +02:00
Gregory Szorc
330dae419d Bug 1033836 - Support TESTING_JS_MODULES in moz.build; r=glandium 2014-07-02 16:43:11 -07:00
Carsten "Tomcat" Book
555fc49595 merge fx-team to mozilla-central a=merge 2014-07-03 13:54:51 +02:00
Wes Kocher
88633df933 Merge m-c to fx-team 2014-07-02 19:10:42 -07:00
Gregory Szorc
96c0ce82ef Bug 1033656 - Add reviewboard to mach mercurial-setup; version checking; r=smacleod
We want to make it turnkey for people to use reviewboard. So, we add
reviewboard and related functionality to |mach mercurial-setup|.

Since the reviewboard extension only works in Mercurial 3.0 and newer,
we add some version detection for the Mercurial version. This should
have been done months ago. We now have it.

I also took the opportunity to inform |mach bootstrap| that Mercurial
2.x is no longer modern.

I also updated the messaging around mq to encourage fewer new users to
use it. You may find this controversial. People can always ignore the
message.

Finally, I also added a histedit prompt to the mix, since a lot of
people don't know about that and many find it useful.

I could have broken this into multiple patches. Meh.
2014-07-02 14:05:42 -07:00
Mike Hommey
4b6cfb59e5 Bug 762358 - Fixup the fixup not to break on windows. r=me 2014-07-03 09:38:47 +09:00
Mike Hommey
f5d5aedd31 Bug 762358 - Fixup test_objdir_config_status to use config.guess output as base. r=gps 2014-07-03 08:33:14 +09:00
Mike Hommey
52f2fae467 Bug 762358 - Re-run configure when mozconfig changed in a significant way. r=gps
This adds a format option to mach environment and uses it in client.mk to
create a .mozconfig.json in the objdir, containing all the relevant data
from mozconfig. If the mozconfig doesn't change in a way that alters that
data, we still skip configure.

At the same time, use mach environment in place of mozconfig2configure and
mozconfig2client-mk, which makes us now have only one mozconfig reader.

Also, in the mozconfig reader, keep track of environment variables (as
opposed to shell variables), so that changes such as a variable that was
exported not being exported anymore is spotted. At the opposite, in order
for irrelevant environment variable changes not to incur in re-running
configure, only a set of environment variables are stored when they are
unmodified. Otherwise, changes such as using a different terminal window,
or even rebooting, would trigger reconfigures.

Finally, make mach environment emit both MOZ_OBJDIR and OBJDIR for
client.mk, and cleanup some objdir-related things in client.mk..
At the same time, make the mozconfig reader take MOZ_OBJDIR from the
environment if it is defined there and not in the mozconfig.
2014-07-03 07:15:31 +09:00
Mike Hommey
deb44483f4 Bug 1031132 - Refactor mach environment to use logic from MachCommandBase instead of its own. r=gps
Also don't print section titles when there is nothing under them, and move
move the ObjdirMismatchException handling to MachCommandBase.
2014-07-03 07:15:31 +09:00
Mike Hommey
4d4669852a Bug 1030717 - Don't try to create the mach state directory until it's actually needed. r=gps 2014-07-03 07:15:31 +09:00
Mike Hommey
fb188f4dca Bug 1031129 - Fix ObjdirMismatchException logic to throw properly on m-c. r=gps 2014-07-03 07:15:30 +09:00
Nathan Froyd
3775c69de7 Bug 1025998 - part 1 - make convert_def_file.py handle the DATA keyword; r=glandium 2014-06-16 16:09:25 -04:00
Wes Kocher
86c9d658db Merge m-c to fx-team a=merge 2014-06-25 18:44:50 -07:00
Wes Kocher
837ce21431 Merge inbound to m-c a=merge 2014-06-25 18:18:43 -07:00
Nathan Froyd
e6cb8e8843 Backout bcd72aabb661, 1ed1c6212f4c, and 8d6f286139ef (bug 1025998) for xpcshell bustage leading to this CLOSED TREE 2014-06-25 17:00:06 -04:00
Mike Hommey
915519914e Bug 1027890 - Reject builds with pymake. r=gps 2014-06-25 08:38:12 +09:00
Jason Orendorff
7b220a0ee9 Bug 1020514 - Make mach colorize lines that start with REFTEST TEST-UNEXPECTED-FAIL etc. r=gps. 2014-06-20 12:01:03 -05:00
Nathan Froyd
8810126be6 Bug 1025998 - part 1 - make convert_def_file.py handle the DATA keyword; r=glandium 2014-06-16 16:09:25 -04:00
Carsten "Tomcat" Book
bda5b3a6d8 Merge mozilla-central to mozilla-inbound 2014-06-25 15:42:28 +02:00
Markus Stange
227f9e8049 Bug 1019944 - mach logging shouldn't eat whitespace at the start of the line. r=gps 2014-06-25 10:35:32 +02:00
Wes Kocher
a15334253c Backed out 2 changesets (bug 1027890) for B2G Windows Build bustage on a CLOSED TREE
Backed out changeset bcd694f0e95d (bug 1027890)
Backed out changeset 49cadfcde709 (bug 1027890)
2014-06-24 18:33:46 -07:00
Mike Hommey
7354b8430e Bug 1027890 - Remove all sorts of build system code dedicated to pymake. r=gps 2014-06-25 08:38:28 +09:00
Mike Hommey
8ed8479977 Bug 1027890 - Reject builds with pymake. r=gps 2014-06-25 08:38:12 +09:00
Gregory Szorc
e23db0706c Bug 1027215 - Add reftest manifests to build config; r=mshal
reftest and crashtest manifests can now be added to the build
configuration via REFTEST_MANIFESTS and CRASHTEST_MANIFESTS,
respectively.

The master manifest files have been added to layout/moz.build.

This patch enables the deprecation of master reftest manifests but stops
short of doing it. In the future, we could declare reftest and crashtest
manifests in their nearest moz.build file and generate the master
manifest (consisting of a bunch of "include" directives) as part of
config.status.
2014-06-17 17:59:03 -07:00
Nick Alexander
1c120007ec Bug 1029232 - Follow-up: Fix busted test. r=bustage 2014-06-24 20:05:01 -07:00
Nick Alexander
af287ee2c5 Bug 1029232 - Part 3: Call Eclipse builder plugin before Android build steps. r=bnicholson 2014-06-24 19:14:35 -07:00
Mark Banner
fe7a1d992e Bug 1032017 Remove MOZ_SERVICES_FXACCOUNTS flags as it is no longer necessary. Also fixes test_hawkrequest.js failures in m-c. r=glandium 2014-07-08 07:37:57 +01:00
Mike Hommey
ff94afab98 Bug 1035099 - Remove the comm-central workarounds from MozbuildObject.from_environment. r=gps 2014-07-08 13:47:26 +09:00
Mike Hommey
02e8c34ccb Bug 1035096 - Make mach environment --format=configure only display configure arguments if COMM_BUILD is not set in the environment. r=gps
Also cleanup the output logic so that the configure arguments header is not
displayed when there aren't configure arguments, and so that variables are
still displayed when there aren't configure arguments.
2014-07-08 13:47:25 +09:00
Philippe Chassagnard
967d07a4c8 Bug 1024471 - Default user is now created in objdir/tmp/scratch_user. r=gps 2014-07-01 23:57:00 +02:00
Birunthan Mohanathas
254f890e2e Bug 1016240 - Exterminate CR+LF line endings. r=briansmith,cpearce,ehsan,gavin 2014-06-18 17:56:02 -07:00
Mike Hommey
3a7e38ad03 Bug 978211 - Seemlessly support make 4 output buffering for automation/% steps. r=mshal 2014-06-19 09:06:13 +09:00
Ryan VanderMeulen
1eaa17e14b Bug 1025918 - Add support for the .cxx extension to mozbuild. r=ted 2014-06-16 22:36:24 -04:00
Nathan Froyd
6d1982eeb6 Bug 1018375 - part 2 - make db/sqlite3/src/ produce a version script for Linux-like OSes; r=glandium 2014-05-30 14:12:51 -04:00
Nathan Froyd
a1351056d0 Bug 1018375 - part 1 - add LD_VERSION_SCRIPT build variable; r=glandium 2014-05-30 14:12:20 -04:00
Armen Zambrano Gasparnian
4171140899 Bug 989583 - Install all tests (even disabled) from manifests. r=jmaher 2014-06-16 14:51:22 -04:00
Mike Shal
656ae5bdaa Bug 978211 - add an automation/build target for post-build steps; r=glandium 2014-05-16 14:37:31 -04:00
Abdul Qadeer
0f24ebefe5 Bug 972329 - Install setuptools as part of bootstrap. r=gps 2014-06-11 11:22:00 -07:00
Ryan VanderMeulen
ac2722f92e Backed out changeset ec353cd772b1 (bug 989583) for B2G emulator mochitest mass-fail. 2014-06-11 13:55:44 -04:00
Armen Zambrano Gasparnian
0241b82e2b Bug 989583 - Include all tests upon build time (even disabled ones) & only run enabled ones during run time. r=jmaher 2014-06-11 12:16:10 -04:00
Jan Beich
af48d494b3 Bug 1022686: Don't pull libIDL for |mach bootstrap|, it's unused since bug 687766. r=gps 2014-06-11 09:42:19 +02:00
Marcos Caceres
d8e9cf7c2c Bug 1011695 - At the end of the build suggest running |mach run| rather than app_path; r=glandium 2014-05-29 11:59:00 +01:00
Jan Beich
df784e8650 Bug 1022747: Add |mach bootstrap| support for DragonFly/DPorts. r=gps 2014-06-09 22:11:06 +02:00
Jan Beich
ccbb4595a3 Bug 1022739: Unbreak |mach bootstrap| with recent FreeBSD packages. r=gps 2014-06-09 22:11:00 +02:00
Nathan Froyd
838951e4de Bug 996061 - part 0 - make tests use [scriptable] interfaces; r=ted
Smart xpt linking will keep around [scriptable] interfaces and anything
those interfaces depend on.  Modify the tests that deal with xpt linking
so they use [scriptable] interfaces, ensuring that the tests continue to
work in the face of smarter linkers.
2014-05-19 12:35:21 -04:00