Import EOT tool if only required
authorqhuang8 <qhuang8@c2973edb-eda0-4c78-bc6a-9341b269661f>
Tue, 2 Feb 2010 10:21:20 +0000 (10:21 +0000)
committerqhuang8 <qhuang8@c2973edb-eda0-4c78-bc6a-9341b269661f>
Tue, 2 Feb 2010 10:21:20 +0000 (10:21 +0000)
git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1836 c2973edb-eda0-4c78-bc6a-9341b269661f

Source/Python/build/BuildReport.py

index c164541..cb56ca2 100755 (executable)
@@ -27,7 +27,6 @@ from Common.Misc import GuidStructureStringToGuidString
 from Common.InfClassObject import gComponentType2ModuleType
 from Common.BuildToolError import FILE_OPEN_FAILURE
 from Common.BuildToolError import FILE_WRITE_FAILURE
 from Common.InfClassObject import gComponentType2ModuleType
 from Common.BuildToolError import FILE_OPEN_FAILURE
 from Common.BuildToolError import FILE_WRITE_FAILURE
-from Eot.Eot import Eot
 
 
 ## Pattern to extract contents in EDK DXS files
 
 
 ## Pattern to extract contents in EDK DXS files
@@ -860,6 +859,7 @@ class PredictionReport(object):
         TempFile.close()
         
         try:
         TempFile.close()
         
         try:
+            from Eot.Eot import Eot
             #
             # Invoke EOT tool
             #
             #
             # Invoke EOT tool
             #