Commit Graph

2301 Commits

Author SHA1 Message Date
Nick Alexander
af1552a1e9 Bug 1160563 - Part 2: Make ANDROID_ASSETS_DIRS a moz.build variable. r=gps
We have had singular ANDROID_ASSETS_DIR in Makefile.in for a while.
Fennec itself does not use the existing Makefile.in Android code, for
complicated historical reasons.

This makes the existing variable moz.build-only; generalizes the
existing variable to an ordered list; and adds the equivalent use of
the new list to the Fennec build, with a simple example asset.

This patch also updates the packager to include assets packed into the
gecko.ap_.  Without the packager change, the assets/ directory in the
ap_ gets left out of the final apk.  This whole approach is totally
non-standard but is more or less required to support our single-locale
repack scheme.
2015-08-12 11:04:03 -07:00
Nick Alexander
a7626d802f Bug 1160563 - Pre: Allow ANDROID_RES_DIRS that are not relative to srcdir. r=gps 2015-08-10 13:18:32 -07:00
Heiher
7de87b9613 Bug 1182936 part 3 - Rename mips to mips32 in check_macroassembler_style.py. r=nbp 2015-08-12 11:22:01 +02:00
ffxbld
e634dfaf18 Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2015-08-10 12:20:42 -07:00
Mike Hommey
b613c5d5ba Bug 1191209 - Rebuild XPT files when the list of corresponding IDL files changed. r=gps 2015-08-07 06:46:33 +09:00
Jacek Caban
666295f515 Bug 856404 - Enable libraries folding on mingw. r=glandium 2015-08-06 13:26:33 +02:00
Makoto Kato
64c1db5f1a Bug 830801 - Part 3. Remove NOMINMAX define from cpp source. r=mshal 2015-08-03 10:07:20 +09:00
Andreas Tolfsen
9cef740107 Bug 1177608: Support for compiling optimised Rust code
Optimised Rust compilation is enabled on passing --enable-optimize to
the configure script.  This sets the RUSTFLAGS output variable that gets
picked up by the compile targets RSOBJS and RSSRCS and passed to rustc.

