1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
10 #define IDC_STATIC (-1)
12 // These marcos are copied from "base/stringize_macros.h" which cannot be
14 #define STRINGIZE_NO_EXPANSION(x) #x
15 #define STRINGIZE(x) STRINGIZE_NO_EXPANSION(x)
17 {% for lang in languages %}
18 {% do SelectLanguage(lang) %}
20 LANGUAGE {{ lang | GetPrimaryLanguage }}, {{ lang | GetSublanguage }}
22 VS_VERSION_INFO VERSIONINFO
23 FILEVERSION {{ MAJOR }},{{ REMOTING_PATCH }},{{ BUILD }},{{ PATCH }}
24 PRODUCTVERSION {{ MAJOR }},{{ REMOTING_PATCH }},{{ BUILD }},{{ PATCH }}
32 #if (BINARY == BINARY_CORE)
39 BLOCK "StringFileInfo"
41 BLOCK "{{ lang | GetLangId }}{{ lang | GetCodepage }}"
43 VALUE "CompanyName", "{% trans %}COMPANY_NAME{% endtrans %}"
44 VALUE "FileVersion", "{{ MAJOR }}.{{ REMOTING_PATCH }}.{{ BUILD }}.{{ PATCH }}"
45 VALUE "LegalCopyright", "{% trans %}COPYRIGHT{% endtrans %}"
46 VALUE "ProductName", "{% trans %}PRODUCT_NAME{% endtrans %}"
47 VALUE "ProductVersion", "{{ MAJOR }}.{{ REMOTING_PATCH }}.{{ BUILD }}.{{ PATCH }}"
48 VALUE "LastChange", "{{ LASTCHANGE }}"
49 VALUE "Official Build", "{{ official_build }}"
50 #if (BINARY == BINARY_CORE)
51 VALUE "FileDescription", "{% trans %}REMOTING_CORE_DESCRIPTION{% endtrans %}"
52 VALUE "InternalName", "remoting_core.dll"
53 VALUE "OriginalFilename", "remoting_core.dll"
54 #elif (BINARY == BINARY_DESKTOP)
55 VALUE "FileDescription", "{% trans %}REMOTING_DESKTOP_DESCRIPTION{% endtrans %}"
56 VALUE "InternalName", "remoting_desktop.exe"
57 VALUE "OriginalFilename", "remoting_desktop.exe"
58 #elif (BINARY == BINARY_HOST_ME2ME)
59 VALUE "FileDescription", "{% trans %}REMOTING_HOST_DESCRIPTION{% endtrans %}"
60 VALUE "InternalName", "remoting_host.exe"
61 VALUE "OriginalFilename", "remoting_host.exe"
62 #elif (BINARY == BINARY_NATIVE_MESSAGING_HOST)
63 VALUE "FileDescription", "{% trans %}REMOTING_NATIVE_MESSAGING_HOST_DESCRIPTION{% endtrans %}"
64 VALUE "InternalName", "remoting_native_messaging_host.exe"
65 VALUE "OriginalFilename", "remoting_native_messaging_host.exe"
66 #elif (BINARY == BINARY_REMOTE_ASSISTANCE_HOST)
67 VALUE "FileDescription", "{% trans %}REMOTING_REMOTE_ASSISTANCE_HOST_DESCRIPTION{% endtrans %}"
68 VALUE "InternalName", "remote_assistance_host.exe"
69 VALUE "OriginalFilename", "remote_assistance_host.exe"
71 #error BINARY must be set to one of BINARY_XXX values.
77 VALUE "Translation", 0x{{ lang | GetLangId }}, {{ lang | GetCodepageDecimal }}