]>
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 | |
421ccda3 | 4 | # Copyright (c) 2011 - 2014, Intel Corporation. All rights reserved.<BR>\r |
f51461c8 LG |
5 | #\r |
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 | |
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 | |
15 | GlobalData\r | |
16 | '''\r | |
17 | \r | |
18 | #\r | |
19 | # The workspace directory \r | |
20 | #\r | |
21 | gWORKSPACE = '.'\r | |
fb0f8067 | 22 | gPACKAGE_PATH = None\r |
f51461c8 LG |
23 | \r |
24 | #\r | |
25 | # INF module directory\r | |
26 | #\r | |
27 | gINF_MODULE_DIR = "."\r | |
28 | gINF_MODULE_NAME = ''\r | |
29 | \r | |
30 | #\r | |
31 | # the directory to holds upt related files\r | |
32 | #\r | |
33 | gUPT_DIR = r"Conf/upt/"\r | |
34 | \r | |
35 | #\r | |
36 | # Log file for invalid meta-data files during force removing\r | |
37 | #\r | |
38 | gINVALID_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 | |
43 | gCONTENT_FILE = "dist.content"\r | |
44 | \r | |
45 | #\r | |
46 | # File name for XML file in the distibution\r | |
47 | #\r | |
48 | gDESC_FILE = 'dist.pkg'\r | |
49 | \r | |
50 | #\r | |
51 | # Case Insensitive flag\r | |
52 | #\r | |
53 | gCASE_INSENSITIVE = ''\r | |
54 | \r | |
55 | #\r | |
56 | # All Files dictionary\r | |
57 | #\r | |
58 | gALL_FILES = {}\r | |
59 | \r | |
60 | #\r | |
61 | # Database instance\r | |
62 | #\r | |
63 | gDB = 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 | |
69 | gMISS_FILE_IN_MODLIST = []\r | |
70 | \r | |
71 | #\r | |
72 | # Global Current Line\r | |
73 | #\r | |
74 | gINF_CURRENT_LINE = None\r | |
75 | \r | |
76 | #\r | |
77 | # Global pkg list\r | |
78 | #\r | |
79 | gWSPKG_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 | |
85 | gWARNING_AS_ERROR = False\r | |
86 | \r | |
87 | #\r | |
88 | # Used to specify the temp directory to hold the unpacked distribution files\r | |
89 | #\r | |
90 | gUNPACK_DIR = None\r | |
91 | \r | |
92 | #\r | |
93 | # Flag used to mark whether the INF file is Binary INF or not.\r | |
94 | #\r | |
95 | gIS_BINARY_INF = False\r | |
421ccda3 HC |
96 | \r |
97 | #\r | |
98 | # Used by FileHook module.\r | |
99 | #\r | |
100 | gRECOVERMGR = None\r | |
101 | \r | |
102 | #\r | |
103 | # Used by PCD parser\r | |
104 | #\r | |
105 | gPackageDict = {}\r | |
106 | \r | |
f51461c8 LG |
107 | #\r |
108 | # Used by Library instance parser\r | |
109 | # {FilePath: FileObj}\r | |
110 | #\r | |
fb0f8067 | 111 | gLIBINSTANCEDICT = {}\r |