1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/toolkit/mozapps/installer/signing.mk Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,40 @@ 1.4 +# This Source Code Form is subject to the terms of the Mozilla Public 1.5 +# License, v. 2.0. If a copy of the MPL was not distributed with this 1.6 +# file, You can obtain one at http://mozilla.org/MPL/2.0/. 1.7 + 1.8 +# We shouldn't sign the first pass of a PGO build 1.9 +ifndef MOZ_PROFILE_GENERATE 1.10 + 1.11 +# Signing support 1.12 +ifdef MOZ_SIGN_CMD 1.13 +ifeq (WINNT,$(OS_ARCH)) 1.14 +MOZ_INTERNAL_SIGNING_FORMAT := signcode 1.15 +MOZ_EXTERNAL_SIGNING_FORMAT := signcode 1.16 +SIGN_INCLUDES := \ 1.17 + '*.dll' \ 1.18 + '*.exe' \ 1.19 + $(NULL) 1.20 + 1.21 +SIGN_EXCLUDES := \ 1.22 + 'D3DCompiler*.dll' \ 1.23 + 'msvc*.dll' \ 1.24 + $(NULL) 1.25 +endif # Windows 1.26 + 1.27 +ifeq (Darwin, $(OS_ARCH)) 1.28 +MOZ_INTERNAL_SIGNING_FORMAT := dmg 1.29 +MOZ_EXTERNAL_SIGNING_FORMAT := 1.30 +endif # Darwin 1.31 + 1.32 +ifeq (linux-gnu,$(TARGET_OS)) 1.33 +MOZ_EXTERNAL_SIGNING_FORMAT := 1.34 +endif # Linux 1.35 + 1.36 +ifdef MOZ_ASAN 1.37 +MOZ_INTERNAL_SIGNING_FORMAT := 1.38 +MOZ_EXTERNAL_SIGNING_FORMAT := 1.39 +endif 1.40 + 1.41 +endif # MOZ_SIGN_CMD 1.42 + 1.43 +endif # MOZ_PROFILE_GENERATE