Commit Graph

2224 Commits

Author SHA1 Message Date
Mike Hommey
9bf7b6e99e Bug 1168293 - Remove MOZ_GLUE_IN_PROGRAM from config/config.mk. r=mshal 2015-05-27 11:33:23 +09: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
David Major
18921dd3c7 Bug 1165442: Fix LIBPATH for NSS after bug 1138824. r=glandium 2015-05-21 07:58:23 -04:00
Mike Hommey
0358af3851 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
5565137dc9 Bug 1166538 - Use zip py_action in a few places. r=gps 2015-05-21 15:17:02 +09:00
Brian O'Keefe
f21be4ff50 Bug 924187 - Deal with interfaces.manifest from the backend. r=mshal 2015-02-13 08:11:57 -05:00
Lee Salzman
14cbb43882 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
debcd176d5 merge mozilla-inbound to mozilla-central a=merge 2015-05-12 16:10:32 +02:00
ffxbld
bb5e7ed3f3 Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2015-05-11 15:06:43 -04:00
Ralph Giles
36cf88893c 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
1f5f313382 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
edd837a7b3 Bug 926838 - [Part 6] Unbitrot the build system bits. r=gps 2015-05-04 17:19:03 +02:00
JW Wang
6099d7a017 Bug 926838 - [Part 2] Add build files. r=gps 2013-11-13 11:07:28 +08:00
Carsten "Tomcat" Book
5378d9afd6 Backed out changeset 2456dfeb5f9c (bug 926838) 2015-05-05 15:51:38 +02:00
Carsten "Tomcat" Book
a67f848736 Backed out changeset 5b6ef91bfe01 (bug 926838) 2015-05-05 15:51:16 +02:00
Paul Adenot
fd25e43fd1 Bug 926838 - [Part 6] Unbitrot the build system bits. r=gps 2015-05-04 17:19:03 +02:00
JW Wang
905c0b3c4f Bug 926838 - [Part 2] Add build files. r=gps 2013-11-13 11:07:28 +08: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
Nathan Froyd
c585b5953e 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
5491d34ed0 Bug 1121982 - Update PSM to use NSS name constraints 2015-04-23 20:26:29 -04: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
Nathan Froyd
1e0d4112b3 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
09fcacf57f Bug 866301 - Part 2. Use in-tree ICU source code for gonk. r=glandium 2015-04-21 17:31:38 +09:00
Reuben Morais
425e7af487 Bug 866301 - Part 1. Add unorm.h to system-headers. r=glandium 2015-04-21 17:31:26 +09:00
Jim Blandy
b7ad8602fc 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
cf828c4557 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
381dec0f8d 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
a52b79d248 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
7c7db104a1 Bug 1154122 - Fix stdc++compat check after bug 1059255. r=mshal 2015-04-14 14:34:07 +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
ffxbld
dce57f8925 Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2015-03-30 11:44:20 -07:00
Mike Hommey
f137b4d006 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
f4def18bb1 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
75f4f8947d 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
905f2b61cc Bug 1143411 - Fix build against latest freetype code. r=glandium 2015-03-18 19:32:53 -04:00
Ms2ger
35210f979f Bug 1142567 - Remove FAIL_ON_WARNINGS_DEBUG; r=mshal
It is not used.
2015-03-13 13:01:28 +01:00
Alex Henrie
ccd10b198c Bug 1134537 - Delete GnomeVFS extension. r=roc 2015-03-09 21:12:58 -06: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
Cykesiopka
fa772c674c Bug 1139177 - RSA public key size checking cleanups. r=keeler 2015-03-05 16:41:00 +01:00
Mike Hommey
1bd0b6f11f Bug 1138845 - Don't require atk-bridge for gtk+3 builds. r=tbsaunde 2015-03-04 14:39:55 +09:00
Chuck Lee
ac72d5e34a Bug 1012549 - 0004. Support read private key in keystore. r=dkeeler r=qdot 2015-02-28 21:54:24 +08:00
Chuck Lee
1900ef43e3 Bug 1012549 - 0001. Support import PKCS12 certificate. r=dkeeler r=vchang 2015-02-28 21:54:16 +08:00
Gregory Szorc
fd862b30ce 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
adf19d10b9 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
58337fe0d5 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
654faa7eb9 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
940b3be96c Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2015-02-23 10:22:56 -05:00
Mike Hommey
ae164d1c6a 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