parameters: (self, config, extension)
return_statement: return  []
docstring: Get the flags to be added to the cflags for precompiled header support.
docstring_summary: Get the flags to be added to the cflags for precompiled header support.
docstring_tokens: Get the flags to be added to the cflags for precompiled header support .
function: def _GetPchFlags(self, config, extension):
      """Get the flags to be added to the cflags for precompiled header support.
      """
      config = self._TargetConfig(config)
      # The PCH is only built once by a particular source file. Usage of PCH must
      # only be for the same language (i.e. C vs. C++), so only include the pch
      # flags when the language matches.
      if self.msvs_precompiled_header[config]:
        source_ext = os.path.splitext(self.msvs_precompiled_source[config])[1]
        if _LanguageMatchesForPch(source_ext, extension):
          pch = os.path.split(self.msvs_precompiled_header[config])[1]
          return ['/Yu' + pch, '/FI' + pch, '/Fp${pchprefix}.' + pch + '.pch']
      return  []
function_tokens: def _GetPchFlags ( self , config , extension ) : config = self . _TargetConfig ( config ) # The PCH is only built once by a particular source file. Usage of PCH must # only be for the same language (i.e. C vs. C++), so only include the pch # flags when the language matches. if self . msvs_precompiled_header [ config ] : source_ext = os . path . splitext ( self . msvs_precompiled_source [ config ] ) [ 1 ] if _LanguageMatchesForPch ( source_ext , extension ) : pch = os . path . split ( self . msvs_precompiled_header [ config ] ) [ 1 ] return [ '/Yu' + pch , '/FI' + pch , '/Fp${pchprefix}.' + pch + '.pch' ] return [ ]