Commit | Line | Data |
---|---|---|
f51461c8 LG |
1 | ## @file\r |
2 | # This file is used to define common static strings used by INF/DEC/DSC files\r | |
3 | #\r | |
4 | # Copyright (c) 2007, Intel Corporation. All rights reserved.<BR>\r | |
5 | # This program and the accompanying materials\r | |
6 | # are licensed and made available under the terms and conditions of the BSD License\r | |
7 | # which accompanies this distribution. The full text of the license may be found at\r | |
8 | # http://opensource.org/licenses/bsd-license.php\r | |
9 | #\r | |
10 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
11 | # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
12 | \r | |
13 | import re\r | |
14 | \r | |
15 | gIsWindows = None\r | |
16 | \r | |
17 | gEdkCompatibilityPkg = "EdkCompatibilityPkg"\r | |
18 | gWorkspace = "."\r | |
19 | gEdkSource = "EdkCompatibilityPkg"\r | |
20 | gEfiSource = "."\r | |
21 | gEcpSource = "EdkCompatibilityPkg"\r | |
22 | \r | |
23 | gOptions = None\r | |
24 | gCaseInsensitive = False\r | |
25 | gAllFiles = None\r | |
26 | \r | |
27 | gGlobalDefines = {}\r | |
28 | gPlatformDefines = {}\r | |
29 | # PCD name and value pair for fixed at build and feature flag\r | |
30 | gPlatformPcds = {}\r | |
31 | # PCDs with type that are not fixed at build and feature flag\r | |
32 | gPlatformOtherPcds = {}\r | |
33 | gActivePlatform = None\r | |
34 | gCommandLineDefines = {}\r | |
35 | gEdkGlobal = {}\r | |
36 | gOverrideDir = {}\r | |
37 | \r | |
38 | # for debug trace purpose when problem occurs\r | |
39 | gProcessingFile = ''\r | |
40 | gBuildingModule = ''\r | |
41 | \r | |
42 | ## Regular expression for matching macro used in DSC/DEC/INF file inclusion\r | |
43 | gMacroRefPattern = re.compile("\$\(([A-Z][_A-Z0-9]*)\)", re.UNICODE)\r | |
44 | gMacroDefPattern = re.compile("^(DEFINE|EDK_GLOBAL)[ \t]+")\r | |
45 | gMacroNamePattern = re.compile("^[A-Z][A-Z0-9_]*$")\r | |
46 | # C-style wide string pattern\r | |
47 | gWideStringPattern = re.compile('(\W|\A)L"')\r | |
48 | #\r | |
49 | # A global variable for whether current build in AutoGen phase or not.\r | |
50 | #\r | |
51 | gAutoGenPhase = False\r | |
52 | \r | |
53 | #\r | |
54 | # The Conf dir outside the workspace dir\r | |
55 | #\r | |
56 | gConfDirectory = ''\r | |
57 | \r | |
58 | #\r | |
59 | # The relative default database file path\r | |
60 | #\r | |
61 | gDatabasePath = ".cache/build.db"\r | |
62 | \r | |
63 | #\r | |
64 | # Build flag for binary build\r | |
65 | #\r | |
66 | gIgnoreSource = False\r | |
67 | \r | |
68 | #\r | |
69 | # FDF parser\r | |
70 | #\r | |
71 | gFdfParser = None\r |