]> git.proxmox.com Git - mirror_edk2.git/blob - BaseTools/Source/Python/Common/GlobalData.py
Sync EDKII BaseTools to BaseTools project r1971
[mirror_edk2.git] / BaseTools / Source / Python / Common / GlobalData.py
1 ## @file
2 # This file is used to define common static strings used by INF/DEC/DSC files
3 #
4 # Copyright (c) 2007, 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 import re
14
15 gIsWindows = None
16
17 gEdkCompatibilityPkg = "EdkCompatibilityPkg"
18 gWorkspace = "."
19 gEdkSource = "EdkCompatibilityPkg"
20 gEfiSource = "."
21 gEcpSource = "EdkCompatibilityPkg"
22
23 gOptions = None
24 gCaseInsensitive = False
25 gGlobalDefines = {}
26 gAllFiles = None
27
28 gEdkGlobal = {}
29 gOverrideDir = {}
30
31 # for debug trace purpose when problem occurs
32 gProcessingFile = ''
33 gBuildingModule = ''
34
35 ## Regular expression for matching macro used in DSC/DEC/INF file inclusion
36 gMacroPattern = re.compile("\$\(([_A-Z][_A-Z0-9]*)\)", re.UNICODE)
37