ShellPkg/UefiShellLib: rebase ShellOpenFileByDevicePath() to UefiLib API
[mirror_edk2.git] / ShellPkg / Library / UefiShellLib / UefiShellLib.inf
1 ##  @file\r
2 # Provides interface to shell functionality for shell commands and applications.\r
3 #\r
4 # (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>\r
5 # Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
6 #\r
7 #  This program and the accompanying materials\r
8 #  are licensed and made available under the terms and conditions of the BSD License\r
9 #  which accompanies this distribution. The full text of the license may be found at\r
10 #  http://opensource.org/licenses/bsd-license.php\r
11 #  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
12 #  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
13 #\r
14 #\r
15 ##\r
16 \r
17 [Defines]\r
18   INF_VERSION                    = 0x00010006\r
19   BASE_NAME                      = UefiShellLib\r
20   FILE_GUID                      = 449D0F00-2148-4a43-9836-F10B3980ECF5\r
21   MODULE_TYPE                    = UEFI_DRIVER\r
22   VERSION_STRING                 = 1.2\r
23   LIBRARY_CLASS                  = ShellLib|UEFI_APPLICATION UEFI_DRIVER DXE_RUNTIME_DRIVER DXE_DRIVER\r
24   CONSTRUCTOR                    = ShellLibConstructor\r
25   DESTRUCTOR                     = ShellLibDestructor\r
26 \r
27 #\r
28 #  VALID_ARCHITECTURES           = IA32 X64 EBC\r
29 #\r
30 \r
31 [Sources.common]\r
32   UefiShellLib.c\r
33   UefiShellLib.h\r
34 \r
35 [Packages]\r
36   MdePkg/MdePkg.dec\r
37   MdeModulePkg/MdeModulePkg.dec\r
38   ShellPkg/ShellPkg.dec\r
39 \r
40 [LibraryClasses]\r
41   UefiBootServicesTableLib\r
42   MemoryAllocationLib\r
43   DevicePathLib\r
44   BaseLib\r
45   BaseMemoryLib\r
46   DebugLib\r
47   FileHandleLib\r
48   PrintLib\r
49   UefiLib\r
50   HiiLib\r
51   SortLib\r
52 \r
53 [Protocols]\r
54   gEfiUnicodeCollation2ProtocolGuid             ## CONSUMES\r
55 \r
56   # shell 2.0\r
57   gEfiShellProtocolGuid                         ## SOMETIMES_CONSUMES\r
58   gEfiShellParametersProtocolGuid               ## SOMETIMES_CONSUMES\r
59 \r
60   # 'old' shell\r
61   gEfiShellEnvironment2Guid                     ## SOMETIMES_CONSUMES\r
62   gEfiShellInterfaceGuid                        ## SOMETIMES_CONSUMES\r
63 \r
64 [Guids]\r
65   gEfiFileInfoGuid                              ## SOMETIMES_CONSUMES ## GUID\r
66   gEfiShellEnvironment2ExtGuid                  ## SOMETIMES_CONSUMES ## GUID\r
67 \r
68 [Pcd.common]\r
69   gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize     ## CONSUMES\r
70   gEfiShellPkgTokenSpaceGuid.PcdShellPrintBufferSize       ## CONSUMES\r