зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1545968 - Produce artifacts with the rust stdlib src and analysis data for consumption by searchfox. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D28283 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
e23526209c
Коммит
e95d575f7f
|
@ -87,6 +87,7 @@ CODE_COVERAGE_ARCHIVE_BASENAME = $(PKG_BASENAME).code-coverage-gcno
|
|||
# Mozsearch package naming
|
||||
MOZSEARCH_ARCHIVE_BASENAME = $(PKG_BASENAME).mozsearch-index
|
||||
MOZSEARCH_RUST_ANALYSIS_BASENAME = $(PKG_BASENAME).mozsearch-rust
|
||||
MOZSEARCH_RUST_STDLIB_BASENAME = $(PKG_BASENAME).mozsearch-rust-stdlib
|
||||
MOZSEARCH_INCLUDEMAP_BASENAME = $(PKG_BASENAME).mozsearch-distinclude
|
||||
|
||||
# Mozharness naming
|
||||
|
|
|
@ -78,6 +78,12 @@ ifdef ENABLE_MOZSEARCH_PLUGIN
|
|||
$(RM) $(MOZSEARCH_RUST_ANALYSIS_BASENAME).zip
|
||||
cd $(topobjdir)/ && \
|
||||
find . -type d -name save-analysis | xargs zip -r5D '$(ABS_DIST)/$(PKG_PATH)$(MOZSEARCH_RUST_ANALYSIS_BASENAME).zip'
|
||||
@echo 'Generating mozsearch rust stdlib analysis tarball ($(RUST_TARGET))...'
|
||||
$(RM) $(MOZSEARCH_RUST_STDLIB_BASENAME).zip
|
||||
cd $(topsrcdir)/rustc/lib && \
|
||||
zip -r5D '$(ABS_DIST)/$(PKG_PATH)$(MOZSEARCH_RUST_STDLIB_BASENAME).zip' \
|
||||
rustlib/$(RUST_TARGET)/analysis/ rustlib/src/
|
||||
@echo 'Generating mozsearch distinclude map...'
|
||||
cd $(topobjdir)/ && cp _build_manifests/install/dist_include '$(ABS_DIST)/$(PKG_PATH)$(MOZSEARCH_INCLUDEMAP_BASENAME).map'
|
||||
endif
|
||||
ifeq (Darwin, $(OS_ARCH))
|
||||
|
|
|
@ -401,6 +401,7 @@ endif
|
|||
ifdef ENABLE_MOZSEARCH_PLUGIN
|
||||
UPLOAD_FILES += $(call QUOTED_WILDCARD,$(DIST)/$(PKG_PATH)$(MOZSEARCH_ARCHIVE_BASENAME).zip)
|
||||
UPLOAD_FILES += $(call QUOTED_WILDCARD,$(DIST)/$(PKG_PATH)$(MOZSEARCH_RUST_ANALYSIS_BASENAME).zip)
|
||||
UPLOAD_FILES += $(call QUOTED_WILDCARD,$(DIST)/$(PKG_PATH)$(MOZSEARCH_RUST_STDLIB_BASENAME).zip)
|
||||
UPLOAD_FILES += $(call QUOTED_WILDCARD,$(DIST)/$(PKG_PATH)$(MOZSEARCH_INCLUDEMAP_BASENAME).map)
|
||||
endif
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче