parameters: (self)
docstring: Gn args for using goma.
docstring_summary: Gn args for using goma.
docstring_tokens: Gn args for using goma .
function: def _goma_args(self):
      """Gn args for using goma."""
      # Specify goma args if we want to use goma and if goma isn't specified
      # via command line already. The command-line always has precedence over
      # any other specification.
      if (self._use_goma and
          not any(re.match(r'use_goma\s*=.*', x) for x in self._gn_args)):
        if self._need_goma_dir:
          return 'use_goma=true\ngoma_dir="%s"' % self._goma_dir
        else:
          return 'use_goma=true'
      else:
        return ''
function_tokens: def _goma_args ( self ) : # Specify goma args if we want to use goma and if goma isn't specified # via command line already. The command-line always has precedence over # any other specification. if ( self . _use_goma and not any ( re . match ( r'use_goma\s*=.*' , x ) for x in self . _gn_args ) ) : if self . _need_goma_dir : return 'use_goma=true\ngoma_dir="%s"' % self . _goma_dir else : return 'use_goma=true' else : return ''