Mark Hammond
b92ee119d7
Bug 1074507 - Avoid pre-filtering tests so we can have e10s-only tests. r=ted
2014-10-01 17:06:00 -04:00
Wes Kocher
aec31f5f75
Merge m-c to inbound a=merge CLOSED TREE
2014-10-06 20:59:17 -07:00
Wes Kocher
445e1466e9
Backed out 5 changesets (bug 806819) for WinXP test failures on a CLOSED TREE
...
Backed out changeset 009ae35b0c67 (bug 806819)
Backed out changeset 5a57f87f5061 (bug 806819)
Backed out changeset f06cd735b5b3 (bug 806819)
Backed out changeset e25a2a8d4af4 (bug 806819)
Backed out changeset 70a167982c3f (bug 806819)
2014-10-06 16:32:50 -07:00
Mike Hommey
417a2977b3
Bug 1076649 - Remove the '+' prefixing from mach commands with allow_all_arguments=True. r=gps
...
The reason to use '+' prefixing was to distinguish between options to the
mach command itself, and options that are passed down to whatever the
command does (like mach run passing down args to the built application).
That makes things unnecessarily awkward, and quite non-standard.
Instead, use standard '-' prefixing, and pass all the unknown arguments
down. If there is overlap between the known arguments and arguments supported
by the underlying tool (like -remote when using mach run), it is possible to
use '--' to mark all following arguments as being targetted at the underlying
tool.
For instance:
mach run -- -remote something
would run
firefox -remote something
while
mach run -remote something
would run
firefox something
As allow_all_arguments is redundant with the presence of a argparse.REMAINDER
CommandArgument, allow_all_arguments is removed. The only mach command with a
argparse.REMAINDER CommandArgument without allow_all_arguments was "mach dmd",
and it did so because it didn't want to use '+' prefixes.
2014-10-07 07:36:27 +09:00
Nick Alexander
6e7b635c34
Bug 1077381 - Follow-up: Try to fix Windows bustage. r=me
...
a=bustage on a CLOSED TREE
--HG--
extra : amend_source : c39a128f271f44e263d77f342665594ba161f933
2014-10-06 12:38:12 -07:00
Nick Alexander
51787ba60b
Bug 1077381 - Encode generate_browsersearch verbose output as utf-8. r=gps
...
We need codecs for the print function and unicode_literals to let the
format() string stay undecorated.
2014-10-06 11:32:24 -07:00
Eric Rahm
d67e53ba15
Bug 806819 - Part 1: Remove FORCE_PR_LOG unified build restriction. r=gps
...
--HG--
extra : rebase_source : 004c828c1fd157fc0f13fd6a2ca85c264a34d60c
2014-10-06 13:06:55 -07:00
Nicholas Nethercote
3ae34e7b6b
Bug 1066680 (follow-up) - Unbreak |mach dmd|. r=me.
...
--HG--
extra : rebase_source : 3cfb38ea47653551c596487e3c51994797a1c733
2014-10-05 20:13:09 -07:00
Nicholas Nethercote
09a193e478
Bug 1044709 - DMD: emit JSON output and use Python for post-processing. r=mccr8.
...
--HG--
extra : rebase_source : ddc94d9be1ee0acc6dda30540defd5f40db0adcb
2014-09-02 20:34:58 -07:00
Wes Kocher
a689009ad0
Merge m-c to inbound a=merge
2014-10-23 18:09:47 -07:00
Nicholas Nethercote
f999a06e8c
Bug 1076446 - Make the DMD test work on Windows. r=glandium.
...
--HG--
extra : rebase_source : 7cc8d3b18b0539ff170a98fa1c5706ff46e20d32
2014-10-09 19:28:33 -07:00
Ryan VanderMeulen
4c98b09137
Merge fx-team to m-c. a=merge
2014-10-02 13:00:31 -04:00
Andrew Halberstadt
16bcafb690
Bug 1054809 - Add ability to open support files in gtests, r=ted
...
In moz.build:
TEST_HARNESS_FILES.gtest += ['foo'] # fopen('foo')
TEST_HARNESS_FILES.gtest.bar += ['foo'] # fopen('bar/foo')
2014-10-02 09:01:34 -04:00
Nick Alexander
860617fb40
Bug 1065306 - Post: Handle utf-8 files in DotProperties. r=gps
2014-10-01 23:23:30 -07:00
Nick Alexander
81cf36b2a2
Bug 1065306 - Part 4: Write localized res/raw-*/browsersearch.json. r=mshal
2014-10-01 23:23:29 -07:00
Nick Alexander
6159267b05
Bug 1065306 - Part 3: Extract DotProperties helper. r=lucasr,mshal
...
The only substantive change here is to stop stripping the
'browser.suggestedsites.' prefix from each line when reading
region.properties.
2014-10-01 23:23:28 -07:00
Panos Astithas
29480355a3
Bug 1066680 - mach run should provide an option to start without a profile. r=gps
2014-09-12 18:45:53 +03:00
Stephen Pohl
579061de7c
Mac v2 signing - Bug 1060562 - Update xpcshell-tests for the new v2 bundle structure on OSX. r=jmaher
2014-09-29 11:51:29 -07:00
Nick Alexander
0a9a9e30db
Bug 1069648 - Add instrumentation manifests to moz.build. r=ted
...
These manifests are special in that they don't package their test files
into the test package. Each test listed in an instrumentation manifest
serves as an identifier rather than a file.
--HG--
extra : rebase_source : 0321528a2dc380e57b824746efbcf61d295204a9
2014-09-26 11:44:58 -07:00
Nick Alexander
3b76ec3191
Bug 1070057 - Make TestResolver.resolve_tests filter by subsuite. r=ted
...
--HG--
extra : rebase_source : e04c903d40d5996ca28136bc9941dc74cd31ac9b
2014-09-26 11:44:57 -07:00
Mike Hommey
6b31e6bf50
Bug 1063437 - Remove MozbuildSandbox.normalize_path. r=gps
2014-10-02 09:14:08 +09:00
Mike Hommey
6ba5b139b2
Bug 1063437 - Use SourcePath smart type for sandbox includes. r=gps
2014-10-02 09:14:08 +09:00
Mike Hommey
7f48daf1bf
Bug 1063432 - Do type coercion on sandbox function arguments. r=gps
2014-10-02 09:14:08 +09:00
Mike Hommey
03d37a29c7
Bug 1063414 - Make DIRS relative to the file they were added from. r=gps
2014-10-02 09:14:07 +09:00
Mike Hommey
b8d9ec3440
Bug 1063414 - Move sandbox execution stack to context.Context. r=gps
2014-10-02 09:14:07 +09:00
Mike Hommey
be7f345453
Bug 1063414 - Add infrastructure to follow what the current file being processed is in a Context. r=gps
2014-10-02 09:14:07 +09:00
Mike Hommey
c0676d9dc8
Bug 1062221 - Change how DIRS and TEST_DIRS are handled. r=gps
...
Up to now, DIRS and TEST_DIRS were dumb values. This change makes them
a list of ContextDerivedValues, and handles the fact that some types of
paths are relative to the current source directory and others to the
topsrcdir.
This also makes us one step closer to fixing bug 991983.
2014-10-02 09:14:07 +09:00
Mike Hommey
26049ee2f7
Bug 1062221 - Replace add_tier_dir with DIRS. r=gps
2014-10-02 09:14:07 +09:00
Mike Hommey
61655fba8e
Bug 1062221 - Add a TypedList type and refactor mozbuild.util lists. r=gps
2014-10-02 09:14:06 +09:00
Nicholas Nethercote
182c548c0d
Bug 1072778 (part 2) - Use '-' instead of '_' in |mach dmd| flags. r=erahm.
...
DONTBUILD because |mach dmd| is NPOTB.
2014-09-25 17:20:12 -07:00
Nicholas Nethercote
38993d3626
Bug 1072778 (part 1) - Make |mach dmd| work on Linux. r=erahm.
...
--HG--
extra : rebase_source : 72b0f570dfacc694fc00fd2ec571c57747c8fe38
2014-09-25 17:19:53 -07:00
Mike Hommey
60fa6172b1
Bug 837846 - Respect MOZ_MAKE_FLAGS when running make commands from mach. r=mshal
2014-09-26 07:35:28 +09:00
Ryan VanderMeulen
240ed29614
Merge m-c to inbound. a=merge
...
CLOSED TREE
2014-09-24 16:08:33 -04:00
Carsten "Tomcat" Book
f1ac6bd43a
Backed out changeset aa8972afcbe5 (bug 1065306)
2014-09-24 08:30:34 +02:00
Carsten "Tomcat" Book
3ab41b3a46
Backed out changeset c4ecd64d8b95 (bug 1065306)
2014-09-24 08:30:30 +02:00
Nick Alexander
45d8ab044c
Bug 1065306 - Part 4: Write localized res/raw-*/browsersearch.json. r=mshal
2014-09-23 09:52:47 -07:00
Nick Alexander
eda5f56f76
Bug 1065306 - Part 3: Extract DotProperties helper. r=lucasr,mshal
...
The only substantive change here is to stop stripping the
'browser.suggestedsites.' prefix from each line when reading
region.properties.
2014-09-23 09:52:46 -07:00
Wes Kocher
bc0c8885af
Merge m-c to inbound a=merge
2014-09-23 16:48:23 -07:00
Mike Hommey
4867739033
Bug 837846 - Fix MOZ_MAKE_FLAGS handling for client.mk. r=mshal
...
After bug 762358 mk_add_options MOZ_MAKE_FLAGS was simply ignored in client.mk
processing. At the same time, mach environment was expecting a list of options
while the mozconfig reader returned a single string, so straighten this up at
the same time.
2014-09-24 07:56:58 +09:00
Wes Kocher
98ff539669
Merge m-c to inbound a=merge
2014-09-22 20:05:22 -07:00
Dave Townsend
f485086973
Bug 1035512: Add a new common JS testing harness based on the mochitest test runner. r=gps, ted, erikvold, jmaher
2014-09-22 11:08:06 -07:00
Eric Rahm
98191440fc
Bug 1058851 - Add ability to launch with DMD enabled with |mach dmd|. r=njn, r=mshal
...
--HG--
extra : rebase_source : cef900604d004ea4847d979aeac4c2b5e7e0869d
2014-08-26 15:25:18 -07:00
Nick Alexander
b181072c2d
Bug 1069569 - Complain about missing test files for all suites. r=mshal
...
--HG--
extra : rebase_source : 55d571b413d6080f8fdb1e56b419c078d66f31e7
2014-09-19 11:19:37 -07:00
Ted Mielczarek
3f93d58a2e
bug 1052744 - Add mozbuild.makeutil.write_dep_makefile. r=gps
2014-08-26 11:55:47 -04:00
Nathan Froyd
4db6e0c4ea
Bug 1062518 - ensure that |mach python-test| considers $PWD when finding tests; r=mshal
2014-09-15 13:25:41 -04:00
Nathan Froyd
0436d2dcf8
Bug 1067499 - make build error for misspelled variables more helpful; r=mshal
2014-09-15 13:23:53 -04:00
Nathan Froyd
7e387ddeee
Bug 976733 - part 3 - convert testing/mozbase/ to use TEST_HARNESS_FILES; r=gps
2014-08-29 11:03:11 -04:00
Nathan Froyd
908de2c6f1
Bug 976733 - part 2 - add TEST_HARNESS_FILES and convert testing/mochitest/ to use it; r=gps
2014-08-15 14:28:26 -04:00
Nathan Froyd
a6be251103
Bug 976733 - part 1a - add test for EXTRA_JS{_PP,}_MODULES output; r=mshal
2014-09-15 13:31:25 -04:00
Nathan Froyd
8b28cc4f3b
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
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
Mike Hommey
d78e98cd89
Bug 1041839 - Write all-tests.json faster. r=gps
2014-07-23 13:32:03 +09:00
Mike Hommey
1f566b2657
Bug 1041820 - Replace DefaultOnReadDict with defaultdict. r=gps
2014-07-23 13:31:43 +09:00
Mike Hommey
6d6d400ea1
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
b1fdb17493
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
8da7425be2
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
1cdb52016c
Bug 1036894
part 3 - Emit objects for programs after emitting libraries. r=gps
2014-07-23 13:29:24 +09:00
Mike Hommey
24e2b81343
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
a33d7d67e6
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
38bcacf403
Bug 1041960 - Remove subtiers from make backend. r=gps
2014-07-23 13:28:54 +09:00
Jonathan Griffin
1c5d8636ac
Backed out changeset 64586374a208 on a CLOSED TREE
2014-07-22 18:29:57 -07:00
Alexandre Poirot
98afd25e0d
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
38f79ff899
Backout 4f6d9db92389 for bustage on a CLOSED TREE
2014-07-22 17:55:50 -07:00
Alexandre Poirot
37506aa45c
Bug 1027242 - Blacklist mulet's failing tests + expose 'mulet' to ini files. r=ahal
2014-07-02 15:40:56 -07:00
Mike Shal
fb00ea6d69
Bug 978211 - run make from mach without a shell; r=gps
2014-07-18 10:14:29 -04:00
Mike Shal
74972b4fdc
Bug 914563 - re-enable build resource recording on Windows; r=gps
2014-07-15 13:59:10 -04:00
Mike Shal
780a1c601a
Bug 978211 - OSX automation configs; r=glandium
2014-07-03 22:05:45 -04:00
Mike Shal
9bb3b5a886
Bug 1036093 - ignore mach exceptions when printing binary paths; r=gps
2014-07-11 10:55:40 -04:00
Mike Hommey
70a5917917
Bug 1036864 - Remove EXPORT_LIBRARY. r=mshal
2014-07-11 19:06:55 +09:00
Mike Hommey
c52d31562a
Bug 1035543 - Remove the MOZ_PSEUDO_DERECURSE variable. r=gps
2014-07-10 14:11:52 +09:00
Mike Hommey
553122ad41
Bug 936384 - Display nicer errors when failing to validate moz.build sandboxes. r=gps
2014-07-10 14:11:40 +09:00
Mukilan Thiyagarajan
3dca759f3f
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
a98c31f1a8
merge fx-team to mozilla-central a=merge
2014-07-08 15:10:56 +02:00
Gregory Szorc
efebe3f90c
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
072d7e9cad
merge fx-team to mozilla-central a=merge
2014-07-03 13:54:51 +02:00
Wes Kocher
46f0e233a5
Merge m-c to fx-team
2014-07-02 19:10:42 -07:00
Gregory Szorc
c5c6819b0f
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
dc7f9d39e1
Bug 762358 - Fixup the fixup not to break on windows. r=me
2014-07-03 09:38:47 +09:00
Mike Hommey
deb90eaf97
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
bc0709dc9e
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
1aa2402b87
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
4474b717c2
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
ffb39250a5
Bug 1031129 - Fix ObjdirMismatchException logic to throw properly on m-c. r=gps
2014-07-03 07:15:30 +09:00
Nathan Froyd
fa34d90ff6
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
9241a8d8d6
Merge m-c to fx-team a=merge
2014-06-25 18:44:50 -07:00
Wes Kocher
6c68d3cdfb
Merge inbound to m-c a=merge
2014-06-25 18:18:43 -07:00
Nathan Froyd
ce9d50225d
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
c45c7baa9c
Bug 1027890 - Reject builds with pymake. r=gps
...
--HG--
extra : rebase_source : a662b896b5f431a37a1250ec19451324ebed3d14
2014-06-25 08:38:12 +09:00
Jason Orendorff
191268a9b5
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
1a64a17006
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
d9163b2931
Merge mozilla-central to mozilla-inbound
2014-06-25 15:42:28 +02:00
Markus Stange
8ea75a0b24
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
b683b68251
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
195a1f903a
Bug 1027890 - Remove all sorts of build system code dedicated to pymake. r=gps
2014-06-25 08:38:28 +09:00
Mike Hommey
d2e942160c
Bug 1027890 - Reject builds with pymake. r=gps
2014-06-25 08:38:12 +09:00
Gregory Szorc
347044e672
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
9a352e0bca
Bug 1029232 - Follow-up: Fix busted test. r=bustage
2014-06-24 20:05:01 -07:00
Nick Alexander
0694243999
Bug 1029232 - Part 3: Call Eclipse builder plugin before Android build steps. r=bnicholson
2014-06-24 19:14:35 -07:00
Mark Banner
24d3b9ebd9
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
052bf9fc7b
Bug 1035099 - Remove the comm-central workarounds from MozbuildObject.from_environment. r=gps
2014-07-08 13:47:26 +09:00
Mike Hommey
356353b6d2
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