OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include <verrsrc.h> | 5 #include <verrsrc.h> |
6 | 6 |
7 ///////////////////////////////////////////////////////////////////////////// | 7 ///////////////////////////////////////////////////////////////////////////// |
8 // | 8 // |
9 // Version | 9 // Version |
10 // | 10 // |
11 | 11 |
12 // Let .VER file to select the binary that is being compiled. | 12 // Let .VER file to select the binary that is being compiled. |
13 #define BINARY_HOST_PLUGIN 1 | 13 #define BINARY_HOST_PLUGIN 1 |
14 #define BINARY_HOST_ME2ME 2 | 14 #define BINARY_HOST_ME2ME 2 |
15 #define BINARY_DAEMON 3 | 15 #define BINARY_DAEMON 3 |
16 #define BINARY_CONTROLLER 4 | 16 #define BINARY_CONTROLLER 4 |
17 #define BINARY_DESKTOP 5 | 17 #define BINARY_DESKTOP 5 |
| 18 #define BINARY_CORE 6 |
18 #define BINARY @BINARY@ | 19 #define BINARY @BINARY@ |
19 | 20 |
20 #if (BINARY == BINARY_HOST_PLUGIN) | 21 #if (BINARY == BINARY_HOST_PLUGIN) |
21 #define FILE_DESCRIPTION "@HOST_PLUGIN_DESCRIPTION@" | 22 #define FILE_DESCRIPTION "@HOST_PLUGIN_DESCRIPTION@" |
22 #elif (BINARY == BINARY_HOST_ME2ME) | 23 #elif (BINARY == BINARY_HOST_ME2ME) |
23 #define FILE_DESCRIPTION "@HOST_ME2ME_DESCRIPTION@" | 24 #define FILE_DESCRIPTION "@HOST_ME2ME_DESCRIPTION@" |
24 #elif (BINARY == BINARY_DAEMON) | 25 #elif (BINARY == BINARY_DAEMON) |
25 #define FILE_DESCRIPTION "@DAEMON_DESCRIPTION@" | 26 #define FILE_DESCRIPTION "@DAEMON_DESCRIPTION@" |
26 #elif (BINARY == BINARY_CONTROLLER) | 27 #elif (BINARY == BINARY_CONTROLLER) |
27 #define FILE_DESCRIPTION "@CONTROLLER_DESCRIPTION@" | 28 #define FILE_DESCRIPTION "@CONTROLLER_DESCRIPTION@" |
28 #elif (BINARY == BINARY_DESKTOP) | 29 #elif (BINARY == BINARY_DESKTOP) |
29 #define FILE_DESCRIPTION "@DESKTOP_DESCRIPTION@" | 30 #define FILE_DESCRIPTION "@DESKTOP_DESCRIPTION@" |
| 31 #elif (BINARY == BINARY_CORE) |
| 32 #define FILE_DESCRIPTION "@CORE_DESCRIPTION@" |
30 #endif | 33 #endif |
31 | 34 |
32 VS_VERSION_INFO VERSIONINFO | 35 VS_VERSION_INFO VERSIONINFO |
33 FILEVERSION @MAJOR@,@REMOTING_PATCH@,@BUILD@,@PATCH@ | 36 FILEVERSION @MAJOR@,@REMOTING_PATCH@,@BUILD@,@PATCH@ |
34 PRODUCTVERSION @MAJOR@,@REMOTING_PATCH@,@BUILD@,@PATCH@ | 37 PRODUCTVERSION @MAJOR@,@REMOTING_PATCH@,@BUILD@,@PATCH@ |
35 FILEFLAGSMASK 0x17L | 38 FILEFLAGSMASK 0x17L |
36 #ifdef _DEBUG | 39 #ifdef _DEBUG |
37 FILEFLAGS 0x1L | 40 FILEFLAGS 0x1L |
38 #else | 41 #else |
39 FILEFLAGS 0x0L | 42 FILEFLAGS 0x0L |
(...skipping 19 matching lines...) Expand all Loading... |
59 #if (BINARY == BINARY_HOST_PLUGIN) | 62 #if (BINARY == BINARY_HOST_PLUGIN) |
60 VALUE "MIMEType", "@HOST_PLUGIN_MIME_TYPE@" | 63 VALUE "MIMEType", "@HOST_PLUGIN_MIME_TYPE@" |
61 #endif | 64 #endif |
62 END | 65 END |
63 END | 66 END |
64 BLOCK "VarFileInfo" | 67 BLOCK "VarFileInfo" |
65 BEGIN | 68 BEGIN |
66 VALUE "Translation", 0x409, 1200 | 69 VALUE "Translation", 0x409, 1200 |
67 END | 70 END |
68 END | 71 END |
OLD | NEW |