From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=217.140.101.70; helo=foss.arm.com; envelope-from=supreeth.venkatesh@arm.com; receiver=edk2-devel@lists.01.org Received: from foss.arm.com (foss.arm.com [217.140.101.70]) by ml01.01.org (Postfix) with ESMTP id 0C16D21959CB2 for ; Thu, 28 Mar 2019 16:13:13 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id DDEF6A78; Thu, 28 Mar 2019 16:13:13 -0700 (PDT) Received: from u201365.uas.Arm.com (supven01-ThinkStation-P720.austin.arm.com [10.118.28.44]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id A4D853F557; Thu, 28 Mar 2019 16:13:13 -0700 (PDT) From: Supreeth Venkatesh To: edk2-devel@lists.01.org Cc: Supreeth Venkatesh , eric.jin@intel.com Date: Thu, 28 Mar 2019 18:12:14 -0500 Message-Id: <20190328231222.4717-22-supreeth.venkatesh@arm.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190328231222.4717-1-supreeth.venkatesh@arm.com> References: <20190328231222.4717-1-supreeth.venkatesh@arm.com> Subject: [edk2-test][PATCH v1 22/30] EFI/Protocol: Fix inf files for DevicePath related protocol tests. X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Mar 2019 23:13:14 -0000 X-List-Received-Date: Thu, 28 Mar 2019 23:13:14 -0000 X-List-Received-Date: Thu, 28 Mar 2019 23:13:14 -0000 X-List-Received-Date: Thu, 28 Mar 2019 23:13:14 -0000 X-List-Received-Date: Thu, 28 Mar 2019 23:13:14 -0000 X-List-Received-Date: Thu, 28 Mar 2019 23:13:14 -0000 X-List-Received-Date: Thu, 28 Mar 2019 23:13:14 -0000 X-List-Received-Date: Thu, 28 Mar 2019 23:13:14 -0000 X-List-Received-Date: Thu, 28 Mar 2019 23:13:14 -0000 X-List-Received-Date: Thu, 28 Mar 2019 23:13:14 -0000 X-List-Received-Date: Thu, 28 Mar 2019 23:13:14 -0000 X-List-Received-Date: Thu, 28 Mar 2019 23:13:14 -0000 X-List-Received-Date: Thu, 28 Mar 2019 23:13:14 -0000 X-List-Received-Date: Thu, 28 Mar 2019 23:13:14 -0000 X-List-Received-Date: Thu, 28 Mar 2019 23:13:14 -0000 Fix compilation issues in inf files when compiled against edk2 stable tag edk2-stable201903. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Supreeth Venkatesh --- .../BlackBoxTest/DevicePathBBTest.inf | 32 ++++++++-------- .../BlackBoxTest/DevicePathFromTextBBTest.inf | 30 +++++++++------ .../BlackBoxTest/DevicePathToTextBBTest.inf | 38 +++++++++++-------- 3 files changed, 56 insertions(+), 44 deletions(-) diff --git a/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/DevicePath/BlackBoxTest/DevicePathBBTest.inf b/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/DevicePath/BlackBoxTest/DevicePathBBTest.inf index 8d57aeab..ed214634 100644 --- a/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/DevicePath/BlackBoxTest/DevicePathBBTest.inf +++ b/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/DevicePath/BlackBoxTest/DevicePathBBTest.inf @@ -2,6 +2,7 @@ # # Copyright 2006 - 2015 Unified EFI, Inc.
# Copyright (c) 2010 - 2015, Intel Corporation. All rights reserved.
+# Copyright (c) 2019, ARM Ltd. All rights reserved.
# # This program and the accompanying materials # are licensed and made available under the terms and conditions of the BSD License @@ -25,29 +26,26 @@ #--*/ [defines] -BASE_NAME = DevicePathBBTest -FILE_GUID = 5E1013F6-302B-4628-BB28-B5FBB3FC4843 -COMPONENT_TYPE = BS_DRIVER + INF_VERSION = 0x00010005 + BASE_NAME = DevicePathBBTest + FILE_GUID = 5E1013F6-302B-4628-BB28-B5FBB3FC4843 + COMPONENT_TYPE = BS_DRIVER + MODULE_TYPE = UEFI_DRIVER + VERSION_STRING = 1.0 + ENTRY_POINT = InitializeBBTestDevicePathProtocol [sources.common] DevicePathBBTestMain.c DevicePathBBTestMain.h DevicePathBBTestFunction.c Guid.c - -[includes.common] - . - $(WORKSPACE)/SctPkg - $(WORKSPACE)/SctPkg/UEFI - $(WORKSPACE)/SctPkg/Include - $(WORKSPACE)/MdePkg/Include -[libraries.common] +[Packages] + SctPkg/SctPkg.dec + SctPkg/UEFI/UEFI.dec + MdePkg/MdePkg.dec + +[LibraryClasses] + UefiDriverEntryPoint SctLib - SctGuidLib EfiTestLib - BaseDebugLibNull - CompilerIntrinsicsLib - -[nmake.common] - IMAGE_ENTRY_POINT = InitializeBBTestDevicePathProtocol diff --git a/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/DevicePathFromText/BlackBoxTest/DevicePathFromTextBBTest.inf b/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/DevicePathFromText/BlackBoxTest/DevicePathFromTextBBTest.inf index a1c074dd..3a446e5c 100644 --- a/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/DevicePathFromText/BlackBoxTest/DevicePathFromTextBBTest.inf +++ b/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/DevicePathFromText/BlackBoxTest/DevicePathFromTextBBTest.inf @@ -2,6 +2,7 @@ # # Copyright 2006 - 2015 Unified EFI, Inc.
# Copyright (c) 2010 - 2015, Intel Corporation. All rights reserved.
+# Copyright (c) 2019, ARM Ltd. All rights reserved.
# # This program and the accompanying materials # are licensed and made available under the terms and conditions of the BSD License @@ -25,9 +26,13 @@ #--*/ [defines] +INF_VERSION = 0x00010005 BASE_NAME = DevicePathFromTextBBTest FILE_GUID = 013941EE-C9B5-4c21-B10B-0C13921DA929 COMPONENT_TYPE = BS_DRIVER +MODULE_TYPE = UEFI_DRIVER +VERSION_STRING = 1.0 +ENTRY_POINT = InitializeBBTestDevicePathFromTextProtocol [sources.common] DevicePathFromTextBBTestMain.c @@ -37,19 +42,20 @@ COMPONENT_TYPE = BS_DRIVER DevicePathFromTextBBTestCoverage.c Guid.c -[includes.common] - . - $(WORKSPACE)/SctPkg - $(WORKSPACE)/SctPkg/UEFI - $(WORKSPACE)/SctPkg/Include - $(WORKSPACE)/MdePkg/Include +[Packages] + SctPkg/SctPkg.dec + SctPkg/UEFI/UEFI.dec + MdePkg/MdePkg.dec -[libraries.common] +[LibraryClasses] + UefiDriverEntryPoint SctLib - SctGuidLib EfiTestLib - BaseDebugLibNull - CompilerIntrinsicsLib -[nmake.common] - IMAGE_ENTRY_POINT = InitializeBBTestDevicePathFromTextProtocol +[Guids] + gBlackBoxEfiPcAnsiGuid + +[Protocols] + gBlackBoxEfiDevicePathUtilitiesProtocolGuid + gBlackBoxEfiDebugPortProtocolGuid + gBlackBoxEfiDevicePathToTextProtocolGuid diff --git a/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/DevicePathToText/BlackBoxTest/DevicePathToTextBBTest.inf b/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/DevicePathToText/BlackBoxTest/DevicePathToTextBBTest.inf index 913d2c9d..5983fd34 100644 --- a/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/DevicePathToText/BlackBoxTest/DevicePathToTextBBTest.inf +++ b/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/DevicePathToText/BlackBoxTest/DevicePathToTextBBTest.inf @@ -2,6 +2,7 @@ # # Copyright 2006 - 2015 Unified EFI, Inc.
# Copyright (c) 2010 - 2015, Intel Corporation. All rights reserved.
+# Copyright (c) 2019, ARM Ltd. All rights reserved.
# # This program and the accompanying materials # are licensed and made available under the terms and conditions of the BSD License @@ -25,9 +26,13 @@ #--*/ [defines] -BASE_NAME = DevicePathToTextBBTest -FILE_GUID = E32C7105-E28B-4e8d-AA32-A4414DE046AE -COMPONENT_TYPE = BS_DRIVER + INF_VERSION = 0x00010005 + BASE_NAME = DevicePathToTextBBTest + FILE_GUID = E32C7105-E28B-4e8d-AA32-A4414DE046AE + COMPONENT_TYPE = BS_DRIVER + MODULE_TYPE = UEFI_DRIVER + VERSION_STRING = 1.0 + ENTRY_POINT = InitializeBBTestDevicePathToTextProtocol [sources.common] DevicePathToTextBBTestMain.c @@ -37,19 +42,22 @@ COMPONENT_TYPE = BS_DRIVER DevicePathToTextBBTestCoverage.c Guid.c -[includes.common] - . - $(WORKSPACE)/SctPkg - $(WORKSPACE)/SctPkg/UEFI - $(WORKSPACE)/SctPkg/Include - $(WORKSPACE)/MdePkg/Include +[Packages] + SctPkg/SctPkg.dec + SctPkg/UEFI/UEFI.dec + MdePkg/MdePkg.dec -[libraries.common] +[LibraryClasses] + UefiDriverEntryPoint SctLib - SctGuidLib EfiTestLib - BaseDebugLibNull - CompilerIntrinsicsLib -[nmake.common] - IMAGE_ENTRY_POINT = InitializeBBTestDevicePathToTextProtocol +[Protocols] + gBlackBoxEfiDebugPortProtocolGuid + gBlackBoxEfiDevicePathUtilitiesProtocolGuid + +[Guids] + gBlackBoxEfiPcAnsiGuid + gBlackBoxEfiVT100Guid + gBlackBoxEfiVT100PlusGuid + gBlackBoxEfiVTUTF8Guid -- 2.17.1