Граф коммитов

1108 Коммитов

Автор SHA1 Сообщение Дата
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
Philippe Chassagnard 711ff71243 Bug 1024471 - Default user is now created in objdir/tmp/scratch_user. r=gps 2014-07-01 23:57:00 +02:00
Birunthan Mohanathas 51ba75d135 Bug 1016240 - Exterminate CR+LF line endings. r=briansmith,cpearce,ehsan,gavin 2014-06-18 17:56:02 -07:00
Mike Hommey 06767fd3c2 Bug 978211 - Seemlessly support make 4 output buffering for automation/% steps. r=mshal 2014-06-19 09:06:13 +09:00
Ryan VanderMeulen f2dcba3d01 Bug 1025918 - Add support for the .cxx extension to mozbuild. r=ted 2014-06-16 22:36:24 -04:00
Nathan Froyd 9d9500952d 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 6103a76c71 Bug 1018375 - part 1 - add LD_VERSION_SCRIPT build variable; r=glandium 2014-05-30 14:12:20 -04:00
Armen Zambrano Gasparnian 93d68b29e0 Bug 989583 - Install all tests (even disabled) from manifests. r=jmaher 2014-06-16 14:51:22 -04:00
Mike Shal 0bfb7d3b01 Bug 978211 - add an automation/build target for post-build steps; r=glandium 2014-05-16 14:37:31 -04:00
Abdul Qadeer e25e863297 Bug 972329 - Install setuptools as part of bootstrap. r=gps 2014-06-11 11:22:00 -07:00
Ryan VanderMeulen e0b5408f8b Backed out changeset ec353cd772b1 (bug 989583) for B2G emulator mochitest mass-fail. 2014-06-11 13:55:44 -04:00
Armen Zambrano Gasparnian 92828eb5f2 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 3dbc35fade 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 a71f67c253 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 9154f50eac Bug 1022747: Add |mach bootstrap| support for DragonFly/DPorts. r=gps 2014-06-09 22:11:06 +02:00
Jan Beich b97a645006 Bug 1022739: Unbreak |mach bootstrap| with recent FreeBSD packages. r=gps 2014-06-09 22:11:00 +02:00
Nathan Froyd 0c64deb27f 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 b161fa67a5 Bug 1027890 - Remove all sorts of build system code dedicated to pymake. r=gps 2014-06-25 08:38:28 +09:00
Joshua Cranmer e914684c0f Backed out changeset b83296ec51b3 (bug 832112) for comm-central bustage, r=glandium. 2014-06-02 20:05:22 -05:00
Shih-Chiang Chien 431d926339 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 4533f817af 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 469273a820 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 4777505208 Merge m-c to inbound 2014-05-23 17:37:56 -07:00
Wes Kocher 98152d91df Merge fx-team to m-c 2014-05-23 17:04:56 -07:00
Lucas Rocha 4404db918e Bug 1011620 - Generate suggestedsites.json from region.properties (r=nalexander) 2014-05-23 13:29:18 +01:00
Nickolay Ponomarev 41f246d201 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 c68c0acedb Bug 996823 - Let mach pass-through subprocesses handle Ctrl-C themselves. r=mshal 2014-05-23 07:22:51 +09:00
Ting-Yu Lin c0bbe69369 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 9e342ce37a 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 20561f28b7 Bug 989583 - Install all tests (even disabled) from manifests. r=jmaher 2014-05-16 10:20:37 -04:00
Lucas Rocha d56a01f48a Bug 997772 - Generate suggestedsites.json from locale (r=nalexander) 2014-05-09 09:39:14 +01:00
Ting-Yu Lin 71e1eceed8 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 18b8933804 Bug 945869 - Provide more granular OS version information in mozinfo. r=ted.mielczarek 2014-05-01 06:09:00 +02:00
Markus Stange 6a55e67a6f Bug 1002712 - Add lldb type summaries for rects and regions. r=heycam
DONTBUILD
2014-04-29 12:14:42 +02:00
Jan Beich dca9e81d85 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 298155dc1f 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 a79bd3582f 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 713d80a80c Bug 995762 - don't evaluate diff unless it's needed; r=gps 2014-04-14 13:53:20 -04:00
Jim Chen 73af88dd0a Bug 996780 - Use ANDROID_TARGET_SDK for Eclipse project target. r=nalexander 2014-04-16 17:04:47 -04:00
Carsten "Tomcat" Book e6a5e12b4a Backed out changeset 16fc740d96f5 (bug 996780) for build test failures on a CLOSED TREE 2014-04-16 10:30:51 +02:00
Jim Chen 8c913bb1b5 Bug 996780 - Use ANDROID_TARGET_SDK for Eclipse project target. r=nalexander 2014-04-15 13:43:00 +02:00
Michael Ratcliffe c7ef84b96d 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 4789ca749c 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 19912854a8 Bug 973770 - Typo fix. r=botond DONTBUILD for NPOTB 2014-04-08 15:06:05 -04:00
Joshua Cranmer bbf90fc4c1 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 766b00de4d Bug 903149 - Part 3: Support for minifying packaged JavaScript; r=glandium 2013-09-11 19:54:19 -07:00
Gregory Szorc 417167d7f9 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 cb1a0d7337 Bug 989522 - Remove LIBXUL_LIBRARY from the moz.build sandbox. r=mshal 2014-04-02 11:52:04 +09:00
Mark Hammond bf9bb90ec8 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 c5fd173c74 Merge m-c to inbound. 2014-03-26 23:09:54 -04:00
Ryan VanderMeulen a14baa39be Merge inbound to m-c. 2014-03-26 20:58:31 -04:00
Gregory Szorc 4ff214391e 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 6cccf7a13e 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 92ade81e93 Bug 985979 - disable the crashreporter when running |mach debug|; r=gps 2014-03-20 10:55:50 -04:00
Mike Hommey baec262951 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 b49534e0da 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 58c21ea944 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 b3c94c1a47 Bug 982474. Exclude more files from the CppEclipse-backend generated project. r=BenWa 2014-03-19 14:19:26 +08:00
Bill McCloskey 8bc8184542 Bug 938019 - Run mochitests from manifests (r=ted,gps) 2014-03-18 08:03:51 -07:00
Ryan VanderMeulen 7852de2e89 Backed out changeset a3fe19cdb618 (bug 938019) for robocop failures.
CLOSED TREE
2014-03-18 12:35:53 -04:00
Bill McCloskey 8d875ffc85 Bug 938019 - Run mochitests from manifests (r=ted,gps) 2014-03-18 08:03:51 -07:00
Georg Koppen 0343d6608b Bug 942091 - Generate browser.manifest deterministically. r=glandium 2014-03-18 08:39:54 -04:00
Georg Koppen d6d4b9ccb7 Bug 982075 - Make addEntriesToListFile() in buildlist.py deterministic. r=ted 2014-03-18 08:04:11 -04:00
Ehsan Akhgari 5bb8bfa8cf Bug 981428 - Move OSX -framework flags to moz.build; r=mshal 2014-03-10 20:18:33 -04:00
Robert O'Callahan 6e87c814ed 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 94c8a605e4 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 728b7860f8 Bug 981427 - CppEclipse - Usability improvements for b2g. r=botond
--HG--
extra : rebase_source : 9d60aca829f8f93a82ebf887070305b1e2baa815
2014-03-10 13:41:37 -04:00
Benoit Girard 5968d2fa59 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 c8899d58ac Bug 981353 - CppEclipse - Fix nspr indexer errors. r=botond
--HG--
extra : rebase_source : b51cda487916e32a0f6dcc1c2d3eff3c4856412c
2014-03-10 13:37:34 -04:00
Gregory Szorc f8f429ae92 Bug 980174 - Remove some empty Makefile.in; r=mshal
--HG--
extra : rebase_source : eada340aed8daebbfc3bf7d4218bca980d654cef
2014-03-05 19:56:56 -08:00
Benoit Girard 1f49547ce9 Bug 980183 - Add support for eclipse CDT 8.3. r=botond NPOTB 2014-03-07 14:54:45 -05:00
Ted Mielczarek 7cf5af0d29 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 450fef6f62 Bug 973770 - Build backend that generates C/C++ Eclipse projects. r=gps 2014-03-06 00:03:10 -05:00
Gregory Szorc dd337c330c 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 c35a66e1db Backed out changeset 593206fbd97e (bug 979640) for mochitest-other failures.
CLOSED TREE
2014-03-05 13:52:02 -05:00
Gregory Szorc 6ce0f069d4 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 bd787c3deb 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 17f4a32d8b Bug 976896 - Port STL_FLAGS to moz.build; r=mshal 2014-03-04 19:39:06 -05:00
Ehsan Akhgari 5ff28bc333 Bug 976886 - Port RCINCLUDE to moz.build; r=mshal
--HG--
extra : rebase_source : e8a75bc01c3f57516a1a1307de3d170ea07ca1ac
2014-03-04 17:19:24 -05:00
Andrew Halberstadt 8b47ee94a3 No Bug - Fix python typo in mozboot, r=trivial, DONTBUILD, a=NPOTB 2014-03-04 13:04:12 -05:00
Ehsan Akhgari a8d5c6ba79 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 0604b7f97a 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 2bf276500b Merge m-c to fx-team 2014-02-25 20:38:33 -08:00
Nick Alexander 2c78fbb251 Bug 975504 - Add filtered_resources to AndroidEclipseProjectData. r=bnicholson 2014-02-25 15:59:31 -08:00
Carsten "Tomcat" Book 5d5e9aeb99 Merge mozilla-central to fx-team on a CLOSED TREE 2014-02-25 15:42:32 +01:00
Mike Hommey 4009b4291e Bug 973144 - Support DEFINES['FOO']=False in moz.build for -UFOO. r=gps 2014-02-25 15:41:57 +09:00
Wes Kocher 35181c3336 Merge m-c to fx-team 2014-02-24 18:29:49 -08:00
Nick Alexander 6fb66778ef Bug 975622 - Follow-up: Fix test. r=bustage 2014-02-24 18:23:02 -08:00
Nick Alexander 84fcd3258d 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 8222c42500 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 c45b992a8b Bug 975152 - Part 0: Allow res=None in AndroidEclipseProjectData. r=bnicholson 2014-02-24 18:14:04 -08:00
Nick Alexander e958c5e661 Bug 975622 - Part 2: Add post builder. r=bnicholson 2014-02-24 18:14:04 -08:00
Nick Alexander 62343a2329 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] 02c2c66d93 Bug 972168 - Add root relative destination paths to mochitest support files. r=ted 2014-02-13 10:15:11 -08:00
Ryan VanderMeulen 0dc3c5e22c Merge m-c to inbound. 2014-02-25 15:28:35 -05:00
Ralph Giles 4dea9ead6c 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 24597e8179 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 42eca10dad Backed out changeset 2912b402523d (bug 968245) for multiple test failures; CLOSED TREE 2014-02-25 17:05:52 +00:00
Gregory Szorc 78b22e13e0 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 39fc9361f6 Bug 975740 - Port WIN32_EXE_LDFLAGS to moz.build; r=mshal 2014-02-24 08:30:25 -05:00
Nick Alexander 6ff514a040 Bug 974268 - Fix bad comment syntax in AndroidEclipse template. r=me 2014-02-18 22:28:01 -08:00
Gregory Szorc 7ecb36f414 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 97afa6dc6b Bug 973649 - Add logic for CFLAGS, CXXFLAGS and LDFLAGS to moz.build; r=mshal 2014-02-18 15:30:27 -05:00
Gregory Szorc 177461528f 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 dd3e43e814 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 73b8879e45 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 3ee67f3c26 Fix error in lldb string serialiation; no bug. (DONTBUILD, NPOTB) 2014-02-17 15:22:59 +11:00
Gregory Szorc 0f531099f1 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 dbbb01b243 Bug 853045 - Second follow-up: Fix bustage caused by .hgignore. r=me 2014-02-13 22:58:48 -08:00
Nick Alexander 0de9043bfd Bug 853045 - Follow-up: Address review comment and avoid bustage. r=me 2014-02-13 22:25:26 -08:00
Nick Alexander bdab4ed07e 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
Nick Alexander fa2dd1ef35 Bug 853045 - Part 5: Advertise where Eclipse projects were written. r=gps 2014-02-13 22:19:50 -08:00
Nick Alexander 48efc741b7 Bug 853045 - Part 3: Add AndroidEclipseBackend. r=gps
test_recursive_make.py depends on the test data added by this commit, so
it's here rather than in the earlier commit.
2014-02-13 22:19:49 -08:00
Nick Alexander 33ec9e8af1 Bug 853045 - Part 2: Add frontend and RecursiveMakeBackend for Android Eclipse projects. r=gps 2014-02-13 22:19:49 -08:00
Nick Alexander 8f1f977233 Bug 853045 - Part 1: Add Android Eclipse project templates to mozbuild. r=gps 2014-02-13 22:19:49 -08:00
Nick Alexander e02b48a46d Bug 971525 - Optionally make FileCopier only delete symlinked directories it needs to replace. r=gps 2014-02-13 22:19:48 -08:00
Nathan Froyd 8e778db01f Bug 969085 - try harder to resolve relative paths in MozconfigLoader; r=gps 2014-02-10 10:43:59 -05:00
Andrew Halberstadt 7613605596 Bug 965789 - Check if a clobber is needed before invoking make install-tests, r=gps 2014-02-13 14:36:55 -06:00
Nick Alexander cd989a6261 Bug 971272 - Post: Add informational test showing unnecessary directories may be created. r=gps 2014-02-13 09:09:09 -08:00
Nick Alexander edd94de9b9 Bug 971272 - Part 3: Use required_directories in FileCopier.copy. r=gps 2014-02-13 09:09:08 -08:00
Nick Alexander 1e62a55e28 Bug 971272 - Part 2: Expose FileRegistry.required_directories. r=gps 2014-02-13 09:09:08 -08:00
Nick Alexander a45bc98b33 Bug 971272 - Part 1: Guard against adding {foo, foo/bar} to FileRegistry. r=gps
This already raised if the order was [foo, foo/bar].  But it didn't
prevent adding [foo/bar, foo].

