2 # This file is used to define common static strings and global data used by UPT
4 # Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR>
6 # SPDX-License-Identifier: BSD-2-Clause-Patent
13 # The workspace directory
19 # INF module directory
25 # the directory to holds upt related files
27 gUPT_DIR
= r
"Conf/upt/"
30 # Log file for invalid meta-data files during force removing
32 gINVALID_MODULE_FILE
= gUPT_DIR
+ r
"Invalid_Modules.log"
35 # File name for content zip file in the distribution
37 gCONTENT_FILE
= "dist.content"
40 # File name for XML file in the distribution
42 gDESC_FILE
= 'dist.pkg'
45 # Case Insensitive flag
47 gCASE_INSENSITIVE
= ''
50 # All Files dictionary
60 # list for files that are found in module level but not in INF files,
61 # items are (File, ModulePath), all these should be relative to $(WORKSPACE)
63 gMISS_FILE_IN_MODLIST
= []
68 gINF_CURRENT_LINE
= None
76 # Flag used to take WARN as ERROR.
77 # By default, only ERROR message will break the tools execution.
79 gWARNING_AS_ERROR
= False
82 # Used to specify the temp directory to hold the unpacked distribution files
87 # Flag used to mark whether the INF file is Binary INF or not.
89 gIS_BINARY_INF
= False
92 # Used by FileHook module.
102 # Used by Library instance parser
103 # {FilePath: FileObj}
105 gLIBINSTANCEDICT
= {}
108 # Store the list of DIST
110 gTO_BE_INSTALLED_DIST_LIST
= []