Commit Graph

48 Commits

Author SHA1 Message Date
Nick Alexander
7e516a64dd Bug 1168407 - Implement a bidirectional Java addon interface. f=jchen,r=rnewman,r=mfinkle
There are several parts to this ticket:

1) Produce javaaddons-1.0.jar, a standalone JAR defining a (versioned)
Java interface suitable for consumption by third-party Java addon
implementations.

2) Support the new V1 interface in the JavaAddonManager.

3) Add Robocop JavascriptTests testing the JavaScript message passing
interface to and from Java.

This patch can be read as "not in tests/" and "everything in tests/".
2015-06-17 21:47:29 -07:00
Mike Hommey
cb68126814 Bug 1168251 - Do a partial recursion when doing make -C some/path compile. r=gps 2015-05-27 11:33:22 +09:00
Nick Alexander
5fab5bfd56 Bug 1159371 - Allow compiling sub-directories with --disable-compile-environment. r=glandium
Without this, invoking Make in a sub-directory will fail with an error
that libs:: cannot find target `target'.

Without this patch, the Fennec Gradle and IDE build integration fails
compiling its custom targets in mobile/android/base and
mobile/android/base/locales.
2015-04-27 14:55:34 -07:00
Nick Alexander
38e2fbcbbd Backed out changeset 3232d253cf90 (bug 1159371) 2015-04-30 11:40:38 -07:00
Nick Alexander
9478e1e9ba Bug 1159371 - Allow compiling sub-directories with --disable-compile-environment. r=glandium
Without this, invoking Make in a sub-directory will fail with an error
that libs:: cannot find target `target'.

Without this patch, the Fennec Gradle and IDE build integration fails
compiling its custom targets in mobile/android/base and
mobile/android/base/locales.
2015-04-27 14:55:34 -07:00
Kartikaya Gupta
69c50300c9 Bug 1039866 - Rip out a bunch of metro-only code. r=jimm,gavin,rstrong 2015-04-23 15:10:30 -04:00
Mike Hommey
a52b79d248 Bug 1146738 - Fix race condition between js/src/target and js/src/host. r=mshal 2015-04-15 09:21:21 +09:00
Brian O'Keefe
6f8d3debc1 Bug 852814 - Move mozbuild variable blacklist logic into the backend. r=gps 2015-03-27 15:39:34 -04:00
Mike Hommey
c9146879fe Bug 1063880 - Allow a --disable-compile-environment to go through a full mach build. r=mshal 2015-03-11 16:03:55 +09:00
Nick Alexander
133c885122 Bug 1086693 - Part 2: Generate and build Android SDK JNI wrappers. r=gps 2014-11-13 12:47:23 -06:00
Mike Hommey
5891d89d94 Bug 1094033 part 1 - Consolidate how to add new tiers. r=gps 2014-11-06 09:29:11 +09:00
Mike Hommey
81f5286e96 Add missing recurse.mk change from bug 1077148 part 1 after a bad merge. r=gps
--HG--
extra : amend_source : a6c285a79d2ca0b76a6896ae4478564de009c8b6
2014-10-30 13:51:01 +09:00
Mike Hommey
44350cf440 Bug 1090114 - Avoid race condition when building logalloc replay on mac. r=mshal 2014-10-29 13:29:45 +09:00
Mike Hommey
2d355184c2 Bug 1090111 - Remove now unnecessary dependency for sqlite in recurse.mk. r=mshal
Since bug 1047267, there is a USE_LIBS += ['sqlite'] for the case it was
covering.
2014-10-29 13:29:44 +09:00
Mike Hommey
5f3bfd0ece Bug 1062221 - Replace add_tier_dir with DIRS. r=gps 2014-10-02 09:14:07 +09:00
Mike Hommey
4353f43090 Bug 1062219 - Don't build build/clang-plugin as an external directory. r=jcranmer 2014-09-04 17:44:01 +09:00
Mike Hommey
4d1c439d55 Bug 1055204 - Build C/C++ code when recursing from non-toplevel builds. r=gps 2014-08-26 09:33:58 +09:00
Mike Hommey
931d4e1ddc Bug 1049281 - Remove static dirs handling, now that there aren't any. r=gps
Also do some overdue cleanup from the removal of parallel and tools dirs
2014-08-07 02:58:53 +09:00
Mike Hommey
9e0f16a8c2 Bug 1043862 - Make the binaries target use the compile tier. r=gps 2014-07-29 08:58:28 +09:00
Mike Hommey
010c0a5eb7 Bug 1043820 - Remove PARALLEL_DIRS. r=gps 2014-07-29 08:57:59 +09:00
Mike Hommey
42f57b6138 Bug 1043802 - Remove TOOLS_DIRS and TEST_TOOLS_DIRS. r=gps 2014-07-29 08:55:55 +09:00
Mike Hommey
2a08f131e0 Bug 1043344 - Move libraries and programs build to the compile tier. r=gps 2014-07-25 07:14:40 +09:00
Mike Hommey
4c1a95d4cf Bug 1041960 - Remove subtiers from make backend. r=gps 2014-07-23 13:28:54 +09:00
Mike Hommey
a98af9202d Bug 1040649 - Detect changes to frozen variables between rules.mk include and the end of Makefile.in. r=mshal 2014-07-19 08:46:33 +09:00
Neil Rashbrook
c44b17d9c5 Bug 1037981 Make 'derecursed' builds support --enable-xterm-updates r=glandium 2014-07-16 08:36:30 +01:00
Mike Hommey
f059293f00 Bug 1035543 - Remove the MOZ_PSEUDO_DERECURSE variable. r=gps 2014-07-10 14:11:52 +09:00
Mike Hommey
6f2a5ee670 Bug 1035087 - Avoid recursing some "binaries" targets when recursing for "libs". r=gps 2014-07-08 13:47:24 +09:00
Mike Hommey
e244f2b40c Bug 915535 - Fixup for Windows bustage on a CLOSED TREE. r=me 2014-03-27 11:16:45 +09:00
Mike Hommey
4278d5aa0d Bug 988141 - Clean up config/recurse.mk after bug 969164. r=gps 2014-03-27 10:36:36 +09:00
Mike Hommey
20e55d4af4 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
aa033a9382 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
Mike Hommey
989b41cf6b Bug 969164 - Replace most BUILDING_JS uses with JS_STANDALONE. r=gps
Before making top-level traverse js/src moz.build files, there was a need to
distinguish between top-level traversing e.g. top-level moz.build or
config/moz.build and js/src traversing them. With a single traversal of both
moz.build sets, we now only need to distinguish between js standalone builds
and gecko builds.

