parameters: (self)
docstring: _cc_library.
  
          It will output the cc_library rule into the buffer.
docstring_summary: _cc_library.
docstring_tokens: _cc_library .
function: def _cc_library(self):
          """_cc_library.
  
          It will output the cc_library rule into the buffer.
  
          """
          var_name = self._generate_variable_name(self.path, self.name)
          self._write_rule('%s = %s.Library("%s", %s)' % (
                  var_name,
                  self._env_name(),
                  self._target_file_path(),
                  self._objs_name()))
          for dep_name in self.deps:
              dep = self.target_database[dep_name]
              if not dep._generate_header_files():
                  continue
              dep_var_name = self._generate_variable_name(dep.path, dep.name)
              self._write_rule('%s.Depends(%s, %s)' % (
                      self._env_name(),
                      var_name,
                      dep_var_name))
function_tokens: def _cc_library ( self ) : var_name = self . _generate_variable_name ( self . path , self . name ) self . _write_rule ( '%s = %s.Library("%s", %s)' % ( var_name , self . _env_name ( ) , self . _target_file_path ( ) , self . _objs_name ( ) ) ) for dep_name in self . deps : dep = self . target_database [ dep_name ] if not dep . _generate_header_files ( ) : continue dep_var_name = self . _generate_variable_name ( dep . path , dep . name ) self . _write_rule ( '%s.Depends(%s, %s)' % ( self . _env_name ( ) , var_name , dep_var_name ) )