Ejemplo n.º 1
0
 def __init__(self):
   WrapperGen.__init__(self,
                       'Pnacl',
                       'Pnacl Shim Gen',
                       'pnacl',
                       'Generate the PNaCl shim.')
   self.cgen = CGen()
   self._skip_opt = False
Ejemplo n.º 2
0
 def __init__(self):
   WrapperGen.__init__(self,
                       'Pnacl',
                       'Pnacl Shim Gen',
                       'pnacl',
                       'Generate the PNaCl shim.')
   self.cgen = CGen()
   self._skip_opt = False
   self._pnacl_attribute = '__attribute__((pnaclcall))'
Ejemplo n.º 3
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)
Ejemplo n.º 4
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)
Ejemplo n.º 5
0
 def __init__(self):
     WrapperGen.__init__(self, 'Pepper', 'Pepper Gen', 'pepper',
                         'Generate the Pepper DLL export.')
     self.cgen = CGen()
     self._skip_opt = False
     self._skip_region_gen = False