Commit Graph

1223 Commits

Author SHA1 Message Date
Mike Hommey
07fd6499d9 Bug 1059129 - Move the addition of stdc++compat to templates. r=mshal 2014-09-04 09:05:12 +09:00
Mike Hommey
92deb5899a 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
10f216389a Bug 1059126 - Always allow to add a StrictOrderingOnAppendList to another. r=gps 2014-09-03 14:19:55 +09:00
Mike Hommey
8fd95ad480 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
4c9ad2243f Bug 1060210 - Automatically import new CppEclipse project into the workspace . r=gps 2014-09-03 15:12:18 -04:00
Benoit Girard
e7f12dd70a 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
63f08d7ed7 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
9314cc0933 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
5c9e1cd00d 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
fd6d2218d1 Bug 1057694 - Command suggestions in mach. r=gps 2014-08-26 16:17:00 +02:00
Mathias De Maré
c6c37b200b Bug 680009 - Flash taskbar icon on Windows when 'mach build' finishes. r=gps 2014-08-30 09:48:37 +02:00
Joshua Cranmer
cb7d7894e5 Bug 1059769 - Add LIBRARY_DEFINES to moz.build, r=glandium. 2014-09-04 23:38:54 -05:00
Mike Hommey
854daeafd3 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
f4e17e954c Bug 1058297 - Allow opting-out of "build complete" spam. r=gps 2014-08-25 15:50:00 +12:00
Wes Kocher
43fd753170 Merge m-c to inbound a=merge 2014-08-25 17:25:09 -07:00
Gregory Szorc
2a4aace69a 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
14ebe8cf93 Bug 1057387 - Remove incorrect documentation for the run/debug commands. r=gps 2014-08-25 19:39:55 -04:00
Roshan M Regy
eb595c225c 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
e3a70a2287 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
69343c16a2 Bug 1041941 - Add support for templates in moz.build. r=gps 2014-08-24 09:11:05 +09:00
Nathan Froyd
2374d4767a 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
5cf3fe66c5 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
4132506134 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
4353f43090 Bug 1062219 - Don't build build/clang-plugin as an external directory. r=jcranmer 2014-09-04 17:44:01 +09:00
Mike Hommey
3fc5b34040 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
6b73ef1b8c Bug 1053140 part 2 - Add a test for exported variable override. r=gps 2014-08-15 13:52:18 +09:00
Mike Hommey
0d730f6233 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
f7d8b3b020 Bug 1053097 - Delay the gathering of python dependencies for the build backend. r=gps 2014-08-15 13:52:18 +09:00
Mike Hommey
fdc40d4678 Bug 1053085 part 2 - Move config environment fiddling out of MozbuildSandbox initialization. r=gps 2014-08-15 13:52:17 +09:00
Mike Hommey
ac28e7b670 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
b1cd9926f8 Bug 1053080 - Improve mozbuild.util.memoize and add memoized_property. r=gps 2014-08-15 13:52:17 +09:00
Ted Mielczarek
ebf4d1c5d0 bug 1050922 - Add an update method to FlagsFactory.Flags. r=gps 2014-08-14 12:12:04 -04:00
Ting-Yu Lin
17c843cfbc Bug 1049263 - Do not report ccache stats unless ccache was used. r=glandium 2014-08-08 03:06:00 -04:00
Mike Hommey
c0d05737a0 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
946a071aa7 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
c2cd257bb7 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
3bbfbdbb84 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
0aa3f4deb8 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
9f47aac27e 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
81b70e576c 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
0bde9289fd Bug 1043390 - Don't use getSourceRepo on local builds; r=glandium 2014-08-07 21:29:39 -04:00
Joshua Cranmer
95005f1ba6 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
4454b2c1e1 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
078eac0bfb 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
90c69f3299 Bug 1047267 - Remove the trigger hacks added in bug 1043344. r=gps 2014-08-07 14:21:09 +09:00
Mike Hommey
357b465fc4 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
9a38f21dd8 Bug 1047267 - Add a memoize decorator to the mozbuild module. r=gps 2014-08-07 14:20:37 +09:00
Mike Hommey
931d4e1ddc 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
7074a853d1 Bug 1048799 - Improve mach build notification center errors. r=gps 2014-08-07 02:58:46 +09:00
Mike Hommey
c75b987e31 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
81e9f42eff 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
cdbb797833 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
7026a8d331 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
0a4701f27d 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
3f34472271 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
056ab5697e Bug 1044162 - part 2 - remove JS_MODULES_PATH from the build system; r=mshal 2014-07-25 14:37:22 -04:00
Nathan Froyd
13d14daf45 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
36a48cac1a 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
bf016a55d8 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
d6f7edb12d 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
5b687bf0d8 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
a783ef4c0e 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
cd12f78667 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
b8cc89acde Bug 1043865 - Remove the remainder of compilation bits from the libs tier. r=gps 2014-07-29 08:59:27 +09:00
Mike Hommey
9e0f16a8c2 Bug 1043862 - Make the binaries target use the compile tier. r=gps 2014-07-29 08:58:28 +09:00
Mike Hommey
010c0a5eb7 Bug 1043820 - Remove PARALLEL_DIRS. r=gps 2014-07-29 08:57:59 +09:00
Mike Hommey
42f57b6138 Bug 1043802 - Remove TOOLS_DIRS and TEST_TOOLS_DIRS. r=gps 2014-07-29 08:55:55 +09:00
Ms2ger
593cdb616e 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
a0b03bc21c Merge mozilla-central to mozilla-inbound on a CLOSED TREE 2014-07-28 16:30:30 +02:00
Carsten "Tomcat" Book
da7e690ac3 merge fx-team to mozilla-central a=merge 2014-07-28 15:44:12 +02:00
Paul Adenot
cf83782d84 No Bug - Revert part of 2fe40d407853 added by mistake.
--HG--
extra : rebase_source : 095450aa0f40d672187499e76f3aa70a7e8001a7
2014-07-28 15:40:02 +02:00
Wes Kocher
b1154f1e05 Merge m-c to fx-team 2014-07-25 16:27:34 -07:00
Wes Kocher
18c5eaf11f Merge inbound to m-c a=merge 2014-07-25 15:59:01 -07:00
Mike Hommey
0acb5d9061 Bug 1043799 - Remove leftovers from bug 1043344. r=gps 2014-07-25 20:12:57 +09:00
Gregory Szorc
9fe6fe037c 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
59516ac444 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
18c2064062 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
5f1a51f87a 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
7e7bf24d38 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
35de85414d Merge m-c to inbound 2014-07-25 16:23:51 -07:00
Gregory Szorc
8bf884c524 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
2a08f131e0 Bug 1043344 - Move libraries and programs build to the compile tier. r=gps 2014-07-25 07:14:40 +09:00
Mike Hommey
7d01bdfd95 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
b624ae1502 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
9a82a5dc7c 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
4cff3196ec Bug 1042270 - Add is_mulet condition to mach, r=ahal 2014-07-22 14:41:09 -07:00
Alexandre Poirot
f5412abfea 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
05c3bd3642 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
e436ac69a6 Bug 1042517 - Typos in mach's help for the run command; rs=edmorley DONTBUILD 2014-07-22 23:44:00 +01:00
Mike Hommey
ad47a2519d Bug 1041936 - Allow static library definitions to depend on shared libraries. r=gps 2014-07-23 13:33:06 +09:00
Mike Hommey
66aeea108c Bug 1041839 - Write all-tests.json faster. r=gps 2014-07-23 13:32:03 +09:00
Mike Hommey
e7c51b334d Bug 1041820 - Replace DefaultOnReadDict with defaultdict. r=gps 2014-07-23 13:31:43 +09:00
Mike Hommey
af37eab57f 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
0013fab872 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
e679e0b8b9 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
e97e74b6eb Bug 1036894 part 3 - Emit objects for programs after emitting libraries. r=gps 2014-07-23 13:29:24 +09:00
Mike Hommey
ed9696d23d 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
bc97b68005 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
4c1a95d4cf Bug 1041960 - Remove subtiers from make backend. r=gps 2014-07-23 13:28:54 +09:00
Jonathan Griffin
d8167428d6 Backed out changeset 64586374a208 on a CLOSED TREE 2014-07-22 18:29:57 -07:00
Alexandre Poirot
32f4c0930e 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
c981769b72 Backout 4f6d9db92389 for bustage on a CLOSED TREE 2014-07-22 17:55:50 -07:00
Alexandre Poirot
1a463bf842 Bug 1027242 - Blacklist mulet's failing tests + expose 'mulet' to ini files. r=ahal 2014-07-02 15:40:56 -07:00
Mike Shal
3170b3b820 Bug 978211 - run make from mach without a shell; r=gps 2014-07-18 10:14:29 -04:00
Mike Shal
9a1835cfac Bug 914563 - re-enable build resource recording on Windows; r=gps 2014-07-15 13:59:10 -04:00
Mike Shal
edaa3387d9 Bug 978211 - OSX automation configs; r=glandium 2014-07-03 22:05:45 -04:00
Mike Shal
0bedcce35d Bug 1036093 - ignore mach exceptions when printing binary paths; r=gps 2014-07-11 10:55:40 -04:00
Mike Hommey
34799e0459 Bug 1036864 - Remove EXPORT_LIBRARY. r=mshal 2014-07-11 19:06:55 +09:00
Mike Hommey
f059293f00 Bug 1035543 - Remove the MOZ_PSEUDO_DERECURSE variable. r=gps 2014-07-10 14:11:52 +09:00
Mike Hommey
70ce913a4f Bug 936384 - Display nicer errors when failing to validate moz.build sandboxes. r=gps 2014-07-10 14:11:40 +09:00
Mukilan Thiyagarajan
c0ddfb3ebf 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
611b2eff0f merge fx-team to mozilla-central a=merge 2014-07-08 15:10:56 +02:00
Gregory Szorc
2ba8ff08fa Bug 1033836 - Support TESTING_JS_MODULES in moz.build; r=glandium
--HG--
extra : rebase_source : 383acfd70fc4f95f6fd5f90490048233a31d9e62
2014-07-02 16:43:11 -07:00
Carsten "Tomcat" Book
a7edf1454f merge fx-team to mozilla-central a=merge 2014-07-03 13:54:51 +02:00
Wes Kocher
a2ce9d9420 Merge m-c to fx-team 2014-07-02 19:10:42 -07:00
Gregory Szorc
44bf3127d8 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.