r=glandium
2015-07-21 14:21:40 +01:00
Ryan VanderMeulen
ccb31ee58b Backed out changeset 65117b62026a (bug 1179805) for causing Linux Taskcluster build failures.
CLOSED TREE
2015-07-17 11:57:47 -04:00
Heiher
f3e5bd5418 Bug 1183487 - Fix sorting in check_macroassembler_style.py. r=nbp 2015-07-13 19:57:00 -04:00
Kyle Machulis
bdea3bb66f Bug 1157768 - Build files and config headers for libav fft; r=glandium 2015-07-10 14:34:07 -07:00
Wes Kocher
741b8c3fc2 Backed out 3 changesets (bug 1157768) for win64 pgo build bustage CLOSED TREE
Backed out changeset 24ced1b9f9dd (bug 1157768)
Backed out changeset 55efd92ce59d (bug 1157768)
Backed out changeset 812f311c4ee4 (bug 1157768)
2015-07-09 14:40:20 -07:00
Kyle Machulis
cd750a2fbb Bug 1157768 - Build files and config headers for libav fft; r=glandium 2015-07-09 09:07:52 -07:00
Nicolas B. Pierron
c6b64ed88b Bug 1178772 - Add check_macroassembler_style.py: Verify that each MacroAssembler declaration maps to all its definitions. r=h4writer 2015-07-09 14:35:29 +02:00
Kyle Machulis
a4842e7759 Bug 1176300 - Add soundtouch factory functions for DLL memory handling on windows; r=padenot 2015-07-07 21:17:09 -07:00
Kyle Machulis
3a233ed321 Bug 1176300 - Add lgpllibs library to build system; r=glandium 2015-07-07 21:17:08 -07:00
Mike Hommey
1ff0be1b75 Bug 1179805 - Add compatibility check for glibc version, like the one for libstdc++. r=mshal
At the same time, make the test for libstdc++ more comprehensible.
2015-07-08 07:54:58 +09:00
Martin Thomson
3fbdd7b996 Bug 1172785 - RTCCertificate implementation, r=rbarnes 2015-07-06 10:40:04 -07:00
Rex Hung
1b1cbb5d50 bug 1173070 - expose VFY_EndWithSignature from NSS r=keeler 2015-06-09 15:51:38 -07:00
ffxbld
2997272b35 Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2015-06-29 13:34:04 -07:00
Nick Alexander
31b4d8f041 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
4433139353 Bug 1175323 - Bump stdc++compat minimum supported libstdc++ version to 4.3. r=nfroyd 2015-06-18 17:10:39 +09:00
Ted Mielczarek
ef3cd4dce9 bug 1163828 - build system changes to support building for iOS. r=glandium 2015-06-10 11:10:40 -04:00
Ryan VanderMeulen
e7e473d305 Merge inbound to m-c. a=merge 2015-06-03 15:55:09 -04:00
Liang-Heng Chen
0f95d0e95a Bug 1115480 - Part 1: Implement XPCOM module for mDNSProvider. r=mcmanus 2015-05-20 23:06:00 -04:00
Kelly Davis
60bc7baa75 Bug 1051146 - Part 3: Introduce build system changes for the new Pocketsphinx and Sphinxbase code. r=smaug, r=gps 2015-05-27 21:39:00 -04:00
Mike Hommey
4b1a50686e Bug 1169158 - Avoid NSPR using dates it generates at build time. r=gps 2015-06-03 08:20:15 +09:00
Mike Hommey
0ea7bef89f Bug 1168293 - Remove MOZ_GLUE_IN_PROGRAM from config/config.mk. r=mshal 2015-05-27 11:33:23 +09:00
Mike Hommey
59a3378d19 Bug 1168251 - Do a partial recursion when doing make -C some/path compile. r=gps 2015-05-27 11:33:22 +09:00
David Major
a597243664 Bug 1165442: Fix LIBPATH for NSS after bug 1138824. r=glandium 2015-05-21 07:58:23 -04:00
Mike Hommey
0156647ba1 Bug 1167005 - Remove gcc_hidden_dso_handle hack. r=nfroyd
The hack from bug 1001320 is not necessary anymore, since it originally
applied to gcc 4.4 only and now gcc 4.6, which we don't support anyways.
2015-05-21 15:17:02 +09:00
Mike Hommey
434f0fefde Bug 1166538 - Use zip py_action in a few places. r=gps 2015-05-21 15:17:02 +09:00
Brian O'Keefe
c6a1261439 Bug 924187 - Deal with interfaces.manifest from the backend. r=mshal 2015-02-13 08:11:57 -05:00
Lee Salzman
1850a6f595 Bug 1159273 - Allow loading of tree cairo and system cairo at the same time. r=glandium 2015-05-13 12:04:03 +09:00
Carsten "Tomcat" Book
e30005394c merge mozilla-inbound to mozilla-central a=merge 2015-05-12 16:10:32 +02:00
ffxbld
67bc96e5a4 Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2015-05-11 15:06:43 -04:00
Ralph Giles
be59a13194 Bug 1161339 - Add rust support to moz.build. r=ted
Add .rs as a recognized file extension in SOURCES.

Propagate that through to the Makefile backend and add a dependency
generated and an explicit rule to call $(RUSTC) to compile them.

rustc builds static libraries, not obj files. At least, if one
asks it to output an obj file, I'm not clear how to get all the
compiler-specific runtime libraries the code will expect to link
to. Therefore we generate a static library for each rust source
file (which must be a complete crate for the time being) and link
that. Because of the extension it ends up on the LIBS line in the
the corresponding .desc file.

Note that the static library does still depend on some system
libraries, e.g. -ldl -lpthread -lm on linux. Gecko already
links to all of those, so we don't keep track of it here.

