]>
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 # This program and the accompanying materials
6 # are licensed and made available under the terms and conditions of the BSD License
7 # which accompanies this distribution. The full text of the license may be found at
8 # http://opensource.org/licenses/bsd-license.php
10 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
15 # This class defined basic Identification information structure which is used by INF/DEC/DSC files
17 # @param object: Inherited from object class
19 # @var FileName: To store data for Filename
20 # @var FileFullPath: To store data for full path of the file
21 # @var FileRelativePath: To store data for relative path of the file
22 # @var RunStatus: Status of build system running
24 class Identification(object):
27 self
.FileFullPath
= ''
28 self
.FileRelativePath
= ''
35 def GetFileName(self
, FileFullPath
, FileRelativePath
):
42 def GetFileFullPath(self
, FileName
, FileRelativePath
):
49 def GetFileRelativePath(self
, FileName
, FileFullPath
):
54 # This acts like the main() function for the script, unless it is 'import'ed into another
57 if __name__
== '__main__':