SignedCapsulePkg: Update EdkiiSystemCapsuleLib to check PCD value
[mirror_edk2.git] / SignedCapsulePkg / Library / EdkiiSystemCapsuleLib / EdkiiSystemCapsuleLib.inf
1 ## @file
2 # EDKII System Capsule library.
3 #
4 # EDKII System Capsule library instance for DXE/PEI post memory phase.
5 #
6 # Copyright (c) 2016 - 2017, Intel Corporation. All rights reserved.<BR>
7 # This program and the accompanying materials
8 # are licensed and made available under the terms and conditions of the BSD License
9 # which accompanies this distribution. The full text of the license may be found at
10 # http://opensource.org/licenses/bsd-license.php
11 #
12 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
14 #
15 ##
16
17 [Defines]
18 INF_VERSION = 0x00010005
19 BASE_NAME = EdkiiSystemCapsuleLib
20 MODULE_UNI_FILE = EdkiiSystemCapsuleLib.uni
21 FILE_GUID = 109D5FC6-56E6-481A-88EF-0CB828FBE0F6
22 MODULE_TYPE = BASE
23 VERSION_STRING = 1.0
24 LIBRARY_CLASS = EdkiiSystemCapsuleLib
25 CONSTRUCTOR = EdkiiSystemCapsuleLibConstructor
26
27 #
28 # The following information is for reference only and not required by the build tools.
29 #
30 # VALID_ARCHITECTURES = IA32 X64 IPF EBC
31 #
32
33 [Sources]
34 EdkiiSystemCapsuleLib.c
35
36 [Packages]
37 MdePkg/MdePkg.dec
38 MdeModulePkg/MdeModulePkg.dec
39 SecurityPkg/SecurityPkg.dec
40 SignedCapsulePkg/SignedCapsulePkg.dec
41
42 [LibraryClasses]
43 BaseLib
44 BaseMemoryLib
45 DebugLib
46 PcdLib
47 MemoryAllocationLib
48 FmpAuthenticationLib
49
50 [Pcd]
51 gEfiSignedCapsulePkgTokenSpaceGuid.PcdEdkiiSystemFirmwareImageDescriptor ## CONSUMES
52 gEfiSignedCapsulePkgTokenSpaceGuid.PcdEdkiiSystemFirmwareFileGuid ## CONSUMES
53 gEfiSecurityPkgTokenSpaceGuid.PcdRsa2048Sha256PublicKeyBuffer ## CONSUMES
54 gEfiSecurityPkgTokenSpaceGuid.PcdPkcs7CertBuffer ## CONSUMES
55
56 [Guids]
57 gEdkiiSystemFirmwareImageDescriptorFileGuid ## SOMETIMES_CONSUMES ## GUID
58 gEdkiiSystemFmpCapsuleConfigFileGuid ## SOMETIMES_CONSUMES ## GUID
59 gEdkiiSystemFmpCapsuleDriverFvFileGuid ## SOMETIMES_CONSUMES ## GUID
60 gEfiCertPkcs7Guid ## SOMETIMES_CONSUMES ## GUID
61 gEfiCertTypeRsa2048Sha256Guid ## SOMETIMES_CONSUMES ## GUID
62 gEfiSignedCapsulePkgTokenSpaceGuid ## SOMETIMES_CONSUMES ## GUID
63 gZeroGuid ## SOMETIMES_CONSUMES ## GUID
64