1## @file
2# Build description file to generate Shell DP application.
3#
4# Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.<BR>
5# This program and the accompanying materials
6# are licensed and made available under the terms and conditions of the BSD License
7# which accompanies this distribution.  The full text of the license may be found at
8# http://opensource.org/licenses/bsd-license.php
9#
10# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12#
13##
14
15[Defines]
16  DSC_SPECIFICATION              = 0x00010005
17  PLATFORM_NAME                  = PerformancePkg
18  PLATFORM_GUID                  = 9ffd7bf2-231e-4525-9a42-480545dafd17
19  PLATFORM_VERSION               = 0.2
20  OUTPUT_DIRECTORY               = Build/PerformancePkg
21  SUPPORTED_ARCHITECTURES        = IA32|IPF|X64|EBC
22  BUILD_TARGETS                  = DEBUG|RELEASE
23  SKUID_IDENTIFIER               = DEFAULT
24
25[LibraryClasses]
26  #
27  # Entry Point Libraries
28  #
29  UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
30  #
31  # Common Libraries
32  #
33  BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
34  BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
35  UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
36  PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
37  PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
38  HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
39  MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
40  UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
41  UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
42  DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
43  DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
44  DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLibOptionalDevicePathProtocol.inf
45  PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
46  HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
47  UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
48  PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
49  IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
50  FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
51  SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
52
53  ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
54
55  PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
56  PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
57  DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
58
59[LibraryClasses.IA32, LibraryClasses.X64]
60  # This library instance mapping needs adjusting based on platform.
61  # The TimerLib instance must match the TimerLib the platform was built with.
62  # If the platform was built with more than one TimerLib type, then this utility
63  # will produce invalid results for any measurements done with a TimerLib instance
64  # that is different than the one below.
65  #
66  # TimerLib|MdePkg/Library/SecPeiDxeTimerLibCpu/SecPeiDxeTimerLibCpu.inf
67  TimerLib|PerformancePkg/Library/TscTimerLib/DxeTscTimerLib.inf
68
69[LibraryClasses.IPF]
70  PalLib|MdePkg/Library/UefiPalLib/UefiPalLib.inf
71  TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
72
73[LibraryClasses.EBC]
74  TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
75
76[Components.IA32, Components.X64]
77  PerformancePkg/Library/TscTimerLib/DxeTscTimerLib.inf
78  PerformancePkg/Library/TscTimerLib/PeiTscTimerLib.inf
79  PerformancePkg/Library/TscTimerLib/BaseTscTimerLib.inf
80
81[Components]
82  PerformancePkg/Dp_App/Dp.inf
83