Files
roytam1 10b8016dd0 import changes from `dev' branch of rmottola/Arctic-Fox:
- add back some crash and webapprt stuff (f72c4c2afc)
- Bug 1228289 - Avoid l10n-check overwriting final package when MOZ_SIMPLE_PACKAGE_NAME is set. r=ted (de6b1ea792)
- Bug 1233314 - beta repacks are failing trying to find checksums file. r=mshal (a9c0abded7)
- Bug 1144695 - Fix make installers errors in mozharness desktop repacks. r=gps, r=mgerva (8856c0934d)
- missing bit of 817723 (31827b055b)
- Bug 1235676 - Add a global ABS_DIST variable for a non-relative version of DIST, based on topobjdir. r=mshal (978323541c)
- Bug 1235676 - Replace _ABS_DIST with ABS_DIST. r=mshal (b3d4afb23f)
- Bug 1235676 - Replace $(abspath $(DEPTH)) with $(topobjdir). r=mshal (c841b0d0dd)
- Bug 1235676 - Add a topobjdir variable to all Makefiles. r=mshal (4d0fa1d713)
- Bug 1180461 - Part 1: Build gaia during b2gdroid build. r=glandium (e62543fc94)
- Bug 1199714 - Add gaia build options r=nalexander (c6bcf744d2)
- Bug 1202037 - Create a Gaia distribution for b2gdroid r=nalexander (621ea75fa3)
- Bug 1219075 - Enable Android lockscreen for b2gdroid r=fabrice (b63bee53c7)
- Bug 1193224 - Remove --tests-root-dir option: followup to remove it from testsuite-targets.mk. r=ahal (91f99d1166)
- Bug 1193257 - Make xpcshell harness command line arguments path filters for tests: followup to fix 'make xpcshell-tests'. r=ahal (ad2a4d80ec)
- Bug 1210162 - Add --suite reftest to REMOTE_REFTEST in testsuite-targets.mk. r=jgraham (67d8965908)
- bug 1201224 - stop unifying test package during mac universal builds. r=gps (ef060aebd8)
- Bug 1208320 - Produce mozharness test archive via mozpack; r=glandium (ca00c255a6)
- Bug 1208320 - Produce xpcshell archive without staging test files; r=glandium (722bcb774a)
- Bug 1208320 - Produce mochitest test archive without staging test files; r=glandium (af03691082)
- Bug 1208320 - Produce web-platform test archive without staging; r=glandium (57150c766c)
- Bug 1208320 - Produce talos test archive without staging files; r=glandium (351c8241e5)
- Bug 1208320 - Produce common tests archive via Python; r=glandium (f4f7eb1e69)
- Bug 1208320 - Produce cppunittest and reftest packages via Python; r=glandium (9844181ea2)
- Bug 1208320 - Do not stage JIT test files before archiving; r=glandium (34fff39980)
- Bug 1208320 - Do not stage TPS files before archiving; r=glandium (f59c2d60cb)
- Bug 1208320 - Do not stage JS test modules before archiving; r=glandium (98693daec5)
- Bug 1208320 - Do not stage mozbase files before archiving; r=glandium (2525f71fa1)
- Bug 1209628 - Package mozharness alongside other build artifacts instead of 'package-tests', r=gps (d550f2a75a)
- Bug 1221356 - Don't package mozharness for Thunderbird builds. r=gps (ba3f880b29)
- Bug 1235676 - Replace $(abspath $(DIST)) with $(ABS_DIST). r=mshal (2bf61abf38)
- Bug 1231379 - Disable omni.ja compression on desktop platforms r=catlee,glandium (8df98d00ec)
- bit of 844785 (761458c7e0)
- Bug 1208320 - Do not stage some C++ unit test support files before archiving; r=glandium (76ece8bf19)
- Bug 992983 - Build and upload the gtest libxul during test packaging. r=ted (256dc5a4de)
- bug 1203573 - add a MOZ_SIMPLE_PACKAGE_NAME variable to simplify package naming for taskcluster's benefit. r=gps (0756055df4)
- Bug 1243750 - Install all SDKs into sdk/; r=glandium (af52ad9429)
- Bug 1235107 - Move bookmarks.html to a chrome localized location. r=dolske (7e2d65c85c)
- Bug 1235108 - Stop using vpaths for bookmarks.inc. r=gps (185924667d)
- Bug 1235108 - Stop using the -I option to force-include bookmarks.inc in bookmarks.html.in. r=gps (b162510c1c)
- Bug 1235108 - For ja-JP-mac locale, reassign AB_CD in bookmarks.html.in instead of in the Makefile. r=gps (d35a8f17aa)
- Bug 1235108 - Install bookmarks.html from jar.mn instead of a custom Makefile rule. r=gps (f8a134e132)
- Bug 1207882 - Use source searchplugin files directly for en-US locale. r=gps (d8a2cb5c77)
- Bug 1209606 - Limit using source searchplugin files directly to `mach build faster` until bug 1105092 is fixed. r=gps (fd52cb321c)
- Bug 1239217 - Skip empty install manifests, apart a few exceptions. r=gps (a7ec6d1102)
2023-09-26 16:00:51 +08:00

98 lines
2.9 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/.
USE_RCS_MK := 1
include $(topsrcdir)/config/makefiles/makeutils.mk
ifdef MOZ_APP_BASENAME
APP_INI_DEPS = $(topsrcdir)/config/milestone.txt
APP_BUILDID := $(shell cat $(DEPTH)/config/buildid)
APP_INI_DEPS += $(DEPTH)/config/buildid
DEFINES += -DAPP_BUILDID=$(APP_BUILDID)
APP_INI_DEPS += $(DEPTH)/config/autoconf.mk
MOZ_SOURCE_STAMP := $(firstword $(shell cd $(topsrcdir)/$(MOZ_BUILD_APP)/.. && hg parent --template='{node|short}\n' 2>/dev/null))
ifdef MOZ_SOURCE_STAMP
DEFINES += -DMOZ_SOURCE_STAMP='$(MOZ_SOURCE_STAMP)'
endif
ifdef MOZ_INCLUDE_SOURCE_INFO
source_repo ?= $(call getSourceRepo,$(topsrcdir)/$(MOZ_BUILD_APP)/..)
ifneq (,$(source_repo))
DEFINES += -DMOZ_SOURCE_REPO='$(source_repo)'
endif
endif
endif
# NOTE: Keep .gdbinit in the topsrcdir for people who run gdb from the topsrcdir.
# needs to be absolute to be distinct from $(topsrcdir)/.gdbinit
GDBINIT_OBJDIR_FILES = $(topsrcdir)/.gdbinit
GDBINIT_OBJDIR_DEST = $(topobjdir)
INSTALL_TARGETS += GDBINIT_OBJDIR
# Put a .lldbinit in the bin directory and the objdir, to be picked up
# automatically by LLDB when we debug executables using either of those two
# directories as the current working directory. The .lldbinit file will
# load $(topsrcdir)/.lldbinit, which is where the actual debugging commands are.
LLDBINIT_OBJDIR := .lldbinit.in
LLDBINIT_OBJDIR_PATH = $(DEPTH)
LLDBINIT_OBJDIR_FLAGS += -Dtopsrcdir=$(abspath $(topsrcdir))
PP_TARGETS += LLDBINIT_OBJDIR
LLDBINIT_FINAL_TARGET_FILES := $(DEPTH)/.lldbinit
LLDBINIT_FINAL_TARGET_DEST = $(FINAL_TARGET)
INSTALL_TARGETS += LLDBINIT_FINAL_TARGET
# Put the .ycm_extra_conf.py file at the root of the objdir. It is used by
# the vim plugin YouCompleteMe.
YCM_FILES := $(topsrcdir)/.ycm_extra_conf.py
YCM_DEST := $(topobjdir)
YCM_TARGET := export
INSTALL_TARGETS += YCM
ifdef MOZTTDIR
# Install the Firefox OS fonts.
include $(MOZTTDIR)/fonts.mk
MOZTT_DEST = $(FINAL_TARGET)/fonts
MOZTT_FILES = $(patsubst external/moztt/%,$(MOZTTDIR)/%,$(filter external/moztt/%,$(subst :, ,$(PRODUCT_COPY_FILES))))
INSTALL_TARGETS += MOZTT
endif
ifdef MOZ_VALGRIND
_VALGRIND_DIR = $(DEPTH)/_valgrind
GARBAGE_DIRS += $(_VALGRIND_DIR)
_VALGRIND_FILES = \
$(topsrcdir)/build/valgrind/cross-architecture.sup \
$(topsrcdir)/build/valgrind/i386-redhat-linux-gnu.sup \
$(topsrcdir)/build/valgrind/x86_64-redhat-linux-gnu.sup \
$(NULL)
_VALGRIND_DEST = $(_VALGRIND_DIR)
INSTALL_TARGETS += _VALGRIND
endif
include $(topsrcdir)/config/rules.mk
TARGET_DEPTH = ..
include $(srcdir)/automation-build.mk
ifdef MOZ_APP_BASENAME
$(FINAL_TARGET)/application.ini: $(APP_INI_DEPS)
ifdef MOZ_APP_STATIC_INI
application.ini.h: appini_header.py $(FINAL_TARGET)/application.ini
$(PYTHON) $^ > $@
export:: application.ini.h
GARBAGE += application.ini.h
endif
endif
libs:: automation.py