Bug 674647 - Add an explicit MOZ_CAN_RUN_PROGRAMS variable. r=ted.mielczarek.

This commit is contained in:
Rafael Ávila de Espíndola 2011-09-03 16:38:02 -04:00
Родитель f227b5aa33
Коммит 77a502f6cd
1 изменённых файлов: 12 добавлений и 2 удалений

Просмотреть файл

@ -397,8 +397,18 @@ endif
ifdef MOZ_OMNIJAR ifdef MOZ_OMNIJAR
# Set MOZ_CAN_RUN_PROGRAMS for trivial cases.
ifndef MOZ_CAN_RUN_PROGRAMS
ifdef UNIVERSAL_BINARY
MOZ_CAN_RUN_PROGRAMS=1
endif
ifndef CROSS_COMPILE
MOZ_CAN_RUN_PROGRAMS=1
endif
endif # MOZ_CAN_RUN_PROGRAMS
ifdef GENERATE_CACHE ifdef GENERATE_CACHE
ifneq (1_,$(if $(CROSS_COMPILE),1,0)_$(UNIVERSAL_BINARY)) ifdef MOZ_CAN_RUN_PROGRAMS
ifdef RUN_TEST_PROGRAM ifdef RUN_TEST_PROGRAM
_ABS_RUN_TEST_PROGRAM = $(call core_abspath,$(RUN_TEST_PROGRAM)) _ABS_RUN_TEST_PROGRAM = $(call core_abspath,$(RUN_TEST_PROGRAM))
endif endif
@ -477,7 +487,7 @@ endif
# dummy macro if we don't have PSM built # dummy macro if we don't have PSM built
SIGN_NSS = SIGN_NSS =
ifneq (1_,$(if $(CROSS_COMPILE),1,0)_$(UNIVERSAL_BINARY)) ifdef MOZ_CAN_RUN_PROGRAMS
ifdef MOZ_PSM ifdef MOZ_PSM
SIGN_NSS = @echo signing nss libraries; SIGN_NSS = @echo signing nss libraries;