Commit Graph
48 Commits
Author SHA1 Message Date
Mike Hommey fe63725e36 Bug 1233282 - Move mozilla-config.h's export to moz.build. r=gps 2015-12-23 16:18:56 +09:00
Mike Hommey 5758a4ca53 Backout changesets 53a9d03e4223, e61d18180feb and f07752f611f6 (bug 1233282) for a race condition bustage on a CLOSED TREE. 2015-12-18 17:07:13 +09:00
Mike Hommey acbd2912e8 Bug 1233282 - Move mozilla-config.h's export to moz.build. r=gps 2015-12-18 15:57:12 +09:00
Mike Hommey 82af2e35f6 Bug 1231314 - Turn mozilla-config.h and js-confdefs.h into CONFIGURE_DEFINE_FILES. r=gps
Both these files, are, after all, define files, like other CONFIGURE_DEFINE_FILES.
They only happen to have a special requirement for an expansion for all defines,
which doesn't need to happen through traditional preprocessing.

This change adds consistency in how configure-related headers are being handled.
2015-12-15 08:06:11 +09:00
Mike Hommey 899f1cabf4 Bug 1211765 - Remove remnants from --with-libxul-sdk. r=bsmedberg
The configure option has explicitly thrown an error for more than a year now,
and it happens that the remaining way to still forcefully use it has been
broken for more than 8 months.
2015-10-14 08:02:34 +09:00
Makoto Kato 5b8da1840d Bug 1134110 - other-license/android is unnecessary if Android minimum version is 11 or later. f=esawin, r=sworkman 2015-05-14 15:38:18 +09:00
Jim Blandy 5b02d88b40 Bug 1062473: Use mozalloc's moz_malloc_size_of in the JS shell, not our own custom copy. r=glandium 2015-04-13 16:11:32 -07:00
Jim Blandy 798066eed6 Bug 1134039: Make SpiderMonkey standalone (JS_STANDALONE) builds use jemalloc and mozglue by default. r=glandium
JS_STANDALONE builds don't need everything in mozglue; have mozglue omit the
unneeded code for such builds.

Since the SpiderMonkey binaries are now more like the other Gecko binaries, we
can remove some special cases for JS_STANDALONE in GeckoSharedLibrary,
GeckoProgram, etc. All Gecko binaries now use mozglue, which contains mfbt, so
we no longer need mention mfbt explicitly.

Add a property to the getBuildConfiguration testing function's result that
indicates whether we're using jemalloc or not.

Include the newly necessary source directories in the SpiderMonkey source
package.
2015-03-19 02:12:53 -07:00
Gregory Szorc 1e691ecc28 Bug 1132771 - Define some bug components; r=glandium
This patch defines bug components for code that I have historically
touched.
2015-02-26 11:43:45 -08:00
Gregory Szorc 96c0795af9 Bug 1132771 - Support and test for reading without a config object; r=glandium
We want the ability to read data from any moz.build file without needing
a full build configuration (running configure). This will enable tools
to consume metadata by merely having a copy of the source code and
nothing more.

This commit creates the EmptyConfig object. It is a config object that -
as its name implies - is empty. It will be used for reading moz.build
files in "no config" mode.

Many moz.build files make assumptions that variables in CONFIG are
defined and that they are strings. We create the EmptyValue type that
behaves like an empty unicode string. Since moz.build files also do some
type checking, we carve an exemption for EmptyValue, just like we do for
None.

