Returns the flags that need to be added to invocations of the resource compiler.
(self, config, gyp_to_ninja_path)
| 890 | return link_inc != "1" |
| 891 | |
| 892 | def GetRcflags(self, config, gyp_to_ninja_path): |
| 893 | """Returns the flags that need to be added to invocations of the resource |
| 894 | compiler.""" |
| 895 | config = self._TargetConfig(config) |
| 896 | rcflags = [] |
| 897 | rc = self._GetWrapper( |
| 898 | self, self.msvs_settings[config], "VCResourceCompilerTool", append=rcflags |
| 899 | ) |
| 900 | rc("AdditionalIncludeDirectories", map=gyp_to_ninja_path, prefix="/I") |
| 901 | rcflags.append("/I" + gyp_to_ninja_path(".")) |
| 902 | rc("PreprocessorDefinitions", prefix="/d") |
| 903 | # /l arg must be in hex without leading '0x' |
| 904 | rc("Culture", prefix="/l", map=lambda x: hex(int(x))[2:]) |
| 905 | return rcflags |
| 906 | |
| 907 | def BuildCygwinBashCommandLine(self, args, path_to_base): |
| 908 | """Build a command line that runs args via cygwin bash. We assume that all |
no test coverage detected