зеркало из https://github.com/mozilla/gecko-dev.git
Bug 674647 - Add an explicit MOZ_CAN_RUN_PROGRAMS variable. r=ted.mielczarek.
This commit is contained in:
Родитель
f227b5aa33
Коммит
77a502f6cd
|
@ -397,8 +397,18 @@ endif
|
|||
|
||||
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
|
||||
ifneq (1_,$(if $(CROSS_COMPILE),1,0)_$(UNIVERSAL_BINARY))
|
||||
ifdef MOZ_CAN_RUN_PROGRAMS
|
||||
ifdef RUN_TEST_PROGRAM
|
||||
_ABS_RUN_TEST_PROGRAM = $(call core_abspath,$(RUN_TEST_PROGRAM))
|
||||
endif
|
||||
|
@ -477,7 +487,7 @@ endif
|
|||
|
||||
# dummy macro if we don't have PSM built
|
||||
SIGN_NSS =
|
||||
ifneq (1_,$(if $(CROSS_COMPILE),1,0)_$(UNIVERSAL_BINARY))
|
||||
ifdef MOZ_CAN_RUN_PROGRAMS
|
||||
ifdef MOZ_PSM
|
||||
SIGN_NSS = @echo signing nss libraries;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче