mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-27 07:34:06 +02:00
debug pei
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1363 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
1eac75f911
commit
cfdfbaca55
@ -60,14 +60,11 @@ public final class ModuleInfo {
|
|||||||
public final Set<String> ppi = new HashSet<String>();
|
public final Set<String> ppi = new HashSet<String>();
|
||||||
|
|
||||||
public final void enroll(String filepath) throws Exception {
|
public final void enroll(String filepath) throws Exception {
|
||||||
String[] temp;
|
|
||||||
if (filepath.contains(".c") || filepath.contains(".C") || filepath.contains(".h") ||
|
if (filepath.contains(".c") || filepath.contains(".C") || filepath.contains(".h") ||
|
||||||
filepath.contains(".H") || filepath.contains(".dxs") || filepath.contains(".uni")) {
|
filepath.contains(".H") || filepath.contains(".dxs") || filepath.contains(".uni")) {
|
||||||
temp = filepath.split("\\\\");
|
localmodulesources.add(filepath.replace(modulepath + "\\", ""));
|
||||||
localmodulesources.add(temp[temp.length - 1]);
|
|
||||||
} else if (filepath.contains(".inf") || filepath.contains(".msa")) {
|
} else if (filepath.contains(".inf") || filepath.contains(".msa")) {
|
||||||
temp = filepath.split("\\\\");
|
msaorinf.add(filepath.replace(modulepath + "\\", ""));
|
||||||
msaorinf.add(temp[temp.length - 1]);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user