--HG--
extra : rebase_source : d33f8abcabb6ad6511c2f9e202283d43613fafc4
extra : amend_source : 3a56bc4d49ee6200cbdd0e87b4f28489518fee79
2014-07-02 14:05:42 -07:00
Mike Hommey
5c4abcd330 Bug 762358 - Fixup the fixup not to break on windows. r=me 2014-07-03 09:38:47 +09:00
Mike Hommey
f1627c9e19 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
8e1994581d 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
70d330c116 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
fad1758c54 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
20964fe02e Bug 1031129 - Fix ObjdirMismatchException logic to throw properly on m-c. r=gps 2014-07-03 07:15:30 +09:00
Nathan Froyd
3aa4f7e643 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
97b6283a0e Merge m-c to fx-team a=merge 2014-06-25 18:44:50 -07:00
Wes Kocher
11f0cd4461 Merge inbound to m-c a=merge 2014-06-25 18:18:43 -07:00
Nathan Froyd
fd1e19ecd1 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
75f3b500c3 Bug 1027890 - Reject builds with pymake. r=gps
--HG--
extra : rebase_source : a662b896b5f431a37a1250ec19451324ebed3d14
2014-06-25 08:38:12 +09:00
Jason Orendorff
7ae1d3954e Bug 1020514 - Make mach colorize lines that start with REFTEST TEST-UNEXPECTED-FAIL etc. r=gps.
--HG--
extra : rebase_source : 30d85f6d46894753d925c4189b598de034014fe6
2014-06-20 12:01:03 -05:00
Nathan Froyd
68a8d4c623 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
d3ff9ea4b7 Merge mozilla-central to mozilla-inbound 2014-06-25 15:42:28 +02:00
Markus Stange
82507ca2bc 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
e1dd0ab43e 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
a56bc0ee1c Bug 1027890 - Remove all sorts of build system code dedicated to pymake. r=gps 2014-06-25 08:38:28 +09:00
Mike Hommey
072b490003 Bug 1027890 - Reject builds with pymake. r=gps 2014-06-25 08:38:12 +09:00
Gregory Szorc
44516f3275 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.

