]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/Python/Eot/c.py
BaseTools: use set instead of list for a variable to be used with in
[mirror_edk2.git] / BaseTools / Source / Python / Eot / c.py
index f191dd4efcbf8ea69be0c18f146efd360986bb07..8199ce5ee73edefdef65649f66c082fd318305cd 100644 (file)
@@ -1,7 +1,7 @@
 ## @file\r
 # preprocess source file\r
 #\r
-#  Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR>\r
+#  Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.<BR>\r
 #\r
 #  This program and the accompanying materials\r
 #  are licensed and made available under the terms and conditions of the BSD License\r
@@ -16,7 +16,7 @@
 # Import Modules\r
 #\r
 import sys\r
-import os\r
+import Common.LongFilePathOs as os\r
 import re\r
 import CodeFragmentCollector\r
 import FileProfile\r
@@ -31,16 +31,6 @@ IncludePathListDict = {}
 ComplexTypeDict = {}\r
 SUDict = {}\r
 \r
-## GetIgnoredDirListPattern() method\r
-#\r
-#  Get the pattern of ignored direction list\r
-#\r
-#  @return p:    the pattern of ignored direction list\r
-#\r
-def GetIgnoredDirListPattern():\r
-    p = re.compile(r'.*[\\/](?:BUILD|INTELRESTRICTEDTOOLS|INTELRESTRICTEDPKG|PCCTS)[\\/].*')\r
-    return p\r
-\r
 ## GetFuncDeclPattern() method\r
 #\r
 #  Get the pattern of function declaration\r