| Index: remoting/host/win/version.rc.template
|
| diff --git a/remoting/host/win/version.rc.template b/remoting/host/win/version.rc.template
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..f7641c6c6b51078ffb20b701fd8f898c9d3dd0ab
|
| --- /dev/null
|
| +++ b/remoting/host/win/version.rc.template
|
| @@ -0,0 +1,78 @@
|
| +// Copyright 2013 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include <winresrc.h>
|
| +#ifdef IDC_STATIC
|
| +#undef IDC_STATIC
|
| +#endif
|
| +#define IDC_STATIC (-1)
|
| +
|
| +// Known Chromoting binaries
|
| +#define BINARY_CORE 1
|
| +#define BINARY_DESKTOP 2
|
| +#define BINARY_HOST_ME2ME 3
|
| +#define BINARY_HOST_PLUGIN 4
|
| +
|
| +{% for lang in languages %}
|
| + {% do SelectLanguage(lang) %}
|
| +
|
| +LANGUAGE {{ lang | GetPrimaryLanguage }}, {{ lang | GetSublanguage }}
|
| +
|
| +VS_VERSION_INFO VERSIONINFO
|
| + FILEVERSION {{ MAJOR }},{{ REMOTING_PATCH }},{{ BUILD }},{{ PATCH }}
|
| + PRODUCTVERSION {{ MAJOR }},{{ REMOTING_PATCH }},{{ BUILD }},{{ PATCH }}
|
| + FILEFLAGSMASK 0x17L
|
| +#ifdef _DEBUG
|
| + FILEFLAGS 0x1L
|
| +#else
|
| + FILEFLAGS 0x0L
|
| +#endif
|
| + FILEOS 0x4L
|
| +#if (BINARY == BINARY_CORE) || (BINARY == BINARY_HOST_PLUGIN)
|
| + FILETYPE VFT_DLL
|
| +#else
|
| + FILETYPE VFT_APP
|
| +#endif
|
| + FILESUBTYPE 0x0L
|
| +BEGIN
|
| + BLOCK "StringFileInfo"
|
| + BEGIN
|
| + BLOCK "{{ lang | GetLangId }}{{ lang | GetCodepage }}"
|
| + BEGIN
|
| + VALUE "CompanyName", "{% trans %}COMPANY_NAME{% endtrans %}"
|
| + VALUE "FileVersion", "{{ MAJOR }}.{{ REMOTING_PATCH }}.{{ BUILD }}.{{ PATCH }}"
|
| + VALUE "LegalCopyright", "{% trans %}COPYRIGHT{% endtrans %}"
|
| + VALUE "ProductName", "{% trans %}PRODUCT_NAME{% endtrans %}"
|
| + VALUE "ProductVersion", "{{ MAJOR }}.{{ REMOTING_PATCH }}.{{ BUILD }}.{{ PATCH }}"
|
| + VALUE "LastChange", "{{ LASTCHANGE }}"
|
| + VALUE "Official Build", "{{ OFFICIAL_BUILD }}"
|
| +#if (BINARY == BINARY_CORE)
|
| + VALUE "FileDescription", "{% trans %}REMOTING_CORE_DESCRIPTION{% endtrans %}"
|
| + VALUE "InternalName", "remoting_core.dll"
|
| + VALUE "OriginalFilename", "remoting_core.dll"
|
| +#elif (BINARY == BINARY_DESKTOP)
|
| + VALUE "FileDescription", "{% trans %}REMOTING_DESKTOP_DESCRIPTION{% endtrans %}"
|
| + VALUE "InternalName", "remoting_desktop.exe"
|
| + VALUE "OriginalFilename", "remoting_desktop.exe"
|
| +#elif (BINARY == BINARY_HOST_ME2ME)
|
| + VALUE "FileDescription", "{% trans %}REMOTING_HOST_DESCRIPTION{% endtrans %}"
|
| + VALUE "InternalName", "remoting_host.exe"
|
| + VALUE "OriginalFilename", "remoting_host.exe"
|
| +#elif (BINARY == BINARY_HOST_PLUGIN)
|
| + VALUE "FileDescription", "{% trans %}REMOTING_HOST_PLUGIN_DESCRIPTION{% endtrans %}"
|
| + VALUE "InternalName", "remoting_host_plugin.dll"
|
| + VALUE "OriginalFilename", "remoting_host_plugin.dll"
|
| + VALUE "MIMEType", "application/vnd.chromium.remoting-host"
|
| +#else
|
| +#error BINARY must be set to one of BINARY_XXX values.
|
| +#endif
|
| + END
|
| + END
|
| + BLOCK "VarFileInfo"
|
| + BEGIN
|
| + VALUE "Translation", 0x{{ lang | GetLangId }}, {{ lang | GetCodepageDecimal }}
|
| + END
|
| +END
|
| +
|
| +{% endfor %}
|
|
|