]>
Commit | Line | Data |
---|---|---|
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 | |
9 | GlobalData\r | |
10 | '''\r | |
11 | \r | |
12 | #\r | |
f7496d71 | 13 | # The workspace directory\r |
f51461c8 LG |
14 | #\r |
15 | gWORKSPACE = '.'\r | |
fb0f8067 | 16 | gPACKAGE_PATH = None\r |
f51461c8 LG |
17 | \r |
18 | #\r | |
19 | # INF module directory\r | |
20 | #\r | |
21 | gINF_MODULE_DIR = "."\r | |
22 | gINF_MODULE_NAME = ''\r | |
23 | \r | |
24 | #\r | |
25 | # the directory to holds upt related files\r | |
26 | #\r | |
27 | gUPT_DIR = r"Conf/upt/"\r | |
28 | \r | |
29 | #\r | |
30 | # Log file for invalid meta-data files during force removing\r | |
31 | #\r | |
32 | gINVALID_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 | |
37 | gCONTENT_FILE = "dist.content"\r | |
38 | \r | |
39 | #\r | |
fb0b35e0 | 40 | # File name for XML file in the distribution\r |
f51461c8 LG |
41 | #\r |
42 | gDESC_FILE = 'dist.pkg'\r | |
43 | \r | |
44 | #\r | |
45 | # Case Insensitive flag\r | |
46 | #\r | |
47 | gCASE_INSENSITIVE = ''\r | |
48 | \r | |
49 | #\r | |
50 | # All Files dictionary\r | |
51 | #\r | |
52 | gALL_FILES = {}\r | |
53 | \r | |
54 | #\r | |
55 | # Database instance\r | |
56 | #\r | |
57 | gDB = 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 | |
63 | gMISS_FILE_IN_MODLIST = []\r | |
64 | \r | |
65 | #\r | |
66 | # Global Current Line\r | |
67 | #\r | |
68 | gINF_CURRENT_LINE = None\r | |
69 | \r | |
70 | #\r | |
71 | # Global pkg list\r | |
72 | #\r | |
73 | gWSPKG_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 | |
79 | gWARNING_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 | 84 | gUNPACK_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 | |
89 | gIS_BINARY_INF = False\r | |
421ccda3 HC |
90 | \r |
91 | #\r | |
92 | # Used by FileHook module.\r | |
93 | #\r | |
94 | gRECOVERMGR = None\r | |
95 | \r | |
96 | #\r | |
97 | # Used by PCD parser\r | |
98 | #\r | |
99 | gPackageDict = {}\r | |
100 | \r | |
f51461c8 LG |
101 | #\r |
102 | # Used by Library instance parser\r | |
103 | # {FilePath: FileObj}\r | |
104 | #\r | |
fb0f8067 | 105 | gLIBINSTANCEDICT = {}\r |
56636814 HC |
106 | \r |
107 | #\r | |
108 | # Store the list of DIST\r | |
109 | #\r | |
110 | gTO_BE_INSTALLED_DIST_LIST = []\r |