Commit Graph

858 Commits

Author SHA1 Message Date
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