--HG--
extra : rebase_source : 3503f787b14b24c38daf577a710e67b583476858
extra : histedit_source : 21e55b3d28ee83afb47f3f779251a13c2a90db5f
2014-06-17 17:59:03 -07:00
Nick Alexander
d724b69b33 Bug 1029232 - Follow-up: Fix busted test. r=bustage 2014-06-24 20:05:01 -07:00
Nick Alexander
73a9284da7 Bug 1029232 - Part 3: Call Eclipse builder plugin before Android build steps. r=bnicholson 2014-06-24 19:14:35 -07:00
Mark Banner
70684d8faf 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
fc399e43bb Bug 1035099 - Remove the comm-central workarounds from MozbuildObject.from_environment. r=gps 2014-07-08 13:47:26 +09:00
Mike Hommey
c355cd1724 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
9245d5b589 Bug 1024471 - Default user is now created in objdir/tmp/scratch_user. r=gps 2014-07-01 23:57:00 +02:00
Birunthan Mohanathas
c910458886 Bug 1016240 - Exterminate CR+LF line endings. r=briansmith,cpearce,ehsan,gavin 2014-06-18 17:56:02 -07:00
Mike Hommey
724fa20ba3 Bug 978211 - Seemlessly support make 4 output buffering for automation/% steps. r=mshal 2014-06-19 09:06:13 +09:00
Ryan VanderMeulen
5b3ac33af5 Bug 1025918 - Add support for the .cxx extension to mozbuild. r=ted 2014-06-16 22:36:24 -04:00
Nathan Froyd
c81a8adf0d 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
39cb7dae95 Bug 1018375 - part 1 - add LD_VERSION_SCRIPT build variable; r=glandium 2014-05-30 14:12:20 -04:00
Armen Zambrano Gasparnian
74c8fc1b52 Bug 989583 - Install all tests (even disabled) from manifests. r=jmaher 2014-06-16 14:51:22 -04:00
Mike Shal
6030d96f14 Bug 978211 - add an automation/build target for post-build steps; r=glandium 2014-05-16 14:37:31 -04:00
Abdul Qadeer
efec110064 Bug 972329 - Install setuptools as part of bootstrap. r=gps 2014-06-11 11:22:00 -07:00
Ryan VanderMeulen
5b864913bc Backed out changeset ec353cd772b1 (bug 989583) for B2G emulator mochitest mass-fail. 2014-06-11 13:55:44 -04:00
Armen Zambrano Gasparnian
ceece18474 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
8edf404725 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
40f161224a 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
71a6c7cb83 Bug 1022747: Add |mach bootstrap| support for DragonFly/DPorts. r=gps 2014-06-09 22:11:06 +02:00
Jan Beich
608012c5fc Bug 1022739: Unbreak |mach bootstrap| with recent FreeBSD packages. r=gps 2014-06-09 22:11:00 +02:00
Nathan Froyd
e87a5365d1 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
Mike Hommey
0fa0eb08c7 Bug 1027890 - Remove all sorts of build system code dedicated to pymake. r=gps 2014-06-25 08:38:28 +09:00
Joshua Cranmer
9f1c63e742 Backed out changeset b83296ec51b3 (bug 832112) for comm-central bustage, r=glandium. 2014-06-02 20:05:22 -05:00
Shih-Chiang Chien
64bcb93112 Bug 1012510 - xulrunner for Mac is under XUL.framework instead of XULRunner.app/Contents/MacOS. r=gps 2014-05-19 12:26:34 +08:00
Mike Shal
abbf401256 Bug 1015443 - make test_iter_modules_in_path case insensitive; r=glandium
From d2c5353da28b5134eeea078a6fac09f023b220ab Mon Sep 17 00:00:00 2001
---
 python/mozbuild/mozbuild/test/test_pythonutil.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2014-05-27 13:07:24 -04:00
