OLD | NEW |
| (Empty) |
1 // Copyright 2007 Google Inc. | |
2 // | |
3 // Licensed under the Apache License, Version 2.0 (the "License"); | |
4 // you may not use this file except in compliance with the License. | |
5 // You may obtain a copy of the License at | |
6 // | |
7 // http://www.apache.org/licenses/LICENSE-2.0 | |
8 // | |
9 // Unless required by applicable law or agreed to in writing, software | |
10 // distributed under the License is distributed on an "AS IS" BASIS, | |
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
12 // See the License for the specific language governing permissions and | |
13 // limitations under the License. | |
14 // ======================================================================== | |
15 // | |
16 // This file contains the unlocalized plugin version resources. | |
17 | |
18 #include <afxres.h> | |
19 | |
20 // The "040904e4" block (for codepage 1252 Ansi Latin) is required for | |
21 // the Netscape Plugin stuff to see the MIMETYPE value in the resource block. | |
22 | |
23 // TODO(omaha): FileDescription is what shows up in "about:plugins" for | |
24 // Mozilla. Format the description to include the url of the project. | |
25 // Update: July 2010. I'm not sure why this comment requests the URL. We should | |
26 // include the version, though, since that is used by version-checking websites. | |
27 | |
28 LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US | |
29 | |
30 VS_VERSION_INFO VERSIONINFO | |
31 // Resource Editor does not handle constants from main.scons. | |
32 #ifndef APSTUDIO_INVOKED | |
33 FILEVERSION VERSION_MAJOR,VERSION_MINOR,VERSION_BUILD,VERSION_PATCH | |
34 PRODUCTVERSION VERSION_MAJOR,VERSION_MINOR,VERSION_BUILD,VERSION_PATCH | |
35 #endif // APSTUDIO_INVOKED | |
36 FILEFLAGSMASK VS_FFI_FILEFLAGSMASK | |
37 #if defined _DEBUG && OFFICIAL_BUILD | |
38 FILEFLAGS VS_FF_DEBUG | |
39 #elif defined _DEBUG | |
40 FILEFLAGS VS_FF_DEBUG | VS_FF_PRIVATEBUILD | |
41 #elif !OFFICIAL_BUILD | |
42 FILEFLAGS VS_FF_PRIVATEBUILD | |
43 #else | |
44 FILEFLAGS 0x0L | |
45 #endif | |
46 FILEOS VOS_NT_WINDOWS32 | |
47 FILETYPE VFT_DLL | |
48 FILESUBTYPE VFT2_UNKNOWN | |
49 BEGIN | |
50 BLOCK "StringFileInfo" | |
51 BEGIN | |
52 BLOCK "040904e4" | |
53 BEGIN | |
54 // Requires constants from mains.scons that cannot be loaded in Resource Editor. | |
55 #ifndef APSTUDIO_INVOKED | |
56 VALUE "CompanyName", FULL_COMPANY_NAME_ANSI | |
57 VALUE "FileDescription", OMAHA_APP_NAME_ANSI | |
58 VALUE "FileVersion", VERSION_NUMBER_STRING | |
59 VALUE "InternalName", OMAHA_APP_NAME_ANSI | |
60 VALUE "LegalCopyright", OMAHA_COPYRIGHT_STRING_ENGLISH | |
61 VALUE "OriginalFilename", PLUGIN_FILENAME | |
62 VALUE "ProductName", OMAHA_APP_NAME_ANSI | |
63 VALUE "ProductVersion", VERSION_NUMBER_STRING | |
64 #ifdef _DEBUG | |
65 VALUE "Debug", "" | |
66 #endif | |
67 #if !OFFICIAL_BUILD | |
68 VALUE "PrivateBuild", BUILD_NUMBER | |
69 #endif | |
70 | |
71 #ifdef MERGED_MIME_TYPE | |
72 VALUE "MIMEType", MERGED_MIME_TYPE | |
73 #endif | |
74 #else | |
75 VALUE "_SpecialView", | |
76 "Most values are not shown in Resource Editor because they " | |
77 "require build file constants." | |
78 #endif // APSTUDIO_INVOKED | |
79 END | |
80 END | |
81 BLOCK "VarFileInfo" | |
82 BEGIN | |
83 VALUE "Translation", 0x409, 1252 | |
84 END | |
85 END | |
OLD | NEW |