Commit Graph

158 Commits

Author SHA1 Message Date
Kim Moir
54248e8cea Bug 1186522 - force per checkin and release desktop firefox builds to require signed add-ons on beta 47 r=mshal 2016-04-27 12:46:52 -04:00
Mike Hommey
e720762c60 Bug 1266620 - Move MACOSX_DEPLOYMENT_TARGET to moz.configure. r=chmanchester 2016-04-23 08:13:26 +09:00
Chris Manchester
c2a2f2b51f Bug 1257958 - Move MOZ_ANDROID_APZ to Python configure. r=nalexander
MozReview-Commit-ID: EPhThmQjKXF
2016-04-22 13:01:22 -07:00
Chris Manchester
783f8c96b4 Bug 1257958 - Move MOZ_SWITCHBOARD to Python configure. r=nalexander
MozReview-Commit-ID: CRWP2JugKeA
2016-04-22 13:01:22 -07:00
Chris Manchester
04dce3d8f2 Bug 1257958 - Move MOZ_ANDROID_DOWNLOAD_CONTENT_SERVICE to Python configure. r=nalexander
MozReview-Commit-ID: 3ijJ6b7hxPf
2016-04-22 13:01:22 -07:00
Chris Manchester
d3e163bb6c Bug 1257958 - Move MOZ_ANDROID_MLS_STUMBLER to Python configure. r=nalexander
MozReview-Commit-ID: IFyL9mirNyt
2016-04-22 13:01:22 -07:00
Chris Manchester
e45d29aa24 Bug 1257958 - Move MOZ_ANDROID_SEARCH_ACTIVITY to Python configure. r=nalexander
MozReview-Commit-ID: blxsCpUK1m
2016-04-22 13:01:22 -07:00
Chris Manchester
1f291036d3 Bug 1257958 - Move MOZ_ANDROID_BEAM to Python configure. r=nalexander
MozReview-Commit-ID: DrJSWZwaC5d
2016-04-22 13:01:21 -07:00
Chris Manchester
ca89af719c Bug 1257958 - Move MOZ_ANDROID_DOWNLOADS_INTEGRATION to Python configure. r=nalexander
MozReview-Commit-ID: Alu8Qbtm4U3
2016-04-22 13:01:21 -07:00
Chris Manchester
303634f7fa Bug 1257958 - Move MOZ_ANDROID_GCM to Python configure. r=nalexander
MozReview-Commit-ID: 90vbYKB8rHJ
2016-04-22 13:01:21 -07:00
Chris Manchester
0a92603b8c Bug 1257958 - Move MOZ_LOCALE_SWITCHER to Python configure. r=nalexander
MozReview-Commit-ID: XcUdSQgVIg
2016-04-22 13:01:21 -07:00
Chris Manchester
394425a743 Bug 1257958 - Move MOZ_ANDROID_EXCLUDE_FONTS to Python configure. r=nalexander
MozReview-Commit-ID: 1bzIu2MA9qu
2016-04-22 13:01:21 -07:00
Mike Hommey
3b7f3b9e75 Bug 1265627 - Prettify the MSVC version. r=ted 2016-04-20 07:51:55 +09:00
Mike Hommey
b80757a0cb Bug 1265627 - Remove now useless version-related assignments from old-configure. r=ted
Also simplify things around some remaining compiler version checks.
2016-04-20 07:51:55 +09:00
Mike Hommey
dda4822d6f Bug 1265627 - Remove the CXX_VERSION AC_SUBST. r=ted
Its only use is in buildconfig.html, and configure guarantees it's
always the same version as CC_VERSION, so just use that.
2016-04-20 07:51:55 +09:00
Mike Hommey
5192eab0d6 Bug 1265627 - Move compiler version checks to moz.configure. r=ted 2016-04-20 07:51:55 +09:00
Ryan VanderMeulen
d7d43ab7bc Bug 1265628 - Upgrade SQLite to version 3.12.2. r=mak 2016-04-19 11:37:14 -04:00
Mike Hommey
8990bb15dd Bug 1264482 - Move adding -std=gnu99 and -std=gnu++11 to moz.configure. r=ted
We were unconditionally adding them, now actually check what the
compilers default to and add the flags if they are necessary.
This will, in the future, allow finer grained policy changes, where
we can decide that C++11 and C++14 are fine, downgrading compilers
that do C++17, etc.
2016-04-19 15:09:37 +09:00
Mike Hommey
8589498b44 Bug 1260327 - Switch buildconfig.html to using MOZ_CONFIGURE_OPTIONS. r=chmanchester 2016-04-15 08:14:05 +09:00
Mike Hommey
197084b5a7 Bug 1257448 - Move --enable-replace-malloc to moz.configure. r=nalexander 2016-04-15 08:14:05 +09:00
Mike Hommey
cb8bf91611 Bug 1257448 - Move MOZ_MEMORY_* defines to moz.configure. r=nalexander 2016-04-15 08:14:05 +09:00
Mike Hommey
d685556de0 Bug 1257448 - Move --enable-jemalloc and MOZ_JEMALLOC4 to moz.configure. r=nalexander
At the same time, allow to enable jemalloc 4 with --enable-jemalloc=4.
MOZ_JEMALLOC4 will be deprecated later.