Mike Shal
37c380926d Bug 832112 - add mach support for MOZ_OBJDIR; r=glandium
From e8d4f5a17e217ab10677812c6c8960f4e61daed3 Mon Sep 17 00:00:00 2001
---
 python/mozbuild/mozbuild/mozconfig.py           |  2 +-
 python/mozbuild/mozbuild/test/test_base.py      |  1 +
 python/mozbuild/mozbuild/test/test_mozconfig.py | 17 +++++++++++++++++
 3 files changed, 19 insertions(+), 1 deletion(-)
2014-05-16 14:33:01 -04:00
Wes Kocher
149c183872 Merge m-c to inbound 2014-05-23 17:37:56 -07:00
Wes Kocher
4ecf639fcc Merge fx-team to m-c 2014-05-23 17:04:56 -07:00
Lucas Rocha
710f3633d1 Bug 1011620 - Generate suggestedsites.json from region.properties (r=nalexander) 2014-05-23 13:29:18 +01:00
Nickolay Ponomarev
719fb3658c Bug 957186 - Only 'port select clang' after installing it with port; r=gps
DONTBUILD (NPOTB)

--HG--
extra : amend_source : 176cb696075cf33cb99f07a9d8e0e08fd6cc73ea
2014-05-10 17:11:00 -07:00
Mike Hommey
fab293d991 Bug 996823 - Let mach pass-through subprocesses handle Ctrl-C themselves. r=mshal 2014-05-23 07:22:51 +09:00
Ting-Yu Lin
62c8b78949 Bug 1010028 - Set args properly for various debuggers. r=glandium
Set args properly to to separate the debugger and process arguments.
Also add "--args" automatically for gdb front-end cgdb and ddd.

Verification Steps:
1. mach debug +debugger gdb
2. Make sure gdb is launched correctly.
2014-05-19 19:21:00 +02:00
Ryan VanderMeulen
63cd113b5a Revert to revision 63dfac3c9c87 due to mass bustage pile-ups that landed after it on a CLOSED TREE. 2014-05-16 12:29:37 -04:00
Armen Zambrano Gasparnian
3dfdaa3d75 Bug 989583 - Install all tests (even disabled) from manifests. r=jmaher 2014-05-16 10:20:37 -04:00
Lucas Rocha
2976a51962 Bug 997772 - Generate suggestedsites.json from locale (r=nalexander) 2014-05-09 09:39:14 +01:00
Ting-Yu Lin
abe7bf277d Bug 995847 - Add -h and --help support to mach. r=glandium
* |mach --help| prints the global help message as |mach help|.
* |mach command --help| prints the command help message as
  |mach help command|.
