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 | |
19 #define BINARY @BINARY@ | 18 #define BINARY @BINARY@ |
20 | 19 |
21 #if (BINARY == BINARY_HOST_PLUGIN) | 20 #if (BINARY == BINARY_HOST_PLUGIN) |
22 #define FILE_DESCRIPTION "@HOST_PLUGIN_DESCRIPTION@" | 21 #define FILE_DESCRIPTION "@HOST_PLUGIN_DESCRIPTION@" |
23 #elif (BINARY == BINARY_HOST_ME2ME) | 22 #elif (BINARY == BINARY_HOST_ME2ME) |
24 #define FILE_DESCRIPTION "@HOST_ME2ME_DESCRIPTION@" | 23 #define FILE_DESCRIPTION "@HOST_ME2ME_DESCRIPTION@" |
25 #elif (BINARY == BINARY_DAEMON) | 24 #elif (BINARY == BINARY_DAEMON) |
26 #define FILE_DESCRIPTION "@DAEMON_DESCRIPTION@" | 25 #define FILE_DESCRIPTION "@DAEMON_DESCRIPTION@" |
27 #elif (BINARY == BINARY_CONTROLLER) | 26 #elif (BINARY == BINARY_CONTROLLER) |
28 #define FILE_DESCRIPTION "@CONTROLLER_DESCRIPTION@" | 27 #define FILE_DESCRIPTION "@CONTROLLER_DESCRIPTION@" |
29 #elif (BINARY == BINARY_DESKTOP) | 28 #elif (BINARY == BINARY_DESKTOP) |
30 #define FILE_DESCRIPTION "@DESKTOP_DESCRIPTION@" | 29 #define FILE_DESCRIPTION "@DESKTOP_DESCRIPTION@" |
31 #elif (BINARY == BINARY_CORE) | |
32 #define FILE_DESCRIPTION "@CORE_DESCRIPTION@" | |
33 #endif | 30 #endif |
34 | 31 |
35 VS_VERSION_INFO VERSIONINFO | 32 VS_VERSION_INFO VERSIONINFO |
36 FILEVERSION @MAJOR@,@REMOTING_PATCH@,@BUILD@,@PATCH@ | 33 FILEVERSION @MAJOR@,@REMOTING_PATCH@,@BUILD@,@PATCH@ |
37 PRODUCTVERSION @MAJOR@,@REMOTING_PATCH@,@BUILD@,@PATCH@ | 34 PRODUCTVERSION @MAJOR@,@REMOTING_PATCH@,@BUILD@,@PATCH@ |
38 FILEFLAGSMASK 0x17L | 35 FILEFLAGSMASK 0x17L |
39 #ifdef _DEBUG | 36 #ifdef _DEBUG |
40 FILEFLAGS 0x1L | 37 FILEFLAGS 0x1L |
41 #else | 38 #else |
42 FILEFLAGS 0x0L | 39 FILEFLAGS 0x0L |
(...skipping 19 matching lines...) Expand all Loading... |
62 #if (BINARY == BINARY_HOST_PLUGIN) | 59 #if (BINARY == BINARY_HOST_PLUGIN) |
63 VALUE "MIMEType", "@HOST_PLUGIN_MIME_TYPE@" | 60 VALUE "MIMEType", "@HOST_PLUGIN_MIME_TYPE@" |
64 #endif | 61 #endif |
65 END | 62 END |
66 END | 63 END |
67 BLOCK "VarFileInfo" | 64 BLOCK "VarFileInfo" |
68 BEGIN | 65 BEGIN |
69 VALUE "Translation", 0x409, 1200 | 66 VALUE "Translation", 0x409, 1200 |
70 END | 67 END |
71 END | 68 END |
OLD | NEW |