Commit Graph

2291 Commits

Author SHA1 Message Date
Mike Hommey
430d12a198 Bug 1209403 - Build xpidl stuff in the faster make backend. r=gps 2015-09-30 11:51:49 +09:00
Mike Hommey
ac249eb19a Bug 1209401 - Don't use preprocessor forced includes for API keys in nsURLFormatter.js. r=gps 2015-09-30 11:51:48 +09:00
Mike Hommey
51d10b799b Bug 1207882 - Add an initial partial implementation of a new, faster, build backend. r=gps 2015-09-29 09:23:46 +09:00
Mike Hommey
342016bbc8 Bug 1207882 - Use a separate build target for config/buildid. r=gps 2015-09-29 09:23:44 +09:00
Nathan Froyd
ce742dcc40 Bug 1209113 - remove unused glibcversion.sh script; r=mshal 2015-09-28 16:50:26 -04:00
Chris Manchester
ff867ebf7c Bug 1184405 - Add a test to fail the build if file patterns are present in test dependency annotations that don't correspond to any files on disk. r=gps 2015-09-25 07:33:11 -07:00
Mike Hommey
c1c7c141ff 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-07 18:29:12 +09:00
Wes Kocher
632255b9e3 Backed out changeset f7a0080dfd6b (bug 1184405) for SM build bustage CLOSED TREE 2015-09-25 09:14:26 -07:00
Chris Manchester
43b52ce8f5 Bug 1184405 - Add a test to fail the build if file patterns are present in test dependency annotations that don't correspond to any files on disk. r=gps 2015-09-25 07:33:11 -07:00
Nick Alexander
ec3a0bb18c Bug 1108782 - Part 1: straighten out Java classpaths. r=glandium
This commit is us getting out of our own way.  We were specifying
-classpath twice, once in $(JAVAC) and once in java-build.mk.  Only
the latter of these is active.  This a problem for ANDROID_EXTRA_JARS
-- those JARs should be on the classpath and input to $(DX) -- and
JARs that should be on the classpath but *not* input to $(DX).  This
commit removes the global flags to $(JAVAC) and adds
JAVA_{BOOT}CLASSPATH_JARS.  This required some hijinkery moving
wildcards to moz.build files, but everything seems to work.

As well as clarifying some parts of the build, part 2 uses this work
to modify the classpath.
2015-08-31 13:35:05 -07:00
ffxbld
0440b19179 Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2015-09-21 10:15:23 -04:00
Jakob Olesen
d74722c329 Bug 1205081 - Imprecise results from check_vanilla_allocations.py. r=njn
Use |nm -A| instead of |nm -l| to avoid depending on imprecise debug
information in optimized builds. (And to get the 100x faster
performance.)

Fix a problem with the filename regex so we can also detect symbol
references in from source files with a hyphen in their name.

