|
1 # This Source Code Form is subject to the terms of the Mozilla Public |
|
2 # License, v. 2.0. If a copy of the MPL was not distributed with this |
|
3 # file, You can obtain one at http://mozilla.org/MPL/2.0/. |
|
4 |
|
5 # We shouldn't sign the first pass of a PGO build |
|
6 ifndef MOZ_PROFILE_GENERATE |
|
7 |
|
8 # Signing support |
|
9 ifdef MOZ_SIGN_CMD |
|
10 ifeq (WINNT,$(OS_ARCH)) |
|
11 MOZ_INTERNAL_SIGNING_FORMAT := signcode |
|
12 MOZ_EXTERNAL_SIGNING_FORMAT := signcode |
|
13 SIGN_INCLUDES := \ |
|
14 '*.dll' \ |
|
15 '*.exe' \ |
|
16 $(NULL) |
|
17 |
|
18 SIGN_EXCLUDES := \ |
|
19 'D3DCompiler*.dll' \ |
|
20 'msvc*.dll' \ |
|
21 $(NULL) |
|
22 endif # Windows |
|
23 |
|
24 ifeq (Darwin, $(OS_ARCH)) |
|
25 MOZ_INTERNAL_SIGNING_FORMAT := dmg |
|
26 MOZ_EXTERNAL_SIGNING_FORMAT := |
|
27 endif # Darwin |
|
28 |
|
29 ifeq (linux-gnu,$(TARGET_OS)) |
|
30 MOZ_EXTERNAL_SIGNING_FORMAT := |
|
31 endif # Linux |
|
32 |
|
33 ifdef MOZ_ASAN |
|
34 MOZ_INTERNAL_SIGNING_FORMAT := |
|
35 MOZ_EXTERNAL_SIGNING_FORMAT := |
|
36 endif |
|
37 |
|
38 endif # MOZ_SIGN_CMD |
|
39 |
|
40 endif # MOZ_PROFILE_GENERATE |