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_ME2ME_HOST 2
15 #define BINARY_SERVICE 3
16 #define BINARY @BINARY@
18 #if (BINARY == BINARY_HOST_PLUGIN)
19 #define FILE_DESCRIPTION "@HOST_PLUGIN_FILE_DESCRIPTION@"
20 #elif (BINARY == BINARY_ME2ME_HOST)
21 #define FILE_DESCRIPTION "@ME2ME_HOST_FILE_DESCRIPTION@"
22 #elif (BINARY == BINARY_SERVICE)
23 #define FILE_DESCRIPTION "@SERVICE_FILE_DESCRIPTION@"
24 #elif (BINARY == BINARY_SERVICE_CONTROLLER)
25 #define FILE_DESCRIPTION "@SERVICE_CONTROLLER_FILE_DESCRIPTION@"
28 VS_VERSION_INFO VERSIONINFO
29 FILEVERSION @MAJOR@,@MINOR@,@BUILD@,@PATCH@
30 PRODUCTVERSION @MAJOR@,@MINOR@,@BUILD@,@PATCH@
41 BLOCK "StringFileInfo"
45 VALUE "CompanyName", "@COMPANY_FULLNAME@"
46 VALUE "FileDescription", FILE_DESCRIPTION
47 VALUE "FileVersion", "@MAJOR@.@MINOR@.@BUILD@.@PATCH@"
48 VALUE "InternalName", "@INTERNAL_NAME@"
49 VALUE "LegalCopyright", "@COPYRIGHT@"
50 VALUE "OriginalFilename", "@ORIGINAL_FILENAME@"
51 VALUE "ProductName", "@PRODUCT_FULLNAME@"
52 VALUE "ProductVersion", "@MAJOR@.@MINOR@.@BUILD@.@PATCH@"
53 VALUE "LastChange", "@LASTCHANGE@"
54 VALUE "Official Build", "@OFFICIAL_BUILD@"
55 #if (BINARY == BINARY_HOST_PLUGIN)
56 VALUE "MIMEType", "@HOST_PLUGIN_MIME_TYPE@"
62 VALUE "Translation", 0x409, 1200