]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/Python/UPT/Library/GlobalData.py
BaseTools: Various typo
[mirror_edk2.git] / BaseTools / Source / Python / UPT / Library / GlobalData.py
index fedd981529d4e174d86bea39159221518c4beddc..6b093873dd64e7eec1c73f63d38440bd73c62a8a 100644 (file)
-## @file
-# This file is used to define common static strings and global data used by UPT
-#
-# Copyright (c) 2011, Intel Corporation. All rights reserved.<BR>
-#
-# This program and the accompanying materials are licensed and made available 
-# under the terms and conditions of the BSD License which accompanies this 
-# distribution. The full text of the license may be found at 
-# http://opensource.org/licenses/bsd-license.php
-#
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
-
-'''
-GlobalData
-'''
-
-#
-# The workspace directory 
-#
-gWORKSPACE = '.'
-
-#
-# 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 distibution
-#
-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 = None
-
-#
-# Flag used to mark whether the INF file is Binary INF or not.
-#
-gIS_BINARY_INF = False
+## @file\r
+# This file is used to define common static strings and global data used by UPT\r
+#\r
+# Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR>\r
+#\r
+# This program and the accompanying materials are licensed and made available\r
+# under the terms and conditions of the BSD License which accompanies this\r
+# distribution. The full text of the license may be found at\r
+# http://opensource.org/licenses/bsd-license.php\r
+#\r
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+\r
+'''\r
+GlobalData\r
+'''\r
+\r
+#\r
+# The workspace directory\r
+#\r
+gWORKSPACE = '.'\r
+gPACKAGE_PATH = None\r
+\r
+#\r
+# INF module directory\r
+#\r
+gINF_MODULE_DIR = "."\r
+gINF_MODULE_NAME = ''\r
+\r
+#\r
+# the directory to holds upt related files\r
+#\r
+gUPT_DIR = r"Conf/upt/"\r
+\r
+#\r
+# Log file for invalid meta-data files during force removing\r
+#\r
+gINVALID_MODULE_FILE = gUPT_DIR + r"Invalid_Modules.log"\r
+\r
+#\r
+# File name for content zip file in the distribution\r
+#\r
+gCONTENT_FILE = "dist.content"\r
+\r
+#\r
+# File name for XML file in the distribution\r
+#\r
+gDESC_FILE = 'dist.pkg'\r
+\r
+#\r
+# Case Insensitive flag\r
+#\r
+gCASE_INSENSITIVE = ''\r
+\r
+#\r
+# All Files dictionary\r
+#\r
+gALL_FILES = {}\r
+\r
+#\r
+# Database instance\r
+#\r
+gDB = None\r
+\r
+#\r
+# list for files that are found in module level but not in INF files,\r
+# items are (File, ModulePath), all these should be relative to $(WORKSPACE)\r
+#\r
+gMISS_FILE_IN_MODLIST = []\r
+\r
+#\r
+# Global Current Line\r
+#\r
+gINF_CURRENT_LINE = None\r
+\r
+#\r
+# Global pkg list\r
+#\r
+gWSPKG_LIST = []\r
+\r
+#\r
+# Flag used to take WARN as ERROR.\r
+# By default, only ERROR message will break the tools execution.\r
+#\r
+gWARNING_AS_ERROR = False\r
+\r
+#\r
+# Used to specify the temp directory to hold the unpacked distribution files\r
+#\r
+gUNPACK_DIR = []\r
+\r
+#\r
+# Flag used to mark whether the INF file is Binary INF or not.\r
+#\r
+gIS_BINARY_INF = False\r
+\r
+#\r
+# Used by FileHook module.\r
+#\r
+gRECOVERMGR = None\r
+\r
+#\r
+# Used by PCD parser\r
+#\r
+gPackageDict = {}\r
+\r
+#\r
+# Used by Library instance parser\r
+# {FilePath: FileObj}\r
+#\r
+gLIBINSTANCEDICT = {}\r
+\r
+#\r
+# Store the list of DIST\r
+#\r
+gTO_BE_INSTALLED_DIST_LIST = []\r