gecko-dev/config
Ralph Giles 2ea918802d 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.

--HG--
extra : rebase_source : 9f66101fd15a649a952d5481cf9561416204272a
2015-05-08 15:18:00 -07:00
..
Moz
external Bug 926838 - [Part 6] Unbitrot the build system bits. r=gps 2015-05-04 17:19:03 +02:00
makefiles Bug 1138824 - Don't install import libraries in $(DIST)/lib. r=gps 2015-03-27 09:42:11 +09:00
tests Bug 1132771 - Add a test for reading all moz.build files in filesystem traversal mode; r=glandium 2015-03-02 09:43:11 -08:00
Makefile.in Bug 1063880 - Allow a --disable-compile-environment to go through a full mach build. r=mshal 2015-03-11 16:03:55 +09:00
MozZipFile.py
android-common.mk Bug 1065773 - Part 1: Extract Android release signing bits into config/android-common.mk. r=mshal 2014-09-19 13:52:54 -07:00
autoconf-js.mk.in Bug 1077228 - Include the right autoconf.mk in GLOBAL_DEPS. r=mshal 2014-10-04 10:34:35 +09:00
autoconf.mk.in Bug 1077228 - Include the right autoconf.mk in GLOBAL_DEPS. r=mshal 2014-10-04 10:34:35 +09:00
baseconfig.mk Bug 852814 - Move mozbuild variable blacklist logic into the backend. r=gps 2015-03-27 15:39:34 -04:00
check_source_count.py
check_spidermonkey_style.py 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
check_vanilla_allocations.py Bug 1104651 - Make valloc optional, r=glandium 2014-12-16 20:34:56 -05:00
config.mk Bug 1155760 - remove obsolete JAVA_{GEN_DIR,DIST_DIR,IFACES_PKG_NAME} definitions; r=nalexander 2015-04-17 13:13:21 -04:00
configobj.py
createprecomplete.py Mac v2 signing - Bug 1059467 - Move precomplete file from the root of the Mac bundle to Contents/Resources. r=bbondy, r=nthomas 2014-09-29 11:51:55 -07:00
doxygen.cfg.in
emptyvars-js.mk.in
emptyvars.mk.in
expandlibs.py Bug 1077151 - Always use expandlibs descriptors when they exist. r=mshal 2014-10-04 10:33:00 +09:00
expandlibs_config.py
expandlibs_exec.py Bug 1047621 - Have link.py import and call expandlibs_exec.py; r=gps 2014-08-13 14:24:15 -04:00
expandlibs_gen.py Bug 1043869 - Derive build dependencies for programs and libraries from make backend data instead of getting them from expandlibs. r=mshal 2014-07-29 08:59:56 +09:00
find_OOM_errors.py
gcc-stl-wrapper.template.h Bug 1128413, Part 4: Fix warnings in mozilla-config.h and gcc-stl-wrapper.template.h, r=glandium 2015-02-02 17:35:19 -08:00
gcc_hidden.h
gcc_hidden_dso_handle.h Backed out changeset 8433a3609a54 (bug 1001320) for suspected B2G device image bustage. 2014-05-20 12:17:51 -04:00
glibcversion.sh
install.bat
link.py Bug 1047621 - Have link.py import and call expandlibs_exec.py; r=gps 2014-08-13 14:24:15 -04:00
make-stl-wrappers.py
milestone.txt Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2015-03-30 11:44:20 -07:00
moz.build Bug 1132771 - Define some bug components; r=glandium 2015-02-26 11:43:45 -08:00
mozunit.py
msvc-stl-wrapper.template.h Bug 1014976 - Don't define _DEBUG on Windows debug builds, it's implied by -MDd/-MTd, and breaks builds with -MD/-MT. r=bsmedberg 2014-05-30 09:39:53 +09:00
nsinstall.c Bug 1056233 - Fix uninitialized value in nsinstall.c. r=froydnj 2014-09-01 14:30:11 +02:00
nsinstall.py No bug - Don't chmod before deleting target in nsinstall.py on non Windows to avoid touching CLOBBER on a CLOSED TREE 2014-07-25 09:01:23 +09:00
pathsub.c
pathsub.h
printconfigsetting.py
printprereleasesuffix.py
pythonpath.py
rebuild_check.py
recurse.mk Bug 1159371 - Allow compiling sub-directories with --disable-compile-environment. r=glandium 2015-04-27 14:55:34 -07:00
rules.mk Bug 1161339 - Add rust support to moz.build. r=ted 2015-05-08 15:18:00 -07:00
solaris_ia32.map
static-checking-config.mk
static-checking.js
stl-headers
string-format.js
system-headers Bug 866301 - Part 1. Add unorm.h to system-headers. r=glandium 2015-04-21 17:31:26 +09:00
version.mk Bug 1099430, mozilla-central parts: Eliminate the duplication of the build system in comm-central, r=glandium. 2014-11-29 19:45:31 -06:00
version_win.pl