This also changes the semantics for freebsd, where the system jemalloc
is used, relying on MOZ_MEMORY being unset (default on freebsd) and
MOZ_JEMALLOC4 to be set. In this new setup, MOZ_JEMALLOC4 implies
--enable-jemalloc=4, which still works because of the corresponding
changes to old-configure.
2016-04-15 08:14:05 +09:00
Mike Hommey
5d68eb47bb Bug 1257448 - Don't disable MOZ_MEMORY when building fennec with --disable-compile-environment. r=nalexander
This was added in bug 1159371 but doesn't seem necessary anymore.
2016-04-15 08:14:05 +09:00
Chris Manchester
6a21a3345a Bug 1256979 - Move MOZ_CHROME_FILE_FORMAT to Python configure. r=glandium
The config variable is re-named to avoid confusion, because it is not set by
--enable-chrome-format.

MozReview-Commit-ID: 37gvjGGSkRc
2016-04-14 12:26:38 -07:00
Chris Manchester
9bec8a10ef Bug 1256979 - Remove MOZ_OMNIJAR from old-configure and upload-files.mk. r=glandium
This was a transitional measure for the new packager code, it is no longer needed.

MozReview-Commit-ID: Gk3ydeHrtVX
2016-04-14 12:26:38 -07:00
Chris Manchester
d4b6422112 Bug 1256979 - Don't set MOZ_CHROME_FILE_FORMAT to 'flat' for android builds. r=glandium
MozReview-Commit-ID: 1mpsVLoaCtL
2016-04-14 12:26:38 -07:00
Mike Hommey
341ebd8679 Bug 1259382 - Move CC/CXX/HOST_CC/HOST_CXX to moz.configure. r=ted
At the same time, we improve things slightly by deriving HOST_CC from CC
in a smarter way, as well as CXX from CC, which we weren't doing
previously.

Many related things are not moved at the same time to keep the patch
somehow "small".
2016-04-14 13:21:29 +09:00
Mike Hommey
19f78b2dd2 Bug 1259382 - Remove support for Intel C/C++ compiler. r=ted 2016-04-13 17:11:36 +09:00
Mike Hommey
eb64e3f2f7 Followup for bug 1264129 - Give the executable bit to configure. r=me
Also touch old-configure.in and js/src/old-configure.in to force
configure and js/src/configure to be updated.
2016-04-13 10:43:06 +09:00
Mike Shal
a88d164819 Bug 1245701 - Port build/win32 install rules to moz.build; r=glandium
MozReview-Commit-ID: 8FY0F6reO1g

