]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Restrict using UserExtension with UserID "TianoCore".
authorwuyizhong <wuyizhong@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 6 Jul 2006 07:35:01 +0000 (07:35 +0000)
committerwuyizhong <wuyizhong@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 6 Jul 2006 07:35:01 +0000 (07:35 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@792 6f19259b-4bc3-4df7-8a09-765794883524

Tools/Source/GenBuild/org/tianocore/build/global/SurfaceAreaQuery.java

index 0b16e30df3bbb2953c34c499728dcc12447792a2..2d8abc3b1c71f698bba164311823df826456ef85 100644 (file)
@@ -23,7 +23,6 @@ import java.util.Stack;
 import java.util.regex.Matcher;\r
 import java.util.regex.Pattern;\r
 \r
 import java.util.regex.Matcher;\r
 import java.util.regex.Pattern;\r
 \r
-import org.apache.xmlbeans.XmlCursor;\r
 import org.apache.xmlbeans.XmlObject;\r
 import org.apache.xmlbeans.XmlString;\r
 import org.tianocore.BuildOptionsDocument;\r
 import org.apache.xmlbeans.XmlObject;\r
 import org.apache.xmlbeans.XmlString;\r
 import org.tianocore.BuildOptionsDocument;\r
@@ -1379,7 +1378,7 @@ public class SurfaceAreaQuery {
     }\r
     \r
     public static Node getFpdUserExtension() {\r
     }\r
     \r
     public static Node getFpdUserExtension() {\r
-        String[] xPath = new String[] { "/UserExtensions" };\r
+        String[] xPath = new String[] { "/UserExtensions[@UserID='TianoCore']" }; \r
 \r
         Object[] queryResult = get("PlatformSurfaceArea", xPath);\r
         if (queryResult == null || queryResult.length == 0) {\r
 \r
         Object[] queryResult = get("PlatformSurfaceArea", xPath);\r
         if (queryResult == null || queryResult.length == 0) {\r