Should we need to add explicit linkage for other targets,
rustc does print a list to stderr which can be parsed.
2015-05-08 15:18:00 -07:00
Nathan Froyd
3948774f0a Bug 1155283 - remove XULAPP_DEFINES from DIST_FILES_FLAGS; r=mshal
Nothing uses XULAPP_DEFINES anymore, let's just get rid of it.  There
are plenty more places to add in defines for DIST_FILES if one is so
inclined.
2015-05-07 10:03:16 -04:00
Paul Adenot
5f45a24f0d Bug 926838 - [Part 6] Unbitrot the build system bits. r=gps 2015-05-04 17:19:03 +02:00
JW Wang
c81349a686 Bug 926838 - [Part 2] Add build files. r=gps 2013-11-13 11:07:28 +08:00
Carsten "Tomcat" Book
a6bef70f5a Backed out changeset 2456dfeb5f9c (bug 926838) 2015-05-05 15:51:38 +02:00
Carsten "Tomcat" Book
4b2e1ee7fa Backed out changeset 5b6ef91bfe01 (bug 926838) 2015-05-05 15:51:16 +02:00
Paul Adenot
8b0c1ea6ce Bug 926838 - [Part 6] Unbitrot the build system bits. r=gps 2015-05-04 17:19:03 +02:00
JW Wang
fef3cc977b Bug 926838 - [Part 2] Add build files. r=gps 2013-11-13 11:07:28 +08:00
Nick Alexander
bcc2f8bd13 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
e3efe6eece Backed out changeset 3232d253cf90 (bug 1159371) 2015-04-30 11:40:38 -07:00
Nick Alexander
cc84f997ac 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
Nathan Froyd
206784f8f3 Bug 1155816 - part 2 - move EXTRA_*COMPONENTS manifest check to build-backend time; r=mshal
Now that moz.build can see EXTRA_*COMPONENTS and NO_JS_MANIFEST, we can
move some logic from rules.mk (executed every build) to moz.build's
emitter.py (executed only at build-backend time).
2015-04-17 15:02:19 -04:00
Richard Barnes
20b75325f3 Bug 1121982 - Update PSM to use NSS name constraints 2015-04-23 20:26:29 -04:00
Kartikaya Gupta
8ec41da08a Bug 1039866 - Rip out a bunch of metro-only code. r=jimm,gavin,rstrong 2015-04-23 15:10:30 -04:00
Nathan Froyd
69557e3734 Bug 1155760 - remove obsolete JAVA_{GEN_DIR,DIST_DIR,IFACES_PKG_NAME} definitions; r=nalexander
These definitions appear to have been added to support generating Java
interfaces from xpidl interface files.  Since we don't support doing
that anymore, we don't need these definitions, either.
2015-04-17 13:13:21 -04:00
Makoto Kato
dbf7c56ffd Bug 866301 - Part 2. Use in-tree ICU source code for gonk. r=glandium 2015-04-21 17:31:38 +09:00
Reuben Morais
78c67c019e Bug 866301 - Part 1. Add unorm.h to system-headers. r=glandium 2015-04-21 17:31:26 +09:00
Jim Blandy
3b2e239893 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
Mike Hommey
23a471aa99 Fixup for bug 1153154 for bustage on a CLOSED TREE. r=me
There was no need for a stdc++compat check on host static libraries anyways.
2015-04-16 15:30:29 +09:00
Mike Hommey
0f374fd70e Bug 1153154 - Add stdc++compat check for host programs when not cross compiling. r=mshal 2015-04-16 14:35:11 +09:00
Mike Hommey
acf62f69c4 Bug 1146738 - Fix race condition between js/src/target and js/src/host. r=mshal 2015-04-15 09:21:21 +09:00
Mike Hommey
f1157cc11d Bug 1154122 - Fix stdc++compat check after bug 1059255. r=mshal 2015-04-14 14:34:07 +09:00
Brian O'Keefe
70bc6b6163 Bug 852814 - Move mozbuild variable blacklist logic into the backend. r=gps 2015-03-27 15:39:34 -04:00
ffxbld
78dfbf6c8b Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2015-03-30 11:44:20 -07:00
Mike Hommey
e7949e50fd Bug 1138824 - Don't install import libraries in $(DIST)/lib. r=gps
However, still keep copying nss there, because its build system needs it to link
programs such as certutil.
2015-03-27 09:42:11 +09:00
Mike Hommey
1eee44a9d1 Bug 1138824 - Simplify installation of import libraries to $(DIST)/lib. r=gps
The recursivemake backend sets IMPORT_LIBRARY to the same value as
SHARED_LIBRARY on non-Windows platforms, so we can simply use
IMPORT_LIBRARY everywhere.
2015-03-27 09:42:07 +09:00
Mike Hommey
47007104f5 Bug 1138824 - Remove NO_INSTALL_IMPORT_LIBRARY. r=gps
NO_INSTALL_IMPORT_LIBRARY is only used in one place, and since we don't even
use $(DIST)/lib for gecko, it actually doesn't make a difference presently.
2015-03-27 09:42:00 +09:00
NiLuJe
7d94574a22 Bug 1143411 - Fix build against latest freetype code. r=glandium 2015-03-18 19:32:53 -04:00
Ms2ger
6cbac43d20 Bug 1142567 - Remove FAIL_ON_WARNINGS_DEBUG; r=mshal
It is not used.
2015-03-13 13:01:28 +01:00
Alex Henrie
aaa8cd83ee Bug 1134537 - Delete GnomeVFS extension. r=roc 2015-03-09 21:12:58 -06:00
Mike Hommey
86d0db5e11 Bug 1063880 - Allow a --disable-compile-environment to go through a full mach build. r=mshal 2015-03-11 16:03:55 +09:00
Cykesiopka
a89929ad29 Bug 1139177 - RSA public key size checking cleanups. r=keeler 2015-03-05 16:41:00 +01:00
Mike Hommey
3c9f31cc4a Bug 1138845 - Don't require atk-bridge for gtk+3 builds. r=tbsaunde 2015-03-04 14:39:55 +09:00
Chuck Lee
ae761fb055 Bug 1012549 - 0004. Support read private key in keystore. r=dkeeler r=qdot 2015-02-28 21:54:24 +08:00
Chuck Lee
ac8c6a4cd0 Bug 1012549 - 0001. Support import PKCS12 certificate. r=dkeeler r=vchang 2015-02-28 21:54:16 +08:00
Gregory Szorc
85dc822c42 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
84c01c942b 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
Gregory Szorc
91f8f3a092 Bug 1132771 - Add a test for reading all moz.build files in filesystem traversal mode; r=glandium
moz.build files should execute in filesystem traversal mode. Add a test
that verifies this is true.