The only sub-classes of FileRegistry are FileCopier and Jarrer.

FileCopier.copy threw in the previously unhandled case: the order of
creation is the same as the order of addition, so that foo is created
after foo/bar.

A zip file index can contain both foo and foo/bar.  I don't think we
should rely on this property in our use of Jarrer, but if we already do,
I guess we need to move these guards into FileCopier.  Let's hope that's
not the case!

(For the record: On my Mac OS X system, unzipping such a zip file
prompts the user for what to do, depending on the order of the entries
in the zip index.)
2014-02-13 09:09:08 -08:00
Nick Alexander e929711433 Bug 971265 - Add --no-remove-empty-directories to process_install_manifest.py. r=gps 2014-02-13 09:09:08 -08:00
Nick Alexander 8b96dea6f0 Bug 971265 - Pre: Don't write file in test_util.py. r=gps 2014-02-13 09:09:07 -08:00
Ryan VanderMeulen 4ba91ec7b7 Merge m-c to inbound. 2014-02-13 10:31:44 -05:00
Ted Mielczarek 9b990ddea0 Bug 971802 - Make mozpack capable of storing unix file permissions in jars. r=glandium 2014-02-13 07:47:00 -05:00
Wes Kocher f9cfa703c8 Merge fx-team to mozilla-central 2014-02-12 16:26:16 -08:00
Ted Mielczarek f7f378c63f Bug 969585 - Fix installing support files from a manfiest with just disabled tests. r=gps 2014-02-13 07:46:59 -05:00
Gregory Szorc 4e49d56880 Bug 958561 - Measure Sync with Firefox Health Report; r=rnewman
Metrics for Sync have been added to Firefox Health Report. If Sync is
not configured, we'll report that fact and the supported and preferred
Sync protocols (1.1 or 1.5).