There is still, however, a need to distinguish between top-level vs. js/src
configure runs on gecko builds to make them subconfigure icu and libffi from
top-level instead of js/src in js standalone builds, or when choosing to make
js/src's config.status do something when run or not.
2014-02-11 10:37:47 +09:00
Mike Hommey
a2f77f2a3e Bug 958404 - Use tiers for js build. r=gps 2014-01-20 09:11:37 +09:00
Mike Hommey
61c57c1870 Bug 959508 - Remove EXTERNALLY_MANAGED_MAKE_FILE traversal. r=gps 2014-01-20 09:10:33 +09:00
Mike Hommey
06d6d3c5cf Bug 943728 - Replace double quotes with single quotes in Makefiles (or remove them when it makes sense). r=mshal 2013-12-03 06:34:21 +09:00
Mike Hommey
082d667fb2 Bug 938956 - Add a generic recursion rule. r=gps
Use by running:
  make -C objdir recurse RECURSED_COMMAND="command_to_run in_each_subdirectory"
2013-11-16 13:40:53 +09:00
Mike Hommey
bf5fdbbd38 Bug 862770 - Fix --disable-compile-environment a little. r=gps
--HG--
rename : config/makefiles/target_libs.mk => config/makefiles/target_binaries.mk
rename : js/src/config/makefiles/target_libs.mk => js/src/config/makefiles/target_binaries.mk
2013-11-07 10:37:45 +09:00
Mike Hommey
1ac864ff12 Bug 928204 - Don't ignore missing depfiles when aggregating them. r=gps 2013-10-24 07:59:03 +09:00
Carsten "Tomcat" Book
aff78ee587 Backed out changeset f90eb21ea4cd (bug 928204) for build failures on Linux PGO 2013-10-22 11:47:48 +02:00
Mike Hommey
79fc41f3cc Bug 928204 - Don't ignore missing depfiles when aggregating them. r=gps
However, since we don't generate depfiles when compiling assembly, explicitly exclude those.
Also, fix a few issues with included depfiles:
- The tools tier need them because it (sadly) links binaries.
- depfiles for TARGETS use the full path, whereas the depfiles for OBJS and others don't.
2013-10-22 13:40:37 +09:00
Mike Hommey
1e42ec5de9 Bug 921307 - Aggregate dependencies in subdirectories that are still recursed with pseudo derecurse. r=gps 2013-10-03 05:51:19 +09:00
Mike Hommey
9ff9ef374e Bug 905973 part 3 - Add a "binaries" tier that optimizes for recompilation times. r=gps 2013-10-02 08:53:23 +09:00
Mike Hommey
1f9037d4ca Bug 915648 - Parallelize make export. r=gps 2013-09-20 13:30:17 +09:00
Mike Hommey
107771f6d5 Bug 907365 - Pseudo-derecursify the build (opt-in). r=gps
Also remove the compile tier added in bug 912856 when pseudo-derecursify is disabled.
2013-09-20 10:44:11 +09:00
Mike Hommey
7371888973 Bug 917086 - Disallow DIRS, PARALLEL_DIRS and TEST_DIRS under TOOL_DIRS and TEST_TOOL_DIRS, and adapt moz.build files accordingly. r=gps
Also mark TOOL_DIRS/TEST_TOOL_DIRS directories in backend.mk and recurse them normally instead of forcing make -C dir libs for them.
2013-09-19 07:43:02 +09:00
Mike Hommey
18beb0b78d Bug 912856 - Add a compile 'tier' to build OBJS and HOST_OBJS. r=gps 2013-09-06 09:19:32 +09:00
Mike Hommey
b72cb335fd Bug 912832 - Inverse tiers and subtiers for build traversal. r=gps 2013-09-06 09:17:59 +09:00
Mike Hommey
cb4dfb8bff Bug 912292 - Always traverse sub-directories after executing rules in the current directory. r=gps 2013-09-05 15:08:43 +09:00