michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: # file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: # We shouldn't sign the first pass of a PGO build michael@0: ifndef MOZ_PROFILE_GENERATE michael@0: michael@0: # Signing support michael@0: ifdef MOZ_SIGN_CMD michael@0: ifeq (WINNT,$(OS_ARCH)) michael@0: MOZ_INTERNAL_SIGNING_FORMAT := signcode michael@0: MOZ_EXTERNAL_SIGNING_FORMAT := signcode michael@0: SIGN_INCLUDES := \ michael@0: '*.dll' \ michael@0: '*.exe' \ michael@0: $(NULL) michael@0: michael@0: SIGN_EXCLUDES := \ michael@0: 'D3DCompiler*.dll' \ michael@0: 'msvc*.dll' \ michael@0: $(NULL) michael@0: endif # Windows michael@0: michael@0: ifeq (Darwin, $(OS_ARCH)) michael@0: MOZ_INTERNAL_SIGNING_FORMAT := dmg michael@0: MOZ_EXTERNAL_SIGNING_FORMAT := michael@0: endif # Darwin michael@0: michael@0: ifeq (linux-gnu,$(TARGET_OS)) michael@0: MOZ_EXTERNAL_SIGNING_FORMAT := michael@0: endif # Linux michael@0: michael@0: ifdef MOZ_ASAN michael@0: MOZ_INTERNAL_SIGNING_FORMAT := michael@0: MOZ_EXTERNAL_SIGNING_FORMAT := michael@0: endif michael@0: michael@0: endif # MOZ_SIGN_CMD michael@0: michael@0: endif # MOZ_PROFILE_GENERATE