-## @file
-# library defines a set of interfaces for how to do file explorer.
-#
-# Copyright (c) 2011 - 2015, Intel Corporation. All rights reserved.<BR>
-# This program and the accompanying materials are licensed and made available under
-# the terms and conditions of the BSD License that accompanies this distribution.
-# The full text of the license may be found at
-# http://opensource.org/licenses/bsd-license.php.
-#
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
-#
-##
-[Defines]
- INF_VERSION = 0x00010005
- BASE_NAME = FileExplorerLib
- FILE_GUID = 4FC9C630-0F90-4053-8F13-264CBD22FC58
- MODULE_TYPE = DXE_DRIVER
- VERSION_STRING = 1.0
- LIBRARY_CLASS = FileExplorerLib|DXE_DRIVER UEFI_APPLICATION
- CONSTRUCTOR = FileExplorerLibConstructor
- DESTRUCTOR = FileExplorerLibDestructor
-
-#
-# The following information is for reference only and not required by the build tools.
-#
-# VALID_ARCHITECTURES = IA32 X64 IPF EBC
-#
-
-[Sources]
- FileExplorer.h
- FileExplorerVfr.vfr
- FileExplorerString.uni
- FileExplorer.c
- FormGuid.h
-
-[Packages]
- MdePkg/MdePkg.dec
- MdeModulePkg/MdeModulePkg.dec
-
-[LibraryClasses]
- DevicePathLib
- BaseLib
- MemoryAllocationLib
- UefiBootServicesTableLib
- BaseMemoryLib
- DebugLib
- HiiLib
-
-[Guids]
- gEfiFileSystemVolumeLabelInfoIdGuid ## CONSUMES ## GUID (Indicate the information type is volume)
- gEfiIfrTianoGuid ## CONSUMES ## GUID (Extended IFR Guid Opcode)
-
-[Protocols]
- gEfiSimpleFileSystemProtocolGuid ## CONSUMES
- gEfiLoadFileProtocolGuid ## CONSUMES
- gEfiHiiConfigAccessProtocolGuid ## CONSUMES
- gEfiFormBrowser2ProtocolGuid ## CONSUMES
- gEfiDevicePathToTextProtocolGuid ## CONSUMES
\ No newline at end of file
+## @file\r
+# library defines a set of interfaces for how to do file explorer.\r
+#\r
+# Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR>\r
+# SPDX-License-Identifier: BSD-2-Clause-Patent\r
+#\r
+##\r
+[Defines]\r
+ INF_VERSION = 0x00010005\r
+ BASE_NAME = FileExplorerLib\r
+ MODULE_UNI_FILE = FileExplorerLib.uni\r
+ FILE_GUID = 4FC9C630-0F90-4053-8F13-264CBD22FC58\r
+ MODULE_TYPE = DXE_DRIVER\r
+ VERSION_STRING = 1.0\r
+ LIBRARY_CLASS = FileExplorerLib|DXE_DRIVER UEFI_APPLICATION\r
+ CONSTRUCTOR = FileExplorerLibConstructor\r
+ DESTRUCTOR = FileExplorerLibDestructor\r
+\r
+#\r
+# The following information is for reference only and not required by the build tools.\r
+#\r
+# VALID_ARCHITECTURES = IA32 X64 EBC\r
+#\r
+\r
+[Sources]\r
+ FileExplorer.h\r
+ FileExplorerVfr.vfr\r
+ FileExplorerString.uni\r
+ FileExplorer.c\r
+ FormGuid.h\r
+\r
+[Packages]\r
+ MdePkg/MdePkg.dec\r
+ MdeModulePkg/MdeModulePkg.dec\r
+\r
+[LibraryClasses]\r
+ DevicePathLib\r
+ BaseLib\r
+ MemoryAllocationLib\r
+ UefiBootServicesTableLib\r
+ BaseMemoryLib\r
+ DebugLib\r
+ HiiLib\r
+ UefiHiiServicesLib\r
+\r
+[Guids]\r
+ gEfiFileSystemVolumeLabelInfoIdGuid ## SOMETIMES_CONSUMES ## GUID (Indicate the information type is volume)\r
+ gEfiIfrTianoGuid ## SOMETIMES_CONSUMES ## GUID (Extended IFR Guid Opcode)\r
+\r
+[Protocols]\r
+ gEfiSimpleFileSystemProtocolGuid ## SOMETIMES_CONSUMES\r
+ gEfiHiiConfigAccessProtocolGuid ## PRODUCES\r
+ gEfiFormBrowser2ProtocolGuid ## CONSUMES\r
+ gEfiDevicePathToTextProtocolGuid ## PRODUCES\r
+\r
+[Depex.common.DXE_DRIVER]\r
+ gEfiFormBrowser2ProtocolGuid AND gEfiHiiDatabaseProtocolGuid\r