]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - AppPkg/AppPkg.dsc
AppPkg: introduce OrderedCollectionTest
[mirror_edk2.git] / AppPkg / AppPkg.dsc
... / ...
CommitLineData
1## @file\r
2# Intel(r) UEFI Application Development Kit for EDK II.\r
3# This package contains applications which depend upon Standard Libraries\r
4# from the StdLib package.\r
5#\r
6# See the comments in the [LibraryClasses.IA32] and [BuildOptions] sections\r
7# for important information about configuring this package for your\r
8# environment.\r
9#\r
10# Copyright (c) 2010 - 2012, Intel Corporation. All rights reserved.<BR>\r
11# This program and the accompanying materials\r
12# are licensed and made available under the terms and conditions of the BSD License\r
13# which accompanies this distribution. The full text of the license may be found at\r
14# http://opensource.org/licenses/bsd-license.\r
15#\r
16# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
17# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
18##\r
19\r
20[Defines]\r
21 PLATFORM_NAME = AppPkg\r
22 PLATFORM_GUID = 0458dade-8b6e-4e45-b773-1b27cbda3e06\r
23 PLATFORM_VERSION = 0.01\r
24 DSC_SPECIFICATION = 0x00010006\r
25 OUTPUT_DIRECTORY = Build/AppPkg\r
26 SUPPORTED_ARCHITECTURES = IA32|IPF|X64\r
27 BUILD_TARGETS = DEBUG|RELEASE\r
28 SKUID_IDENTIFIER = DEFAULT\r
29\r
30#\r
31# Debug output control\r
32#\r
33 DEFINE DEBUG_ENABLE_OUTPUT = FALSE # Set to TRUE to enable debug output\r
34 DEFINE DEBUG_PRINT_ERROR_LEVEL = 0x80000040 # Flags to control amount of debug output\r
35 DEFINE DEBUG_PROPERTY_MASK = 0\r
36\r
37[PcdsFeatureFlag]\r
38\r
39[PcdsFixedAtBuild]\r
40 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|$(DEBUG_PROPERTY_MASK)\r
41 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|$(DEBUG_PRINT_ERROR_LEVEL)\r
42\r
43[PcdsFixedAtBuild.IPF]\r
44\r
45[LibraryClasses]\r
46 #\r
47 # Entry Point Libraries\r
48 #\r
49 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r
50 ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf\r
51 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r
52 #\r
53 # Common Libraries\r
54 #\r
55 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r
56 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r
57 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r
58 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
59 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
60 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
61 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r
62 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r
63 !if $(DEBUG_ENABLE_OUTPUT)\r
64 DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf\r
65 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf\r
66 !else ## DEBUG_ENABLE_OUTPUT\r
67 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
68 !endif ## DEBUG_ENABLE_OUTPUT\r
69\r
70 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
71 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
72 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
73 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf\r
74 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf\r
75 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf\r
76 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r
77 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r
78 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf\r
79 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf\r
80 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
81\r
82 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf\r
83 FileHandleLib|ShellPkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r
84 SortLib|ShellPkg/Library/UefiSortLib/UefiSortLib.inf\r
85 PathLib|ShellPkg/Library/BasePathLib/BasePathLib.inf\r
86\r
87 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf\r
88\r
89###################################################################################################\r
90#\r
91# Components Section - list of the modules and components that will be processed by compilation\r
92# tools and the EDK II tools to generate PE32/PE32+/Coff image files.\r
93#\r
94# Note: The EDK II DSC file is not used to specify how compiled binary images get placed\r
95# into firmware volume images. This section is just a list of modules to compile from\r
96# source into UEFI-compliant binaries.\r
97# It is the FDF file that contains information on combining binary files into firmware\r
98# volume images, whose concept is beyond UEFI and is described in PI specification.\r
99# Binary modules do not need to be listed in this section, as they should be\r
100# specified in the FDF file. For example: Shell binary (Shell_Full.efi), FAT binary (Fat.efi),\r
101# Logo (Logo.bmp), and etc.\r
102# There may also be modules listed in this section that are not required in the FDF file,\r
103# When a module listed here is excluded from FDF file, then UEFI-compliant binary will be\r
104# generated for it, but the binary will not be put into any firmware volume.\r
105#\r
106###################################################################################################\r
107\r
108[Components]\r
109\r
110#### Sample Applications.\r
111 AppPkg/Applications/Hello/Hello.inf # No LibC includes or functions.\r
112 AppPkg/Applications/Main/Main.inf # Simple invocation. No other LibC functions.\r
113 AppPkg/Applications/Enquire/Enquire.inf #\r
114\r
115#### A simple fuzzer for OrderedCollectionLib, in particular for\r
116#### BaseOrderedCollectionRedBlackTreeLib.\r
117 AppPkg/Applications/OrderedCollectionTest/OrderedCollectionTest.inf {\r
118 <LibraryClasses>\r
119 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf\r
120 DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf\r
121 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf\r
122 <PcdsFeatureFlag>\r
123 gEfiMdePkgTokenSpaceGuid.PcdValidateOrderedCollection|TRUE\r
124 <PcdsFixedAtBuild>\r
125 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F\r
126 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80400040\r
127 }\r
128\r
129#### After extracting the Python distribution, un-comment the following line to build Python.\r
130# AppPkg/Applications/Python/PythonCore.inf\r
131\r
132\r
133##############################################################################\r
134#\r
135# Specify whether we are running in an emulation environment, or not.\r
136# Define EMULATE if we are, else keep the DEFINE commented out.\r
137#\r
138# DEFINE EMULATE = 1\r
139\r
140##############################################################################\r
141#\r
142# Include Boilerplate text required for building with the Standard Libraries.\r
143#\r
144##############################################################################\r
145!include StdLib/StdLib.inc\r
146!include AppPkg/Applications/Sockets/Sockets.inc\r