If Sync is configured, we report the daily counts of sync attempts and
how many are successful vs errored. We also report daily counts of the
device types attached to the account.

--HG--
extra : rebase_source : 77170b323706a85cbe1542ac993ebdc1dba3b505
extra : amend_source : 7802e80b4fc94937fbe3f67505b447bfb048732d
2014-02-05 08:08:14 -08:00
Ehsan Akhgari e4f4a283cc Bug 970727 - Move DEFFILE to moz.build; r=mshal 2014-02-11 11:28:54 -05:00
Jacek Caban 3bfaf86a69 Bug 970429 - Don't allow using INITGUID in unified sources. r=Ehsan 2014-02-12 10:59:05 +01:00
Brian O'Keefe 75d0f2aeaf Bug 772828 - Part a: add support for RESOURCE_FILES in moz.build; r=mshal 2013-11-05 13:37:49 -05:00
Ehsan Akhgari b7b6d52aef Bug 970745 - Move USE_STATIC_LIBS to moz.build; r=glandium 2014-02-11 09:12:33 -05:00
Ehsan Akhgari 6021b6d2f1 Bug 969757 follow-up, fix two comments, DONTBUILD 2014-02-10 20:55:57 -05:00
Mike Hommey 69e70086e0 Bug 969164 - Traverse js/src moz.builds from top-level configure. r=gps
Before, we would run configure in both top-level and js/src, and both
configures would traverse their own set of moz.builds, without actual
knowledge about the other. With this change, both configures still run,
but only top-level traverses moz.build files, and uses js/src's
config.status when traversing its moz.build files. This allows a better
sharing of information between both build systems and the removal of many
hacks.

