OLD | NEW |
| (Empty) |
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. | |
4 | |
5 #include <verrsrc.h> | |
6 | |
7 ///////////////////////////////////////////////////////////////////////////// | |
8 // | |
9 // Version | |
10 // | |
11 | |
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 | |
16 #define BINARY_CORE 4 | |
17 #define BINARY @BINARY@ | |
18 | |
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@" | |
27 #endif | |
28 | |
29 VS_VERSION_INFO VERSIONINFO | |
30 FILEVERSION @MAJOR@,@REMOTING_PATCH@,@BUILD@,@PATCH@ | |
31 PRODUCTVERSION @MAJOR@,@REMOTING_PATCH@,@BUILD@,@PATCH@ | |
32 FILEFLAGSMASK 0x17L | |
33 #ifdef _DEBUG | |
34 FILEFLAGS 0x1L | |
35 #else | |
36 FILEFLAGS 0x0L | |
37 #endif | |
38 FILEOS 0x4L | |
39 FILETYPE @FILE_TYPE@ | |
40 FILESUBTYPE 0x0L | |
41 BEGIN | |
42 BLOCK "StringFileInfo" | |
43 BEGIN | |
44 BLOCK "040904b0" | |
45 BEGIN | |
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@" | |
58 #endif | |
59 END | |
60 END | |
61 BLOCK "VarFileInfo" | |
62 BEGIN | |
63 VALUE "Translation", 0x409, 1200 | |
64 END | |
65 END | |
OLD | NEW |