#\r
# This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
#\r
# This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
from GenFds import GenFds\r
from CommonDataClass.FdfClass import FvClassObject\r
from Common.Misc import SaveFileOnChange\r
from GenFds import GenFds\r
from CommonDataClass.FdfClass import FvClassObject\r
from Common.Misc import SaveFileOnChange\r
FvOutputFile = self.CreateFileName\r
\r
FvInfoFileName = os.path.join(GenFdsGlobalVariable.FfsDir, self.UiFvName + '.inf')\r
FvOutputFile = self.CreateFileName\r
\r
FvInfoFileName = os.path.join(GenFdsGlobalVariable.FfsDir, self.UiFvName + '.inf')\r
OrigFvInfo = None\r
if os.path.exists (FvInfoFileName):\r
OrigFvInfo = open(FvInfoFileName, 'r').read()\r
OrigFvInfo = None\r
if os.path.exists (FvInfoFileName):\r
OrigFvInfo = open(FvInfoFileName, 'r').read()\r