xref: /aosp_15_r20/external/llvm/resources/windows_version_resource.rc (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker// Microsoft Visual C++ resource script for embedding version information.
2*9880d681SAndroid Build Coastguard Worker// The format is described at:
3*9880d681SAndroid Build Coastguard Worker//   http://msdn.microsoft.com/en-gb/library/windows/desktop/aa380599(v=vs.85).aspx
4*9880d681SAndroid Build Coastguard Worker// The VERSIONINFO resource is described at:
5*9880d681SAndroid Build Coastguard Worker//   https://msdn.microsoft.com/en-gb/library/windows/desktop/aa381058(v=vs.85).aspx
6*9880d681SAndroid Build Coastguard Worker
7*9880d681SAndroid Build Coastguard Worker
8*9880d681SAndroid Build Coastguard Worker// Default values for required fields.
9*9880d681SAndroid Build Coastguard Worker
10*9880d681SAndroid Build Coastguard Worker#ifndef RC_VERSION_FIELD_1
11*9880d681SAndroid Build Coastguard Worker#define RC_VERSION_FIELD_1 0
12*9880d681SAndroid Build Coastguard Worker#endif
13*9880d681SAndroid Build Coastguard Worker
14*9880d681SAndroid Build Coastguard Worker#ifndef RC_VERSION_FIELD_2
15*9880d681SAndroid Build Coastguard Worker#define RC_VERSION_FIELD_2 0
16*9880d681SAndroid Build Coastguard Worker#endif
17*9880d681SAndroid Build Coastguard Worker
18*9880d681SAndroid Build Coastguard Worker#ifndef RC_VERSION_FIELD_3
19*9880d681SAndroid Build Coastguard Worker#define RC_VERSION_FIELD_3 0
20*9880d681SAndroid Build Coastguard Worker#endif
21*9880d681SAndroid Build Coastguard Worker
22*9880d681SAndroid Build Coastguard Worker#ifndef RC_VERSION_FIELD_4
23*9880d681SAndroid Build Coastguard Worker#define RC_VERSION_FIELD_4 0
24*9880d681SAndroid Build Coastguard Worker#endif
25*9880d681SAndroid Build Coastguard Worker
26*9880d681SAndroid Build Coastguard Worker#ifndef RC_COMPANY_NAME
27*9880d681SAndroid Build Coastguard Worker#define RC_COMPANY_NAME ""
28*9880d681SAndroid Build Coastguard Worker#endif
29*9880d681SAndroid Build Coastguard Worker
30*9880d681SAndroid Build Coastguard Worker#ifndef RC_FILE_DESCRIPTION
31*9880d681SAndroid Build Coastguard Worker#define RC_FILE_DESCRIPTION ""
32*9880d681SAndroid Build Coastguard Worker#endif
33*9880d681SAndroid Build Coastguard Worker
34*9880d681SAndroid Build Coastguard Worker#ifndef RC_FILE_VERSION
35*9880d681SAndroid Build Coastguard Worker#define RC_FILE_VERSION ""
36*9880d681SAndroid Build Coastguard Worker#endif
37*9880d681SAndroid Build Coastguard Worker
38*9880d681SAndroid Build Coastguard Worker#ifndef RC_INTERNAL_NAME
39*9880d681SAndroid Build Coastguard Worker#define RC_INTERNAL_NAME ""
40*9880d681SAndroid Build Coastguard Worker#endif
41*9880d681SAndroid Build Coastguard Worker
42*9880d681SAndroid Build Coastguard Worker#ifndef RC_ORIGINAL_FILENAME
43*9880d681SAndroid Build Coastguard Worker#define RC_ORIGINAL_FILENAME ""
44*9880d681SAndroid Build Coastguard Worker#endif
45*9880d681SAndroid Build Coastguard Worker
46*9880d681SAndroid Build Coastguard Worker#ifndef RC_PRODUCT_NAME
47*9880d681SAndroid Build Coastguard Worker#define RC_PRODUCT_NAME ""
48*9880d681SAndroid Build Coastguard Worker#endif
49*9880d681SAndroid Build Coastguard Worker
50*9880d681SAndroid Build Coastguard Worker#ifndef RC_PRODUCT_VERSION
51*9880d681SAndroid Build Coastguard Worker#define RC_PRODUCT_VERSION ""
52*9880d681SAndroid Build Coastguard Worker#endif
53*9880d681SAndroid Build Coastguard Worker
54*9880d681SAndroid Build Coastguard Worker
55*9880d681SAndroid Build Coastguard Worker1 VERSIONINFO
56*9880d681SAndroid Build Coastguard WorkerFILEVERSION RC_VERSION_FIELD_1,RC_VERSION_FIELD_2,RC_VERSION_FIELD_3,RC_VERSION_FIELD_4
57*9880d681SAndroid Build Coastguard WorkerBEGIN
58*9880d681SAndroid Build Coastguard Worker  BLOCK "StringFileInfo"
59*9880d681SAndroid Build Coastguard Worker  BEGIN
60*9880d681SAndroid Build Coastguard Worker    BLOCK "040904B0"
61*9880d681SAndroid Build Coastguard Worker    BEGIN
62*9880d681SAndroid Build Coastguard Worker      // Required strings
63*9880d681SAndroid Build Coastguard Worker      VALUE "CompanyName", RC_COMPANY_NAME
64*9880d681SAndroid Build Coastguard Worker      VALUE "FileDescription", RC_FILE_DESCRIPTION
65*9880d681SAndroid Build Coastguard Worker      VALUE "FileVersion", RC_FILE_VERSION
66*9880d681SAndroid Build Coastguard Worker      VALUE "InternalName", RC_INTERNAL_NAME
67*9880d681SAndroid Build Coastguard Worker      VALUE "OriginalFilename", RC_ORIGINAL_FILENAME
68*9880d681SAndroid Build Coastguard Worker      VALUE "ProductName", RC_PRODUCT_NAME
69*9880d681SAndroid Build Coastguard Worker      VALUE "ProductVersion", RC_PRODUCT_VERSION
70*9880d681SAndroid Build Coastguard Worker
71*9880d681SAndroid Build Coastguard Worker      // Optional strings
72*9880d681SAndroid Build Coastguard Worker#ifdef RC_COMMENTS
73*9880d681SAndroid Build Coastguard Worker        VALUE "Comments", RC_COMMENTS
74*9880d681SAndroid Build Coastguard Worker#endif
75*9880d681SAndroid Build Coastguard Worker
76*9880d681SAndroid Build Coastguard Worker#ifdef RC_COPYRIGHT
77*9880d681SAndroid Build Coastguard Worker        VALUE "LegalCopyright", RC_COPYRIGHT
78*9880d681SAndroid Build Coastguard Worker#endif
79*9880d681SAndroid Build Coastguard Worker    END
80*9880d681SAndroid Build Coastguard Worker  END
81*9880d681SAndroid Build Coastguard Worker
82*9880d681SAndroid Build Coastguard Worker  BLOCK "VarFileInfo"
83*9880d681SAndroid Build Coastguard Worker  BEGIN
84*9880d681SAndroid Build Coastguard Worker    // The translation must correspond to the above BLOCK inside StringFileInfo
85*9880d681SAndroid Build Coastguard Worker    // langID     0x0409  U.S. English
86*9880d681SAndroid Build Coastguard Worker    // charsetID  0x04B0  Unicode
87*9880d681SAndroid Build Coastguard Worker    VALUE "Translation", 0x0409, 0x04B0
88*9880d681SAndroid Build Coastguard Worker  END
89*9880d681SAndroid Build Coastguard WorkerEND