When bad allocation references are detected, display results from |nm -l|
so we still get the useful line number information.
2015-09-16 17:13:00 +02:00
Mike Hommey
1d0357d014 Bug 1204719 - Don't create interfaces.manifest files from the build backend. r=gps 2015-09-16 17:21:27 +09:00
Nicholas Nethercote
93b2be7ba2 Bug 1204134 (attempt 2) - Fix and disallow warnings in config/moz.build. r=glandium. 2015-09-15 17:01:08 -07:00
Shu-yu Guo
45211869c8 Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Phil Ringnalda
baed437a77 Back out changeset eea9adc2d1a5 (bug 1204134) for surprises warnings-as-errors in SM builds 2015-09-14 22:04:19 -07:00
Nicholas Nethercote
ce3a1c2f47 Bug 1204134 - Disallow warnings in config/moz.build. r=glandium.
It was necessary to allow warnings here I introduced ALLOW_COMPILER_WARNINGS in
bug 1198334, but something must have changed subsequently because it no longer
is necessary.
2015-09-14 21:16:33 -07:00
David Major
2e0f44f809 Bug 1194834: Don't use static libs on Windows ASan builds. r=glandium 2015-09-10 16:55:15 -04:00
Ms2ger
5db7e694ee Bug 1194603 - Remove INTERNAL_TOOLS; r=mshal
Its only purpose is to disable PGO. Where that was not already explicitly done,
or irrelevant (because the directory only contains python), I disabled it in
moz.build.
2015-09-10 13:49:19 +02:00
Ted Mielczarek
326ab27018 bug 1198226 - Move HOST_{C,CXX}FLAGS to moz.build HOST_{CFLAGS,CXXFLAGS,DEFINES}. r=mshal
As part of this move, HOST_NSPR_MDCPUCFG needed to be changed to get the quoting right.
2015-09-08 11:35:43 -04:00
Ted Mielczarek
666675babf bug 1198226 - Add HOST_{CFLAGS,CXXFLAGS,DEFINES} support to mozbuild frontend+recursive make backend. r=mshal 2015-09-04 13:33:04 -04:00
Makoto Kato
b2c7b13c7d Bug 1170072 - Part 2. Use ICU instead of GetCharProps1 and its supporting data if ICU is turned on. r=jfkthame 2015-09-07 11:56:13 +09:00
Nicholas Nethercote
e0548345fd Bug 1198334 (follow-up) - Fix SM(e) bustage (which doesn't show up on try pushes, grr). r=bustage. 2015-08-30 17:05:38 -07:00
Nicholas Nethercote
69d088e45f Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.
2015-08-27 20:44:53 -07:00
Ted Clancy
2915787d5b Bug 1172609 - Part 5: Add js::ResetTimeZone() function. r=waldo, r=ted 2015-06-15 00:33:02 -07:00
Mike Hommey
9afb1b9f84 Bug 1189967 - Add cmath to the wrapped STL headers. r=nfroyd
Somehow, TimeStamp.cpp fails to build with MSVC 2015 without this.
2015-08-23 22:20:40 +09:00
Bas Schouten
6ce2f064bd Bug 1189891: Only include STL wrapper requirements on the first include. r=glandium 2015-08-21 15:27:21 +09:00
Mike Hommey
6bd3004c10 Backout changesets af1b36497559 and 1d52ab626597 (bug 1189891) for pkix bustage 2015-08-21 15:05:38 +09:00
Bas Schouten
ff92bbf244 Bug 1189891: Only include STL wrapper requirements on the first include. r=glandium 2015-08-21 14:29:17 +09:00
Mike Hommey
121b66c9b3 Bug 1196608 - Link liblgpllibs against mozglue. r=mshal 2015-08-21 14:29:08 +09:00
Wes Kocher
069f2b6fa4 Backed out changeset 151d70cfe45f (bug 1189891) for windows build bustage 2015-08-20 13:57:58 -07:00
Bas Schouten
747895a3d7 Bug 1189891: Only include STL wrapper requirements on the first include. r=glandium 2015-08-20 20:03:44 +00:00
Nick Alexander
eeabccdb7e Bug 1195388 - Part 2: Add ANDROID_EXTRA_{PACKAGES,RES_DIRS} moz.build variables. r=gps
This moves a little bit more of mobile/android/base/Makefile.in into
moz.build, and gets closer to moving that aapt invocation into
java-build.mk.

There are no other extra package consumers in the tree.  (There should
be a new one shortly: b2gdroid.)
2015-08-14 18:13:11 -07:00
Nick Alexander
8f3534dd41 Bug 1195388 - Part 1: Make ANDROID_APK_{NAME,PACKAGE} moz.build variables. r=gps
This paves the way for defining additional Android packages in
moz.build, which is a step toward moving the special
mobile/android/base/Makefile.in aapt invocations into the generic
java-build.mk framework.

The new variables are both passthru variables for now: in the future,
we'll roll them into some aggregate Android APK definition.

It's worth noting that references to the variables in Makefile.in
files are only defined after including rules.mk (and thereby
backend.mk).  This only required a few changes in the tree but it
confused me for some time.
2015-08-19 12:34:58 -07:00
Mike Hommey
1594854e9a Bug 1194520 - Add a system header wrapper for <freetype/ftfntfmt.h>. r=mshal 2015-08-18 08:09:13 +09:00
Nicolas B. Pierron
43b6514bbe Bug 1184959 part 1 - check_macroassembler_style: Only add an inline prefix in the output, if the methods are inlined. r=h4writer 2015-08-17 11:32:15 +02:00
Nicolas B. Pierron
983539cc36 Bug 1184959 part 0 - check_macroassembler_style: Remove default values from the signature. r=h4writer 2015-08-17 11:32:14 +02:00
Sotaro Ikeda
67492421f6 Bug 1192312 - Use MediaCodecSource for camera recording since gonkL r=aosmond 2015-08-14 07:34:24 -07:00
Nathan Froyd
f39bd2711a Bug 1186444 - part 2 - remove MODULE_OPTIMIZE_FLAGS from config.mk; r=mshal 2015-07-22 11:17:49 -04:00
Nathan Froyd
c0be14cb69 Bug 1186444 - part 1 - move uses of MODULE_OPTIMIZE_FLAGS to moz.build's CFLAGS; r=mshal
Now that we have moz.build, we can be guaranteed that any flags we add
in moz.build will be added after everything else has been setup.  So any
uses of MODULE_OPTIMIZE_FLAGS can be moved to moz.build's
CFLAGS/CXXFLAGS without any unusual repercussions.  We do have to verify
that MOZ_OPTIMIZE is in effect, though.
2015-07-22 11:04:32 -04:00
Nick Alexander
2cb62bed1d 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
bfcbca98fe Bug 1160563 - Pre: Allow ANDROID_RES_DIRS that are not relative to srcdir. r=gps 2015-08-10 13:18:32 -07:00
Heiher
f1c9305004 Bug 1182936 part 3 - Rename mips to mips32 in check_macroassembler_style.py. r=nbp 2015-08-12 11:22:01 +02:00
ffxbld
26b7d0300a Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2015-08-10 12:20:42 -07:00
Mike Hommey
eafb97d688 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
d783a99498 Bug 856404 - Enable libraries folding on mingw. r=glandium 2015-08-06 13:26:33 +02:00
Makoto Kato
0e383c7b86 Bug 830801 - Part 3. Remove NOMINMAX define from cpp source. r=mshal 2015-08-03 10:07:20 +09:00
Andreas Tolfsen
7f12d0e4ac 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
6a97b92c3a Backed out changeset 65117b62026a (bug 1179805) for causing Linux Taskcluster build failures.
CLOSED TREE
2015-07-17 11:57:47 -04:00
Heiher
0c193b29d8 Bug 1183487 - Fix sorting in check_macroassembler_style.py. r=nbp 2015-07-13 19:57:00 -04:00