Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
michael@0 | 1 | /* This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 2 | * License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 3 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
michael@0 | 4 | |
michael@0 | 5 | #include "nssckbi.h" |
michael@0 | 6 | #include <winver.h> |
michael@0 | 7 | |
michael@0 | 8 | #define MY_LIBNAME "nssckbi" |
michael@0 | 9 | #define MY_FILEDESCRIPTION "NSS Builtin Trusted Root CAs" |
michael@0 | 10 | |
michael@0 | 11 | #ifdef _DEBUG |
michael@0 | 12 | #define MY_DEBUG_STR " (debug)" |
michael@0 | 13 | #define MY_FILEFLAGS_1 VS_FF_DEBUG |
michael@0 | 14 | #else |
michael@0 | 15 | #define MY_DEBUG_STR "" |
michael@0 | 16 | #define MY_FILEFLAGS_1 0x0L |
michael@0 | 17 | #endif |
michael@0 | 18 | #if NSS_BETA |
michael@0 | 19 | #define MY_FILEFLAGS_2 MY_FILEFLAGS_1|VS_FF_PRERELEASE |
michael@0 | 20 | #else |
michael@0 | 21 | #define MY_FILEFLAGS_2 MY_FILEFLAGS_1 |
michael@0 | 22 | #endif |
michael@0 | 23 | |
michael@0 | 24 | #ifdef WINNT |
michael@0 | 25 | #define MY_FILEOS VOS_NT_WINDOWS32 |
michael@0 | 26 | #else |
michael@0 | 27 | #define MY_FILEOS VOS__WINDOWS32 |
michael@0 | 28 | #endif |
michael@0 | 29 | |
michael@0 | 30 | #define MY_INTERNAL_NAME MY_LIBNAME |
michael@0 | 31 | |
michael@0 | 32 | ///////////////////////////////////////////////////////////////////////////// |
michael@0 | 33 | // |
michael@0 | 34 | // Version-information resource |
michael@0 | 35 | // |
michael@0 | 36 | |
michael@0 | 37 | VS_VERSION_INFO VERSIONINFO |
michael@0 | 38 | FILEVERSION NSS_BUILTINS_LIBRARY_VERSION_MAJOR,NSS_BUILTINS_LIBRARY_VERSION_MINOR,0,0 |
michael@0 | 39 | PRODUCTVERSION NSS_BUILTINS_LIBRARY_VERSION_MAJOR,NSS_BUILTINS_LIBRARY_VERSION_MINOR,0,0 |
michael@0 | 40 | FILEFLAGSMASK VS_FFI_FILEFLAGSMASK |
michael@0 | 41 | FILEFLAGS MY_FILEFLAGS_2 |
michael@0 | 42 | FILEOS MY_FILEOS |
michael@0 | 43 | FILETYPE VFT_DLL |
michael@0 | 44 | FILESUBTYPE 0x0L // not used |
michael@0 | 45 | |
michael@0 | 46 | BEGIN |
michael@0 | 47 | BLOCK "StringFileInfo" |
michael@0 | 48 | BEGIN |
michael@0 | 49 | BLOCK "040904B0" // Lang=US English, CharSet=Unicode |
michael@0 | 50 | BEGIN |
michael@0 | 51 | VALUE "CompanyName", "Mozilla Foundation\0" |
michael@0 | 52 | VALUE "FileDescription", MY_FILEDESCRIPTION MY_DEBUG_STR "\0" |
michael@0 | 53 | VALUE "FileVersion", NSS_BUILTINS_LIBRARY_VERSION "\0" |
michael@0 | 54 | VALUE "InternalName", MY_INTERNAL_NAME "\0" |
michael@0 | 55 | VALUE "OriginalFilename", MY_INTERNAL_NAME ".dll\0" |
michael@0 | 56 | VALUE "ProductName", "Network Security Services\0" |
michael@0 | 57 | VALUE "ProductVersion", NSS_BUILTINS_LIBRARY_VERSION "\0" |
michael@0 | 58 | END |
michael@0 | 59 | END |
michael@0 | 60 | BLOCK "VarFileInfo" |
michael@0 | 61 | BEGIN |
michael@0 | 62 | VALUE "Translation", 0x409, 1200 |
michael@0 | 63 | END |
michael@0 | 64 | END |