https://bugzilla.tianocore.org/show_bug.cgi?id=1373 Replace BSD 2-Clause License with BSD+Patent License. This change is based on the following emails: https://lists.01.org/pipermail/edk2-devel/2019-February/036260.html https://lists.01.org/pipermail/edk2-devel/2018-October/030385.html RFCs with detailed process for the license change: V3: https://lists.01.org/pipermail/edk2-devel/2019-March/038116.html V2: https://lists.01.org/pipermail/edk2-devel/2019-March/037669.html V1: https://lists.01.org/pipermail/edk2-devel/2019-March/037500.html Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com> Reviewed-by: Bob Feng <bob.c.feng@intel.com>
		
			
				
	
	
		
			111 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			111 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			Python
		
	
	
	
	
	
## @file
 | 
						|
# This file is used to define common static strings and global data used by UPT
 | 
						|
#
 | 
						|
# Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR>
 | 
						|
#
 | 
						|
# SPDX-License-Identifier: BSD-2-Clause-Patent
 | 
						|
 | 
						|
'''
 | 
						|
GlobalData
 | 
						|
'''
 | 
						|
 | 
						|
#
 | 
						|
# The workspace directory
 | 
						|
#
 | 
						|
gWORKSPACE = '.'
 | 
						|
gPACKAGE_PATH = None
 | 
						|
 | 
						|
#
 | 
						|
# INF module directory
 | 
						|
#
 | 
						|
gINF_MODULE_DIR = "."
 | 
						|
gINF_MODULE_NAME = ''
 | 
						|
 | 
						|
#
 | 
						|
# the directory to holds upt related files
 | 
						|
#
 | 
						|
gUPT_DIR = r"Conf/upt/"
 | 
						|
 | 
						|
#
 | 
						|
# Log file for invalid meta-data files during force removing
 | 
						|
#
 | 
						|
gINVALID_MODULE_FILE = gUPT_DIR + r"Invalid_Modules.log"
 | 
						|
 | 
						|
#
 | 
						|
# File name for content zip file in the distribution
 | 
						|
#
 | 
						|
gCONTENT_FILE = "dist.content"
 | 
						|
 | 
						|
#
 | 
						|
# File name for XML file in the distribution
 | 
						|
#
 | 
						|
gDESC_FILE = 'dist.pkg'
 | 
						|
 | 
						|
#
 | 
						|
# Case Insensitive flag
 | 
						|
#
 | 
						|
gCASE_INSENSITIVE = ''
 | 
						|
 | 
						|
#
 | 
						|
# All Files dictionary
 | 
						|
#
 | 
						|
gALL_FILES = {}
 | 
						|
 | 
						|
#
 | 
						|
# Database instance
 | 
						|
#
 | 
						|
gDB = None
 | 
						|
 | 
						|
#
 | 
						|
# list for files that are found in module level but not in INF files,
 | 
						|
# items are (File, ModulePath), all these should be relative to $(WORKSPACE)
 | 
						|
#
 | 
						|
gMISS_FILE_IN_MODLIST = []
 | 
						|
 | 
						|
#
 | 
						|
# Global Current Line
 | 
						|
#
 | 
						|
gINF_CURRENT_LINE = None
 | 
						|
 | 
						|
#
 | 
						|
# Global pkg list
 | 
						|
#
 | 
						|
gWSPKG_LIST = []
 | 
						|
 | 
						|
#
 | 
						|
# Flag used to take WARN as ERROR.
 | 
						|
# By default, only ERROR message will break the tools execution.
 | 
						|
#
 | 
						|
gWARNING_AS_ERROR = False
 | 
						|
 | 
						|
#
 | 
						|
# Used to specify the temp directory to hold the unpacked distribution files
 | 
						|
#
 | 
						|
gUNPACK_DIR = []
 | 
						|
 | 
						|
#
 | 
						|
# Flag used to mark whether the INF file is Binary INF or not.
 | 
						|
#
 | 
						|
gIS_BINARY_INF = False
 | 
						|
 | 
						|
#
 | 
						|
# Used by FileHook module.
 | 
						|
#
 | 
						|
gRECOVERMGR = None
 | 
						|
 | 
						|
#
 | 
						|
# Used by PCD parser
 | 
						|
#
 | 
						|
gPackageDict = {}
 | 
						|
 | 
						|
#
 | 
						|
# Used by Library instance parser
 | 
						|
# {FilePath: FileObj}
 | 
						|
#
 | 
						|
gLIBINSTANCEDICT = {}
 | 
						|
 | 
						|
#
 | 
						|
# Store the list of DIST
 | 
						|
#
 | 
						|
gTO_BE_INSTALLED_DIST_LIST = []
 |