Revert of Remove OneClickSigninHelper since it is no longer used. (patchset #5 id...
[chromium-blink-merge.git] / remoting / host / win / version.rc.jinja2
blobc86ce71f9e6d2f2b7dc33eca257427027e9d1520
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.
5 #include <winresrc.h>
7 #ifdef IDC_STATIC
8 #undef IDC_STATIC
9 #endif
10 #define IDC_STATIC (-1)
12 // These marcos are copied from "base/stringize_macros.h" which cannot be
13 // included directly.
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 }}
25  FILEFLAGSMASK 0x17L
26 #ifdef _DEBUG
27  FILEFLAGS 0x1L
28 #else
29  FILEFLAGS 0x0L
30 #endif
31  FILEOS 0x4L
32 #if (BINARY == BINARY_CORE)
33  FILETYPE VFT_DLL
34 #else
35  FILETYPE VFT_APP
36 #endif
37  FILESUBTYPE 0x0L
38 BEGIN
39   BLOCK "StringFileInfo"
40   BEGIN
41     BLOCK "{{ lang | GetLangId }}{{ lang | GetCodepage }}"
42     BEGIN
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"
70 #else
71 #error BINARY must be set to one of BINARY_XXX values.
72 #endif
73     END
74   END
75   BLOCK "VarFileInfo"
76   BEGIN
77     VALUE "Translation", 0x{{ lang | GetLangId }}, {{ lang | GetCodepageDecimal }}
78   END
79 END
81 {% endfor %}