Commit Graph

1367 Commits

Author SHA1 Message Date
Nathan Froyd
cedbc07ce0 Bug 1044162 - part 1 - make EXTRA_{PP_,}JS_MODULES communicate their installation path; r=mshal
This patch makes EXTRA_{PP_,}JS_MODULES similar in functionality to
TESTING_JS_MODULES: we indicate the path relative to
$(FINAL_TARGET)/modules with an appropriate hierarchy of paths.
2014-07-25 13:40:07 -04:00
Nathan Froyd
8fd2250145 Bug 1044162 - part 0c - add a way to recurse over the 'directory' elements of a hierarchy; r=mshal
We're going to build on top of INSTALL_TARGETS for the next patch, and
it's easiest to do so if we can look at the 'directories' in the
hierarchy, rather than the individual strings.
2014-07-25 14:35:02 -04:00
Nathan Froyd
8e9faca92c Bug 1044162 - part 0b - add __{get,set}item__ to HierarchicalStringList; r=mshal
I am slightly surprised that we haven't needed this before, but the
motivating idea behind this is wanting to do:

VARIABLE.with.some["non-pythonic-identifier"] += ...

It seems unfortunate that the behavior is completely overridden by
subclasses, but I don't see a good way around that.
2014-07-25 14:29:57 -04:00
Nathan Froyd
764ededef5 Bug 1044162 - part 0a - make additions to EXTRA_JS_MODULES use += instead of =; r=mshal
Straight assignments to HierarchicalStringList, which we'll change
EXTRA_JS_MODULES to in a later patch, don't work.  This change, in
addition to making things work as expected later on, also is more
consistent with existing practice.
2014-07-25 13:50:55 -04:00
Mike Hommey
87c3e21a30 Bug 1045329 - Use paths relative to the root topobjdir for the compile targets. r=gps
While most environments are using the root topobjdir, some can be using a
different path. This happens for comm-central files. For those, the compile
target needs to have paths relative to the root topobjdir instead of relative
to the comm-central topobjdir.
2014-07-30 11:00:54 +09:00
Mike Hommey
66a7ebb287 Followup for bug 1043869 to remove test_link_deps from python/moz.build on a CLOSED TREE. r=gps 2014-07-29 10:21:57 +09:00
Mike Hommey
53e3a6bd37 Bug 1043869 - Derive build dependencies for programs and libraries from make backend data instead of getting them from expandlibs. r=mshal 2014-07-29 08:59:56 +09:00
Mike Hommey
653abefce8 Bug 1043865 - Remove the remainder of compilation bits from the libs tier. r=gps 2014-07-29 08:59:27 +09:00
Mike Hommey
de0e0138d3 Bug 1043862 - Make the binaries target use the compile tier. r=gps 2014-07-29 08:58:28 +09:00
Mike Hommey
72affcaac6 Bug 1043820 - Remove PARALLEL_DIRS. r=gps 2014-07-29 08:57:59 +09:00
Mike Hommey
2db94f60d6 Bug 1043802 - Remove TOOLS_DIRS and TEST_TOOLS_DIRS. r=gps 2014-07-29 08:55:55 +09:00
Ms2ger
a0d1a5a6cf Bug 1044657 - Move PYTHON_UNIT_TESTS to moz.build; r=mshal
As a first step, this moves PYTHON_UNIT_TESTS to moz.build as a passthru
variable. In the future, we could hook it up to |mach test|.

The __init__.py files may not need to be in the list, but I don't want to
change the list here.
2014-07-28 17:51:12 +02:00
Carsten "Tomcat" Book
083eea59e8 Merge mozilla-central to mozilla-inbound on a CLOSED TREE 2014-07-28 16:30:30 +02:00
Carsten "Tomcat" Book
59fc954656 merge fx-team to mozilla-central a=merge 2014-07-28 15:44:12 +02:00
Paul Adenot
ea13bc0d4a No Bug - Revert part of 2fe40d407853 added by mistake. 2014-07-28 15:40:02 +02:00
Wes Kocher
9e51564a67 Merge m-c to fx-team 2014-07-25 16:27:34 -07:00
Wes Kocher
fbfaed76c2 Merge inbound to m-c a=merge 2014-07-25 15:59:01 -07:00
Mike Hommey
d135674d47 Bug 1043799 - Remove leftovers from bug 1043344. r=gps 2014-07-25 20:12:57 +09:00
Gregory Szorc
2a36e1785d Bug 1043524 - Define group variable is an existing parser is passed; r=jgraham
While I was here, I removed the try..except in favor of failing fast.
Before, we were only making cosmetic changes. Now, we actually need the
group for mach to work. It makes sense to stop ignoring errors.

