]> git.proxmox.com Git - mirror_edk2.git/commitdiff
BaseTools: remove the unneeded code
authorYonghong Zhu <yonghong.zhu@intel.com>
Wed, 13 Jun 2018 01:12:28 +0000 (09:12 +0800)
committerYonghong Zhu <yonghong.zhu@intel.com>
Fri, 22 Jun 2018 05:32:34 +0000 (13:32 +0800)
Do a clean up to remove the unneeded code.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Yonghong Zhu <yonghong.zhu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
BaseTools/Source/Python/Workspace/MetaFileParser.py

index a2ded0c845ae49bfd6e880ffc42c549592df29f7..71da731e3283e5a44e36d9ad07ee1643b954283a 100644 (file)
@@ -1551,23 +1551,6 @@ class DscParser(MetaFileParser):
 \r
             self.IncludedFiles.add (IncludedFile1)\r
 \r
-            # todo: rework the nested include checking logic\r
-            # Current nested include checking rely on dsc file order inside build.db.\r
-            # It is not reliable and will lead to build fail in some case.\r
-            #\r
-            # When project A and B include a common dsc file C.\r
-            # Build project A. It give dsc file A = ID 1 in build.db, and C ID = 2.\r
-            # Build project B. It give dsc file B ID = 3, and C ID still = 2.\r
-            # Then, we build project B fail, unless we clean build.db.\r
-            # In oldder BaseTools, the project B ID will still be 1,\r
-            # that's why it work before.\r
-\r
-            # Does not allow lower level included file to include upper level included file\r
-            #if Parser._From != Owner and int(Owner) > int (Parser._From):\r
-            #   EdkLogger.error('parser', FILE_ALREADY_EXIST, File=self._FileWithError,\r
-            #       Line=self._LineIndex + 1, ExtraData="{0} is already included at a higher level.".format(IncludedFile1))\r
-\r
-\r
             # set the parser status with current status\r
             Parser._SectionName = self._SectionName\r
             if self._InSubsection:\r