2014-05-06 19:10:00 +02:00
Marco Castelluccio
5082eab317 Bug 945869 - Provide more granular OS version information in mozinfo. r=ted.mielczarek 2014-05-01 06:09:00 +02:00
Markus Stange
662dfad9d0 Bug 1002712 - Add lldb type summaries for rects and regions. r=heycam
DONTBUILD
2014-04-29 12:14:42 +02:00
Jan Beich
08eb7c8b82 Bug 992621 - Add preprocessor tests for common use of && and || in ifdefs. r=gps 2014-04-06 00:31:00 -04:00
Robert O'Callahan
c799ade449 Bug 993243. Add a +debugger parameter to 'mach debug' to specify the debugger to launch. r=gps
--HG--
extra : rebase_source : 10b26472d734f0c460b9a4d01dd0e95c6c106487
2014-04-24 23:25:44 +12:00
Robert O'Callahan
7fcc6ac644 Bug 997762. Use --log-no-times option when building so Eclipse can parse the build output. r=BenWa
--HG--
extra : rebase_source : 67e0cdd41741170f5850fda1f94aa238191874cb
2014-04-18 03:03:28 +12:00
Mike Shal
7c96a0a602 Bug 995762 - don't evaluate diff unless it's needed; r=gps 2014-04-14 13:53:20 -04:00
Jim Chen
6253275568 Bug 996780 - Use ANDROID_TARGET_SDK for Eclipse project target. r=nalexander 2014-04-16 17:04:47 -04:00
Carsten "Tomcat" Book
1b627c5563 Backed out changeset 16fc740d96f5 (bug 996780) for build test failures on a CLOSED TREE 2014-04-16 10:30:51 +02:00
Jim Chen
16c2343be6 Bug 996780 - Use ANDROID_TARGET_SDK for Eclipse project target. r=nalexander 2014-04-15 13:43:00 +02:00
Michael Ratcliffe
aeb701c380 Bug 995972 - Make mochitest-devtools mach command work with single folders or files. r=jmaher 2014-04-15 10:35:00 +01:00
Gregory Szorc
e51ce95105 Bug 995374 - Update virtualenv to 1.11.4; r=mshal
We're trying to stay up to date on virtualenv releases so we don't fall
too far behind and so we can leverage new features, such as wheels.

This virtualenv release features upgrades to pip (1.4.1 to 1.5.4) and
setuptools (0.9.8 to 2.2). These may fix bugs people are encountering
in the wild.

Tarball obtained from
https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.11.4.tar.gz#md5=9accc2d3f0ec1da479ce2c3d1fdff06e.
the egg-info directory was removed (consistent with previous virtualenv
upgrades).

--HG--
extra : rebase_source : 0cef066c747d51b8f47e4218353dd47f391ff831
extra : amend_source : 08a255f64093e9280da04a4bead2db3e6f9abe42
2014-04-11 12:07:20 -07:00
Benoit Girard
9d38978cb6 Bug 973770 - Typo fix. r=botond DONTBUILD for NPOTB 2014-04-08 15:06:05 -04:00
Joshua Cranmer
0558766043 Bug 991449: Shorten Unified filename prefixes to avoid max path length linker errors on Windows, r=gps
--HG--
extra : rebase_source : 4f3ff4324b87ebdfa20c6bc92cbabb8eb6f60391
2014-04-03 16:50:31 -05:00
Gregory Szorc
2c5427b5d0 Bug 903149 - Part 3: Support for minifying packaged JavaScript; r=glandium 2013-09-11 19:54:19 -07:00
Gregory Szorc
3a87989877 Bug 903149 - Part 1: Add jsmin Python package; r=glandium
Exported source code from changeset fdfa1b187681 from
https://bitbucket.org/dcs/jsmin without modifications.
2013-09-04 18:47:42 -07:00
Mike Hommey
d4e380fe7f Bug 989522 - Remove LIBXUL_LIBRARY from the moz.build sandbox. r=mshal 2014-04-02 11:52:04 +09:00
Mark Hammond
b27f3714b9 Bug 985902 - expose fxaccounts/MOZ_SERVICES_FXACCOUNTS to mozinfo and only run test_hawkclient when enabled. r=ted 2014-03-31 14:15:05 +11:00
Ryan VanderMeulen
6fa5cbea0b Merge m-c to inbound. 2014-03-26 23:09:54 -04:00
Ryan VanderMeulen
d9d827e562 Merge inbound to m-c. 2014-03-26 20:58:31 -04:00
Gregory Szorc
92832d5da6 Bug 987414 - Pass multiple test arguments to mach testing commands; r=ahal
Previously, mach xpcshell-test and mochitest-* were limited to a single
test "path" argument. This patch enables multiple arguments to be passed
in.

TestResolver in the build system has gained the ability to process
multiple paths in a single invocation. The mach commands have been
modified to utilize this new feature.

Only mach code paths that pass manifestdestiny.TestManifest instances
into the test runner can accept multiple arguments. This is because
there is no other way to pass a custom set of tests into the test
runner. If multiple test arguments are used but not supported, a warning
is emitted.