--HG--
extra : rebase_source : 7caa74f3627ffa99982f4502fd3a0c98077d7270
2016-04-07 12:39:40 -04:00
Kim Moir
55fb66e771 revert Bug 1186522 - force per checkin and release desktop firefox builds to require signed add-ons on beta 45 r=mshal 2016-04-11 12:16:51 -04:00
Ryan VanderMeulen
3d1b923971 Bug 1260553 - Upgrade SQLite to version 3.12.1. r=mak 2016-04-11 09:44:23 -04:00
Kim Moir
331a5db94d Bug 1186522 - force per checkin and release desktop firefox builds to require signed add-ons on beta 45 r=mshal 2016-04-11 09:15:12 -04:00
George Wright
e75c590407 Revert "Bug 1114647 - Rename "plugin-container" to "firefox-webcontent" and create a new executable target for Win32 called "firefox-plugin-container" r=ted,jhamer" because of widespread breakage due to whitelisted executable names in third parties
This reverts commit a94b5f861bd0d25043a3bb7a0c3128acf8c0b93a.


--HG--
rename : ipc/contentproc/firefox-webcontent.cpp => ipc/contentproc/plugin-container.cpp
2016-04-08 13:34:40 -04:00
George Wright
2f920d9592 Revert "Bug 1261416 - Rename firefox-plugin-container back to plugin-container to satisfy Flash's protected mode checks, and ensure that we launch the correct binary r=ted" because of widespread breakage due to whitelisted executable names in third parties
This reverts commit 2d44e8ffaf63a32292f8e5b8fdd1485d0a462afc.
2016-04-08 13:33:27 -04:00
bechen
f65ad0e5e1 Bug 1215115 - part4: Enable MOZ_WEBM_ENCODER by default. r=ted
MozReview-Commit-ID: 6IgZoIhTLM7

--HG--
extra : transplant_source : 4.%11c%89%D3y%F0%BC%1E%8B%E50%BA%82%C2%7D%C1n%F7
2016-04-01 14:04:42 +08:00
Kyle Huey
b98d3ef86c Bug 1259581: Remove MOZ_MEDIA_NAVIGATOR. r=jesup 2016-04-05 20:12:03 -07:00
Chris Pearce
3bd89d1192 Bug 1261719 - Suppress MSVC warning C4595. r=glandium
C4595 is "'operator new': non-member operator new or delete functions may not be declared inline".
This warning is already suppressed for newer versions of clang.

MozReview-Commit-ID: GTzLtIGtpbR

--HG--
extra : rebase_source : 2782fff9796aedc976edf2c9820125f9b74c76e1
2016-04-04 10:34:22 +12:00
Mike Hommey
6886f13b7d Bug 1262020 - Move --with-android-ndk, --with-android-toolchain and --with-android-gnu-compiler-version to moz.configure. r=nalexander 2016-04-06 07:25:13 +09:00
Mike Hommey
8bedd96002 Bug 1262020 - Move --target check for mobile/android to moz.configure. r=nalexander
Interestingly, the test was happening too late in old-configure, and you
were more likely to hit other errors first.
2016-04-06 07:25:12 +09:00
Ted Mielczarek
58e2e722d0 bug 1239083 - use moz.build files to build ICU. r=glandium,waldo
Also fixes bug 926980 - load ICU data from an archive file.

Stop invoking ICU's autoconf build system. Instead, have hand-authored
moz.build files under config/external/icu to build what we need. In addition,
we'll commit a pre-built copy of the ICU data file (currently icudt56l.dat)
under config/external/icu/data to avoid having to build ICU host tools to
generate it. config/external/icu/data also contains some assembly files
which can generate an object file containing the ICU data file contents
so that the JS shell (or standalone JS builds) can be linked directly to
the data without having to deal with the external data file. This requires
yasm or GNU as.

Various bits of packaging have been updated to account for the ICU data file.
XPCOM initialization now sets the ICU data directory so ICU can locate its
data file.

The update-icu.sh script has been modified to read the list of C/C++ source
files out of the ICU Makefiles and update `sources.mozbuild` files under
config/external/icu, as well as build a local copy of ICU using its
autoconf build system to generate the ICU data file to be committed in-tree.


MozReview-Commit-ID: 8Pfkzqt6S1W

--HG--
extra : rebase_source : 31426cddddb5543e0191059ba2f2eb069abe7727
2016-04-05 10:09:12 -04:00
Mike Hommey
e6d52431b6 Bug 1261531 - Remove most obvious cases of useless AC_DEFINEs. r=chmanchester
- HW_THREADS doesn't appear to be doing anything.

