import Common.DataType as DataType\r
from Common.Misc import PathClass\r
from Common.LongFilePathSupport import OpenLongFilePath as open\r
+from Common.MultipleWorkspace import MultipleWorkspace as mws\r
\r
## Global variables\r
#\r
# @param String String that may contain macro\r
#\r
def ReplaceWorkspaceMacro(String):\r
+ String = mws.handleWsMacro(String)\r
Str = String.replace('$(WORKSPACE)', GenFdsGlobalVariable.WorkSpaceDir)\r
if os.path.exists(Str):\r
if not os.path.isabs(Str):\r
Str = os.path.abspath(Str)\r
else:\r
- Str = os.path.join(GenFdsGlobalVariable.WorkSpaceDir, String)\r
+ Str = mws.join(GenFdsGlobalVariable.WorkSpaceDir, String)\r
return os.path.normpath(Str)\r
\r
## Check if the input files are newer than output files\r