This fixes a regression from d53d1c6cdf13 / bug 951733.
2014-07-24 11:35:15 -07:00
Paul Adenot
20cea91126 Bug 1043025 - Null-check when getting the parent object of an AudioContext because we might not have a window all all time during shutdown. r=roc 2014-07-24 12:01:13 +02:00
Boris Zbarsky
24458b2903 Bug 1044049. Bump bindings to unify 32 files per unified file instead of 16, since we keep getting more bindings. r=ehsan 2014-07-26 01:41:26 -04:00
Ted Mielczarek
fbe78789eb bug 462159 - Use install manifests to track header files from dist/include back to srcdir in symbolstore.py. r=gps 2014-07-18 16:33:34 -04:00
Nathan Froyd
290e0cb364 Bug 1044165 - fix BuildReaderError exception printing to cope properly with SyntaxError; r=gps
Some moz.build syntax errors cause the thrown SyntaxError object to not include
an offset field, leading to all sorts of hilarity when we try printing messages
depending on SyntaxError.offset.  Check for this case and simply don't print
the caret if so.
2014-07-25 14:27:44 -04:00
Wes Kocher
ca30797996 Merge m-c to inbound 2014-07-25 16:23:51 -07:00
Gregory Szorc
e78609e62e Bug 1039806 - UnboundLocalError: local variable 'output'; r=mshal
DONTBUILD (NPOTB)
2014-07-16 16:02:31 -07:00
Mike Hommey
d674c9a855 Bug 1043344 - Move libraries and programs build to the compile tier. r=gps 2014-07-25 07:14:40 +09:00
Mike Hommey
ca220510ae Bug 1043285 - Fix StrictOrderingOnAppendList.__add__ to not throw when the list content is not sorted. r=gps 2014-07-25 07:09:27 +09:00
Mike Hommey
a6419effba Bug 1042982 - Make shared libraries go after static libraries on program linkage command lines. r=gps
Also remove a branch that can never happen.
2014-07-24 13:44:39 +09:00
Jeff Walden
97655cf3ff Invert exception types in the exception specification corresponding to |import dbus; ...stuff that might throw a dbus exception| so that failure to import dbus will be caught, rather than triggering a "NameError: name 'dbus' is not defined" error. Followup to bug 981146, r=trivial 2014-07-25 14:33:39 -07:00
Jonathan Griffin
3c82e66e41 Bug 1042270 - Add is_mulet condition to mach, r=ahal 2014-07-22 14:41:09 -07:00
Alexandre Poirot
6188942e57 Bug 1027242 - Blacklist mulet's failing tests + expose 'mulet' to ini files; fix previous bustage on a CLOSED TREE, r=ahal 2014-07-02 15:40:56 -07:00
Tom Schuster
1c25c3296a Bug 981146 - Make a dbus-based notification appear when the build completes (if the build took >300s, a pre-existing limit) on some Linux systems. (Works on Fedora, doesn't work on Debian/Ubuntu -- just needs someone to perform the trivial work [if you run Debian] of determining what packages are needed to make this patch's additions work. Patches welcome!) r=gps 2014-06-09 12:46:15 -07:00
byron jones
a1e3fb8f0f Bug 1042517 - Typos in mach's help for the run command; rs=edmorley DONTBUILD 2014-07-22 23:44:00 +01:00
Mike Hommey
d943389fd7 Bug 1041936 - Allow static library definitions to depend on shared libraries. r=gps 2014-07-23 13:33:06 +09:00
Mike Hommey
f57b07da4f Bug 1041839 - Write all-tests.json faster. r=gps 2014-07-23 13:32:03 +09:00
Mike Hommey
af83e46067 Bug 1041820 - Replace DefaultOnReadDict with defaultdict. r=gps 2014-07-23 13:31:43 +09:00
Mike Hommey
3a4c10762c Bug 1036894 part 6 - Emit SimplePrograms for CPP_UNIT_TESTs, and make the corresponding moz.build config look like that of SIMPLE_PROGRAMS. r=gps 2014-07-23 13:29:44 +09:00
Mike Hommey
b5bb751ed8 Bug 1036894 part 5 - Hook the USE_LIBS and HOST_USE_LIBS moz.build variables to library linkage. r=gps 2014-07-23 13:29:37 +09:00
Mike Hommey
37133a65ee Bug 1036894 part 4 - Allow to track library linkage for all kinds of programs and libraries. r=gps 2014-07-23 13:29:31 +09:00
Mike Hommey
99c9b32825 Bug 1036894 part 3 - Emit objects for programs after emitting libraries. r=gps 2014-07-23 13:29:24 +09:00
Mike Hommey
431b803c44 Bug 1036894 part 2 - Add proper frontend data for HOST_LIBRARY_NAME instead of using a passthrough. r=gps 2014-07-23 13:29:17 +09:00
Mike Hommey
374a9e1abc Bug 1036894 part 1 - Move MAKE_FRAMEWORK, SDK_LIBRARY, SHARED_LIBRARY_NAME and STATIC_LIBRARY_NAME to moz.build. r=gps
At the same time, make the Library data more useful in the build frontend.
2014-07-23 13:29:09 +09:00
Mike Hommey
13488dca0e Bug 1041960 - Remove subtiers from make backend. r=gps 2014-07-23 13:28:54 +09:00
Jonathan Griffin
2ef660ddd5 Backed out changeset 64586374a208 on a CLOSED TREE 2014-07-22 18:29:57 -07:00
Alexandre Poirot
cdd4736014 Bug 1027242 - Blacklist mulet's failing tests + expose 'mulet' to ini files; fix previous bustage on a CLOSED TREE, r=ahal 2014-07-02 15:40:56 -07:00
Jonathan Griffin
85fb1826cb Backout 4f6d9db92389 for bustage on a CLOSED TREE 2014-07-22 17:55:50 -07:00
Alexandre Poirot
7bb6381d42 Bug 1027242 - Blacklist mulet's failing tests + expose 'mulet' to ini files. r=ahal 2014-07-02 15:40:56 -07:00
Mike Shal
34edaf7427 Bug 978211 - run make from mach without a shell; r=gps 2014-07-18 10:14:29 -04:00
Mike Shal
037bd936ae Bug 914563 - re-enable build resource recording on Windows; r=gps 2014-07-15 13:59:10 -04:00
Mike Shal
97bf691103 Bug 978211 - OSX automation configs; r=glandium 2014-07-03 22:05:45 -04:00