This test performs a brute force filesystem scan to find relevant
moz.build files. This can be a little slow. That's unfortunate. But it's
a price we need to pay in order to ensure metadata extraction mode
continues to work.
2015-03-02 09:43:11 -08:00
Steve Fink
f7bd025d3c Bug 1131424 - Report error message when failing to open ctypes library, r=jorendorff
Includes updates to spidermonkey check_style.py to allow new nspr header.
2015-02-17 15:44:58 -08:00
ffxbld
c75707c7de Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2015-02-23 10:22:56 -05:00
Mike Hommey
47fb9b3cbd Fixup for bug 1114669 on a CLOSED TREE. r=gps
xpt files don't have a dependency on backend files to avoid rebuilding all
of them when adding or removing new files. On incremental builds, some kind
of dependencies are required to ensure the xpt files are refreshed when
adding or removing new idls.
2015-02-13 11:15:15 +09:00
Mike Hommey
95dad56d90 Bug 1114669 - Use a generated list of idl deps for xpt generation. r=gps
Generating the list of idl deps to generate an xpt from its dependency list
makes us give all _previous_ dependencies, inherited from the .deps makefiles.
This leads to removed files being listed on xpidl-process.py command line, and
the command subsequently failing.

Instead, use generated lists of idl dependencies. At the same time, lighten the
generated Makefile further by not emitting xpt dependencies on their containing
directory, and instead generating it from the $xpt_files list.

