parameters: (self, config, gyp_to_ninja_path)
return_statement: return rcflags
docstring: Returns the flags that need to be added to invocations of the resource
          compiler.
docstring_summary: Returns the flags that need to be added to invocations of the resource
          compiler.
docstring_tokens: Returns the flags that need to be added to invocations of the resource compiler .
function: def GetRcflags(self, config, gyp_to_ninja_path):
          """Returns the flags that need to be added to invocations of the resource
          compiler."""
          config = self._TargetConfig(config)
          rcflags = []
          rc = self._GetWrapper(
              self, self.msvs_settings[config], "VCResourceCompilerTool", append=rcflags
          )
          rc("AdditionalIncludeDirectories", map=gyp_to_ninja_path, prefix="/I")
          rcflags.append("/I" + gyp_to_ninja_path("."))
          rc("PreprocessorDefinitions", prefix="/d")
          # /l arg must be in hex without leading '0x'
          rc("Culture", prefix="/l", map=lambda x: hex(int(x))[2:])
          return rcflags
function_tokens: def GetRcflags ( self , config , gyp_to_ninja_path ) : config = self . _TargetConfig ( config ) rcflags = [ ] rc = self . _GetWrapper ( self , self . msvs_settings [ config ] , "VCResourceCompilerTool" , append = rcflags ) rc ( "AdditionalIncludeDirectories" , map = gyp_to_ninja_path , prefix = "/I" ) rcflags . append ( "/I" + gyp_to_ninja_path ( "." ) ) rc ( "PreprocessorDefinitions" , prefix = "/d" ) # /l arg must be in hex without leading '0x' rc ( "Culture" , prefix = "/l" , map = lambda x : hex ( int ( x ) ) [ 2 : ] ) return rcflags