Cameron McCormack
196b90ae33
Bug 970106 - Add lldb type summary for nscolor. r=ehsan (NPOTB, DONTBUILD)
2014-02-10 09:19:05 +11:00
Cameron McCormack
713498fee7
Bug 969941 - Small documentation followup. (NPOTB, DONTBUILD)
2014-02-10 08:50:48 +11:00
Cameron McCormack
1cd9c36b5e
Bug 969941 - Add lldb type summaries for nsFixed(C)String and nsAuto(C)String. r=ehsan (NPOTB, DONTBUILD)
2014-02-10 07:47:25 +11:00
Ted Mielczarek
ea1a307391
Bug 968351 - Allow test manifests with just support-files. r=gps
2014-02-06 13:22:35 -05:00
Mike Hommey
459d8c3649
bug 903620 - Make ExecutableFile support being put directly into a jar. r=gps
2014-02-06 13:22:35 -05:00
Ryan VanderMeulen
9bf72037e1
Merge m-c to inbound on a CLOSED TREE.
2014-02-06 16:29:41 -05:00
Maciek
69be259a29
Bug 950107 - Support ALL_PROXY in bootstraper; r=gps
...
DONTBUILD (NPOTB)
--HG--
extra : amend_source : cd0913f142f9dfcba18aa5e6925d7a4e6280d975
2014-02-05 13:10:00 -08:00
Ehsan Akhgari
e414c09a71
Bug 944800 - Move the information about delay loaded DLLs into moz.build; r=gps
2014-02-06 14:17:44 -05:00
Cameron McCormack
f040e3de01
Bug 960899 - Add debug function and lldb command to print frame state symbolically. r=dbaron
2014-01-18 18:08:22 +11:00
Nathan Froyd
9e9623da2d
Bug 936555 - make mozinfo use MozconfigLoader to locate the mozconfig; r=gps
2014-01-27 11:35:59 -05:00
Mike Hommey
7baddab553
Bug 967099 - Hide auto clobber TinderboxPrint during tests. r=gps
2014-02-05 13:02:48 +09:00
Phil Ringnalda
d06dd52262
Back out 191a71ff02bf (bug 960899)
...
CLOSED TREE
2014-02-04 21:37:12 -08:00
Cameron McCormack
7885e2c485
Bug 960899 - Add debug function and lldb command to print frame state symbolically. r=dbaron
...
--HG--
extra : rebase_source : 6c83922c24727d03830de31b3407fa0e6a0e350e
2014-01-18 18:08:22 +11:00
Ehsan Akhgari
425f40d833
Backed out changeset b54e8c328c32 (bug 944800) because of test failures on a CLOSED TREE
2014-02-04 17:03:17 -05:00
Ehsan Akhgari
bfb72aef43
Bug 944800 - Move the information about delay loaded DLLs into moz.build; r=gps
...
--HG--
extra : rebase_source : 3eca29dae04c42fa8e7d113318b8a169a0cf22e4
2014-02-04 13:57:34 -05:00
Andrew Halberstadt
3b489846fc
Bug 964744 - Refactor mozboot packages into the constructor, r=gps
2014-01-28 18:27:43 -05:00
Ryan VanderMeulen
3f1683a457
Backed out changeset f9d83ec11ca9 (bug 936555) for checktest failures.
...
CLOSED TREE
2014-01-27 16:24:52 -05:00
Nathan Froyd
3a2b40d1f8
Bug 936555 - make mozinfo use MozconfigLoader to locate the mozconfig; r=gps
2014-01-27 11:35:59 -05:00
Gregory Szorc
55dbf3e3b5
Bug 920849 - Part 2: Discover xpcshell tests through metadata, not filesystem; r=ted
...
--HG--
extra : rebase_source : bbe52abe704072c11a3313d356ceedb2d0d31b6b
2013-10-22 16:54:40 -07:00
Mike Hommey
bc6df46b5a
Bug 944650 - Allow mach to use a pristine GNU make if present and supported. r=gps
2014-01-20 09:09:56 +09:00
Cameron McCormack
5e41a164a1
Backout 3635e6adde70, 8600c8ad593f and 1f72556326be (bug 960848 and bug 960899) for lots of red.
2014-01-18 19:03:30 +11:00
Cameron McCormack
dada6408b8
Bug 960899 - Add debug function and lldb command to print frame state symbolically. r=dbaron
2014-01-18 18:08:22 +11:00
Brian O'Keefe
d3b4ea8269
Bug 935987 - Part 3: Add preprocessed file support to install manifests; r=gps
...
--HG--
extra : rebase_source : a6897be53064bd171bd9280735c513c6ff539a4f
2013-12-14 09:46:48 -05:00
Brian O'Keefe
5a35523e65
Bug 935987 - Part 2: Add preprocessed files to mozpack.files; r=gps
...
--HG--
extra : rebase_source : fe32f92b22aecc82ea1b6d95a5ee43e274a9f8be
2013-11-06 14:46:05 -05:00
John Ford
495e6001f8
Bug 939234 - mach bootstrap does not include gcc-g++ on fedora; r=gps
...
DONTBUILD (NPOTB)
--HG--
extra : amend_source : c235931bc179daa6547219f4af12a06064469087
2013-11-20 14:23:00 -08:00
Cameron McCormack
74d6ad5986
Add documentation about the lldb commands and type summaries available; no bug. (DONTBUILD) rs=ehsan
2014-01-16 17:51:55 +11:00
Cameron McCormack
3e1467b043
Fix ftl lldb alias; no bug. (DONTBUILD)
2014-01-16 17:51:55 +11:00
Cameron McCormack
3117fe0af9
Bug 959922 - Add lldb command to print an object refcount. (DONTBUILD) r=ehsan
2014-01-16 17:51:54 +11:00
Cameron McCormack
bdb220673c
Bug 959921 - Add lldb command to print an Element's tag name. (DONTBUILD) r=ehsan
2014-01-16 17:51:54 +11:00
Cameron McCormack
c1c73f3b83
Bug 959480 - Add lldb synthetic children for nsTArray and friends. r=ehsan
2014-01-15 11:30:10 +11:00
Cameron McCormack
bc86bc0104
Bug 959452 - Add lldb summaries for nsACString and nsAString. r=ehsan
2014-01-15 11:29:36 +11:00
Cameron McCormack
375841869f
Bug 959445 - Add lldb summaries for nsIAtoms, nsTextNodes and nsTextFragments showing their text content. r=ehsan
2014-01-15 11:29:36 +11:00
Cameron McCormack
da173575ba
Bug 959016 - Add lldb Python command handlers for debugging Gecko, starting with frametree and frametreelimited. (DONTBUILD) r=ehsan
2014-01-14 09:24:22 +11:00
Mike Hommey
64fdc4d9ca
Bug 950298 - Make the js build system use top-level as its root objdir. r=gps
2014-01-14 07:38:40 +09:00
Mike Hommey
d3e9a38897
Bug 958437 - Build static directories as part of compile instead of libs and tools; r=gps
...
--HG--
extra : rebase_source : dc082b833582972af27adab1e553e4b079fac458
2014-01-10 18:09:14 +09:00
Gregory Szorc
f816768e8e
Bug 909522 - Run mach's unit tests as part of make check; r=mshal
...
test_entry_point.py is not enabled because the test fails. This is
tracked by bug 958196.
--HG--
extra : rebase_source : 1f326a9bbd7ee0e8e12ff33f49d8484cc244c42d
2014-01-09 11:20:41 -08:00
Gregory Szorc
40547d4804
Bug 957856 - Synchronize mach with upstream repository; r=ahal
...
The test changes and setup.py are NPOTB. base.py and main.py
added a new feature to declare global arguments.
--HG--
extra : rebase_source : 4b14487d9aff98247464e0b0c08b4fc5cfbd862a
2014-01-08 16:14:39 -08:00
Gregory Szorc
ea7d66f8a8
NO BUG - Synchronize mach documentation with upstream repo
...
DONTBUILD (NPOTB)
--HG--
extra : rebase_source : 07831414dcc182b57a6d7844f8eb2e136f1b636d
extra : amend_source : b8bc9cd1146f82d3e36bbd2846442d13989eefe4
2014-01-08 15:29:43 -08:00
Max Li
84582e867e
Bug 935196 - Bootstrap doesn't have MacPorts url for 10.9. r=gps
2014-01-07 20:48:31 -08:00
Gregory Szorc
ceb99e8d8f
Bug 952606 - Don't leave temporary files when executing test_preprocessor.py; r=mshal
...
--HG--
extra : rebase_source : e8084a91a297732f66e9a981f9b787c7b5300e2e
extra : amend_source : 5c9db101f05af8be37a0f6881e4313b03c9172d7
2013-12-20 15:59:37 -08:00
James Graham
a2e48d8056
Bug 951733 - Support passing an existing argparse.ArgumentParser to mach in order to populate the command arguments. r=gps
2014-01-03 11:32:53 +00:00
Benjamin Peterson
cf43b16951
Bug 953195 - Print filename in unused warning. r=gps
2014-01-02 16:34:40 -06:00
Ehsan Akhgari
0fd5ce95b9
Bug 955699 - Try lowering the path length tolerance some more
2014-01-02 13:44:44 -05:00
Ehsan Akhgari
3985ca527b
Bug 955699 - Try lowering the path length tolerance on Windows for comm-central builds
2014-01-02 12:54:35 -05:00
Brian O'Keefe
09bd68bda3
Bug 935987 - Part 1: Give the preprocessor a better API; r=gps
2013-11-11 08:50:42 -05:00
Ehsan Akhgari
b5ea7bf201
Bug 940708 - Part 4: Limit the length of the unified file name prefix to 50 characters so that we don't blow up the Windows path name limit; r=glandium
...
--HG--
extra : rebase_source : cc3e9238dcda8e0bb49e10407d4bafa4e5be4594
2013-12-18 21:55:19 -05:00
Ehsan Akhgari
0ef33a324a
Bug 940708 - Part 3: Handle asm sources for unified webrtc builds; r=gps
...
--HG--
extra : rebase_source : 517c6e73002b288d2d16bc4c516096ff1a0caf72
2013-12-18 21:52:21 -05:00
Mike Hommey
b926b6603c
Bug 940708 - Part 2: Build webrtc in unified mode; r=gps
...
--HG--
extra : rebase_source : b4a4fd21c65851e8e9377218ec19181f5f86e8b8
2013-12-18 15:40:03 +09:00
Gregory Szorc
a7ccc914d7
Bug 952280 - mach python commands now use virtualenv APIs; r=mshal
...
The Python-related mach commands were written before we had a virtualenv
API exposed to the mach command context. This patch updates those
commands to use the newer APIs. As a bonus, these commands now work
without running configure!
--HG--
extra : rebase_source : ea394d6fc0c5fa2d3a3a6ed25fc59ce6be40690c
extra : amend_source : e841d57a2578c93b778ef73c68c35a8cc7cfde44
2013-12-19 13:48:37 -08:00
Gregory Szorc
8f615a095a
Bug 951352 - Disallow XPIDL_MODULE if XPIDL_SOURCES isn't defined; r=glandium
...
Once upon a time XPIDL_MODULE and MODULE were kind of the same and
MODULE got mass-converted into XPIDL_MODULE with the removal of MODULE
in bug 939044. Unfortunately, we forgot to add a check for XPIDL_MODULE
being defined if XPIDL_SOURCES isn't (a build config that makes no sense
and only results in cargo culting).
This patch corrects that oversight.
--HG--
extra : rebase_source : d609e2baa8d16df97c944bc9def26ad05527d937
2013-12-17 12:45:56 -08:00
Ehsan Akhgari
97f008c4da
Backed out 4 changesets (bug 940708) for ASAN bustage
...
Backed out changeset 8b081bf3d16c (bug 940708)
Backed out changeset 8d1da29cee34 (bug 940708)
Backed out changeset aedcac877ab0 (bug 940708)
Backed out changeset d4aec392a165 (bug 940708)
--HG--
extra : rebase_source : dec5c491a2233dfe7fe2153559e01313d3583a33
2013-12-20 13:05:29 -05:00
Gregory Szorc
3bafa7a554
Bug 952395 - Update Homebrew bootstrap URL to reflect upstream changes
...
DONTBUILD (NPOTB)
2013-12-20 10:02:06 -08:00
Ehsan Akhgari
e610e390c4
Bug 940708 - Part 4: Limit the length of the unified file name prefix to 50 characters so that we don't blow up the Windows path name limit; r=glandium
...
--HG--
extra : rebase_source : 7f28ada75a26132af951893137127e0f1517995b
2013-12-18 21:55:19 -05:00
Ehsan Akhgari
611bb550be
Bug 940708 - Part 3: Handle asm sources for unified webrtc builds; r=gps
...
--HG--
extra : rebase_source : 75f72fa64c0cde4c63b3ef5c09964cdf99fb32a2
2013-12-18 21:52:21 -05:00
Mike Hommey
9c50b72a25
Bug 940708 - Part 2: Build webrtc in unified mode; r=gps
...
--HG--
extra : rebase_source : db1315634af0cab9cd47ff38ad0fac703c04f452
2013-12-18 15:40:03 +09:00
Ehsan Akhgari
e316aeecae
Bug 949704 - Turn off the useless warning about swapping after the build finishes until we have better reasons to display it; r=gps
...
--HG--
extra : rebase_source : e056be92cba60b970db1b6887a18bff018ef68a0
2013-12-19 15:59:10 -05:00
Mike Hommey
07f15964fb
Bug 944551 - Handle unicode in mozbuild.util.shell_quote. r=gps
2013-11-30 18:46:13 +09:00
Martin Thomson
a8b3ca6914
Bug 950957 - Use ${COMP_WORDS[0]} for completion in mach. r=gps
2013-12-19 11:42:19 -05:00
Mike Hommey
e53443d128
Bug 951010 - Move ConfigStatus.py under mozbuild. r=gps
...
--HG--
rename : build/ConfigStatus.py => python/mozbuild/mozbuild/config_status.py
2013-12-18 08:07:11 +09:00
Gregory Szorc
461b5aef7e
Bug 774572 - Part 2: Define JAR_MANIFESTS in moz.build files; r=glandium
...
Every directory with a jar.mn now has JAR_MANIFESTS defined in its
moz.build file.
We also removed the may_skip special consideration of jar.mn files
because this information is now available during tier traversal by the
reader courtesy of the variables being present in moz.build files.
--HG--
extra : rebase_source : 21049b15e6bd9cf65b0805ccaccc4ba5aae93c98
extra : amend_source : 0b1ea866d725beef92d37c6f6d475369ac002e19
2013-12-10 16:18:11 +09:00
Gregory Szorc
c78f536ccd
Bug 774572 - Part 1: Support for defining JAR manifests in moz.build; r=glandium
...
JAR_MANIFESTS can now be defined in moz.build files. However, due to
limitations in rules.mk, only 1 file may be defined at a time. In the
future, this restriction will be lifted. But first, better support for
JAR manifests in the build config must be built.
rules.mk will be updated in the subsequent conversion patch so this
patch applied alone doesn't break the build.
--HG--
extra : rebase_source : 2521d49a1731b659dd720769e4685715925be590
2013-12-13 00:47:02 +09:00
Mike Hommey
8eae36f743
Bug 950296 - Turn the map for variable passthrough into a list. r=gps
2013-12-17 11:14:17 +09:00
Mike Hommey
b97d838b01
Bug 950290 - Move python scripts from build/autoconf into a mozbuild submodule. r=gps
...
--HG--
rename : build/autoconf/check_debug_ranges.py => python/mozbuild/mozbuild/configure/check_debug_ranges.py
rename : build/autoconf/libstdcxx.py => python/mozbuild/mozbuild/configure/libstdcxx.py
2013-12-17 11:13:08 +09:00
Mike Hommey
f0864a5c06
Bug 950279 - Expose int() to moz.build sandbox, and use it in build/gyp.mozbuild. r=gps
2013-12-17 11:12:15 +09:00
Nick Alexander
e0226fc1b7
Bug 923950 - Fix Android single locale repacks. r=glandium
...
There are two parts to this. The first is to add AndroidManifest.xml
as a dependency to the "no dependencies" ap_ built during packaging.
The aapt call requires it. So "no dependencies" is more accurately
"no *resource* dependencies".
The second is to avoid including the Android res/ directory in the
language repack step. What happens is that the l10n.py script sees
the Android res/ files left in the dist/ directory after unpacking and
expects to find them in the objdir. They're not there, so the script
fails. To avoid this, we delete them after unpacking. See the
comments in packager.mk describing this process.
--HG--
extra : rebase_source : 35c3c125dddcd575c1a5e8ad58f9aa13ff2db4c3
2013-12-14 15:36:17 -08:00
Gregory Szorc
0504c2e35a
Bug 950370 - Capture WebIDL example interfaces in moz.build; r=glandium
...
Previously, the set of WebIDL example interfaces to build was hardcoded
in the mozwebidlcodegen Python package. Unfortunately, the example
interfaces in that set were dependent on test-only bindings files,
resulting in build failures when tests were disabled (because those
test-only bindings were defined in a test directory).
In this patch, we now declare example interfaces in moz.build files
so the set of example interfaces lives next to the set of defined
bindings files. The example interfaces are defined in a test moz.build
file - in the same file declaring the bindings files that contain the
interfaces - so the example interfaces only get picked up if the
corresponding bindings are defined.
We could probably switch WebIDL moz.build variables to use lists with
flags. That would be good followup fodder. For now, let's fix the build.
--HG--
extra : rebase_source : 00070a6d560625bc84ab9b10d6848ea037f8f5ed
extra : amend_source : 0890ecef444ba58533fcfaa333773d78deafd7f3
2013-12-15 11:43:47 -08:00
Mark Hammond
838f6ed38a
Bug 948258 - Move browser tests from dom/indexedDB/test/Makefile.in to browser.ini. r=ted
2013-12-16 15:07:44 +11:00
Geoff Brown
969a5d7bb8
Bug 945975 - Add mach support for Android xpcshell tests; r=ted
2013-12-13 21:20:39 -07:00
Mike Hommey
0f2cce4150
Bug 949334 - Use FINAL_LIBRARY for webrtc. r=gps
2013-12-14 11:38:53 +09:00
Gregory Szorc
bcd2f1cb1a
Bug 949304 - Print Makefile counts during config.status; r=glandium
...
We now capture and print the number of Makefile.in and the number of
generated Makefile as part of config.status. This should give us a nice,
easy to extract metric going forward.
Pushing on a CLOSED TREE because this patch didn't deserve to get backed
out.
--HG--
extra : amend_source : 36028b17fd09c57455aef681bbe459891f5ed607
2013-12-13 00:03:55 +09:00
Carsten "Tomcat" Book
2311a2fb55
Backed out changeset 273e7ed05fa3 (bug 949304) for Windows Bustage on a CLOSED TREE
2013-12-13 12:46:03 +01:00
Gregory Szorc
9f3d7f1a2e
Bug 949906 - Add a callback to modify evaluated moz.build sandboxes, fix Sphinx docs; r=glandium
...
--HG--
extra : rebase_source : 9ef2219145fb754a9cbe9e7e30b6f2841910f13f
2013-12-13 16:06:53 +09:00
Gregory Szorc
d6f4e54064
Bug 949304 - Print Makefile counts during config.status; r=glandium
...
We now capture and print the number of Makefile.in and the number of
generated Makefile as part of config.status. This should give us a nice,
easy to extract metric going forward.
--HG--
extra : rebase_source : 48a3e9f66975505dec76746703875b2364dedc87
2013-12-13 00:03:55 +09:00
Gregory Szorc
d53d3b5e5e
Bug 928195 - Part 4: Rewrite WebIDL build system integration; r=bz, r=glandium
...
WebIDL build system integration has been rewritten from the ground up.
Changes:
* GlobalGen.py, BindingGen.py, and ExampleGen.py have been removed in
favor of mozwebidl.py.
* Static .webidl files are now processed directly in their original location
and aren't copied to the object directory.
* Generated events <stem>.cpp files are now compiled into the unified
sources. Previously, only the <stem>Binding.cpp files were compiled
into unified sources.
* Exported .h files are now generated directly into their final location.
Previously, they were generated into the local directory then
installed in their final location.
* The list of globalgen-generated files now lives in Python and isn't
duplicated in 3 places.
* The make dependencies are much simpler as a result of using a single
command to perform all code generation. The auto-generated .pp file from
code generation sets up all dependencies necessary to reinvoke code
generation and Python takes care of dependency management.
--HG--
extra : rebase_source : e4918878274b22a412329c7cb18cc7138daf5dc6
2013-12-12 16:26:38 +09:00
Mike Hommey
819cf0165a
Bug 778236 - Remove EXTERNAL_MAKE_DIRS and PARALLEL_EXTERNAL_MAKE_DIRS. r=gps
2013-12-12 23:41:06 +09:00
Mike Hommey
049b105f14
Bug 778236 - Treat gyp files as if their content was defined in moz.build files. r=gps
2013-12-12 23:41:05 +09:00
Nick Alexander
42814c41ba
Bug 934646 - Part 3: Declare Android resource directories relative to $SRCDIR. r=glandium,gps,mfinkle
...
--HG--
rename : mobile/android/base/resources/drawable-mdpi/crash_reporter.png => mobile/android/base/crashreporter/res/drawable-mdpi/crash_reporter.png
rename : mobile/android/base/resources/layout/crash_reporter.xml => mobile/android/base/crashreporter/res/layout/crash_reporter.xml
rename : mobile/android/branding/aurora/content/fennec_72x72.png => mobile/android/branding/aurora/res/drawable-hdpi/icon.png
rename : mobile/android/branding/aurora/content/fennec_48x48.png => mobile/android/branding/aurora/res/drawable-mdpi/icon.png
rename : mobile/android/branding/aurora/content/fennec_96x96.png => mobile/android/branding/aurora/res/drawable-xhdpi/icon.png
rename : mobile/android/branding/aurora/content/fennec_144x144.png => mobile/android/branding/aurora/res/drawable-xxhdpi/icon.png
rename : mobile/android/branding/beta/content/fennec_72x72.png => mobile/android/branding/beta/res/drawable-hdpi/icon.png
rename : mobile/android/branding/beta/content/fennec_48x48.png => mobile/android/branding/beta/res/drawable-mdpi/icon.png
rename : mobile/android/branding/beta/content/fennec_96x96.png => mobile/android/branding/beta/res/drawable-xhdpi/icon.png
rename : mobile/android/branding/beta/content/fennec_144x144.png => mobile/android/branding/beta/res/drawable-xxhdpi/icon.png
rename : mobile/android/branding/nightly/content/fennec_72x72.png => mobile/android/branding/nightly/res/drawable-hdpi/icon.png
rename : mobile/android/branding/nightly/content/fennec_48x48.png => mobile/android/branding/nightly/res/drawable-mdpi/icon.png
rename : mobile/android/branding/nightly/content/fennec_96x96.png => mobile/android/branding/nightly/res/drawable-xhdpi/icon.png
rename : mobile/android/branding/nightly/content/fennec_144x144.png => mobile/android/branding/nightly/res/drawable-xxhdpi/icon.png
rename : mobile/android/branding/official/content/fennec_72x72.png => mobile/android/branding/official/res/drawable-hdpi/icon.png
rename : mobile/android/branding/official/content/fennec_48x48.png => mobile/android/branding/official/res/drawable-mdpi/icon.png
rename : mobile/android/branding/official/content/fennec_96x96.png => mobile/android/branding/official/res/drawable-xhdpi/icon.png
rename : mobile/android/branding/official/content/fennec_144x144.png => mobile/android/branding/official/res/drawable-xxhdpi/icon.png
rename : mobile/android/branding/unofficial/content/fennec_72x72.png => mobile/android/branding/unofficial/res/drawable-hdpi/icon.png
rename : mobile/android/branding/unofficial/content/fennec_48x48.png => mobile/android/branding/unofficial/res/drawable-mdpi/icon.png
rename : mobile/android/branding/unofficial/content/fennec_96x96.png => mobile/android/branding/unofficial/res/drawable-xhdpi/icon.png
rename : mobile/android/branding/unofficial/content/fennec_144x144.png => mobile/android/branding/unofficial/res/drawable-xxhdpi/icon.png
extra : rebase_source : f6ec8a38594e70520b10202c735dc019f8c856fd
2013-12-11 21:20:07 -08:00
Gregory Szorc
a021b88964
Bug 939367 - Allow Sphinx docs to come from all over the tree; r=glandium
...
--HG--
extra : rebase_source : 1c1a444a78c0dfce110db3890e29543eeb67f3aa
2013-11-20 12:37:22 -08:00
Gregory Szorc
6ad74fa93f
Bug 941245 - Allow FileFinder to ignore patterns; r=glandium
...
--HG--
extra : rebase_source : 0dd3f11dcf97abc57962e820ede241b82d715624
extra : amend_source : ef75cc5f516ecba0062002c7432e7b257bff5209
2013-11-20 13:12:21 -08:00
Mike Hommey
570208eaf1
Bug 949265 - Use contextual topsrcdir/topobjdir for preprocessed files during config.status. r=gps
2013-12-12 13:32:30 +09:00
Gregory Szorc
b8c943758f
Bug 948787 - Print diffs during config.status; r=glandium
...
Build system developers commonly need to see what changes have on the
generated build files. We often put our objdir under version control and
diff commits before and after running config.status.
This patch adds a --diff option to config.status that will print diffs
of changes made during config.status. This functionality is implemented
on top of FileAvoidWrite, using Python's built-in diffing library.
While display of diffs is opt-in, diffs are always being captured when
config.status runs. There could be an unwanted performance regression
from this. Because diffs are only computed if files change and most
files don't change during most config.status runs, this greatly reduces
the surface area of the concern. The area for largest concern is clobber
builds. On my machine, I measured an increase of 0.2 to 0.3s from 2.0s.
While this is 10-15%, the total time is so small that I don't feel
snaking a "capture diff" flag through the build system is worth the
effort. This would make a decent followup bug if this turns out to be a
problem in the future.
I also snuck in a change to reindent all-tests.json because displaying
diffs for this massive 11MB all-in-one-line JSON file results in an
extremely large string being printed to my terminal.
--HG--
extra : rebase_source : c0f7ff69cad282e63a050e67f156dbe96b49a142
2013-12-11 13:06:56 +09:00
Gregory Szorc
7428f89207
Bug 948272 - Report more timings from moz.build; r=glandium
...
The big change is we now explicitly record time spent in emitter.py. We
also report how much untracked time was measured.
--HG--
extra : rebase_source : f2a867718f0d532748e337abdc6e1c5070646dd7
2013-12-10 14:26:10 +09:00
James Willcox
43bc37e400
Bug 948599 - Add lldb support to 'mach debug' r=ehsan,gps
2013-12-11 09:09:50 -06:00
Gregory Szorc
4d3fd36c4b
Bug 944842 - Record and warn about swapping during builds; r=glandium
...
--HG--
extra : rebase_source : 3930a423514b5422ba23129b4da2a38f863bffbe
extra : amend_source : a9368fce73d02dc1f5073e652e4ab0b33f4c0a21
2013-12-09 18:58:13 +09:00
Mike Hommey
9b356e3439
Fixup for bug 948275 fixing windows bustage and avoiding a forced clobber. r=gps
2013-12-11 16:02:27 +09:00
Mike Hommey
09a2218bf5
Bug 948275 - Refactor handling of CONFIGURE_SUBST_FILES and CONFIGURE_DEFINE_FILES. r=gps
2013-12-11 15:20:38 +09:00
Mike Hommey
fbe3253bb8
Bug 948275 - Use mozpack.path instead of os.path in mozbuild.frontend and mozbuild.backend modules. r=gps
2013-12-11 15:20:31 +09:00
Mike Hommey
31ca5bb81a
Bug 948275 - Keep track of backend files by objdir instead of by srcdir. r=gps
2013-12-11 15:19:58 +09:00
Mike Hommey
7de68cd33b
Bug 948209 - Remove mozbuild.config. r=gps
2013-12-11 10:59:02 +09:00
Mike Hommey
fdcf80eb82
Bug 947804 - Finish to kill BOTH_MANIFESTS. r=gps
2013-12-09 16:30:06 +09:00
Gregory Szorc
8a8d29bfb9
Bug 934739 - Part 2: Add pattern matches to install manifests; r=glandium
...
This patch adds pattern matching entries to install manifests. We store
metadata necessary to construct a pattern match at a later point in
time. When we convert the install manifest to a file registry, we
resolve the patterns using FileFinder.
The build config logic has been updated to store support-files values as
pattern entries. This should resolve the clobber needed issue and make
the local development experience more pleasant as well.
--HG--
extra : amend_source : 3fe659f7ad6930ef54316b5babac6b83bee240af
2013-12-09 19:02:35 +09:00
Ryan VanderMeulen
0fe6654a46
Backed out changesets 572624d76edf and 17a5f2e554e8 (bug 934739) for causing bug 947879.
2013-12-09 17:24:14 -05:00
Ryan VanderMeulen
ff4c37cb6c
Merge inbound to m-c.
2013-12-09 16:45:25 -05:00
Mike Hommey
950df6453e
Bug 945042 - Add moz.build infrastructure to replace NO_PROFILE_GUIDED_OPTIMIZE from Makefile.in. r=gps
2013-12-09 13:39:16 +09:00
Mike Hommey
b04de440a0
Bug 946175 - Forbid assigning over a value previously set in moz.build. r=gps
2013-12-09 13:34:00 +09:00
Mike Hommey
93afdac791
Bug 946175 - Make all sandbox variables default to an instance of their class type. r=gps
2013-12-09 13:27:58 +09:00
Gregory Szorc
41c3a56159
Bug 934739 - Part 2b: Fix build bustage; r=glandium on a CLOSED TREE
2013-12-09 19:02:35 +09:00
Gregory Szorc
e325e585af
Bug 934739 - Part 2: Add pattern matches to install manifests; r=glandium
...
This patch adds pattern matching entries to install manifests. We store
metadata necessary to construct a pattern match at a later point in
time. When we convert the install manifest to a file registry, we
resolve the patterns using FileFinder.
The build config logic has been updated to store support-files values as
pattern entries. This should resolve the clobber needed issue and make
the local development experience more pleasant as well.
--HG--
extra : rebase_source : 1a89d397beffb75be6c7fe431003d10924c33cf0
2013-12-09 16:43:55 +09:00
Gregory Szorc
da11a3c955
Bug 934739 - Part 1: Make moz.build backend generation depend on all Python modules; r=glandium
...
--HG--
extra : rebase_source : 267c6f50dd1aa683bb425b3e82dc73f5f3c7a7bb
2013-12-09 15:23:29 +09:00
Andrew Halberstadt
c7a94fe5a1
Bug 942275 - Add support for setuptools' entry points to mach, r=gps
...
* * *
Bug 942275 - Ignore load_from_entry_point if setuptools not present, r=gps
2013-12-06 09:24:09 -05:00
Mike Hommey
55b7297ffe
Bug 932596 - Avoid link_deps error when srcdir and objdir are not on the same drive. r=gps
2013-12-06 18:26:37 +09:00
Mike Hommey
64afb86fb7
Bug 941506 - Output a message on tbpl summary box when autoclobbering. r=gps
2013-11-22 08:16:21 +09:00
Ryan VanderMeulen
ac8d9c831e
Backed out changeset 5cb5fdb72e55 (bug 942275) for mach bustage.
...
CLOSED TREE DONTBUILD
2013-12-03 11:13:26 -05:00
Andrew Halberstadt
b8e187acb4
Bug 942275 - Add support for setuptools' entry points to mach, r=gps
2013-12-03 10:37:20 -05:00
Gregory Szorc
13c6cf2cf5
Bug 943874 - Update Git URL printed during mach bootstrap; r=ehsan
...
DONTBUILD (NPOTB)
--HG--
extra : rebase_source : e9d0f626803c2d9326f646b31f3f7bbc58a29bde
extra : amend_source : 39a4efa6ad8fd0c1d30a7d1970037edb281a471c
2013-11-28 13:03:04 +07:00
Mike Hommey
f84b90cf73
Bug 944265 - Do proper quoting of DEFINES, and do the same for ACDEFINES. r=gps
2013-11-28 17:08:22 +09:00
Ehsan Akhgari
b092c19e89
Bug 943554 - Extend the checks added in bug 941854 to all unified files; r=gps
2013-11-26 21:29:44 -05:00
Ehsan Akhgari
e04b8905ef
Bug 941854 - Protect against two known bad patterns for unified builds; r=glandium
2013-11-25 20:38:30 -05:00
Mike Hommey
21281c6e45
Bug 940407 - Kill GTEST_SOURCES. r=gps
2013-11-26 11:48:58 +09:00
Matt Brubeck
11bfb4b845
Back out 5d5a9bb4cd6c (bug 941854) because of build errors on a CLOSED TREE
2013-11-25 18:04:14 -08:00
Ehsan Akhgari
f2a869c3b2
Bug 941854 - Protect against two known bad patterns for unified builds; r=glandium
2013-11-25 20:38:30 -05:00
Mike Hommey
67df42f71d
Bug 941450 - Add some GENERATED_FILES to moz.build. r=gps
2013-11-22 08:16:18 +09:00
Ed Morley
515fd9a20d
Backed out changeset c30371a66429 (bug 941450)
2013-11-22 15:59:22 +00:00
Mike Hommey
210fcbefa5
Bug 941450 - Add some GENERATED_FILES to moz.build. r=gps
2013-11-22 08:16:18 +09:00
Gregory Szorc
0fe9f79f9d
Bug 941833 - mach mercurial-setup should define host fingerprints during repo operations; r=nalexander
...
DONTBUILD (NPOTB)
--HG--
extra : rebase_source : 64bfe02d9f27009ab896b09c54fe7e48953a280d
2013-11-21 12:19:32 -08:00
Ehsan Akhgari
63738d51c4
Bug 941824 - #define MOZ_UNIFIED_BUILD for everything that is compiled in unified mode; r=gps
2013-11-21 15:39:44 -05:00
Trevor Saunders
7cd7ab34cd
bug 941365 - allow moz.build files to control how many files get unified together r=glandium
2013-11-20 18:45:59 -05:00
Gregory Szorc
b345bad86c
Bug 935987 - Part 0b: Convert DOS line endings to UNIX; r=dos2unix
...
--HG--
extra : rebase_source : f9974e065c7dcddcf069952fd7500639379dc5fb
2013-11-21 11:39:57 -08:00
Ryan VanderMeulen
98b0297834
Backed out changeset 2a89253c22cc (bug 939080) for Desktop B2G bustage.
2013-11-21 14:15:27 -05:00
Brian O'Keefe
7a9dfd8e5a
Bug 935987 - Part 0: Fix preprocessor.py indentation rs=gps
...
--HG--
extra : rebase_source : 93ee9b1f6a5c133e84b5ecc00b371c5f5603d457
2013-11-12 09:14:30 -05:00
Gregory Szorc
d7788ec0a5
Bug 941097 - Add --disable-unified-compilation configure flag; r=glandium
...
--HG--
extra : rebase_source : 05fe6864d3115ddfcb7d14cd3cd3ddaf13b70da3
2013-11-20 12:18:32 -08:00
Gregory Szorc
583c981e1a
Bug 939080 - Allow support-files in manifests to exist in parent paths; r=ted
...
--HG--
extra : rebase_source : bfc18cc5daf4a3e08b21c45203cb9a9c53e868a9
2013-11-18 11:55:33 -08:00
Andrew Sutherland
3e3d91e7c7
Bug 933807 - Allow easily disabling TriggerOperationCallbackFor(Ion|AsmJS)Code. Set the environment variable by default in "mach debug", allow disabling. r=gps
2013-11-20 20:07:42 -05:00
Gregory Szorc
4fa114a0f5
NO BUG - Make bad path message in bootstrap more clear
...
DONTBUILD (NPOTB)
--HG--
extra : rebase_source : 9160c66118e23ef2aec8c74a7830cd45c9ca265c
2013-11-20 16:43:38 -08:00
Carsten "Tomcat" Book
bdc4a5eb02
Backed out changeset a829f4d2584a (bug 934646) Android Nightlies Build Bustage
...
--HG--
rename : mobile/android/branding/aurora/res/drawable-xxhdpi/icon.png => mobile/android/branding/aurora/content/fennec_144x144.png
rename : mobile/android/branding/aurora/res/drawable-mdpi/icon.png => mobile/android/branding/aurora/content/fennec_48x48.png
rename : mobile/android/branding/aurora/res/drawable-hdpi/icon.png => mobile/android/branding/aurora/content/fennec_72x72.png
rename : mobile/android/branding/aurora/res/drawable-xhdpi/icon.png => mobile/android/branding/aurora/content/fennec_96x96.png
rename : mobile/android/branding/beta/res/drawable-xxhdpi/icon.png => mobile/android/branding/beta/content/fennec_144x144.png
rename : mobile/android/branding/beta/res/drawable-mdpi/icon.png => mobile/android/branding/beta/content/fennec_48x48.png
rename : mobile/android/branding/beta/res/drawable-hdpi/icon.png => mobile/android/branding/beta/content/fennec_72x72.png
rename : mobile/android/branding/beta/res/drawable-xhdpi/icon.png => mobile/android/branding/beta/content/fennec_96x96.png
rename : mobile/android/branding/nightly/res/drawable-xxhdpi/icon.png => mobile/android/branding/nightly/content/fennec_144x144.png
rename : mobile/android/branding/nightly/res/drawable-mdpi/icon.png => mobile/android/branding/nightly/content/fennec_48x48.png
rename : mobile/android/branding/nightly/res/drawable-hdpi/icon.png => mobile/android/branding/nightly/content/fennec_72x72.png
rename : mobile/android/branding/nightly/res/drawable-xhdpi/icon.png => mobile/android/branding/nightly/content/fennec_96x96.png
rename : mobile/android/branding/official/res/drawable-xxhdpi/icon.png => mobile/android/branding/official/content/fennec_144x144.png
rename : mobile/android/branding/official/res/drawable-mdpi/icon.png => mobile/android/branding/official/content/fennec_48x48.png
rename : mobile/android/branding/official/res/drawable-hdpi/icon.png => mobile/android/branding/official/content/fennec_72x72.png
rename : mobile/android/branding/official/res/drawable-xhdpi/icon.png => mobile/android/branding/official/content/fennec_96x96.png
rename : mobile/android/branding/unofficial/res/drawable-xxhdpi/icon.png => mobile/android/branding/unofficial/content/fennec_144x144.png
rename : mobile/android/branding/unofficial/res/drawable-mdpi/icon.png => mobile/android/branding/unofficial/content/fennec_48x48.png
rename : mobile/android/branding/unofficial/res/drawable-hdpi/icon.png => mobile/android/branding/unofficial/content/fennec_72x72.png
rename : mobile/android/branding/unofficial/res/drawable-xhdpi/icon.png => mobile/android/branding/unofficial/content/fennec_96x96.png
2013-11-20 15:16:00 +01:00
Gregory Szorc
38218339cc
Backed out changeset 594c44cf5a05 (bug 939080) for breaking buildconfig
...
--HG--
extra : rebase_source : f526819fa1ad686d9d30f32311c8db037859d178
2013-11-19 11:16:31 -08:00
Nick Alexander
ea34b572fc
Bug 934646 - Declare Android resource directories relative to $SRCDIR. r=glandium,gps,mfinkle
...
--HG--
rename : mobile/android/branding/aurora/content/fennec_72x72.png => mobile/android/branding/aurora/res/drawable-hdpi/icon.png
rename : mobile/android/branding/aurora/content/fennec_48x48.png => mobile/android/branding/aurora/res/drawable-mdpi/icon.png
rename : mobile/android/branding/aurora/content/fennec_96x96.png => mobile/android/branding/aurora/res/drawable-xhdpi/icon.png
rename : mobile/android/branding/aurora/content/fennec_144x144.png => mobile/android/branding/aurora/res/drawable-xxhdpi/icon.png
rename : mobile/android/branding/beta/content/fennec_72x72.png => mobile/android/branding/beta/res/drawable-hdpi/icon.png
rename : mobile/android/branding/beta/content/fennec_48x48.png => mobile/android/branding/beta/res/drawable-mdpi/icon.png
rename : mobile/android/branding/beta/content/fennec_96x96.png => mobile/android/branding/beta/res/drawable-xhdpi/icon.png
rename : mobile/android/branding/beta/content/fennec_144x144.png => mobile/android/branding/beta/res/drawable-xxhdpi/icon.png
rename : mobile/android/branding/nightly/content/fennec_72x72.png => mobile/android/branding/nightly/res/drawable-hdpi/icon.png
rename : mobile/android/branding/nightly/content/fennec_48x48.png => mobile/android/branding/nightly/res/drawable-mdpi/icon.png
rename : mobile/android/branding/nightly/content/fennec_96x96.png => mobile/android/branding/nightly/res/drawable-xhdpi/icon.png
rename : mobile/android/branding/nightly/content/fennec_144x144.png => mobile/android/branding/nightly/res/drawable-xxhdpi/icon.png
rename : mobile/android/branding/official/content/fennec_72x72.png => mobile/android/branding/official/res/drawable-hdpi/icon.png
rename : mobile/android/branding/official/content/fennec_48x48.png => mobile/android/branding/official/res/drawable-mdpi/icon.png
rename : mobile/android/branding/official/content/fennec_96x96.png => mobile/android/branding/official/res/drawable-xhdpi/icon.png
rename : mobile/android/branding/official/content/fennec_144x144.png => mobile/android/branding/official/res/drawable-xxhdpi/icon.png
rename : mobile/android/branding/unofficial/content/fennec_72x72.png => mobile/android/branding/unofficial/res/drawable-hdpi/icon.png
rename : mobile/android/branding/unofficial/content/fennec_48x48.png => mobile/android/branding/unofficial/res/drawable-mdpi/icon.png
rename : mobile/android/branding/unofficial/content/fennec_96x96.png => mobile/android/branding/unofficial/res/drawable-xhdpi/icon.png
rename : mobile/android/branding/unofficial/content/fennec_144x144.png => mobile/android/branding/unofficial/res/drawable-xxhdpi/icon.png
2013-11-18 09:31:55 -08:00
Gregory Szorc
7715dfb078
Bug 939080 - Allow support-files in manifests to exist in parent paths; r=ted
...
--HG--
extra : rebase_source : fcbd7e71efacde1151d4142132312291e297bc68
extra : amend_source : 0c78233f8b853654af474c54de6869ce55aa0533
2013-11-18 11:55:33 -08:00
Gregory Szorc
f8426fa8ea
Backed out 4 changesets (c0e8f2c0465f::608c663f691f) (bug 928195) for landing prematurely
...
--HG--
extra : rebase_source : fa42534ef50a0373738349f17b2ca57510bdd6ac
2013-11-19 10:16:51 -08:00
Gregory Szorc
0c46a02708
Bug 928195 - Part 6: Rewrite WebIDL build system integration
...
WebIDL build system integration has been rewritten from the ground up.
Changes:
* GlobalGen.py, BindingGen.py, and ExampleGen.py have been removed in
favor of mozwebidl.py.
* Static .webidl files are now processed directly in their original location
and aren't copied to the object directory.
* Generated events <stem>.cpp files are now compiled into the unified
sources. Previously, only the <stem>Binding.cpp files were compiled
into unified sources.
* Exported .h files are now generated directly into their final location.
Previously, they were generated into the local directory then
installed in their final location.
* The list of globalgen-generated files now lives in Python and isn't
duplicated in 3 places.
* The make dependencies are much simpler as a result of using a single
command to perform all code generation. The auto-generated .pp file from
code generation sets up all dependencies necessary to reinvoke code
generation and Python takes care of dependency management.
--HG--
extra : rebase_source : bde37d7aab3bd224ca8611f3ba4aaf6311e2faab
2013-11-14 09:52:49 -08:00
Gregory Szorc
e367cae742
Bug 939925 - Catch exceptions when recording resource usage; r=mshal
...
--HG--
extra : rebase_source : a9d1c353ae82376cac561c01c94698bf49a9777f
2013-11-18 11:17:41 -08:00
Nick Thomas
25b95a4df8
Bug 937458, bump the required clang version in mach bootstrap, r=gps DONTBUILD
...
--HG--
extra : rebase_source : 423de887a8ee17846ad3f4b3a716d86b64ce6654
2013-11-19 10:35:19 -05:00
Mike Hommey
d532069006
Bug 940202 - One more followup to properly use $(DEPTH) on windows. rs=jcranmer
2013-11-19 16:06:30 +09:00
Joshua Cranmer
aa46ce9d92
Bug 940202 followup, due to missing a review comment.
2013-11-19 00:16:34 -06:00
Joshua Cranmer
40f2b0e149
Bug 940202 - Make FINAL_LIBRARY work with comm-central, r=glandium
...
--HG--
extra : rebase_source : fc8bc5cf6e69be02eeefa7dd98eb5273998831db
2013-11-19 00:12:25 -06:00
Mike Hommey
9c3682bcd9
Bug 939632 - Allow LIBRARY_NAME to be omitted when FINAL_LIBRARY is defined. r=gps
2013-11-19 11:48:13 +09:00
Mike Hommey
56b313a90d
Bug 939074 - Infer LIBXUL_LIBRARY from FINAL_LIBRARY. r=gps
2013-11-19 11:47:52 +09:00
Mike Hommey
3b185d79c9
Bug 939044 - Make the build frontend and backend forget about MODULE. r=gps
2013-11-19 11:47:44 +09:00
Mike Hommey
f85ec564e8
Bug 939039 - Make FINAL_LIBRARY imply FORCE_STATIC_LIB. r=gps
...
This also moves the LIBXUL_LIBRARY implies FORCE_STATIC_LIB test in the emitter
instead of config.mk, since both variables are defined in moz.build exclusively.
backend.mk can end up with both LIBXUL_LIBRARY and FORCE_STATIC_LIB defined, but
it's just fine.
2013-11-19 11:47:26 +09:00
Mike Hommey
71b60fe95d
Bug 935881 - Remove SHARED_LIBRARY_LIBS handling for moz.build. r=gps
2013-11-19 11:47:18 +09:00
Mike Hommey
015bd905d7
Bug 935881 - Add a FINAL_LIBRARY variable to use in moz.build. r=gps
...
This will be used to declare in what shared library or intermediate static
library objects are going to be linked into.
2013-11-19 11:46:42 +09:00
Ehsan Akhgari
b9589138e0
Bug 938844 - Add support for building .mm files in unified mode; r=glandium
2013-11-14 21:44:48 -05:00
Mike Hommey
9dc3df4425
Bug 915537 - Fix mach build --jobs. r=gps
2013-11-16 13:40:03 +09:00
Mike Hommey
3f4d0dc1ef
Bug 938428 - Always return an int from the cl.py main function, so that sys.exit crazyness doesn't bite. r=gps
2013-11-16 13:39:08 +09:00
Nick Alexander
eb6e238088
Bug 933300 - Write preprocessed Fennec code into generated/org/mozilla/*. r=glandium
2013-11-13 19:32:55 -08:00
Nick Alexander
87836d119e
Backed out changeset ba9c8fcf76e6 (bug 933300)
2013-11-13 17:11:58 -08:00
Nick Alexander
0e33d6ee0d
Bug 933300 - Write preprocessed Fennec code into generated/org/mozilla/*. r=glandium
...
This writes source with preprocessed package names into
generated/org/mozilla/{firefox,firefox_beta,fennec,fennec_$USERID},
and the other preprocessed source into generated/org/mozilla/gecko.
This layout matches the Java package hierarchy and is what IDEs expect
when including $OBJDIR/generated as a source directory.
--HG--
extra : rebase_source : 5cc397e6808d21a662c1f718ef49ee148c15e465
2013-11-11 23:39:16 -05:00
Mike Hommey
c288856178
Bug 935857 - Add AC_SUBST_SET to create a set() of strings in config.status and use it for NECKO_PROTOCOLS. r=gps
2013-11-12 07:52:32 +09:00
Maurizio De Santis
d4e6881dc9
Bug 935741 - Use HGPLAIN to fix version detection of non-English Mercurial releases. r=gps
2013-11-11 16:13:53 -05:00
Ryan VanderMeulen
7167362e03
Backed out changeset 9ad40457f58f (bug 936555) for checktest failures.
2013-11-11 13:40:42 -05:00