1 // Copyright (c) 2012 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.
7 /////////////////////////////////////////////////////////////////////////////
12 // Let .VER file to select the binary that is being compiled.
13 #define BINARY_HOST_PLUGIN 1
14 #define BINARY_HOST_ME2ME 2
15 #define BINARY_DESKTOP 3
17 #define BINARY @BINARY@
19 #if (BINARY == BINARY_HOST_PLUGIN)
20 #define FILE_DESCRIPTION "@HOST_PLUGIN_DESCRIPTION@"
21 #elif (BINARY == BINARY_HOST_ME2ME)
22 #define FILE_DESCRIPTION "@HOST_ME2ME_DESCRIPTION@"
23 #elif (BINARY == BINARY_DESKTOP)
24 #define FILE_DESCRIPTION "@DESKTOP_DESCRIPTION@"
25 #elif (BINARY == BINARY_CORE)
26 #define FILE_DESCRIPTION "@CORE_DESCRIPTION@"
29 VS_VERSION_INFO VERSIONINFO
30 FILEVERSION @MAJOR@,@REMOTING_PATCH@,@BUILD@,@PATCH@
31 PRODUCTVERSION @MAJOR@,@REMOTING_PATCH@,@BUILD@,@PATCH@
42 BLOCK "StringFileInfo"
46 VALUE "CompanyName", "@COMPANY_FULLNAME@"
47 VALUE "FileDescription", FILE_DESCRIPTION
48 VALUE "FileVersion", "@MAJOR@.@REMOTING_PATCH@.@BUILD@.@PATCH@"
49 VALUE "InternalName", "@INTERNAL_NAME@"
50 VALUE "LegalCopyright", "@COPYRIGHT@"
51 VALUE "OriginalFilename", "@ORIGINAL_FILENAME@"
52 VALUE "ProductName", "@PRODUCT_FULLNAME@"
53 VALUE "ProductVersion", "@MAJOR@.@REMOTING_PATCH@.@BUILD@.@PATCH@"
54 VALUE "LastChange", "@LASTCHANGE@"
55 VALUE "Official Build", "@OFFICIAL_BUILD@"
56 #if (BINARY == BINARY_HOST_PLUGIN)
57 VALUE "MIMEType", "@HOST_PLUGIN_MIME_TYPE@"
63 VALUE "Translation", 0x409, 1200