def _MSBuildOnly(tool, name, setting_type):
 def _Translate(value, msbuild_settings):
  tool_settings = msbuild_settings.setdefault(tool.msbuild_name, {})
  tool_settings[name] = value
 _msbuild_validators[tool.msbuild_name][name] = setting_type.ValidateMSBuild
 _msvs_to_msbuild_converters[tool.msvs_name][name] = _Translate

def _MSBuildOnly ( tool , name , setting_type ) : def _Translate ( value , msbuild_settings ) : tool_settings = msbuild_settings . setdefault ( tool . msbuild_name , { } ) tool_settings [ name ] = value _msbuild_validators [ tool . msbuild_name ] [ name ] = setting_type . ValidateMSBuild _msvs_to_msbuild_converters [ tool . msvs_name ] [ name ] = _Translate
defines a setting that is only found in msbuild .