summaryrefslogtreecommitdiff
path: root/RedfishPkg/PrivateLibrary/RedfishLib/RedfishLib.inf
blob: 128d511df7c926cb1641b464170f058ba2aba14f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
## @file
#  RedfishLib Library implementation.
#
#  Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>
#  (C) Copyright 2021 Hewlett Packard Enterprise Development LP<BR>
#
#    SPDX-License-Identifier: BSD-2-Clause-Patent
#
##

[Defines]
  INF_VERSION                    = 0x0001001b
  BASE_NAME                      = DxeRedfishLib
  FILE_GUID                      = 9C2CA9CF-4F79-11E8-A7D1-8CDCD426C973
  MODULE_TYPE                    = DXE_DRIVER
  VERSION_STRING                 = 1.0
  LIBRARY_CLASS                  = RedfishLib| DXE_DRIVER UEFI_APPLICATION UEFI_DRIVER

#
#  VALID_ARCHITECTURES           = IA32 X64 ARM AARCH64 RISCV64
#

[Sources]
  edk2libredfish/src/redpath.c
  edk2libredfish/src/service.c
  edk2libredfish/src/payload.c
  edk2libredfish/include/redfish.h
  edk2libredfish/include/redfishPayload.h
  edk2libredfish/include/redfishService.h
  edk2libredfish/include/redpath.h
  RedfishLib.c
  RedfishMisc.h
  RedfishMisc.c

[Packages]
  MdePkg/MdePkg.dec
  MdeModulePkg/MdeModulePkg.dec
  NetworkPkg/NetworkPkg.dec
  RedfishPkg/RedfishPkg.dec

[LibraryClasses]
  BaseLib
  BaseMemoryLib
  DebugLib
  HttpLib
  MemoryAllocationLib
  NetLib
  RedfishContentCodingLib
  RedfishCrtLib
  UefiBootServicesTableLib
  UefiLib

[Protocols]
  gEfiRestExServiceBindingProtocolGuid  ## Consumed
  gEfiRestExProtocolGuid                ## Consumed
  gEdkIIRedfishCredentialProtocolGuid   ## Consumed

[BuildOptions]
  MSFT:*_*_*_CC_FLAGS = /U_WIN32 /UWIN64 /U_MSC_VER
  GCC:*_*_*_CC_FLAGS = -Wno-unused-function -Wno-unused-but-set-variable