Changed StrGather behavior to be more R8 like
[people/mcb30/basetools.git] / Source / Python / AutoGen / GenC.py
index 7526baa..c8fb01d 100644 (file)
@@ -1557,8 +1557,10 @@ def CreateUnicodeStringCode(Info, AutoGenC, AutoGenH):
     WorkingDir = os.getcwd()\r
     os.chdir(Info.WorkspaceDir)\r
 \r
-    IncList = [os.path.join(Info.WorkspaceDir, Inc) for Inc in Info.IncludePathList]\r
-    Header, Code = GetStringFiles(Info.UnicodeFileList, IncList, [], Info.Name)\r
+    #IncList = [os.path.join(Info.WorkspaceDir, Inc) for Inc in Info.IncludePathList]\r
+    IncList = [Info.SourceDir]\r
+    SrcList = [F[0] for F in Info.SourceFileList]\r
+    Header, Code = GetStringFiles(Info.UnicodeFileList, SrcList, IncList, ['.uni'], Info.Name)\r
     AutoGenC.Append("\n//\n//Unicode String Pack Definition\n//\n")\r
     AutoGenC.Append(Code)\r
     AutoGenC.Append("\n")\r