]>
git.proxmox.com Git - mirror_edk2.git/blob - BaseTools/Source/Python/Eot/Identification.py
2 # This file is used to define the identification of INF/DEC/DSC files
4 # Copyright (c) 2007, Intel Corporation. All rights reserved.<BR>
5 # SPDX-License-Identifier: BSD-2-Clause-Patent
9 # This class defined basic Identification information structure which is used by INF/DEC/DSC files
11 # @param object: Inherited from object class
13 # @var FileName: To store data for Filename
14 # @var FileFullPath: To store data for full path of the file
15 # @var FileRelativePath: To store data for relative path of the file
16 # @var RunStatus: Status of build system running
18 class Identification(object):
21 self
.FileFullPath
= ''
22 self
.FileRelativePath
= ''
29 def GetFileName(self
, FileFullPath
, FileRelativePath
):
36 def GetFileFullPath(self
, FileName
, FileRelativePath
):
43 def GetFileRelativePath(self
, FileName
, FileFullPath
):
48 # This acts like the main() function for the script, unless it is 'import'ed into another
51 if __name__
== '__main__':