]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/Python/Workspace/InfBuildData.py
BaseTools: remove unused setter functions
[mirror_edk2.git] / BaseTools / Source / Python / Workspace / InfBuildData.py
index 44eaebf62e50a5ad6ff66502c579f870fb150a11..7c3d712efe636855b0753ed06d7a0076fa93008e 100644 (file)
@@ -173,36 +173,10 @@ class InfBuildData(ModuleBuildClassObject):
     def _GetArch(self):\r
         return self._Arch\r
 \r
-    ## Set architecture\r
-    #\r
-    #   Changing the default ARCH to another may affect all other information\r
-    # because all information in a platform may be ARCH-related. That's\r
-    # why we need to clear all internal used members, in order to cause all\r
-    # information to be re-retrieved.\r
-    #\r
-    #   @param  Value   The value of ARCH\r
-    #\r
-    def _SetArch(self, Value):\r
-        if self._Arch == Value:\r
-            return\r
-        self._Arch = Value\r
-        self._Clear()\r
-\r
     ## Return the name of platform employing this module\r
     def _GetPlatform(self):\r
         return self._Platform\r
 \r
-    ## Change the name of platform employing this module\r
-    #\r
-    #   Changing the default name of platform to another may affect some information\r
-    # because they may be PLATFORM-related. That's why we need to clear all internal\r
-    # used members, in order to cause all information to be re-retrieved.\r
-    #\r
-    def _SetPlatform(self, Value):\r
-        if self._Platform == Value:\r
-            return\r
-        self._Platform = Value\r
-        self._Clear()\r
     def _GetHeaderComments(self):\r
         if not self._HeaderComments:\r
             self._HeaderComments = []\r
@@ -1154,8 +1128,8 @@ class InfBuildData(ModuleBuildClassObject):
             return False\r
 \r
     _Macros = property(_GetMacros)\r
-    Arch = property(_GetArch, _SetArch)\r
-    Platform = property(_GetPlatform, _SetPlatform)\r
+    Arch = property(_GetArch)\r
+    Platform = property(_GetPlatform)\r
 \r
     HeaderComments = property(_GetHeaderComments)\r
     TailComments = property(_GetTailComments)\r