Commit Graph

999 Commits

Author SHA1 Message Date
Wes Kocher
19b35e69b7 Merge inbound to m-c a=merge 2014-06-25 18:18:43 -07:00
Nathan Froyd
5bbf5e513f 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
df8ec65f6f Bug 1027890 - Reject builds with pymake. r=gps
--HG--
extra : rebase_source : a662b896b5f431a37a1250ec19451324ebed3d14
2014-06-25 08:38:12 +09:00
Jason Orendorff
82179b1c2a 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
bcf9ead502 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
23d6a7ded4 Merge mozilla-central to mozilla-inbound 2014-06-25 15:42:28 +02:00
Markus Stange
489bda511a 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
d9ec170da8 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
f59abd2745 Bug 1027890 - Remove all sorts of build system code dedicated to pymake. r=gps 2014-06-25 08:38:28 +09:00
Mike Hommey
7796518a26 Bug 1027890 - Reject builds with pymake. r=gps 2014-06-25 08:38:12 +09:00
Gregory Szorc
3233507ed7 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
3d0486d4cb Bug 1029232 - Follow-up: Fix busted test. r=bustage 2014-06-24 20:05:01 -07:00
Nick Alexander
0f4a59a50b Bug 1029232 - Part 3: Call Eclipse builder plugin before Android build steps. r=bnicholson 2014-06-24 19:14:35 -07:00
Mark Banner
daf2fe32a4 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
f8525ba5c0 Bug 1035099 - Remove the comm-central workarounds from MozbuildObject.from_environment. r=gps 2014-07-08 13:47:26 +09:00
Mike Hommey
3a96529a38 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
57da86b4d2 Bug 1024471 - Default user is now created in objdir/tmp/scratch_user. r=gps 2014-07-01 23:57:00 +02:00
Birunthan Mohanathas
ec8396a564 Bug 1016240 - Exterminate CR+LF line endings. r=briansmith,cpearce,ehsan,gavin 2014-06-18 17:56:02 -07:00
Mike Hommey
7d64b32139 Bug 978211 - Seemlessly support make 4 output buffering for automation/% steps. r=mshal 2014-06-19 09:06:13 +09:00
Ryan VanderMeulen
19951668ea Bug 1025918 - Add support for the .cxx extension to mozbuild. r=ted 2014-06-16 22:36:24 -04:00
Nathan Froyd
cefe716aa7 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
319b400465 Bug 1018375 - part 1 - add LD_VERSION_SCRIPT build variable; r=glandium 2014-05-30 14:12:20 -04:00
Armen Zambrano Gasparnian
31244d9e09 Bug 989583 - Install all tests (even disabled) from manifests. r=jmaher 2014-06-16 14:51:22 -04:00
Mike Shal
3c20629a8d Bug 978211 - add an automation/build target for post-build steps; r=glandium 2014-05-16 14:37:31 -04:00
Abdul Qadeer
17146d7b2e Bug 972329 - Install setuptools as part of bootstrap. r=gps 2014-06-11 11:22:00 -07:00
Ryan VanderMeulen
1166f1fc7d Backed out changeset ec353cd772b1 (bug 989583) for B2G emulator mochitest mass-fail. 2014-06-11 13:55:44 -04:00
Armen Zambrano Gasparnian
f04e017acc 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
85509113d4 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
65ba29fb64 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
1d0ee3b48b Bug 1022747: Add |mach bootstrap| support for DragonFly/DPorts. r=gps 2014-06-09 22:11:06 +02:00
Jan Beich
c2a5e1a00c Bug 1022739: Unbreak |mach bootstrap| with recent FreeBSD packages. r=gps 2014-06-09 22:11:00 +02:00
Nathan Froyd
94bb6d69ae 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
b02a375963 Bug 1027890 - Remove all sorts of build system code dedicated to pymake. r=gps 2014-06-25 08:38:28 +09:00
Joshua Cranmer
842965ce88 Backed out changeset b83296ec51b3 (bug 832112) for comm-central bustage, r=glandium. 2014-06-02 20:05:22 -05:00
Shih-Chiang Chien
6e57f8f32b 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
1a9bc33351 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
5ca47c0087 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
64c4381b8e Merge m-c to inbound 2014-05-23 17:37:56 -07:00
Wes Kocher
996c3dc9d1 Merge fx-team to m-c 2014-05-23 17:04:56 -07:00
Lucas Rocha
233a8e6fe6 Bug 1011620 - Generate suggestedsites.json from region.properties (r=nalexander) 2014-05-23 13:29:18 +01:00
Nickolay Ponomarev
400e6def48 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
25062405c3 Bug 996823 - Let mach pass-through subprocesses handle Ctrl-C themselves. r=mshal 2014-05-23 07:22:51 +09:00
Ting-Yu Lin
e5a1dbdf70 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
96ed00e142 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
7977069a46 Bug 989583 - Install all tests (even disabled) from manifests. r=jmaher 2014-05-16 10:20:37 -04:00
Lucas Rocha
c510f880fd Bug 997772 - Generate suggestedsites.json from locale (r=nalexander) 2014-05-09 09:39:14 +01:00
Ting-Yu Lin
9939d1c0fd 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
44958302c8 Bug 945869 - Provide more granular OS version information in mozinfo. r=ted.mielczarek 2014-05-01 06:09:00 +02:00
Markus Stange
18f216d363 Bug 1002712 - Add lldb type summaries for rects and regions. r=heycam
DONTBUILD
2014-04-29 12:14:42 +02:00
Jan Beich
84ae79733f 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
602bc0a792 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
32fe79a5a5 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
e389f7cec2 Bug 995762 - don't evaluate diff unless it's needed; r=gps 2014-04-14 13:53:20 -04:00
Jim Chen
4f540e0f96 Bug 996780 - Use ANDROID_TARGET_SDK for Eclipse project target. r=nalexander 2014-04-16 17:04:47 -04:00
Carsten "Tomcat" Book
5e075ef9a9 Backed out changeset 16fc740d96f5 (bug 996780) for build test failures on a CLOSED TREE 2014-04-16 10:30:51 +02:00
Jim Chen
ef8895ea4f Bug 996780 - Use ANDROID_TARGET_SDK for Eclipse project target. r=nalexander 2014-04-15 13:43:00 +02:00
Michael Ratcliffe
c264f0b2c4 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
e960c07933 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
04cd3c2abd Bug 973770 - Typo fix. r=botond DONTBUILD for NPOTB 2014-04-08 15:06:05 -04:00
Joshua Cranmer
60238a9741 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
4c459c3cd3 Bug 903149 - Part 3: Support for minifying packaged JavaScript; r=glandium 2013-09-11 19:54:19 -07:00
Gregory Szorc
0dd835591f 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
d8715357c7 Bug 989522 - Remove LIBXUL_LIBRARY from the moz.build sandbox. r=mshal 2014-04-02 11:52:04 +09:00
Mark Hammond
3d5d088ab8 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
3e14ec93b2 Merge m-c to inbound. 2014-03-26 23:09:54 -04:00
Ryan VanderMeulen
4dc5242df5 Merge inbound to m-c. 2014-03-26 20:58:31 -04:00
Gregory Szorc
df9137da98 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
c4fd7ed70c 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
a5ad8606cf Bug 985979 - disable the crashreporter when running |mach debug|; r=gps 2014-03-20 10:55:50 -04:00
Mike Hommey
73f5790186 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
254ce5d027 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
72fdff8026 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
991ee4e879 Bug 982474. Exclude more files from the CppEclipse-backend generated project. r=BenWa 2014-03-19 14:19:26 +08:00
Bill McCloskey
a6e3c52e36 Bug 938019 - Run mochitests from manifests (r=ted,gps) 2014-03-18 08:03:51 -07:00
Ryan VanderMeulen
6491cce8ea Backed out changeset a3fe19cdb618 (bug 938019) for robocop failures.
CLOSED TREE
2014-03-18 12:35:53 -04:00
Bill McCloskey
cf346004ee Bug 938019 - Run mochitests from manifests (r=ted,gps) 2014-03-18 08:03:51 -07:00
Georg Koppen
a4473a3cda Bug 942091 - Generate browser.manifest deterministically. r=glandium 2014-03-18 08:39:54 -04:00
Georg Koppen
a8c7f9dbde Bug 982075 - Make addEntriesToListFile() in buildlist.py deterministic. r=ted 2014-03-18 08:04:11 -04:00
Ehsan Akhgari
98311f51be Bug 981428 - Move OSX -framework flags to moz.build; r=mshal 2014-03-10 20:18:33 -04:00
Robert O'Callahan
f8370aad29 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
1446e0e788 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
b4e8b92962 Bug 981427 - CppEclipse - Usability improvements for b2g. r=botond
--HG--
extra : rebase_source : 9d60aca829f8f93a82ebf887070305b1e2baa815
2014-03-10 13:41:37 -04:00
Benoit Girard
fb7c5f2358 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
37f772a2da Bug 981353 - CppEclipse - Fix nspr indexer errors. r=botond
--HG--
extra : rebase_source : b51cda487916e32a0f6dcc1c2d3eff3c4856412c
2014-03-10 13:37:34 -04:00
Gregory Szorc
4b19f5e6c6 Bug 980174 - Remove some empty Makefile.in; r=mshal
--HG--
extra : rebase_source : eada340aed8daebbfc3bf7d4218bca980d654cef
2014-03-05 19:56:56 -08:00
Benoit Girard
c13280a58c Bug 980183 - Add support for eclipse CDT 8.3. r=botond NPOTB 2014-03-07 14:54:45 -05:00
Ted Mielczarek
442e25d71c 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
925efe315f Bug 973770 - Build backend that generates C/C++ Eclipse projects. r=gps 2014-03-06 00:03:10 -05:00
Gregory Szorc
6855aa46f4 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
31a858278a Backed out changeset 593206fbd97e (bug 979640) for mochitest-other failures.
CLOSED TREE
2014-03-05 13:52:02 -05:00
Gregory Szorc
1944284f31 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
3e3cabcaaf 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
bf09c6f469 Bug 976896 - Port STL_FLAGS to moz.build; r=mshal 2014-03-04 19:39:06 -05:00
Ehsan Akhgari
cfe6f6fd0a Bug 976886 - Port RCINCLUDE to moz.build; r=mshal
--HG--
extra : rebase_source : e8a75bc01c3f57516a1a1307de3d170ea07ca1ac
2014-03-04 17:19:24 -05:00
Andrew Halberstadt
dbaef4b995 No Bug - Fix python typo in mozboot, r=trivial, DONTBUILD, a=NPOTB 2014-03-04 13:04:12 -05:00
Ehsan Akhgari
4bf31332f9 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
9d04b5cd6d 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
5f8757f088 Merge m-c to fx-team 2014-02-25 20:38:33 -08:00
Nick Alexander
c019c83865 Bug 975504 - Add filtered_resources to AndroidEclipseProjectData. r=bnicholson 2014-02-25 15:59:31 -08:00
Carsten "Tomcat" Book
df93062b9a Merge mozilla-central to fx-team on a CLOSED TREE 2014-02-25 15:42:32 +01:00
Mike Hommey
c8d332e1a0 Bug 973144 - Support DEFINES['FOO']=False in moz.build for -UFOO. r=gps 2014-02-25 15:41:57 +09:00
Wes Kocher
6375199d3d Merge m-c to fx-team 2014-02-24 18:29:49 -08:00
Nick Alexander
0bd48f21ac Bug 975622 - Follow-up: Fix test. r=bustage 2014-02-24 18:23:02 -08:00
Nick Alexander
14995d1458 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
b07e0498e1 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
bafa0e727f Bug 975152 - Part 0: Allow res=None in AndroidEclipseProjectData. r=bnicholson 2014-02-24 18:14:04 -08:00
Nick Alexander
70ae35c2c2 Bug 975622 - Part 2: Add post builder. r=bnicholson 2014-02-24 18:14:04 -08:00
Nick Alexander
7db75ef759 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]
ef02817542 Bug 972168 - Add root relative destination paths to mochitest support files. r=ted 2014-02-13 10:15:11 -08:00
Ryan VanderMeulen
917a319f58 Merge m-c to inbound. 2014-02-25 15:28:35 -05:00
Ralph Giles
6fddc5ffec 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
5080040b8e 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
4866636da4 Backed out changeset 2912b402523d (bug 968245) for multiple test failures; CLOSED TREE 2014-02-25 17:05:52 +00:00
Gregory Szorc
0144669093 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
f594359272 Bug 975740 - Port WIN32_EXE_LDFLAGS to moz.build; r=mshal 2014-02-24 08:30:25 -05:00
Nick Alexander
bd801d2141 Bug 974268 - Fix bad comment syntax in AndroidEclipse template. r=me 2014-02-18 22:28:01 -08:00
Gregory Szorc
b43541710c 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
394520c972 Bug 973649 - Add logic for CFLAGS, CXXFLAGS and LDFLAGS to moz.build; r=mshal 2014-02-18 15:30:27 -05:00
Gregory Szorc
fd4e3401b7 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
41e4699086 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
7b16802ce4 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
063f2876b8 Fix error in lldb string serialiation; no bug. (DONTBUILD, NPOTB) 2014-02-17 15:22:59 +11:00
Gregory Szorc
3e6efb2e13 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
68cdc0b6ef Bug 853045 - Second follow-up: Fix bustage caused by .hgignore. r=me 2014-02-13 22:58:48 -08:00
Nick Alexander
243790089f Bug 853045 - Follow-up: Address review comment and avoid bustage. r=me 2014-02-13 22:25:26 -08:00
Nick Alexander
7a43f1e695 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
3f9d7cf3b6 Bug 853045 - Part 5: Advertise where Eclipse projects were written. r=gps 2014-02-13 22:19:50 -08:00
Nick Alexander
7d686d8280 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
d3145df1ff Bug 853045 - Part 2: Add frontend and RecursiveMakeBackend for Android Eclipse projects. r=gps 2014-02-13 22:19:49 -08:00
Nick Alexander
f40bc9b6af Bug 853045 - Part 1: Add Android Eclipse project templates to mozbuild. r=gps 2014-02-13 22:19:49 -08:00
Nick Alexander
232546d4fd 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
3319661389 Bug 969085 - try harder to resolve relative paths in MozconfigLoader; r=gps 2014-02-10 10:43:59 -05:00
Andrew Halberstadt
e080311aec 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
b2b3cc35fc Bug 971272 - Post: Add informational test showing unnecessary directories may be created. r=gps 2014-02-13 09:09:09 -08:00
Nick Alexander
514820fae2 Bug 971272 - Part 3: Use required_directories in FileCopier.copy. r=gps 2014-02-13 09:09:08 -08:00
Nick Alexander
0d1631ce57 Bug 971272 - Part 2: Expose FileRegistry.required_directories. r=gps 2014-02-13 09:09:08 -08:00
Nick Alexander
0873a1cf20 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
11193dcbd5 Bug 971265 - Add --no-remove-empty-directories to process_install_manifest.py. r=gps 2014-02-13 09:09:08 -08:00
Nick Alexander
4b62c976fd Bug 971265 - Pre: Don't write file in test_util.py. r=gps 2014-02-13 09:09:07 -08:00
Ryan VanderMeulen
7a1c0e3e51 Merge m-c to inbound. 2014-02-13 10:31:44 -05:00
Ted Mielczarek
cfa419cecd Bug 971802 - Make mozpack capable of storing unix file permissions in jars. r=glandium 2014-02-13 07:47:00 -05:00
Wes Kocher
2240e7180d Merge fx-team to mozilla-central 2014-02-12 16:26:16 -08:00
Ted Mielczarek
248a44c49a 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
94e5fda7a5 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
4076764251 Bug 970727 - Move DEFFILE to moz.build; r=mshal 2014-02-11 11:28:54 -05:00
Jacek Caban
06c5f9e5cc Bug 970429 - Don't allow using INITGUID in unified sources. r=Ehsan 2014-02-12 10:59:05 +01:00
Brian O'Keefe
82d30a00dd Bug 772828 - Part a: add support for RESOURCE_FILES in moz.build; r=mshal 2013-11-05 13:37:49 -05:00
Ehsan Akhgari
fbe321aed6 Bug 970745 - Move USE_STATIC_LIBS to moz.build; r=glandium 2014-02-11 09:12:33 -05:00
Ehsan Akhgari
e4f6f2dbbb Bug 969757 follow-up, fix two comments, DONTBUILD 2014-02-10 20:55:57 -05:00
Mike Hommey
0d839c5b66 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