--HG--
extra : rebase_source : 1ce1328a969f654e7b43a7a0bdd15ed86f5ceb21
2014-03-24 16:19:57 -07:00
Gregory Szorc
dedbd07adc Bug 987398 - Part 2: Handle install-to-subdir in TestResolver; r=ahal
--HG--
extra : rebase_source : e30ea6ba895bbccda95b57c39648798dd26388de
2014-03-25 18:17:31 -07:00
Nathan Froyd
1765f049e8 Bug 985979 - disable the crashreporter when running |mach debug|; r=gps 2014-03-20 10:55:50 -04:00
Mike Hommey
20e55d4af4 Bug 915535 - Remove subtier tracking from build system. r=gps
It's currently inaccurate, and soon, the very notion of subtier is going to
blow away in the compile/binaries targets.
2014-03-27 10:36:25 +09:00
Mike Hommey
aa033a9382 Bug 915535 - Remove directory tracking from build system. r=gps
It's not used except with pymake, anyways.
2014-03-27 10:36:16 +09:00
Andrew Halberstadt
6052b79b10 Bug 987984 - VirtualenvManager.call_setup() should use self.python_path instead of sys.executable, r=gps 2014-03-25 17:41:08 -04:00
Robert O'Callahan
a4bce1e52f Bug 982474. Exclude more files from the CppEclipse-backend generated project. r=BenWa 2014-03-19 14:19:26 +08:00
Bill McCloskey
15e3a0db95 Bug 938019 - Run mochitests from manifests (r=ted,gps) 2014-03-18 08:03:51 -07:00
Ryan VanderMeulen
eafef4356a Backed out changeset a3fe19cdb618 (bug 938019) for robocop failures.
CLOSED TREE
2014-03-18 12:35:53 -04:00
Bill McCloskey
1a25b5245b Bug 938019 - Run mochitests from manifests (r=ted,gps) 2014-03-18 08:03:51 -07:00
Georg Koppen
589d483db5 Bug 942091 - Generate browser.manifest deterministically. r=glandium 2014-03-18 08:39:54 -04:00
Georg Koppen
37d1743748 Bug 982075 - Make addEntriesToListFile() in buildlist.py deterministic. r=ted 2014-03-18 08:04:11 -04:00
Ehsan Akhgari
bfa6b6e286 Bug 981428 - Move OSX -framework flags to moz.build; r=mshal 2014-03-10 20:18:33 -04:00
Robert O'Callahan
1ecf5f63aa Bug 981495 - CppEclipse - Part 2: Filter out .orig and .rej files. r=bgirard DONTBUILD for NPOTB
--HG--
extra : rebase_source : 73c3ea95e08e327df09c49f344286d7a30da39ba
2014-03-10 13:44:43 -04:00
Robert O'Callahan
708c3c331a Bug 981495 - CppEclipse - Part 1: Backend should add a resource filter to ignore obj- directories. r=bgirard
--HG--
extra : rebase_source : cf5ebb8e0229a6adef95eb630ce0a73136247c5f
2014-03-10 13:41:39 -04:00
Benoit Girard
adb1d195dd Bug 981427 - CppEclipse - Usability improvements for b2g. r=botond
--HG--
extra : rebase_source : 9d60aca829f8f93a82ebf887070305b1e2baa815
2014-03-10 13:41:37 -04:00
Benoit Girard
a6065dbd77 Bug 981411 - CppEclipse - Need to set the cross compiler and CPP flags. r=botond
--HG--
extra : rebase_source : 69151c9f8087e6ff97460febcb02181dae30e952
2014-03-10 13:41:35 -04:00
Benoit Girard
fc8d18a87d Bug 981353 - CppEclipse - Fix nspr indexer errors. r=botond
--HG--
extra : rebase_source : b51cda487916e32a0f6dcc1c2d3eff3c4856412c
2014-03-10 13:37:34 -04:00
Gregory Szorc
1d7ac7ea19 Bug 980174 - Remove some empty Makefile.in; r=mshal
--HG--
extra : rebase_source : eada340aed8daebbfc3bf7d4218bca980d654cef
2014-03-05 19:56:56 -08:00
Benoit Girard
7a88672c0a Bug 980183 - Add support for eclipse CDT 8.3. r=botond NPOTB 2014-03-07 14:54:45 -05:00
Ted Mielczarek
9607f5515a Bug 977275 - Add a horrible install-to-subdir hack in test manifests to support a goofy set of tests. r=gps
--HG--
rename : python/mozbuild/mozbuild/test/frontend/data/test-manifest-empty/moz.build => python/mozbuild/mozbuild/test/frontend/data/test-manifest-install-subdir/moz.build
rename : python/mozbuild/mozbuild/test/frontend/data/test-manifest-empty/empty.ini => python/mozbuild/mozbuild/test/frontend/data/test-manifest-install-subdir/subdir.ini
2014-03-05 15:51:39 -05:00
Benoit Girard
d5977011d6 Bug 973770 - Build backend that generates C/C++ Eclipse projects. r=gps 2014-03-06 00:03:10 -05:00
Gregory Szorc
800b9acdc1 Bug 979640 - Make build system error on missing test files; r=ted
Previously, the build system may silently missing test files defined in
manifests. This patch makes missing test files a fatal error, detected
when reading test manifests.

The test_bug872273.html XBL test appeared to be orphaned in
content/xbl/test. It has been reunited with its family.

dom/tests/mochitest/notification referenced a single test file which was
recently deleted. That manifest has been removed.

Missing test files related to the Python unit tests for the build system
have been added. (They are a bunch of empty files.)

--HG--
extra : amend_source : cb6b9bf91e57569c8be312d3c16fef69b2b0b950
2014-03-04 17:48:50 -08:00
Ryan VanderMeulen
2dc1e91c77 Backed out changeset 593206fbd97e (bug 979640) for mochitest-other failures.
CLOSED TREE
2014-03-05 13:52:02 -05:00
Gregory Szorc
73017e8d17 Bug 979640 - Make build system error on missing test files; r=ted
Previously, the build system may silently missing test files defined in
manifests. This patch makes missing test files a fatal error, detected
when reading test manifests.

