ant.execute();\r
}\r
\r
+ /**\r
+ Return the name of the directory that corresponds to the architecture.\r
+ This is a translation from the XML Schema tag to a directory that\r
+ corresponds to our directory name coding convention.\r
+ \r
+ **/\r
+ private String archDir(String arch) {\r
+ return arch.replaceFirst("X64", "x64")\r
+ .replaceFirst("IPF", "Ipf")\r
+ .replaceFirst("IA32", "Ia32")\r
+ .replaceFirst("ARM", "Arm")\r
+ .replaceFirst("EBC", "Ebc");\r
+ }\r
+\r
/**\r
Get the dependent library instances and include package name from \r
surface area, and initialize module include pathes. \r
includes.add("${WORKSPACE_DIR}" + File.separatorChar + GlobalData.getPackagePath(packageName)\r
+ File.separatorChar + "Include");\r
includes.add("${WORKSPACE_DIR}" + File.separatorChar + GlobalData.getPackagePath(packageName)\r
- + File.separatorChar + "Include" + File.separatorChar + "${ARCH}");\r
+ + File.separatorChar + "Include" + File.separatorChar + archDir(arch));\r
}\r
}\r
includes.add("${DEST_DIR_DEBUG}");\r