]>
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 | |
4 | # Copyright (c) 2011, Intel Corporation. All rights reserved.<BR>\r | |
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 | |
22 | \r | |
23 | #\r | |
24 | # INF module directory\r | |
25 | #\r | |
26 | gINF_MODULE_DIR = "."\r | |
27 | gINF_MODULE_NAME = ''\r | |
28 | \r | |
29 | #\r | |
30 | # the directory to holds upt related files\r | |
31 | #\r | |
32 | gUPT_DIR = r"Conf/upt/"\r | |
33 | \r | |
34 | #\r | |
35 | # Log file for invalid meta-data files during force removing\r | |
36 | #\r | |
37 | gINVALID_MODULE_FILE = gUPT_DIR + r"Invalid_Modules.log"\r | |
38 | \r | |
39 | #\r | |
40 | # File name for content zip file in the distribution\r | |
41 | #\r | |
42 | gCONTENT_FILE = "dist.content"\r | |
43 | \r | |
44 | #\r | |
45 | # File name for XML file in the distibution\r | |
46 | #\r | |
47 | gDESC_FILE = 'dist.pkg'\r | |
48 | \r | |
49 | #\r | |
50 | # Case Insensitive flag\r | |
51 | #\r | |
52 | gCASE_INSENSITIVE = ''\r | |
53 | \r | |
54 | #\r | |
55 | # All Files dictionary\r | |
56 | #\r | |
57 | gALL_FILES = {}\r | |
58 | \r | |
59 | #\r | |
60 | # Database instance\r | |
61 | #\r | |
62 | gDB = None\r | |
63 | \r | |
64 | #\r | |
65 | # list for files that are found in module level but not in INF files,\r | |
66 | # items are (File, ModulePath), all these should be relative to $(WORKSPACE)\r | |
67 | #\r | |
68 | gMISS_FILE_IN_MODLIST = []\r | |
69 | \r | |
70 | #\r | |
71 | # Global Current Line\r | |
72 | #\r | |
73 | gINF_CURRENT_LINE = None\r | |
74 | \r | |
75 | #\r | |
76 | # Global pkg list\r | |
77 | #\r | |
78 | gWSPKG_LIST = []\r | |
79 | \r | |
80 | #\r | |
81 | # Flag used to take WARN as ERROR.\r | |
82 | # By default, only ERROR message will break the tools execution.\r | |
83 | #\r | |
84 | gWARNING_AS_ERROR = False\r | |
85 | \r | |
86 | #\r | |
87 | # Used to specify the temp directory to hold the unpacked distribution files\r | |
88 | #\r | |
89 | gUNPACK_DIR = None\r | |
90 | \r | |
91 | #\r | |
92 | # Flag used to mark whether the INF file is Binary INF or not.\r | |
93 | #\r | |
94 | gIS_BINARY_INF = False\r | |
95 | #\r | |
96 | # Used by Library instance parser\r | |
97 | # {FilePath: FileObj}\r | |
98 | #\r | |
4afd3d04 | 99 | gLIBINSTANCEDICT = {} |