mirror of
https://github.com/roytam1/palemoon27.git
synced 2026-05-26 05:11:03 +00:00
b5ee72fe09
- Bug 1265956 - Assert that no entry is found in HashTable::putNew. (r=terrence) (8770735325) - Bug 1265483 - Use WeakCache to automate sweeping of ObjectGroupComparment::NewTable; r=jonco (e88fa842ab) - Bug 1198093 - Part 1: Expose indexedDB to System with [Exposed=System]. r=khuey (2a20a6ecd0) - Bug 1198093 - Part 2: Set Default Locale Value in ICU Canonicalization Form. r=khuey (1e1cd981ce) - Bug 1263871 - Fix OOM handling in while resolving function name r=shu (44114a7e8d) - Bug 1263270 - Sort census reports by smallest node ID counted, rather than number of nodes counted. r=jimb (08d4a431a7) - Bug 1263218 - Fix possbile race under oomTest involving background threads r=terrence (82c1e3b698) - Bug 1256488 - Add explicit casts to fix MSVC warning C4365. r=fitzgen (b9bb6b52c5) - Bug 1235677 - Add assertion to catch unsafe concurrent use of AutoEnterOOMUnsafeRegion r=terrence (2e0876578f) - Bug 1263902 - check return value from JS_smprintf. r=bbouvier, r=shu (df1d9b5e14) - Bug 1262208: Generalize the disabled compilation mode message for asm.js; r=luke (9153b2c5ba) - Bug 1259903: Baldr: unify Select true and false types instead of checking against each other; r=luke (5f89398199) - Bug 1253344: Remove unused pushPhi/popPhi in WasmIonCompile; r=luke (244967401c) - Bug 933257 - Part 1: Add a script to import and update fdlibm from FreeBSD. r=jwalden (37c8a85771) - Bug 933257 - Part 2: Add patches for fdlibm. r=jwalden (bc0dce94a0) - Bug 933257 - Part 2.1: Import fdlibm from FreeBSD (revision bcea9d50b15e4f0027a5dd526e0e2a612238471e). r=jwalden (223f6d6ce5) - Bug 933257 - Part 3: Add build scripts for fdlibm. r=jwalden (893f740423) - Bug 933257 - Part 4: Link fdlibm in SpiderMonkey. r=jwalden (9f1395258a) - Bug 933257 - Part 5: Use fdlibm in jsmath.cpp. r=jwalden (9d962657ab) - Bug 933257 - Part 6: Remove unused math polyfill. r=jwalden (cf284ad4e5) - Bug 1225024 - Allow sloppy tolerance in ecma_6/Math/log10-approx.js. r=jorendorff (7df3bf46dd) - Bug 933257 - Part 7: Remove or reduce sloppy_tolerance in Math function tests. r=jorendorff (86b978eb14) - Bug 933257 - Part 8: Add license for k_exp.cpp to about:license. r=gerv (513012fbb9) - Bug 933257 - Part 9: Use fdlibm in asm.js. r=luke (46bedc10d0) - Bug 1256490 - Disable C4302 to unblock compilation on VS2015; r=bobowen (7fb6820241) - Bug 1256499 - Disable C4311 and C4312 to unblock compilation on VS2015; r=bobowen (a9b3b01410) - Bug 1257036 - Disable C4302 to unblock compilation on VS2015; r=bobowen (307af58682) - Bug 1124033 - Disable C4311 and C4312 in directories exhibiting warnings; r=ehsan (b6ecd1f8e7) - Bug 1252931 - Remove INSTALL/PP_TARGETS from js/src/*; r=gps (a1e1d3bb82) - Bug 1258908: Rename TYPE_MOZILLA_UI to TYPE_MOZILLA_PARENT. r=jld (29aef56b8e) - Bug 1203835 - Don't ship replace_jemalloc. r=njn (249f927cf5) - bug 1259753 - fix some C++ unittests to use ScopedXPCOM to init XPCOM. r=ms2ger (a908216277)
193 lines
4.3 KiB
Makefile
193 lines
4.3 KiB
Makefile
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
STANDALONE_MAKEFILE := 1
|
|
DIST_SUBDIR := browser
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
MOZ_PKG_REMOVALS = $(srcdir)/removed-files.in
|
|
|
|
MOZ_PKG_MANIFEST_P = $(srcdir)/package-manifest.in
|
|
|
|
ifdef MOZ_MULET
|
|
MOZ_PKG_MANIFEST_P += $(topsrcdir)/b2g/installer/package-manifest.in
|
|
endif
|
|
|
|
# Some files have been already bundled with xulrunner
|
|
ifndef MOZ_MULET
|
|
MOZ_PKG_FATAL_WARNINGS = 1
|
|
endif
|
|
|
|
DEFINES += -DMOZ_APP_NAME=$(MOZ_APP_NAME) -DPREF_DIR=$(PREF_DIR)
|
|
|
|
ifdef MOZ_DEBUG
|
|
DEFINES += -DMOZ_DEBUG=1
|
|
endif
|
|
|
|
ifdef MOZ_WIDGET_GTK
|
|
DEFINES += -DMOZ_GTK=1
|
|
ifdef MOZ_ENABLE_GTK3
|
|
DEFINES += -DMOZ_GTK3=1
|
|
endif
|
|
endif
|
|
|
|
ifdef MOZ_NATIVE_NSPR
|
|
DEFINES += -DMOZ_NATIVE_NSPR=1
|
|
endif
|
|
|
|
ifdef MOZ_NATIVE_NSS
|
|
DEFINES += -DMOZ_NATIVE_NSS=1
|
|
endif
|
|
|
|
ifdef NSS_DISABLE_DBM
|
|
DEFINES += -DNSS_DISABLE_DBM=1
|
|
endif
|
|
|
|
DEFINES += -DJAREXT=
|
|
|
|
ifdef MOZ_ANGLE_RENDERER
|
|
DEFINES += -DMOZ_ANGLE_RENDERER=$(MOZ_ANGLE_RENDERER)
|
|
ifdef MOZ_D3DCOMPILER_VISTA_DLL
|
|
DEFINES += -DMOZ_D3DCOMPILER_VISTA_DLL=$(MOZ_D3DCOMPILER_VISTA_DLL)
|
|
endif
|
|
ifdef MOZ_D3DCOMPILER_XP_DLL
|
|
DEFINES += -DMOZ_D3DCOMPILER_XP_DLL=$(MOZ_D3DCOMPILER_XP_DLL)
|
|
endif
|
|
endif
|
|
|
|
DEFINES += -DMOZ_CHILD_PROCESS_NAME=$(MOZ_CHILD_PROCESS_NAME)
|
|
|
|
# Set MSVC dlls version to package, if any.
|
|
ifdef MOZ_NO_DEBUG_RTL
|
|
ifdef WIN32_REDIST_DIR
|
|
DEFINES += -DMOZ_PACKAGE_MSVC_DLLS=1
|
|
DEFINES += -DMSVC_C_RUNTIME_DLL=$(MSVC_C_RUNTIME_DLL)
|
|
DEFINES += -DMSVC_CXX_RUNTIME_DLL=$(MSVC_CXX_RUNTIME_DLL)
|
|
DEFINES += -DMSVC_OPENMP_DLL=$(MSVC_OPENMP_DLL)
|
|
endif
|
|
ifdef WIN_UCRT_REDIST_DIR
|
|
DEFINES += -DMOZ_PACKAGE_WIN_UCRT_DLLS=1
|
|
endif
|
|
endif
|
|
|
|
ifneq (,$(filter WINNT Darwin Android,$(OS_TARGET)))
|
|
DEFINES += -DMOZ_SHARED_MOZGLUE=1
|
|
endif
|
|
|
|
ifdef NECKO_WIFI
|
|
DEFINES += -DNECKO_WIFI
|
|
endif
|
|
|
|
ifdef GKMEDIAS_SHARED_LIBRARY
|
|
DEFINES += -DGKMEDIAS_SHARED_LIBRARY
|
|
endif
|
|
|
|
ifdef MAKENSISU
|
|
DEFINES += -DHAVE_MAKENSISU=1
|
|
endif
|
|
|
|
ifdef MOZ_PKG_MANIFEST_P
|
|
MOZ_PKG_MANIFEST = package-manifest
|
|
|
|
$(MOZ_PKG_MANIFEST): $(MOZ_PKG_MANIFEST_P) $(GLOBAL_DEPS)
|
|
$(call py_action,preprocessor,$(DEFINES) $(ACDEFINES) $(MOZ_PKG_MANIFEST_P) -o $@)
|
|
|
|
GARBAGE += $(MOZ_PKG_MANIFEST)
|
|
endif
|
|
|
|
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
|
|
MOZ_PKG_MAC_DSSTORE=branding/dsstore
|
|
MOZ_PKG_MAC_BACKGROUND=branding/background.png
|
|
MOZ_PKG_MAC_ICON=branding/disk.icns
|
|
MOZ_PKG_MAC_EXTRA=--symlink '/Applications:/ '
|
|
endif
|
|
|
|
INSTALL_SDK = 1
|
|
|
|
include $(topsrcdir)/toolkit/mozapps/installer/signing.mk
|
|
include $(topsrcdir)/toolkit/mozapps/installer/packager.mk
|
|
|
|
ifeq (bundle, $(MOZ_FS_LAYOUT))
|
|
BINPATH = $(_BINPATH)
|
|
DEFINES += -DAPPNAME=$(_APPNAME)
|
|
else
|
|
# Every other platform just winds up in dist/bin
|
|
BINPATH = bin
|
|
endif
|
|
DEFINES += -DBINPATH=$(BINPATH)
|
|
|
|
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
|
|
RESPATH = $(_APPNAME)/Contents/Resources
|
|
else
|
|
RESPATH = $(BINPATH)
|
|
endif
|
|
DEFINES += -DRESPATH=$(RESPATH)
|
|
|
|
LPROJ_ROOT = $(firstword $(subst -, ,$(AB_CD)))
|
|
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
|
|
ifeq (zh-TW,$(AB_CD))
|
|
LPROJ_ROOT := $(subst -,_,$(AB_CD))
|
|
endif
|
|
endif
|
|
DEFINES += -DLPROJ_ROOT=$(LPROJ_ROOT)
|
|
|
|
DEFINES += -DMOZ_ICU_VERSION=$(MOZ_ICU_VERSION)
|
|
ifdef MOZ_NATIVE_ICU
|
|
DEFINES += -DMOZ_NATIVE_ICU
|
|
endif
|
|
ifdef MOZ_SHARED_ICU
|
|
DEFINES += -DMOZ_SHARED_ICU
|
|
endif
|
|
DEFINES += -DMOZ_ICU_DBG_SUFFIX=$(MOZ_ICU_DBG_SUFFIX)
|
|
ifdef CLANG_CXX
|
|
DEFINES += -DCLANG_CXX
|
|
endif
|
|
ifdef CLANG_CL
|
|
DEFINES += -DCLANG_CL
|
|
endif
|
|
ifeq (x86,$(CPU_ARCH))
|
|
ifdef _MSC_VER
|
|
ifndef CLANG_CL
|
|
DEFINES += -DWOW_HELPER
|
|
endif
|
|
endif
|
|
endif
|
|
|
|
|
|
# Builds using the hybrid FasterMake/RecursiveMake backend will
|
|
# fail to produce a langpack. See bug 1255096.
|
|
libs::
|
|
ifeq (,$(filter FasterMake+RecursiveMake,$(BUILD_BACKENDS)))
|
|
$(MAKE) -C $(DEPTH)/browser/locales langpack
|
|
endif
|
|
|
|
ifeq (WINNT,$(OS_ARCH))
|
|
PKGCOMP_FIND_OPTS =
|
|
else
|
|
PKGCOMP_FIND_OPTS = -L
|
|
endif
|
|
ifeq (Darwin, $(OS_ARCH))
|
|
FINDPATH = $(_APPNAME)/Contents/MacOS
|
|
else
|
|
FINDPATH=bin
|
|
endif
|
|
|
|
package-compare:: $(MOZ_PKG_MANIFEST)
|
|
ifdef MOZ_PKG_MANIFEST_P
|
|
cd $(DIST); find $(PKGCOMP_FIND_OPTS) $(FINDPATH) -type f | sort > bin-list.txt
|
|
grep '^$(BINPATH)' $(MOZ_PKG_MANIFEST) | sed -e 's/^\///' | sort > $(DIST)/pack-list.txt
|
|
-diff -u $(DIST)/pack-list.txt $(DIST)/bin-list.txt
|
|
rm -f $(DIST)/pack-list.txt $(DIST)/bin-list.txt
|
|
endif
|
|
|
|
installer::
|
|
ifdef INSTALLER_DIR
|
|
$(MAKE) -C $(INSTALLER_DIR)
|
|
endif
|
|
|
|
ifdef ENABLE_MARIONETTE
|
|
DEFINES += -DENABLE_MARIONETTE=1
|
|
endif
|