зеркало из https://github.com/mozilla/gecko-dev.git
Bug 822584 - Run elfhack on packaged binaries instead of built binaries. r=ted,a=akeybl
--HG-- extra : transplant_source : %DB%84%98%D0%B1%B4%D8%40%CC%A0%2C%C1%C6%E9%CC%18%C0U%86%DE
This commit is contained in:
Родитель
d9b0499234
Коммит
987dc92252
|
@ -150,13 +150,6 @@ SYMBOL_INDEX_NAME = \
|
|||
|
||||
buildsymbols:
|
||||
ifdef MOZ_CRASHREPORTER
|
||||
ifdef USE_ELF_HACK
|
||||
ifeq (mobile,$(MOZ_BUILD_APP))
|
||||
$(MAKE) -C mobile/xul/installer elfhack
|
||||
else
|
||||
$(MAKE) -C $(MOZ_BUILD_APP)/installer elfhack
|
||||
endif
|
||||
endif
|
||||
echo building symbol store
|
||||
$(RM) -r $(DIST)/crashreporter-symbols
|
||||
$(RM) "$(DIST)/$(SYMBOL_ARCHIVE_BASENAME).zip"
|
||||
|
|
|
@ -732,17 +732,7 @@ ifdef MOZ_SIGN_PREPARED_PACKAGE_CMD
|
|||
$(MOZ_SIGN_PREPARED_PACKAGE_CMD) $(DEPTH)/installer-stage && true
|
||||
endif
|
||||
|
||||
elfhack:
|
||||
ifdef USE_ELF_HACK
|
||||
@echo ===
|
||||
@echo === If you get failures below, please file a bug describing the error
|
||||
@echo === and your environment \(compiler and linker versions\), and use
|
||||
@echo === --disable-elf-hack until this is fixed.
|
||||
@echo ===
|
||||
cd $(DIST)/bin; find . -name "*$(DLL_SUFFIX)" | xargs ../../build/unix/elfhack/elfhack
|
||||
endif
|
||||
|
||||
stage-package: $(MOZ_PKG_MANIFEST) $(MOZ_PKG_REMOVALS_GEN) elfhack
|
||||
stage-package: $(MOZ_PKG_MANIFEST) $(MOZ_PKG_REMOVALS_GEN)
|
||||
@rm -rf $(DIST)/$(PKG_PATH)$(PKG_BASENAME).tar $(DIST)/$(PKG_PATH)$(PKG_BASENAME).dmg $@ $(EXCLUDE_LIST)
|
||||
ifndef MOZ_FAST_PACKAGE
|
||||
@rm -rf $(DIST)/$(MOZ_PKG_DIR)
|
||||
|
@ -830,6 +820,15 @@ ifndef PKG_SKIP_STRIP
|
|||
-exec $(STRIP) $(STRIP_FLAGS) {} >/dev/null 2>&1 \;
|
||||
endif
|
||||
endif # PKG_SKIP_STRIP
|
||||
ifdef USE_ELF_HACK
|
||||
@echo ===
|
||||
@echo === If you get failures below, please file a bug describing the error
|
||||
@echo === and your environment \(compiler and linker versions\), and use
|
||||
@echo === --disable-elf-hack until this is fixed.
|
||||
@echo ===
|
||||
cd $(DIST)/$(STAGEPATH)$(MOZ_PKG_DIR); find . -name "*$(DLL_SUFFIX)" | xargs ../../build/unix/elfhack/elfhack
|
||||
endif
|
||||
|
||||
# We always sign nss because we don't do it from security/manager anymore
|
||||
@$(SIGN_NSS)
|
||||
@echo "Removing unpackaged files..."
|
||||
|
|
Загрузка…
Ссылка в новой задаче