This also moves running libffi and icu configure to top-level.

Standalone js builds still have their own configure doing moz.build traversal,
as before.

--HG--
rename : config/autoconf.mk.in => config/autoconf-js.mk.in
rename : config/emptyvars.mk.in => config/emptyvars-js.mk.in
2014-02-11 10:37:47 +09:00
Mike Hommey 3ce0ef9179 Bug 969164 - Use per-directory config in sandboxes when reading moz.builds. r=gps 2014-02-11 10:37:47 +09:00
Ehsan Akhgari d91d200572 Bug 969757 - Remove the dead code in our tree which pretends to support OS/2; r=roc,mcmanus,gps,jorendorf,bsmedberg sr=bsmedberg 2014-02-10 17:57:01 -05:00
Ehsan Akhgari 096d1fad98 Bug 968642 - Port RCFILE and RESFILE to moz.build; r=gps 2014-02-10 09:03:53 -05:00
Cameron McCormack cc6b17b6bb Bug 970106 - Add lldb type summary for nscolor. r=ehsan (NPOTB, DONTBUILD) 2014-02-10 09:19:05 +11:00
Cameron McCormack 52af170da8 Bug 969941 - Small documentation followup. (NPOTB, DONTBUILD) 2014-02-10 08:50:48 +11:00
Cameron McCormack b7774ff5f7 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 9e133974e9 Bug 968351 - Allow test manifests with just support-files. r=gps 2014-02-06 13:22:35 -05:00
Mike Hommey f76321da17 bug 903620 - Make ExecutableFile support being put directly into a jar. r=gps 2014-02-06 13:22:35 -05:00
Ryan VanderMeulen c38a20a8ce Merge m-c to inbound on a CLOSED TREE. 2014-02-06 16:29:41 -05:00
Maciek 649c0ddb55 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 39001bcb42 Bug 944800 - Move the information about delay loaded DLLs into moz.build; r=gps 2014-02-06 14:17:44 -05:00
Cameron McCormack 3a90450125 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 fd4b17df41 Bug 936555 - make mozinfo use MozconfigLoader to locate the mozconfig; r=gps 2014-01-27 11:35:59 -05:00
Mike Hommey 7f7dcddee5 Bug 967099 - Hide auto clobber TinderboxPrint during tests. r=gps 2014-02-05 13:02:48 +09:00
Phil Ringnalda 82215dcc45 Back out 191a71ff02bf (bug 960899)
CLOSED TREE
2014-02-04 21:37:12 -08:00
Cameron McCormack 3e63ea6104 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 bdd531f68f Backed out changeset b54e8c328c32 (bug 944800) because of test failures on a CLOSED TREE 2014-02-04 17:03:17 -05:00
Ehsan Akhgari 6494b169e9 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 a9430995cc Bug 964744 - Refactor mozboot packages into the constructor, r=gps 2014-01-28 18:27:43 -05:00
Ryan VanderMeulen 9002364b94 Backed out changeset f9d83ec11ca9 (bug 936555) for checktest failures.
CLOSED TREE
2014-01-27 16:24:52 -05:00
Nathan Froyd e342dedd2b Bug 936555 - make mozinfo use MozconfigLoader to locate the mozconfig; r=gps 2014-01-27 11:35:59 -05:00
Gregory Szorc 8e84c8c50c 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 380b003fcb 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 859698bb4e Backout 3635e6adde70, 8600c8ad593f and 1f72556326be (bug 960848 and bug 960899) for lots of red. 2014-01-18 19:03:30 +11:00
Cameron McCormack b7fbb111c5 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 46b08570d9 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 49217e22e3 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 ca1e23c1de 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 31a9b91a59 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 172451b3fa Fix ftl lldb alias; no bug. (DONTBUILD) 2014-01-16 17:51:55 +11:00
Cameron McCormack f72979cfc5 Bug 959922 - Add lldb command to print an object refcount. (DONTBUILD) r=ehsan 2014-01-16 17:51:54 +11:00
Cameron McCormack 7ae60ecf84 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 24e5d24f45 Bug 959480 - Add lldb synthetic children for nsTArray and friends. r=ehsan 2014-01-15 11:30:10 +11:00
Cameron McCormack 6390db2fff Bug 959452 - Add lldb summaries for nsACString and nsAString. r=ehsan 2014-01-15 11:29:36 +11:00
Cameron McCormack 0e72d82cc2 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 7a2dc7c7ea 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 71a7b66679 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 874f160d0d 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 696d8e1c29 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 62c47d4190 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 c5265350aa 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 76d6faf2c0 Bug 935196 - Bootstrap doesn't have MacPorts url for 10.9. r=gps 2014-01-07 20:48:31 -08:00
Gregory Szorc 069d1b3681 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 f7a080f278 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 15ef9298ed Bug 953195 - Print filename in unused warning. r=gps 2014-01-02 16:34:40 -06:00
Ehsan Akhgari 61d8af7ca4 Bug 955699 - Try lowering the path length tolerance some more 2014-01-02 13:44:44 -05:00
Ehsan Akhgari ea7bcb12bf 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 f2c0466119 Bug 935987 - Part 1: Give the preprocessor a better API; r=gps 2013-11-11 08:50:42 -05:00
Ehsan Akhgari 30a4d139fa 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 83dedf78d9 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 f19a06ebfc 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 fce7b45cdf 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 fe4a7a2ab1 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 8c2572ef3c 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 9e82078bdb Bug 952395 - Update Homebrew bootstrap URL to reflect upstream changes
DONTBUILD (NPOTB)
2013-12-20 10:02:06 -08:00
Ehsan Akhgari 002501e54b 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 6da57e25bc 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 2168897d54 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 073724df42 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 ff3c3e3db5 Bug 944551 - Handle unicode in mozbuild.util.shell_quote. r=gps 2013-11-30 18:46:13 +09:00
Martin Thomson 7bd44eecd2 Bug 950957 - Use ${COMP_WORDS[0]} for completion in mach. r=gps 2013-12-19 11:42:19 -05:00
Mike Hommey 57508a1ca7 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 e396fc159d 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 40438af67c 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 77936722b3 Bug 950296 - Turn the map for variable passthrough into a list. r=gps 2013-12-17 11:14:17 +09:00
Mike Hommey ef13decc2d 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 2328a3a998 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 709a4a7087 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 c2b654599f 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 5ac8fedf48 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 d74ea70de7 Bug 945975 - Add mach support for Android xpcshell tests; r=ted 2013-12-13 21:20:39 -07:00
Mike Hommey 34b94bf852 Bug 949334 - Use FINAL_LIBRARY for webrtc. r=gps 2013-12-14 11:38:53 +09:00
Gregory Szorc 8167b5ca6f 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 27f0f88f29 Backed out changeset 273e7ed05fa3 (bug 949304) for Windows Bustage on a CLOSED TREE 2013-12-13 12:46:03 +01:00
Gregory Szorc abf326e01b 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 09c13814b1 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 b47eeb6ab3 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 f31e7b8bc4 Bug 778236 - Remove EXTERNAL_MAKE_DIRS and PARALLEL_EXTERNAL_MAKE_DIRS. r=gps 2013-12-12 23:41:06 +09:00
Mike Hommey 4b94156b00 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 7760713d9e 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 95aca92ee2 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 f54223dbd3 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 75fa6584b6 Bug 949265 - Use contextual topsrcdir/topobjdir for preprocessed files during config.status. r=gps 2013-12-12 13:32:30 +09:00
Gregory Szorc 8d8b8115f8 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 e569b2628d 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 761ebe9c11 Bug 948599 - Add lldb support to 'mach debug' r=ehsan,gps 2013-12-11 09:09:50 -06:00
Gregory Szorc ca20964835 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 d520559533 Fixup for bug 948275 fixing windows bustage and avoiding a forced clobber. r=gps 2013-12-11 16:02:27 +09:00
Mike Hommey 62542a3d51 Bug 948275 - Refactor handling of CONFIGURE_SUBST_FILES and CONFIGURE_DEFINE_FILES. r=gps 2013-12-11 15:20:38 +09:00
Mike Hommey 24410c166c 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 0c183d2d65 Bug 948275 - Keep track of backend files by objdir instead of by srcdir. r=gps 2013-12-11 15:19:58 +09:00