- USE_ARM_KUSER is not used since bug 675078. This also removes the configure
  flag that sets it.

- HAVE_SETBUF and HAVE_SNPRINTF are leftover from bug 944935.

- MOZ_MEMORY_GONK is leftover from bug 804303.
2016-04-05 07:16:44 +09:00
Mike Hommey
c25921b32d Bug 1261531 - Remove most obvious cases of useless AC_SUBSTs. r=chmanchester
- DEVELOPER_OPTIONS, INTEL_CC, INTEL_CXX, MOZ_ENABLE_QTMOBILITY,
  GTK_CONFIG are or even were never used outside configure.

- MOZ_PROFILELOCKING which gradually became a no-op over the years. This
  also removes the configure flag that sets it.

- XULRUNNER_STUB_NAME is xulrunner-only, and xulrunner is gone. This
  also removes the configure flag that sets it.

- The only use of MOZ_CAN_RUN_PROGRAMS was removed in bug 780561.

- AR_LIST and AR_DELETE have not been used since bug 584474.

- MOZ_COMPONENT_NSPR_LIBS is leftover from bug 1036894.

- MOZ_PNG_ARM_NEON_CHECK is not used since bug 980488.

- MOZ_WEBRTC_LEAKING_TESTS has been no-oped by bug 825510.

- VPX_NEED_OBJ_INT_EXTRACT and NO_INTEGRATED_AS_CFLAGS are not used since
  bug 1151175.

- WCHAR_CFLAGS is not used since bug 904985.
2016-04-05 07:16:44 +09:00
Mike Hommey
1eda7fa37b Bug 1261359 - Don't set HOST_{C,CXX,LD}FLAGS from {C,CXX,LD}FLAGS at all. r=nalexander
In bug 1260996, we straightened things up for the host flags on cross
compile builds, where the situation was that they were effectively empty
by default, and that hasn't changed.

While working on bug 1260996, it has become clear that there is no much
point in setting the host flags from the target flags on non cross
compile builds, especially when the target flags come from the environment.

That creates a discrepancy with cross compilation builds for no real
reason, and there are effectively too few host things to build that it
would matter anyways. The flags that do matter are the ones for C++11,
C99, and optimisations, and they all are set independently of what is
being removed here.
2016-04-05 07:16:44 +09:00
Mike Hommey
2f27499d10 Bug 1261263 - Remove -fgnu89-inline. r=froydnj
It seems the reason why it was added back in bug 719659 is gone.
2016-04-05 07:16:44 +09:00
George Wright
50500e36f3 Bug 1261416 - Rename firefox-plugin-container back to plugin-container to satisfy Flash's protected mode checks, and ensure that we launch the correct binary r=ted 2016-04-04 18:03:33 -04:00
Alexandre Lissy
d46290c953 Bug 1260402 - Disable PulseAudio only on Gonk for B2G r=glandium
MozReview-Commit-ID: 8duWq1yDiJW

--HG--
extra : rebase_source : b93f291f31e149d3cadc8804118ab5a66258bde8
2016-03-29 13:08:17 +02:00
George Wright
5c454494ce Bug 1114647 - Rename "plugin-container" to "firefox-webcontent" and create a new executable target for Win32 called "firefox-plugin-container" r=ted,jhamer
--HG--
rename : ipc/app/module.ver => ipc/app/plugin-container/module.ver
rename : ipc/contentproc/plugin-container.cpp => ipc/contentproc/firefox-webcontent.cpp
2016-04-01 02:12:59 -04:00
Mike Hommey
2a512468b1 Bug 1260998 - Add support for HOST_CPPFLAGS for consistency. r=nalexander 2016-04-01 09:43:26 +09:00
Mike Hommey
81010d54a2 Bug 1260996 - Don't set HOST_{C,CXX,LD}FLAGS from {C,CXX,LD}FLAGS on cross compiles. r=nalexander
The only cross compiles we actively support were pre-setting those
values to avoid it anyways, so it wasn't doing anything useful.
2016-04-01 09:43:26 +09:00