]> git.proxmox.com Git - mirror_edk2.git/blame - BaseTools/Source/Python/UPT/Library/GlobalData.py
BaseTools: Replace BSD License with BSD+Patent License
[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
2e351cbe 6# SPDX-License-Identifier: BSD-2-Clause-Patent\r
f51461c8
LG
7\r
8'''\r
9GlobalData\r
10'''\r
11\r
12#\r
f7496d71 13# The workspace directory\r
f51461c8
LG
14#\r
15gWORKSPACE = '.'\r
fb0f8067 16gPACKAGE_PATH = None\r
f51461c8
LG
17\r
18#\r
19# INF module directory\r
20#\r
21gINF_MODULE_DIR = "."\r
22gINF_MODULE_NAME = ''\r
23\r
24#\r
25# the directory to holds upt related files\r
26#\r
27gUPT_DIR = r"Conf/upt/"\r
28\r
29#\r
30# Log file for invalid meta-data files during force removing\r
31#\r
32gINVALID_MODULE_FILE = gUPT_DIR + r"Invalid_Modules.log"\r
33\r
34#\r
35# File name for content zip file in the distribution\r
36#\r
37gCONTENT_FILE = "dist.content"\r
38\r
39#\r
fb0b35e0 40# File name for XML file in the distribution\r
f51461c8
LG
41#\r
42gDESC_FILE = 'dist.pkg'\r
43\r
44#\r
45# Case Insensitive flag\r
46#\r
47gCASE_INSENSITIVE = ''\r
48\r
49#\r
50# All Files dictionary\r
51#\r
52gALL_FILES = {}\r
53\r
54#\r
55# Database instance\r
56#\r
57gDB = None\r
58\r
59#\r
60# list for files that are found in module level but not in INF files,\r
61# items are (File, ModulePath), all these should be relative to $(WORKSPACE)\r
62#\r
63gMISS_FILE_IN_MODLIST = []\r
64\r
65#\r
66# Global Current Line\r
67#\r
68gINF_CURRENT_LINE = None\r
69\r
70#\r
71# Global pkg list\r
72#\r
73gWSPKG_LIST = []\r
74\r
75#\r
76# Flag used to take WARN as ERROR.\r
77# By default, only ERROR message will break the tools execution.\r
78#\r
79gWARNING_AS_ERROR = False\r
80\r
81#\r
82# Used to specify the temp directory to hold the unpacked distribution files\r
83#\r
56636814 84gUNPACK_DIR = []\r
f51461c8
LG
85\r
86#\r
87# Flag used to mark whether the INF file is Binary INF or not.\r
88#\r
89gIS_BINARY_INF = False\r
421ccda3
HC
90\r
91#\r
92# Used by FileHook module.\r
93#\r
94gRECOVERMGR = None\r
95\r
96#\r
97# Used by PCD parser\r
98#\r
99gPackageDict = {}\r
100\r
f51461c8
LG
101#\r
102# Used by Library instance parser\r
103# {FilePath: FileObj}\r
104#\r
fb0f8067 105gLIBINSTANCEDICT = {}\r
56636814
HC
106\r
107#\r
108# Store the list of DIST\r
109#\r
110gTO_BE_INSTALLED_DIST_LIST = []\r