The test_bug872273.html XBL test appeared to be orphaned in
content/xbl/test. It has been reunited with its family.

dom/tests/mochitest/notification referenced a single test file which was
recently deleted. That manifest has been removed.

Missing test files related to the Python unit tests for the build system
have been added. (They are a bunch of empty files.)

--HG--
extra : rebase_source : 8c64986169064401951585c07deadada8c905550
2014-03-04 17:48:50 -08:00
Ehsan Akhgari
258b9a4469 Bug 979681 - Correctly handle SOURCES.flags for sources with relative paths in them; r=glandium 2014-03-04 21:36:16 -05:00
Ehsan Akhgari
444a26ed8e Bug 976896 - Port STL_FLAGS to moz.build; r=mshal 2014-03-04 19:39:06 -05:00
Ehsan Akhgari
394d5f9fd5 Bug 976886 - Port RCINCLUDE to moz.build; r=mshal
--HG--
extra : rebase_source : e8a75bc01c3f57516a1a1307de3d170ea07ca1ac
2014-03-04 17:19:24 -05:00
Andrew Halberstadt
e8f358f713 No Bug - Fix python typo in mozboot, r=trivial, DONTBUILD, a=NPOTB 2014-03-04 13:04:12 -05:00
Ehsan Akhgari
e35d712ecf Bug 978594 - Part 2: Add support for expressing per-source build flags to moz.build; r=glandium
--HG--
extra : rebase_source : 254d8acf1a6a53845a2e2d6d895217515ea7b836
2014-03-04 11:30:01 -05:00
Ms2ger
31dbd4a133 Bug 973649 - Add logic for CFLAGS, CXXFLAGS and LDFLAGS to moz.build; r=gps
--HG--
extra : amend_source : d44541fd844c1b3f5fb4077add7aa0589ae61942
2014-02-26 12:49:00 -08:00
Wes Kocher
774b85e488 Merge m-c to fx-team 2014-02-25 20:38:33 -08:00
Nick Alexander
c10b58c3e8 Bug 975504 - Add filtered_resources to AndroidEclipseProjectData. r=bnicholson 2014-02-25 15:59:31 -08:00
Carsten "Tomcat" Book
ba5a0fa512 Merge mozilla-central to fx-team on a CLOSED TREE 2014-02-25 15:42:32 +01:00
Mike Hommey
fac00a932d Bug 973144 - Support DEFINES['FOO']=False in moz.build for -UFOO. r=gps 2014-02-25 15:41:57 +09:00
Wes Kocher
fd004666a8 Merge m-c to fx-team 2014-02-24 18:29:49 -08:00
Nick Alexander
e75929604d Bug 975622 - Follow-up: Fix test. r=bustage 2014-02-24 18:23:02 -08:00
Nick Alexander
3a7efa3b67 Bug 976353 - Part 2: Make AndroidEclipse backend install clean up defaults. r=rnewman
This installs:

* Remove unused imports
* Add missing '@Override' annotations
* Add missing '@Override' annotations to implementations of interface methods
* Add missing '@Deprecated' annotations
* Remove unnecessary casts
* Remove unnecessary '$NON-NLS$' tags
* Organize imports
* Remove trailing white spaces on all lines

