Commit Graph

50 Commits

Author SHA1 Message Date
Mike Hommey
47c853314f Bug 1077148 part 4 - Add and use new moz.build templates for Gecko programs and libraries. r=gps
There are, sadly, many combinations of linkage in use throughout the tree.
The main differentiator, though, is between program/libraries related to
Gecko or not. Kind of. Some need mozglue, some don't. Some need dependent
linkage, some standalone.

Anyways, these new templates remove the need to manually define the
right dependencies against xpcomglue, nspr, mozalloc and mozglue
in most cases.

Places that build programs and were resetting MOZ_GLUE_PROGRAM_LDFLAGS
or that build libraries and were resetting MOZ_GLUE_LDFLAGS can now
just not use those Gecko-specific templates.
2014-10-30 13:06:12 +09:00
Mike Hommey
4b99580194 Bug 1059113 - Use templates for shared libraries and frameworks. r=gps
Also force to use the existing template for XPCOM components.
2014-09-04 09:04:45 +09:00
Mike Hommey
0060683747 Bug 1059090 - Don't require SOURCES to be set for CPP_UNIT_TESTS and SIMPLE_PROGRAMS. r=mshal 2014-09-03 14:16:37 +09:00
Mike Hommey
ed70c5f377 Bug 1041941 - Use templates for programs, simple programs, libraries and C++ unit tests. r=gps 2014-09-03 14:10:54 +09:00
Mike Hommey
f287c057c6 Bug 1053140 part 3 - Separate out sandbox infrastructure from moz.build variables storage. r=gps
--HG--
rename : python/mozbuild/mozbuild/frontend/sandbox_symbols.py => python/mozbuild/mozbuild/frontend/context.py
rename : python/mozbuild/mozbuild/test/frontend/test_sandbox_symbols.py => python/mozbuild/mozbuild/test/frontend/test_context.py
2014-08-15 13:52:18 +09:00
Mike Hommey
220b276684 Bug 1047267 - Allow to reference libraries from third-party build systems in USE_LIBS. r=gps 2014-08-07 14:20:38 +09:00
Mike Hommey
78a9defead Bug 1045783 - Move OS_LIBS from a passthrough to a more fully supported variable. r=gps 2014-08-06 07:25:05 +09:00
Mike Hommey
ad2b8b8346 Bug 1041936 - Allow static library definitions to depend on shared libraries. r=gps 2014-07-23 13:33:06 +09:00
Mike Hommey
1c8e21d2d8 Bug 1036894 part 10 - Documentation for programs and libraries in moz.build world. r=gps 2014-07-23 13:31:10 +09:00
Mike Hommey
c52d31562a Bug 1035543 - Remove the MOZ_PSEUDO_DERECURSE variable. r=gps 2014-07-10 14:11:52 +09:00
Mike Hommey
b161fa67a5 Bug 1027890 - Remove all sorts of build system code dedicated to pymake. r=gps 2014-06-25 08:38:28 +09:00
William Lachance
543aa429dc Bug 984528 - Rename manifestdestiny -> manifestparser. r=ahal
--HG--
rename : testing/mozbase/docs/manifestdestiny.rst => testing/mozbase/docs/manifestparser.rst
rename : testing/mozbase/manifestdestiny/manifestparser/__init__.py => testing/mozbase/manifestparser/manifestparser/__init__.py
rename : testing/mozbase/manifestdestiny/manifestparser/manifestparser.py => testing/mozbase/manifestparser/manifestparser/manifestparser.py
rename : testing/mozbase/manifestdestiny/setup.py => testing/mozbase/manifestparser/setup.py
rename : testing/mozbase/manifestdestiny/tests/comment-example.ini => testing/mozbase/manifestparser/tests/comment-example.ini
rename : testing/mozbase/manifestdestiny/tests/default-skipif.ini => testing/mozbase/manifestparser/tests/default-skipif.ini
rename : testing/mozbase/manifestdestiny/tests/filter-example.ini => testing/mozbase/manifestparser/tests/filter-example.ini
rename : testing/mozbase/manifestdestiny/tests/fleem => testing/mozbase/manifestparser/tests/fleem
rename : testing/mozbase/manifestdestiny/tests/include-example.ini => testing/mozbase/manifestparser/tests/include-example.ini
rename : testing/mozbase/manifestdestiny/tests/include/bar.ini => testing/mozbase/manifestparser/tests/include/bar.ini
rename : testing/mozbase/manifestdestiny/tests/include/crash-handling => testing/mozbase/manifestparser/tests/include/crash-handling
rename : testing/mozbase/manifestdestiny/tests/include/flowers => testing/mozbase/manifestparser/tests/include/flowers
rename : testing/mozbase/manifestdestiny/tests/include/foo.ini => testing/mozbase/manifestparser/tests/include/foo.ini
rename : testing/mozbase/manifestdestiny/tests/just-defaults.ini => testing/mozbase/manifestparser/tests/just-defaults.ini
rename : testing/mozbase/manifestdestiny/tests/manifest.ini => testing/mozbase/manifestparser/tests/manifest.ini
rename : testing/mozbase/manifestdestiny/tests/mozmill-example.ini => testing/mozbase/manifestparser/tests/mozmill-example.ini
rename : testing/mozbase/manifestdestiny/tests/mozmill-restart-example.ini => testing/mozbase/manifestparser/tests/mozmill-restart-example.ini
rename : testing/mozbase/manifestdestiny/tests/no-tests.ini => testing/mozbase/manifestparser/tests/no-tests.ini
rename : testing/mozbase/manifestdestiny/tests/path-example.ini => testing/mozbase/manifestparser/tests/path-example.ini
rename : testing/mozbase/manifestdestiny/tests/relative-path.ini => testing/mozbase/manifestparser/tests/relative-path.ini
rename : testing/mozbase/manifestdestiny/tests/test_convert_directory.py => testing/mozbase/manifestparser/tests/test_convert_directory.py
rename : testing/mozbase/manifestdestiny/tests/test_convert_symlinks.py => testing/mozbase/manifestparser/tests/test_convert_symlinks.py
rename : testing/mozbase/manifestdestiny/tests/test_default_skipif.py => testing/mozbase/manifestparser/tests/test_default_skipif.py
rename : testing/mozbase/manifestdestiny/tests/test_expressionparser.py => testing/mozbase/manifestparser/tests/test_expressionparser.py
rename : testing/mozbase/manifestdestiny/tests/test_manifestparser.py => testing/mozbase/manifestparser/tests/test_manifestparser.py
rename : testing/mozbase/manifestdestiny/tests/test_read_ini.py => testing/mozbase/manifestparser/tests/test_read_ini.py
rename : testing/mozbase/manifestdestiny/tests/test_testmanifest.py => testing/mozbase/manifestparser/tests/test_testmanifest.py
rename : testing/mozbase/manifestdestiny/tests/verifyDirectory/subdir/manifest.ini => testing/mozbase/manifestparser/tests/verifyDirectory/subdir/manifest.ini
rename : testing/mozbase/manifestdestiny/tests/verifyDirectory/subdir/test_sub.js => testing/mozbase/manifestparser/tests/verifyDirectory/subdir/test_sub.js
rename : testing/mozbase/manifestdestiny/tests/verifyDirectory/test_1.js => testing/mozbase/manifestparser/tests/verifyDirectory/test_1.js
rename : testing/mozbase/manifestdestiny/tests/verifyDirectory/test_2.js => testing/mozbase/manifestparser/tests/verifyDirectory/test_2.js
rename : testing/mozbase/manifestdestiny/tests/verifyDirectory/test_3.js => testing/mozbase/manifestparser/tests/verifyDirectory/test_3.js
rename : testing/mozbase/manifestdestiny/tests/verifyDirectory/verifyDirectory.ini => testing/mozbase/manifestparser/tests/verifyDirectory/verifyDirectory.ini
rename : testing/mozbase/manifestdestiny/tests/verifyDirectory/verifyDirectory_incomplete.ini => testing/mozbase/manifestparser/tests/verifyDirectory/verifyDirectory_incomplete.ini
rename : testing/mozbase/manifestdestiny/tests/verifyDirectory/verifyDirectory_toocomplete.ini => testing/mozbase/manifestparser/tests/verifyDirectory/verifyDirectory_toocomplete.ini
2014-06-10 13:20:23 -04:00
Benoit Girard
450fef6f62 Bug 973770 - Build backend that generates C/C++ Eclipse projects. r=gps 2014-03-06 00:03:10 -05: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
Richard Newman
67e6b36b20 No bug - Add another row to build/docs/androideclipse.rst. a=doc-only, DONTBUILD 2014-02-19 10:01:49 -08:00
Nick Alexander
2cc043e6eb No bug - Add skeleton AndroidEclipse backend build docs. r=me
DONTBUILD NPOTB
2014-02-18 22:28:01 -08: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
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
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
Gregory Szorc
99072794bd NO BUG - Document buildapp in mozinfo
DONTBUILD (NPOTB)
2014-01-22 17:12:48 -08:00
Gregory Szorc
ec752f7b0a NO BUG - Document how to install Python if your system fails you
DONTBUILD (NPOTB)

