]>
git.proxmox.com Git - mirror_edk2.git/blob - BaseTools/Source/Python/UPT/Library/GlobalData.py
8f446d48883d4611470e6f3aa99e5a9ef1260abf
2 # This file is used to define common static strings and global data used by UPT
4 # Copyright (c) 2011 - 2014, Intel Corporation. All rights reserved.<BR>
6 # This program and the accompanying materials are licensed and made available
7 # under the terms and conditions of the BSD License which accompanies this
8 # distribution. The full text of the license may be found at
9 # http://opensource.org/licenses/bsd-license.php
11 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
19 # The workspace directory
25 # INF module directory
31 # the directory to holds upt related files
33 gUPT_DIR
= r
"Conf/upt/"
36 # Log file for invalid meta-data files during force removing
38 gINVALID_MODULE_FILE
= gUPT_DIR
+ r
"Invalid_Modules.log"
41 # File name for content zip file in the distribution
43 gCONTENT_FILE
= "dist.content"
46 # File name for XML file in the distibution
48 gDESC_FILE
= 'dist.pkg'
51 # Case Insensitive flag
53 gCASE_INSENSITIVE
= ''
56 # All Files dictionary
66 # list for files that are found in module level but not in INF files,
67 # items are (File, ModulePath), all these should be relative to $(WORKSPACE)
69 gMISS_FILE_IN_MODLIST
= []
74 gINF_CURRENT_LINE
= None
82 # Flag used to take WARN as ERROR.
83 # By default, only ERROR message will break the tools execution.
85 gWARNING_AS_ERROR
= False
88 # Used to specify the temp directory to hold the unpacked distribution files
93 # Flag used to mark whether the INF file is Binary INF or not.
95 gIS_BINARY_INF
= False
98 # Used by FileHook module.
108 # Used by Library instance parser
109 # {FilePath: FileObj}
111 gLIBINSTANCEDICT
= {}