Commit Graph
1785 Commits
Author SHA1 Message Date
Nathan Froyd aa5f318f69 Bug 976733 - part 1a - add test for EXTRA_JS{_PP,}_MODULES output; r=mshal 2014-09-15 13:31:25 -04:00
Nathan Froyd cfe66fb35c Bug 976733 - part 1 - add walking functions to HierarchicalStringList; r=mshal
Having to walk over elements and strings of HierarchicalStringList with
an external recursive function is un-Pythonic and adds unnecessary
obfuscation to several tasks.  Add a walk() function to
HierarchicalStringList, modeled on os.walk(), to handle these cases more
directly.
2014-08-14 13:25:33 -04:00
Alessio Placitelli 7885462da5 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 cb870036c4 Bug 1063860 - Refresh some of the variable/tier associations in mozbuild.context. r=gps 2014-09-11 12:12:18 +09:00
Gregory Szorc 133cd37948 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.
2014-09-03 10:42:34 -07:00
Ryan VanderMeulen e96a1a449e Merge fx-team to m-c. a=merge 2014-09-05 11:54:57 -04:00
Nick Alexander 0994a18274 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 f0f4904ef5 Merge m-c to fx-team a=merge 2014-09-04 18:58:12 -07:00
Nick Alexander b97b9b194b 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 d2276040dc 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 a67f9e448b Backed out changeset cfdcf950e403 (bug 105871) for wrong bug number in commit 2014-09-04 09:53:58 +02:00
Arnaud Sourioux 60f92b520c 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 b3a9481e9f Bug 1059129 - Move the addition of stdc++compat to templates. r=mshal 2014-09-04 09:05:12 +09:00
Mike Hommey 528423a154 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 e1a83d6e37 Bug 1059126 - Always allow to add a StrictOrderingOnAppendList to another. r=gps 2014-09-03 14:19:55 +09:00
Mike Hommey aec0b61280 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 153c9f8d49 Bug 1060210 - Automatically import new CppEclipse project into the workspace . r=gps 2014-09-03 15:12:18 -04:00
Benoit Girard 107bef66c9 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 8d6a201f5d Bug 1060198, part 2: Move other IS_GYP_DIR rules to gyp_reader.py, r=glandium. 2014-09-02 23:45:26 -05:00
Nathan Froyd 8746cb9bdd 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 5de88dfe36 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 ed94ab0fae Bug 1057694 - Command suggestions in mach. r=gps 2014-08-26 16:17:00 +02:00
Mathias De Maré 7b3368cdf2 Bug 680009 - Flash taskbar icon on Windows when 'mach build' finishes. r=gps 2014-08-30 09:48:37 +02:00
Joshua Cranmer 9b72c4a4b5 Bug 1059769 - Add LIBRARY_DEFINES to moz.build, r=glandium. 2014-09-04 23:38:54 -05:00
Mike Hommey 75c74a7bc9 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 c2e018c9ce Bug 1058297 - Allow opting-out of "build complete" spam. r=gps 2014-08-25 15:50:00 +12:00
Wes Kocher 6160cc367b Merge m-c to inbound a=merge 2014-08-25 17:25:09 -07:00
Gregory Szorc f83c3583ed 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.
2014-08-24 20:19:55 -04:00
Kartikaya Gupta 855821631c Bug 1057387 - Remove incorrect documentation for the run/debug commands. r=gps 2014-08-25 19:39:55 -04:00
Roshan M Regy db25f7e71a Bug 1057305 - Make mach bootstrap work with elementary os; r=gps
DONTBUILD (NPOTB)
2014-08-22 16:54:48 +05:30
Joshua Cranmer d19cad8e56 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 82bc4846a9 Bug 1041941 - Add support for templates in moz.build. r=gps 2014-08-24 09:11:05 +09:00
Nathan Froyd ca4f50cc93 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 4198ca2238 Bug 1051987 - Remove useless option which wasn't supposed to go in the commit 2014-08-18 15:33:51 +02:00
Sylvestre Ledru f289e45cd4 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 c1cc601ca5 Bug 1062219 - Don't build build/clang-plugin as an external directory. r=jcranmer 2014-09-04 17:44:01 +09:00
Mike Hommey 5d1665ee5e Bug 1053140 part 3 - Separate out sandbox infrastructure from moz.build variables storage. r=gps 2014-08-15 13:52:18 +09:00
Mike Hommey 4c70fbccc3 Bug 1053140 part 2 - Add a test for exported variable override. r=gps 2014-08-15 13:52:18 +09:00
Mike Hommey 942c23be17 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 ace8bc7848 Bug 1053097 - Delay the gathering of python dependencies for the build backend. r=gps 2014-08-15 13:52:18 +09:00
Mike Hommey 8e45c0425f Bug 1053085 part 2 - Move config environment fiddling out of MozbuildSandbox initialization. r=gps 2014-08-15 13:52:17 +09:00
Mike Hommey 8a570f1d8d 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 da7087f252 Bug 1053080 - Improve mozbuild.util.memoize and add memoized_property. r=gps 2014-08-15 13:52:17 +09:00
Ted Mielczarek 7fd5c898e9 bug 1050922 - Add an update method to FlagsFactory.Flags. r=gps 2014-08-14 12:12:04 -04:00
Ting-Yu Lin 363380c47f Bug 1049263 - Do not report ccache stats unless ccache was used. r=glandium 2014-08-08 03:06:00 -04:00
Mike Hommey 5308fd2db8 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 1fceb725fc 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 3e78d20e84 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 fdafbb4a74 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 e146303b3b 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.
2014-08-12 09:23:33 -07:00