--HG--
extra : rebase_source : ec950066172939bac899dd6588b1feaeb73ba84a
2014-01-08 11:07:20 -08: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
Gregory Szorc
edbe43df4f Bug 939367 - Part 2: Move requirements.txt into tools/docs
Trivial change. No review.

DONTBUILD (NPOTB)

--HG--
rename : build/docs/requirements.txt => tools/docs/requirements.txt
2013-12-12 18:10:04 +09: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
Ryan VanderMeulen
c27c94f281 Backed out changeset 2a89253c22cc (bug 939080) for Desktop B2G bustage. 2013-11-21 14:15:27 -05:00
Gregory Szorc
9e11e4a10e Bug 939080 - Allow support-files in manifests to exist in parent paths; r=ted
--HG--
extra : rebase_source : bfc18cc5daf4a3e08b21c45203cb9a9c53e868a9
2013-11-18 11:55:33 -08:00
Gregory Szorc
0ebc97f5b8 NO BUG - Build docs for supported build configurations
DONTBUILD (NPOTB)

--HG--
extra : rebase_source : 9d1ba5ca4568739c557410b20034671093e439c7
2013-11-20 10:52:48 -08:00
Mike Hommey
a470038314 Bug 935305 - Move preprocessor to mozbuild.action. r=gps
--HG--
rename : config/Preprocessor.py => python/mozbuild/mozbuild/preprocessor.py
rename : config/tests/unit-Expression.py => python/mozbuild/mozbuild/test/test_expression.py
rename : config/tests/unit-LineEndings.py => python/mozbuild/mozbuild/test/test_line_endings.py
rename : config/tests/unit-Preprocessor.py => python/mozbuild/mozbuild/test/test_preprocessor.py
2013-11-09 10:35:44 +09:00
Mark Hammond
05da1f5764 Bug 930849 - add a datareporting field to mozinfo. r=ted 2013-11-04 11:18:20 +11:00
Ed Morley
2a3d94e413 Bug 926821 - Fix build documentation & comments about quoting of manifest property values; rs=build DONTBUILD
--HG--
extra : rebase_source : f91229f8bae49200b47d29ef5cfb0517b83057bc
2013-10-28 15:03:56 +00:00
Gregory Szorc
a6ac950cd1 Bug 920638 - Integrate moz.build symbols and Python API docs into Sphinx; r=mshal 2013-10-10 10:35:44 -07:00
Gregory Szorc
3efcfe98ec Bug 917988 - Remove copyright string from build docs config because it isn't used
DONTBUILD (NPOTB)
2013-10-10 09:50:29 -07:00
Marco Castelluccio
44f174e6d5 Bug 924549 - Add MOCHITEST_WEBAPPRT_CHROME_MANIFESTS to specify webapprt chrome tests and convert all the webapprt mochitests to use manifests. r=gps 2013-10-09 09:16:18 -04:00
Gregory Szorc
1e4f6fcad3 NO BUG - Build docs for text preprocessor and jar manifests
DONTBUILD (NPOTB)
2013-10-07 23:47:08 +02:00
Gregory Szorc
776ef07489 NO BUG - Document more about slow builds
DONTBUILD (NPOTB)
2013-10-02 15:39:19 +02:00
Mike Hommey
8b37d8b82b Bug 921003 - For a given tier, skip directories without a Makefile.in and without variables in moz.build that are relevant to that tier. r=gps 2013-10-02 09:02:41 +09:00
Mike Hommey
190b98c019 Bug 905973 part 3 - Add a "binaries" tier that optimizes for recompilation times. r=gps 2013-10-02 08:53:23 +09:00
Gregory Szorc
c06e79cc18 NO BUG - Document mozinfo attributes, test manifest naming convention
DONTBUILD (NPOTB)
2013-10-01 09:28:39 +02:00
Gregory Szorc
654aba3e67 NO BUG - Update build system docs for Python and moz.build files
DONTBUILD (NPOTB)
2013-09-30 14:32:07 +02:00
Gregory Szorc
3e3a6e995d NO BUG - Increase memory allocation in build docs Vagrant config 2013-09-29 14:14:30 +02:00
Ed Morley
f91c3b486d Backed out changeset 71629b83b401 2013-09-30 12:49:56 +01:00
Gregory Szorc
d43cd5294e NO BUG - Increase memory allocation in build docs Vagrant config 2013-09-29 14:14:30 +02:00
Gregory Szorc
a96a58ca91 NO BUG - Document common build system targets, add requirements.txt
DONTBUILD (NPOTB)
2013-09-29 10:43:49 +02:00
Gregory Szorc
9f15f69ebd NO BUG - Increase memory allocation for documentation VM 2013-09-26 09:21:20 -07:00
Gregory Szorc
ec6b26aa84 Bug 917988 - Fix licensing of in-tree documentation; r=gerv
DONTBUILD (NPOTB)
2013-09-26 09:18:19 -07:00
Gregory Szorc
f8faf63224 NO BUG Convert documentation Vagrantfile to work with Mozilla's Jenkins instance
DONTBUILD (NPOTB)
2013-09-25 13:55:46 -07:00
Gregory Szorc
a3a5ce0f41 NO BUG Add Vagrantfile for documentation build environment
DONTBUILD (NPOTB)
2013-09-25 13:05:57 -07:00
Gregory Szorc
5bb409fdd5 Bug 901990 - Part 1: Integrate test manifests with build config; r=ted 2013-09-24 11:50:04 -07:00
Gregory Szorc
b95f5c38c9 NO BUG - Expand build system documentation DONTBUILD (NPOTB) 2013-09-23 17:21:10 -07:00
Gregory Szorc
60010fa7c3 Bug 917988 - Sphinx managed build system documentation; add mach build-docs; r=bsmedberg
--HG--
rename : python/mozbuild/dumbmake/README.rst => build/docs/mozbuild/dumbmake.rst
rename : python/mozbuild/mozbuild/frontend/README.rst => build/docs/mozbuild/frontend.rst
rename : python/mozbuild/README.rst => build/docs/mozbuild/index.rst
2013-09-20 15:46:43 -07:00