]> git.proxmox.com Git - mirror_edk2.git/blame - BaseTools/Source/Python/UPT/Library/GlobalData.py
BaseTools: Clean up source files
[mirror_edk2.git] / BaseTools / Source / Python / UPT / Library / GlobalData.py
CommitLineData
f51461c8
LG
1## @file\r
2# This file is used to define common static strings and global data used by UPT\r
3#\r
f7496d71 4# Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR>\r
f51461c8 5#\r
f7496d71
LG
6# This program and the accompanying materials are licensed and made available\r
7# under the terms and conditions of the BSD License which accompanies this\r
8# distribution. The full text of the license may be found at\r
f51461c8
LG
9# http://opensource.org/licenses/bsd-license.php\r
10#\r
11# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
12# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
13\r
14'''\r
15GlobalData\r
16'''\r
17\r
18#\r
f7496d71 19# The workspace directory\r
f51461c8
LG
20#\r
21gWORKSPACE = '.'\r
fb0f8067 22gPACKAGE_PATH = None\r
f51461c8
LG
23\r
24#\r
25# INF module directory\r
26#\r
27gINF_MODULE_DIR = "."\r
28gINF_MODULE_NAME = ''\r
29\r
30#\r
31# the directory to holds upt related files\r
32#\r
33gUPT_DIR = r"Conf/upt/"\r
34\r
35#\r
36# Log file for invalid meta-data files during force removing\r
37#\r
38gINVALID_MODULE_FILE = gUPT_DIR + r"Invalid_Modules.log"\r
39\r
40#\r
41# File name for content zip file in the distribution\r
42#\r
43gCONTENT_FILE = "dist.content"\r
44\r
45#\r
46# File name for XML file in the distibution\r
47#\r
48gDESC_FILE = 'dist.pkg'\r
49\r
50#\r
51# Case Insensitive flag\r
52#\r
53gCASE_INSENSITIVE = ''\r
54\r
55#\r
56# All Files dictionary\r
57#\r
58gALL_FILES = {}\r
59\r
60#\r
61# Database instance\r
62#\r
63gDB = None\r
64\r
65#\r
66# list for files that are found in module level but not in INF files,\r
67# items are (File, ModulePath), all these should be relative to $(WORKSPACE)\r
68#\r
69gMISS_FILE_IN_MODLIST = []\r
70\r
71#\r
72# Global Current Line\r
73#\r
74gINF_CURRENT_LINE = None\r
75\r
76#\r
77# Global pkg list\r
78#\r
79gWSPKG_LIST = []\r
80\r
81#\r
82# Flag used to take WARN as ERROR.\r
83# By default, only ERROR message will break the tools execution.\r
84#\r
85gWARNING_AS_ERROR = False\r
86\r
87#\r
88# Used to specify the temp directory to hold the unpacked distribution files\r
89#\r
56636814 90gUNPACK_DIR = []\r
f51461c8
LG
91\r
92#\r
93# Flag used to mark whether the INF file is Binary INF or not.\r
94#\r
95gIS_BINARY_INF = False\r
421ccda3
HC
96\r
97#\r
98# Used by FileHook module.\r
99#\r
100gRECOVERMGR = None\r
101\r
102#\r
103# Used by PCD parser\r
104#\r
105gPackageDict = {}\r
106\r
f51461c8
LG
107#\r
108# Used by Library instance parser\r
109# {FilePath: FileObj}\r
110#\r
fb0f8067 111gLIBINSTANCEDICT = {}\r
56636814
HC
112\r
113#\r
114# Store the list of DIST\r
115#\r
116gTO_BE_INSTALLED_DIST_LIST = []\r