summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwuyizhong <wuyizhong@6f19259b-4bc3-4df7-8a09-765794883524>2006-07-06 07:35:01 +0000
committerwuyizhong <wuyizhong@6f19259b-4bc3-4df7-8a09-765794883524>2006-07-06 07:35:01 +0000
commite0f8d087ae422c613267650487686581b1081fc8 (patch)
tree49cff78114ee4d90f30aafe6386f31904222c178
parente3f236c844c289c5e3c4a22768d1001eea272ddd (diff)
downloadedk2-platforms-e0f8d087ae422c613267650487686581b1081fc8.tar.xz
Restrict using UserExtension with UserID "TianoCore".
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@792 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--Tools/Source/GenBuild/org/tianocore/build/global/SurfaceAreaQuery.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/Tools/Source/GenBuild/org/tianocore/build/global/SurfaceAreaQuery.java b/Tools/Source/GenBuild/org/tianocore/build/global/SurfaceAreaQuery.java
index 0b16e30df3..2d8abc3b1c 100644
--- a/Tools/Source/GenBuild/org/tianocore/build/global/SurfaceAreaQuery.java
+++ b/Tools/Source/GenBuild/org/tianocore/build/global/SurfaceAreaQuery.java
@@ -23,7 +23,6 @@ import java.util.Stack;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
-import org.apache.xmlbeans.XmlCursor;
import org.apache.xmlbeans.XmlObject;
import org.apache.xmlbeans.XmlString;
import org.tianocore.BuildOptionsDocument;
@@ -1379,7 +1378,7 @@ public class SurfaceAreaQuery {
}
public static Node getFpdUserExtension() {
- String[] xPath = new String[] { "/UserExtensions" };
+ String[] xPath = new String[] { "/UserExtensions[@UserID='TianoCore']" };
Object[] queryResult = get("PlatformSurfaceArea", xPath);
if (queryResult == null || queryResult.length == 0) {