зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1606746 - Create macOS build artifact zip file containing codesigning entitlement files r=froydnj
Create a macOS build artifact (target.codesign-entitlements.zip) containing the contents of security/mac/hardenedruntime to be consumed by codesigning infrastructure. Differential Revision: https://phabricator.services.mozilla.com/D58579 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
fe95d91222
Коммит
4f35aa4277
|
@ -104,6 +104,9 @@ TALOS_PACKAGE = $(PKG_BASENAME).talos.tests.tar.gz
|
|||
AWSY_PACKAGE = $(PKG_BASENAME).awsy.tests.tar.gz
|
||||
GTEST_PACKAGE = $(PKG_BASENAME).gtest.tests.tar.gz
|
||||
|
||||
# macOS codesigning package naming
|
||||
MACOS_CODESIGN_ARCHIVE_BASENAME = $(PKG_BASENAME).codesign-entitlements
|
||||
|
||||
ifneq (,$(wildcard $(DIST)/bin/application.ini))
|
||||
BUILDID = $(shell $(PYTHON) $(MOZILLA_DIR)/config/printconfigsetting.py $(DIST)/bin/application.ini App BuildID)
|
||||
else
|
||||
|
|
|
@ -92,6 +92,9 @@ ifdef ENABLE_MOZSEARCH_PLUGIN
|
|||
cd $(topobjdir)/ && cp _build_manifests/install/dist_include '$(ABS_DIST)/$(PKG_PATH)$(MOZSEARCH_INCLUDEMAP_BASENAME).map'
|
||||
endif
|
||||
ifeq (Darwin, $(OS_ARCH))
|
||||
@echo 'Generating macOS codesigning bundle ($(MACOS_CODESIGN_ARCHIVE_BASENAME).zip)'
|
||||
cd $(topsrcdir)/security/mac && \
|
||||
zip -rD '$(ABS_DIST)/$(PKG_PATH)$(MACOS_CODESIGN_ARCHIVE_BASENAME).zip' hardenedruntime
|
||||
ifdef MOZ_ASAN
|
||||
@echo "Rewriting ASan runtime dylib paths for all binaries in $(DIST)/$(MOZ_PKG_DIR)$(_BINPATH) ..."
|
||||
$(PYTHON3) $(MOZILLA_DIR)/build/unix/rewrite_asan_dylib.py $(DIST)/$(MOZ_PKG_DIR)$(_BINPATH)
|
||||
|
|
|
@ -409,6 +409,10 @@ ifdef ENABLE_MOZSEARCH_PLUGIN
|
|||
UPLOAD_FILES += $(call QUOTED_WILDCARD,$(DIST)/$(PKG_PATH)$(MOZSEARCH_INCLUDEMAP_BASENAME).map)
|
||||
endif
|
||||
|
||||
ifeq (Darwin, $(OS_ARCH))
|
||||
UPLOAD_FILES += $(call QUOTED_WILDCARD,$(DIST)/$(PKG_PATH)$(MACOS_CODESIGN_ARCHIVE_BASENAME).zip)
|
||||
endif
|
||||
|
||||
ifdef MOZ_STUB_INSTALLER
|
||||
UPLOAD_FILES += $(call QUOTED_WILDCARD,$(DIST)/$(PKG_INST_PATH)$(PKG_STUB_BASENAME).exe)
|
||||
endif
|
||||
|
|
Загрузка…
Ссылка в новой задаче