The installation is "per project", when it could in theory be shared,
because it's quite difficult to actually arrange the sharing.  We'd need
to write into an Eclipse workspace (which we don't currently even know).
2014-02-24 18:14:05 -08:00
Nick Alexander
cf3f9db9fe Bug 976353 - Part 1: Make AndroidEclipse backend install formatting defaults. r=rnewman
The most important part here is 4 spaces, no tabs.  We can iterate on
other things over time.

The installation is "per project", when it could in theory be shared,
because it's quite difficult to actually arrange the sharing.  We'd need
to write into an Eclipse workspace (which we don't currently even know).
2014-02-24 18:14:05 -08:00
Nick Alexander
e13d18de53 Bug 975152 - Part 0: Allow res=None in AndroidEclipseProjectData. r=bnicholson 2014-02-24 18:14:04 -08:00
Nick Alexander
9f9db33bf9 Bug 975622 - Part 2: Add post builder. r=bnicholson 2014-02-24 18:14:04 -08:00
Nick Alexander
95f3d08c3b Bug 975622 - Part 1: Rename existing builder and target to pre. r=bnicholson
--HG--
rename : python/mozbuild/mozbuild/backend/templates/android_eclipse/.externalToolBuilders/Builder.launch => python/mozbuild/mozbuild/backend/templates/android_eclipse/.externalToolBuilders/PreBuilder.launch
rename : python/mozbuild/mozbuild/backend/templates/android_eclipse/build.xml => python/mozbuild/mozbuild/backend/templates/android_eclipse/pre_build.xml
2014-02-24 18:14:03 -08:00
Martin Thomson [:mt]
29c46f5e3c Bug 972168 - Add root relative destination paths to mochitest support files. r=ted 2014-02-13 10:15:11 -08:00
Ryan VanderMeulen
0a359611a1 Merge m-c to inbound. 2014-02-25 15:28:35 -05:00
Ralph Giles
9bb768bc16 Bug 964559 - Run ogg mochitests unconditionally. r=doublec
Now that support is always enabled, we can remove the conditionals
on the ogg-dependent tests.

The canplay test previously run only if ogg was disabled is updated
to verify that the runtime pref works when set to a non-default
'false' value.
2014-02-21 13:55:00 -08:00
Ralph Giles
a4ec495736 Bug 964559 - Remove MOZ_OGG. r=doublec,ted
We are unable to maintain all the --disable-foo build-time options
for the media code. Just support ogg unconditionally.
2014-02-20 18:01:00 -08:00
Ed Morley
04a507a503 Backed out changeset 2912b402523d (bug 968245) for multiple test failures; CLOSED TREE 2014-02-25 17:05:52 +00:00
Gregory Szorc
b2f7410078 Bug 968245 - Regenerate mozinfo.json as part of build backend; r=glandium
Previously, mozinfo.json was only generated as configure time.
Unfortunately, the build dependencies did not capture this relationship.
So, changes to mozinfo.py (or any supporting Python file) would not
trigger mozinfo regeneration, possibly leading to clobbers.

This patch moves mozinfo.json generation from the body of config.status
to the build backend. We had to add an AC_SUBST so the build config
knows when to build mozinfo.json. This was needed because js/src's build
system doesn't define all the required variables to create mozinfo.json.
Once js/src's configure/config.status is merged into the main build
config tree, this workaround can be removed.

While we were here, mozinfo.json was made to have consistent output and
its changes are now viewable with config.status --diff.

--HG--
extra : rebase_source : e91ed7173efdcde5831ae13b1ce69fc3cf32af97
extra : amend_source : 1610bcc6c3af764fdf685ee76188fb211bd828de
2014-02-05 20:53:47 -08:00
Ehsan Akhgari
5d2d8c62a4 Bug 975740 - Port WIN32_EXE_LDFLAGS to moz.build; r=mshal 2014-02-24 08:30:25 -05:00
Nick Alexander
2b482608bf Bug 974268 - Fix bad comment syntax in AndroidEclipse template. r=me 2014-02-18 22:28:01 -08:00
Gregory Szorc
7cd638ab2e Bug 687388 - Disable test_visualstudio.py due to failures in automation; r=me
It looks like builders are inconsistently configured. Some have objdirs
on different drives from source dirs. This is confusing the test because
of a relpath issue.
2014-02-18 12:48:23 -08:00
Ehsan Akhgari
de14b90516 Bug 973649 - Add logic for CFLAGS, CXXFLAGS and LDFLAGS to moz.build; r=mshal 2014-02-18 15:30:27 -05:00
Gregory Szorc
3fc4c60a65 Bug 687388 - Visual Studio project generation; r=mshal
A new moz.build-based build backend for Visual Studio project generation
has been added. The build backend can be used by specifying
'VisualStudio' to the backend option of config.status or mach
build-backend. e.g. `mach build-backend -b VisualStudio`.

Usage docs have been added to build/docs/visualstudio.rst.

--HG--
extra : rebase_source : dfb5c43a22434600c5bb4870ec5be2f39b4820e9
extra : amend_source : f1000754400f280778a669b8c34d90c5ef95d966
2014-02-14 16:31:14 -08:00
Nick Alexander
4109da3c38 Bug 973807 - Fixes to AndroidEclipse build backend. r=me
Largest changes: run mach less frequently and add build logging.
2014-02-18 00:08:41 -08:00
Ehsan Akhgari
22eada1dd3 Bug 973142 - Get rid of the MOZILLA_INTERNAL_API makefile variable; r=glandium
It's just as easy to directly set the preprocessor macro in the moz.build
files.  Using this variable doesn't really buy us anything.

This patch also removes unused code from rdf/tests/dsds.
2014-02-18 01:56:51 -05:00
Cameron McCormack
0708405f89 Fix error in lldb string serialiation; no bug. (DONTBUILD, NPOTB) 2014-02-17 15:22:59 +11:00
Gregory Szorc
014c9ad159 Bug 939080 - Allow support-files in manifests to exist in parent paths; r=ted
--HG--
extra : rebase_source : 0e5f6ecb13b38453e5590cc28503ddab8df5144d
2013-11-18 11:55:33 -08:00
Nick Alexander
30e2c9b855 Bug 853045 - Second follow-up: Fix bustage caused by .hgignore. r=me 2014-02-13 22:58:48 -08:00
Nick Alexander
895f55dda3 Bug 853045 - Follow-up: Address review comment and avoid bustage. r=me 2014-02-13 22:25:26 -08:00
Nick Alexander
6099cc4fff Bug 853045 - Part 6: Allow running AndroidEclipse backend in |mach build-backend|. r=gps
This adds and uses a --backend parameter to config_status.py.
2014-02-13 22:19:50 -08:00