This brings down the Makefile size from 100k to 38k.
2015-02-13 10:29:19 +09:00
Mike Hommey
49b62d273f Bug 1063874 - Move the parts of XPIDL_SOURCES handling in misc to export. r=gps 2015-02-11 17:36:45 +09:00
Brian Smith
242431f427 Bug 1130754: Avoid recalculating tbsCertificate digest, r=keeler
--HG--
extra : rebase_source : 85266413568df928cb1eaf1cd59b52ee9d4259e6
extra : histedit_source : 767e3263d28926435c6d2f4610c7d8b01e9ba87d
2015-02-07 12:14:31 -08:00
Brian Smith
88cb1c2a98 Bug 1128413, Part 4: Fix warnings in mozilla-config.h and gcc-stl-wrapper.template.h, r=glandium
--HG--
extra : rebase_source : 7ba4fb8a0bd11648908e2790e86ce3bb4517aeb7
2015-02-02 17:35:19 -08:00
Brian O'Keefe
fc02187be8 Bug 870366 - Part 3: Prohibit PREF_JS_EXPORTS in Makefile.ins. r=gps 2015-01-20 13:07:04 -05:00
Phil Ringnalda
45a6c737a4 Back out 21284a1b338f (bug 870366) for breaking Android nightlies, a=backout 2015-02-01 06:54:25 -08:00
Brian O'Keefe
0fd63796be Bug 870366 - Part 3: Prohibit PREF_JS_EXPORTS in Makefile.ins. r=gps 2015-01-20 13:07:04 -05:00
ffxbld
9c0589f4eb Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2015-01-12 15:33:37 -05:00
Ms2ger
833f562689 Bug 739601 - Rewrite (the used parts of) config/milestone.pl in python; r=gps 2015-01-09 10:24:45 +01:00
Nicholas Nethercote
8582ff9187 Bug 1014341 (part 1) - Remove trace-malloc. r=dbaron,glandium.
--HG--
extra : rebase_source : 771710c5427141d738eef112fab00951eb8e20e3
2015-01-07 16:13:03 -08:00
Martin Stransky
d9528d5d08 Bug 1110211 - a11y update for Gtk3. r=glandium 2014-12-16 07:38:00 +01:00
Brian Smith
df0803d83c Bug 1073867, Part 4: Test that DSS end-entity certificates are rejected, r=mmc
--HG--
extra : rebase_source : 7cfdcdf08f2ae8909062b8803de6702ab47ec65a
2014-12-26 11:40:51 -08:00
Axel Hecht
5197edb15f Bug 1111607 - Searchplugins should be picked up from en-US, if possible. r=glandium
--HG--
extra : transplant_source : %C9%23%D72%E7%EF%88%C8%1F%CFa_%1E%9B%0Cf%22%A0%BFu
2014-12-17 16:06:14 +01:00
Brian O'Keefe
f6037f90a0 Bug 923080 - Generate xpt files into final location. r=glandium
Now that the mozbuild backend knows about FINAL_TARGET, we are able to
install generated xpt files into their final location. This saves us
from copying xpt files into their final location on every build.

Original patch by gps, rebased and comments addressed by Ms2ger

--HG--
extra : transplant_source : %E2%DC%0F%E0%AD%C2%25%A1%B8%A9%FE%B0%8C%60%FF%CB%02G%25%E5
2014-05-21 08:25:57 -04:00
Michael Wu
14f46b1099 Bug 1103816 - Add support for gonk-L to android_stub.h, r=glandium 2014-12-16 21:35:09 -05:00
Michael Wu
70f3195be6 Bug 1104651 - Make valloc optional, r=glandium 2014-12-16 20:34:56 -05:00
Nathan Froyd
dc47e59467 Bug 1109826 - part 2 - don't complain about missing directives for PREF_JS_EXPORTS and DIST_FILES; r=mshal 2014-12-10 14:56:14 -05:00
Masatoshi Kimura
152424e082 Bug 1093724 - Add a range check to the TLS version prefs loading code. r=keeler 2014-12-09 21:48:29 +09:00
awake
153d42d171 Bug 1100632 - Remove --disable-opus option and MOZ_OPUS #define macros. r=rillian,ted 2014-11-28 01:20:00 -08:00
Joshua Cranmer
4a4c68428e Bug 1099430, mozilla-central parts: Eliminate the duplication of the build system in comm-central, r=glandium.
See the revisions a few steps prior for more fine-grained information. This just
needs to be relanded because our automation doesn't like non-ASCII commit
messages.

--HG--
extra : amend_source : 0ee4e0da1ea9ada815abfe989c51030db24aac56
2014-11-29 19:45:31 -06:00
Phil Ringnalda
9edb638106 Backed out 3 changesets (bug 1099430) because 256 characters should be enough for anybody's commit message
CLOSED TREE

Backed out changeset 28abb8af2d62 (bug 1099430)
Backed out changeset 358aa39360d5 (bug 1099430)
Backed out changeset 3313e545f4f6 (bug 1099430)
2014-11-29 17:17:58 -08:00
Joshua Cranmer
4064b423b1 Bug 1099430, part 三: Use MOZILLA_DIR instead of topsrcdir in shared makefiles, r=glandium.
With these substitutions, it is possible to have comm-central's versions of
these files merely include the mozilla-central versions and avoid having to port
small changes to these files.
2014-11-29 18:44:19 -06:00
Joshua Cranmer
ab71a0c2ec Bug 1099430, part 二: Define WIN_TOP_SRC using MOZILLA_DIR, r=glandium.
win_srcdir is used as the Windows path for the srcdir, and so it needs to use
comm-central's topsrcdir to work properly. In contrast, WIN_TOP_SRC is really
only used to define BUILD_TOOLS, which refers to files in mozilla-central/build,
and so that can and should remain the mozilla-central topsrcdir.
2014-11-29 18:44:14 -06:00