We add a test to verify that reading moz.build files in "no config" mode
works. This required some minor changes to existing moz.build files to
make them work in the new execution mode.
2015-02-26 10:21:52 -08:00
Mike Hommey 715db83e04 Bug 1126593 - Add a global fallible instance, so that using fallible works directly, everywhere. r=njn 2015-02-02 09:56:13 +09:00
Seth Fowler 8145b9d7af Bug 1121297 (Part 1) - Move VolatileBuffer into libxul. r=glandium 2015-01-16 15:47:22 -08:00
Tooru Fujisawa 019de5e835 Bug 1080910 - Add USE_ICU variable separated from ENABLE_INTL_API. r=glandium 2014-10-10 02:55:00 -04:00
Mike Hommey 7a86cf7f73 Bug 1062221 - Replace add_tier_dir with DIRS. r=gps 2014-10-02 09:14:07 +09:00
Mike Hommey c1cc601ca5 Bug 1062219 - Don't build build/clang-plugin as an external directory. r=jcranmer 2014-09-04 17:44:01 +09:00
Mike Hommey be2578fd9c Bug 1041941 - Use templates for Gecko XPCOM components. r=gps 2014-08-24 09:11:05 +09:00
Mike Hommey c1d57ebc0b Bug 1047267 - Move remaining OS_LIBS and EXTRA_LIBS to moz.build. r=gps
* * *
Bug 1047267 - To fold with "Move remaining OS_LIBS and EXTRA_LIBS to moz.build"
2014-08-07 14:21:03 +09:00
Mike Hommey a9dcab8b9e Bug 1049281 - Move third-party build system "drivers" to config/external, and stop using static dirs. r=gps 2014-08-07 02:58:52 +09:00
Mike Hommey d674c9a855 Bug 1043344 - Move libraries and programs build to the compile tier. r=gps 2014-07-25 07:14:40 +09:00
Steve Fink 94f7febb3a Bug 975011 - Allow js/src/configure to invoke the in-tree NSPR configure. r=glandium 2014-02-25 14:15:16 -08:00
Mike Hommey 59b6a768cb Bug 1039197 - Always build js engine with zlib. r=luke 2014-07-17 08:42:17 +09:00
Ryan VanderMeulen eed9e79ce1 Backed out changeset 9d86b9442f0b (bug 975011) for Windows debug test bustage that only appears on clobber builds.
CLOSED TREE
2014-06-18 13:21:57 -04:00
Steve Fink 9da8bf10be Bug 975011 - Allow js/src/configure to invoke the in-tree NSPR configure. r=glandium 2014-02-25 14:15:16 -08:00
Steve Fink c9cda59e42 Backed out changeset 7cff27cb2845 (bug 975011), for breaking just about everything not on tbpl 2014-03-11 09:53:58 -07:00
Steve Fink cb229f69ec Bug 975011 - add an option to configure and build NSPR from within js/src build. r=glandium 2014-02-25 14:15:16 -08:00
John Shih b8485edccf Bug 961598 - Part 2: Disable wrapped code from ICS. r=mwu, mh 2014-02-25 09:46:48 +08:00
Mike Hommey 2f85621f7c 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.
2014-02-11 10:37:47 +09:00
Mike Hommey accb8ea23a Bug 958404 - Recurse icu from top-level when building js. r=gps 2014-01-20 09:13:06 +09:00
Mike Hommey 4f1e15ffe0 Bug 958404 - Recurse ffi from top-level when building js. r=gps 2014-01-20 09:11:55 +09:00
Mike Hommey eb93b067f1 Bug 958404 - Recurse mfbt from top-level when building js standalone. r=gps 2014-01-20 09:11:45 +09:00
Mike Hommey 4616633b3f Bug 958404 - Use tiers for js build. r=gps 2014-01-20 09:11:37 +09:00
Kai-Zhen Li c2f718a510 Bug 958010 - Disable to wrap DNS resolver on gonk-kk. r=glandium 2014-01-13 22:11:02 +08:00
Mike Hommey 314068f9d1 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 4dc75153d3 Bug 950531 - Don't build mfbt when building --with-libxul-sdk. r=gps 2013-12-18 08:07:11 +09:00
Mike Hommey 88f7847516 Bug 862770 - Fix --disable-compile-environment a little. r=gps 2013-11-07 10:37:45 +09:00
Mike Hommey 70dda194e0 Bug 921816 - Handle idls in --with-libxul-sdk builds. r=gps 2013-11-07 10:37:44 +09:00
Gregory Szorc d838e11c32 Bug 927837 - Don't manage generated files in configure; r=glandium 2013-10-23 14:43:32 -07:00
Benjamin Peterson b86edfd4a3 Bug 915648 followup - Remove debugging code from 9cc7634555c3. r=trivial 2013-10-02 17:30:50 -04:00
Mike Hommey 834f2517b9 Bug 915648 - Parallelize make export. r=gps 2013-09-20 13:30:17 +09:00
Mike Hommey b50462f826 Fixup to the fixup for bug 912832 busting static analysis builds. r=jcranmer 2013-09-06 11:24:41 +09:00
Mike Hommey 5cdea1b706 Fixup for bug 912832 busting static analysis builds. r=me 2013-09-06 10:09:52 +09:00
Gregory Szorc a42a59c67b Bug 899792 - Establish precompile tier and move IPDL and WebIDL build rules; r=glandium
A new build tier is introduced: precompile. The intention is to replace
the export subtier with something better and nonrecursive. IPDL and
WebIDL code generation have been moved into this new tier and are
performed concurrently. This appears to reduce build times due to fewer
"single threaded" build actions.

The subtier tracking UI has been updated to reflect operations that can
occur in parallel. As subtiers are started, they turn yellow. They can
then complete in any order.

Nonrecursive targets have been added to preserve the IPDL and WebIDL
build targets such that developers can type |make| from leaf directories
like they have always done.
2013-07-30 17:00:24 -07:00
Kyle Machulis 331f36baa9 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis ec9b53db93 Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis 0419a0b889 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-03-29 13:56:18 -07:00
Joshua Cranmer 3099cfa503 Bug 767563 - Add a clang static checker, part 1: add the plugin shell. r=glandium 2013-03-23 21:12:25 -05:00
Gregory Szorc c99af04e3d Bug 784841 - Part 18ι: Convert /tools; r=ted 2013-02-25 13:20:01 -08:00
Gregory Szorc 4f2ec7f83b Bug 784841 - Part 18e: Convert /build, /config, and core build system; r=ted 2013-02-25 12:47:18 -08:00