示例#1
0
 def GenerateRange(self, ast, releases, options):
     """Generate entry point code for a range of releases.
 """
     self._skip_opt = GetOption('disable_pepper_opt')
     self._skip_region_gen = GetOption('disable_region_gen')
     self.SetOutputFile(GetOption('pepperfile'))
     return WrapperGen.GenerateRange(self, ast, releases, options)
示例#2
0
 def GenerateRange(self, ast, releases, options):
     """Generate shim code for a range of releases.
 """
     self._skip_opt = GetOption('disable_pnacl_opt')
     self.SetOutputFile(GetOption('pnaclshim'))
     return WrapperGen.GenerateRange(self, ast, releases, options)