Alessio Placitelli
a7b1ef77b3
Bug 928397 - Enable xpcshell-test debugging on Windows platforms and default debugger detection. r=ted.mielczarek
2014-07-02 13:52:00 +02:00
Mike Hommey
c47300cd68
Bug 1063860 - Refresh some of the variable/tier associations in mozbuild.context. r=gps
2014-09-11 12:12:18 +09:00
Gregory Szorc
d3e6ae3032
Bug 1061684 - Normalize path separators in JAR paths; r=mshal
...
The forward slash appears to be the standard path separator in zip/JAR
files. Accept back slashes when adding paths to a JAR.
--HG--
extra : rebase_source : bd94eab36b347006e65952d99b53dd397e2ca758
extra : amend_source : 2cefd887d8bb5d989fafb398a3464429ac376e2e
2014-09-03 10:42:34 -07:00
Ryan VanderMeulen
6ca1d53198
Merge fx-team to m-c. a=merge
2014-09-05 11:54:57 -04:00
Nick Alexander
e51fe094e6
Bug 1040945 - Part 2: Copy native libraries by name in AndroidEclipse backend make target. r=rnewman
2014-09-04 20:11:15 -07:00
Wes Kocher
2a754651c8
Merge m-c to fx-team a=merge
2014-09-04 18:58:12 -07:00
Nick Alexander
426b1f7ad4
Bug 1062566 - Update to Java 1.7 and bump SDK version in AndroidEclipse build backend. r=rnewman
...
DONTBUILD NPOTB
2014-09-03 14:24:49 -07:00
Arnaud Sourioux
40f29d0bc5
Bug 1057871 - Print full path of mozconfig file used on 'mach ./configure' when error in mozconfig throws an exception r=gps
2014-09-03 12:14:00 +02:00
Carsten "Tomcat" Book
ccc49e2f5d
Backed out changeset cfdcf950e403 (bug 105871) for wrong bug number in commit
2014-09-04 09:53:58 +02:00
Arnaud Sourioux
af331b4b6f
Bug 105871 - Print full path of mozconfig file used on 'mach ./configure' when error in mozconfig throws an exception. r=gps
2014-09-03 12:14:00 +02:00
Mike Hommey
af78326e62
Bug 1059129 - Move the addition of stdc++compat to templates. r=mshal
2014-09-04 09:05:12 +09:00
Mike Hommey
4b99580194
Bug 1059113 - Use templates for shared libraries and frameworks. r=gps
...
Also force to use the existing template for XPCOM components.
2014-09-04 09:04:45 +09:00
Mike Hommey
4185f4510e
Bug 1059126 - Always allow to add a StrictOrderingOnAppendList to another. r=gps
2014-09-03 14:19:55 +09:00
Mike Hommey
ed70c5f377
Bug 1041941 - Use templates for programs, simple programs, libraries and C++ unit tests. r=gps
2014-09-03 14:10:54 +09:00
Benoit Girard
fa7509a3d2
Bug 1060210 - Automatically import new CppEclipse project into the workspace . r=gps
2014-09-03 15:12:18 -04:00
Benoit Girard
17ec5f3c5d
Bug 1057986 - Change the location of the eclipse workspace to be along side the srcdir. r=gps
2014-09-03 16:09:36 -04:00
Joshua Cranmer
909189d65b
Bug 1060198, part 2: Move other IS_GYP_DIR rules to gyp_reader.py, r=glandium.
...
--HG--
extra : rebase_source : 5ad6eae63688f5582568f470b7266b0f7ebc8b6c
2014-09-02 23:45:26 -05:00
Nathan Froyd
77b3f5251c
Bug 1056862 - make |mach python-test| work even if run from outside the srcdir; r=gps
...
DONTBUILD because NPOTB
2014-08-21 11:03:26 -04:00
Andrew Halberstadt
5ec7705a31
Bug 1051809 - Package and upload code coverage data to build directory if code coverage is enabled, r=gps
2014-08-27 13:32:42 -04:00
Ahmed Kachkach
85ea4a47c6
Bug 1057694
- Command suggestions in mach. r=gps
2014-08-26 16:17:00 +02:00
Mathias De Maré
434d96be0b
Bug 680009 - Flash taskbar icon on Windows when 'mach build' finishes. r=gps
2014-08-30 09:48:37 +02:00
Joshua Cranmer
0f5f1f0b5d
Bug 1059769 - Add LIBRARY_DEFINES to moz.build, r=glandium.
2014-09-04 23:38:54 -05:00
Mike Hommey
fa85fae8f6
Bug 1062668 - Add a timestamp to the message mach prints to indicate the end of the build. r=gps
2014-09-05 10:27:59 +09:00
Matthew Gregan
aa24983302
Bug 1058297 - Allow opting-out of "build complete" spam. r=gps
2014-08-25 15:50:00 +12:00
Wes Kocher
301861a0fd
Merge m-c to inbound a=merge
2014-08-25 17:25:09 -07:00
Gregory Szorc
99b5f22280
Bug 1058036 - Ensure dependency isn't lost when ORing InstallManifest; r=glandium
...
The install manifest processor starts with an empty InstallManifest and
uses |= to "concatenate" instances. It became pretty obvious when
developing some patches that add more preprocessed files to install
manifests that the source install manifest dependency was getting
lost during the |= operation. This patch fixes it.
The solution is not ideal performance wise. But slightly worse
performance (only after config.status, however) is better than
clobbers.
A test has been added to ensure this doesn't regress.
--HG--
extra : rebase_source : 848aebbbc935ce2bca2d3fcc85d1df534e734e0d
2014-08-24 20:19:55 -04:00
Kartikaya Gupta
7e55cdfb99
Bug 1057387 - Remove incorrect documentation for the run/debug commands. r=gps
2014-08-25 19:39:55 -04:00
Roshan M Regy
daaa053e20
Bug 1057305 - Make mach bootstrap work with elementary os; r=gps
...
DONTBUILD (NPOTB)
--HG--
extra : amend_source : 40d5633b7099dd0aba9b6933d12aa4d579179694
2014-08-22 16:54:48 +05:30
Joshua Cranmer
c2b36dce60
Bug 1057708 - The wrong topsrcdir is used when verifying existence of LOCAL_INCLUDES, r=mshal
2014-08-25 09:40:58 -05:00
Mike Hommey
4cfdc807f5
Bug 1041941 - Add support for templates in moz.build. r=gps
2014-08-24 09:11:05 +09:00
Nathan Froyd
a088ec81d5
Bug 1055281 - check for existence of paths in LOCAL_INCLUDES in moz.build; r=mshal
2014-08-20 11:51:33 -04:00
Sylvestre Ledru
06c5b7516f
Bug 1051987 - Remove useless option which wasn't supposed to go in the commit
...
--HG--
extra : amend_source : 83ccc90a5ee1b0a41640d2b1451208add8dc2c5d
2014-08-18 15:33:51 +02:00
Sylvestre Ledru
d257c5c025
Bug 1051987 - By default, hide the disabled commands. They are eating the display for no value. $ ./mach -v help bring them back. r=jmaher
...
From 7c2de97792113d3415acf2cfa1591fa05c5b07a8 Mon Sep 17 00:00:00 2001
display for no value. $ ./mach -v help bring them back.
---
build/mach_bootstrap.py | 2 +-
python/mach/mach/dispatcher.py | 14 +++++++-------
python/mach/mach/main.py | 3 +++
3 files changed, 11 insertions(+), 8 deletions(-)
2014-08-11 18:31:24 +02:00
Mike Hommey
51f6cc88c1
Bug 1062219 - Don't build build/clang-plugin as an external directory. r=jcranmer
2014-09-04 17:44:01 +09:00
Mike Hommey
f287c057c6
Bug 1053140 part 3 - Separate out sandbox infrastructure from moz.build variables storage. r=gps
...
--HG--
rename : python/mozbuild/mozbuild/frontend/sandbox_symbols.py => python/mozbuild/mozbuild/frontend/context.py
rename : python/mozbuild/mozbuild/test/frontend/test_sandbox_symbols.py => python/mozbuild/mozbuild/test/frontend/test_context.py
2014-08-15 13:52:18 +09:00
Mike Hommey
3baab7344b
Bug 1053140 part 2 - Add a test for exported variable override. r=gps
2014-08-15 13:52:18 +09:00
Mike Hommey
a165981551
Bug 1053140 part 1 - Add a default_dict-like container, with a default_factory taking the key as argument. r=gps
2014-08-15 13:52:18 +09:00
Mike Hommey
6625703ef7
Bug 1053097 - Delay the gathering of python dependencies for the build backend. r=gps
2014-08-15 13:52:18 +09:00
Mike Hommey
ba323eb329
Bug 1053085 part 2 - Move config environment fiddling out of MozbuildSandbox initialization. r=gps
2014-08-15 13:52:17 +09:00
Mike Hommey
f59aeb3693
Bug 1053085 part 1 - Rely on the config environment for TOPSRCDIR and TOPOBJDIR within frontend code. r=gps
2014-08-15 13:52:17 +09:00
Mike Hommey
0db4c56941
Bug 1053080 - Improve mozbuild.util.memoize and add memoized_property. r=gps
2014-08-15 13:52:17 +09:00
Ted Mielczarek
1a7a60c5b7
bug 1050922 - Add an update method to FlagsFactory.Flags. r=gps
2014-08-14 12:12:04 -04:00
Ting-Yu Lin
5a7beb0db0
Bug 1049263 - Do not report ccache stats unless ccache was used. r=glandium
2014-08-08 03:06:00 -04:00
Mike Hommey
c02b8237e6
Bug 1053072 - Cleanup metadata in the moz.build reader. r=gps
...
- parent and var were used for TOOL_DIRS/TEST_TOOL_DIRS, which were removed in
bug 1043802.
- tier metadata was not really used, and tiers are going to go away soon
anyways.
2014-08-14 07:15:44 +09:00
Mike Hommey
b5083ee4c7
Bug 1053071 - Simplify EXTERNAL_SOURCE_DIR handling. r=gps
...
As handled in configure.in, EXTERNAL_SOURCE_DIR is a single directory for
external sources, and more specifically, comm-central. There is no need
to handle it as a list in the moz.build emitter.
At the same time, avoid checking the external sources for every moz.build,
and bind it to a config environment.
2014-08-14 07:15:43 +09:00
Mike Hommey
1b7daaf643
Bug 1053070 - Output a nicer error when reassigning a variable in moz.build. r=gps
2014-08-14 07:15:40 +09:00
Mike Hommey
7fb9358518
Bug 1053069
- Make mozbuild.util.ReadOnlyDefaultDict raise an exception on update() and del. r=gps
2014-08-14 07:15:38 +09:00
Gregory Szorc
95bd91b3cd
Bug 1052526 - Treat appending None to List as empty list; r=glandium
...
As a special exception, we change List's + and += operators to treat
"+ None" and "+= None" as "+ []" and "+= []" respectively.
This is a hack to make moz.build files simpler so they don't have to
perform "is x" checks before appending x.
While I was here, I fixed the implementation of List.__add__ to return a
List instead of list.
--HG--
extra : rebase_source : e61db4be4cf8144b092609d3baf84c372b9cf9a0
extra : amend_source : dfabc00765582764426f7cf74e79354a0bfb0824
2014-08-12 09:23:33 -07:00
Birunthan Mohanathas
29a85950be
Bug 1049981 - Make error for non-existent files listed in SOURCES less ambiguous. r=ted
2014-08-10 11:13:38 -07:00
Sylvestre Ledru
2e0c1ce1ec
Bug 1050715 - Update the description of the various tests targed proposed by './mach help' r=jmaher
...
--HG--
extra : rebase_source : 29019a02711ffce5c148787517051855259b6446
2014-08-09 15:37:29 +02:00
Ehsan Akhgari
6b3228115f
Bug 1043390 - Don't use getSourceRepo on local builds; r=glandium
2014-08-07 21:29:39 -04:00
Joshua Cranmer
4898490d81
Bustage fix for bug 1035599, r+a=bustage-fix for CLOSED TREE
...
--HG--
extra : rebase_source : 9fc6f0cc80749f869abf3124b6fecd490b023d1c
extra : amend_source : a53044cb583fb213903092848faccc087bab6289
2014-08-07 20:16:13 -05:00
Joshua Cranmer
73512f7996
Bug 1035599: Merge the mozilla-central and comm-central objdir, r=gps
...
This change merges mozilla-central and comm-central into having a single
topobjdir file but retaining two topsrcdirs (and two build systems). This state
is hopefully only the first part of a series of changes that eliminate the
comm-central build system partial clone completely.
--HG--
extra : rebase_source : 02aa2c4551df405d9783ac85cc41fe90b67bf057
extra : amend_source : d3cc677d59603648165bf65afa28413f2c40b2fd
2014-08-07 19:27:58 -05:00
Arnaud Bienner
ba6d70a30e
Bug 1047823 - Use a default value when getting CPPFLAGS from environment if they aren't set. r=glandium
2014-08-05 20:25:46 +02:00
Mike Hommey
6711001c33
Bug 1047267 - Remove the trigger hacks added in bug 1043344. r=gps
2014-08-07 14:21:09 +09:00
Mike Hommey
220b276684
Bug 1047267 - Allow to reference libraries from third-party build systems in USE_LIBS. r=gps
2014-08-07 14:20:38 +09:00
Mike Hommey
e426d85e54
Bug 1047267 - Add a memoize decorator to the mozbuild module. r=gps
2014-08-07 14:20:37 +09:00
Mike Hommey
c978a88653
Bug 1049281 - Remove static dirs handling, now that there aren't any. r=gps
...
Also do some overdue cleanup from the removal of parallel and tools dirs
2014-08-07 02:58:53 +09:00
Mike Hommey
6abb4401d2
Bug 1048799 - Improve mach build notification center errors. r=gps
2014-08-07 02:58:46 +09:00
Mike Hommey
78a9defead
Bug 1045783 - Move OS_LIBS from a passthrough to a more fully supported variable. r=gps
2014-08-06 07:25:05 +09:00
Mike Hommey
1176805c93
Bug 1048702 - Error out when trying to add a string to a list in moz.build. r=gps
2014-08-06 07:24:27 +09:00
Ting-Yu Lin
fd137322aa
Bug 947256 - Report ccache hit rate at the end of the build; r=gps
...
This patch add a line at the end of the build like follows:
ccache (direct) hit rate: 98.7%; (preprocessed) hit rate: 0.5%; miss rate: 0.8%
--HG--
extra : rebase_source : 9c814745516d7b8b0db2056a1fa0df540a5a239a
2014-07-30 02:23:00 -07:00
Ian Neal
b6a8cbf222
Bug 1047702 - recursivemake's scan for Makefiles with XPI_PKGNAME or INSTALL_EXTENSION_ID should take account of comm-central r=glandium
2014-08-02 02:52:52 +01:00
Jonathan Griffin
0b3d03bddb
Bug 1046991 - Fix error message when no build is present for mochitest-plain, r=ahal, DONTBUILD because NPOTB
2014-08-01 10:59:05 -07:00
Mike Hommey
267a921bcc
Bug 1045969 - Use paths relative to root topobjdir for backend files for similar reasons as in bug 1045329. r=mshal
...
and paths relative to the "local" topobjdir for linkage.
2014-08-01 15:56:16 +09:00
Nathan Froyd
909d33279c
Bug 1044162 - part 2 - remove JS_MODULES_PATH from the build system; r=mshal
2014-07-25 14:37:22 -04:00
Nathan Froyd
542214c4df
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
1e6f286857
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
c9f1e89c3d
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
d6ed55758e
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
9f0ae0e3fd
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
cfe210283a
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
99fdc4c1d6
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
c48f53e37a
Bug 1043865 - Remove the remainder of compilation bits from the libs tier. r=gps
2014-07-29 08:59:27 +09:00
Mike Hommey
179299ea01
Bug 1043862 - Make the binaries target use the compile tier. r=gps
2014-07-29 08:58:28 +09:00
Mike Hommey
2bab6202af
Bug 1043820 - Remove PARALLEL_DIRS. r=gps
2014-07-29 08:57:59 +09:00
Mike Hommey
5f6ba110e6
Bug 1043802 - Remove TOOLS_DIRS and TEST_TOOLS_DIRS. r=gps
2014-07-29 08:55:55 +09:00
Ms2ger
33f3b92033
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
026b7bbbca
Merge mozilla-central to mozilla-inbound on a CLOSED TREE
2014-07-28 16:30:30 +02:00
Carsten "Tomcat" Book
06ad4c77ff
merge fx-team to mozilla-central a=merge
2014-07-28 15:44:12 +02:00
Paul Adenot
d07f0375f0
No Bug - Revert part of 2fe40d407853 added by mistake.
...
--HG--
extra : rebase_source : 095450aa0f40d672187499e76f3aa70a7e8001a7
2014-07-28 15:40:02 +02:00
Wes Kocher
e97345c0bf
Merge m-c to fx-team
2014-07-25 16:27:34 -07:00
Wes Kocher
5315b9b3cc
Merge inbound to m-c a=merge
2014-07-25 15:59:01 -07:00
Mike Hommey
bf4a63a41c
Bug 1043799 - Remove leftovers from bug 1043344. r=gps
2014-07-25 20:12:57 +09:00
Gregory Szorc
804eecce0c
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.
--HG--
extra : rebase_source : aeb6c99a945eaff32cf86fa481d03c0c8dee593a
extra : amend_source : f1e29385bf8ca8ac250a04f81e7e955c4152b476
2014-07-24 11:35:15 -07:00
Paul Adenot
463fc6e786
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
b94c9f484e
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
d6179253e0
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
4fea5c8b39
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
9ff23b0228
Merge m-c to inbound
2014-07-25 16:23:51 -07:00
Gregory Szorc
28b04d002b
Bug 1039806 - UnboundLocalError: local variable 'output'; r=mshal
...
DONTBUILD (NPOTB)
--HG--
extra : rebase_source : 231b0dac997551660dd9c187880e80734a2d7300
extra : amend_source : 34dab55ff1d1d341e6ebe078747c4268ecc0096a
2014-07-16 16:02:31 -07:00
Mike Hommey
a62cdc4fa7
Bug 1043344 - Move libraries and programs build to the compile tier. r=gps
2014-07-25 07:14:40 +09:00
Mike Hommey
1087f5e63d
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
a3462a83f5
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
0f6cf3fa54
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
...
--HG--
extra : rebase_source : f3439471f361ea16f74161a3ee68b9227e2c0eb9
2014-07-25 14:33:39 -07:00
Jonathan Griffin
987efb80fa
Bug 1042270 - Add is_mulet condition to mach, r=ahal
2014-07-22 14:41:09 -07:00
Alexandre Poirot
7ea4dd517f
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
cb5758222b
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
...
--HG--
extra : rebase_source : 0e37b98ad2481df7bae906d5c67ecd94a22fabda
2014-06-09 12:46:15 -07:00
byron jones
03cbfa140f
Bug 1042517 - Typos in mach's help for the run command; rs=edmorley DONTBUILD
2014-07-22 23:44:00 +01:00
Mike Hommey
ad2b8b8346
Bug 1041936 - Allow static library definitions to depend on shared libraries. r=gps
2014-07-23 13:33:06 +09:00