зеркало из https://github.com/mozilla/gecko-dev.git
Bug 595384 - Disable the updater utility for Android [r=rs, a2.0=blassey]
This commit is contained in:
Родитель
76b31a7440
Коммит
3e2f17aeed
|
@ -49,9 +49,11 @@ XPIDLSRCS = nsIUpdateTimerManager.idl
|
||||||
EXTRA_PP_COMPONENTS = nsUpdateTimerManager.js nsUpdateTimerManager.manifest
|
EXTRA_PP_COMPONENTS = nsUpdateTimerManager.js nsUpdateTimerManager.manifest
|
||||||
|
|
||||||
ifdef MOZ_UPDATER
|
ifdef MOZ_UPDATER
|
||||||
|
ifneq ($(OS_TARGET),Android)
|
||||||
DIRS = ../readstrings \
|
DIRS = ../readstrings \
|
||||||
updater \
|
updater \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
endif
|
||||||
|
|
||||||
XPIDLSRCS += nsIUpdateService.idl
|
XPIDLSRCS += nsIUpdateService.idl
|
||||||
|
|
||||||
|
|
|
@ -81,9 +81,11 @@ CPPSRCS += nsEmbedFunctions.cpp
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifdef MOZ_UPDATER
|
ifdef MOZ_UPDATER
|
||||||
|
ifneq ($(OS_TARGET),Android)
|
||||||
CPPSRCS += nsUpdateDriver.cpp
|
CPPSRCS += nsUpdateDriver.cpp
|
||||||
DEFINES += -DMOZ_UPDATER
|
DEFINES += -DMOZ_UPDATER
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(MOZ_WIDGET_TOOLKIT),windows)
|
ifeq ($(MOZ_WIDGET_TOOLKIT),windows)
|
||||||
CPPSRCS += nsNativeAppSupportWin.cpp
|
CPPSRCS += nsNativeAppSupportWin.cpp
|
||||||
|
|
|
@ -3272,7 +3272,7 @@ XRE_main(int argc, char* argv[], const nsXREAppData* aAppData)
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined(MOZ_UPDATER)
|
#if defined(MOZ_UPDATER) && !defined(ANDROID)
|
||||||
// Check for and process any available updates
|
// Check for and process any available updates
|
||||||
nsCOMPtr<nsIFile> updRoot;
|
nsCOMPtr<nsIFile> updRoot;
|
||||||
PRBool persistent;
|
PRBool persistent;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче