-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathLicensesGen.cpp
More file actions
130 lines (123 loc) · 8.82 KB
/
Copy pathLicensesGen.cpp
File metadata and controls
130 lines (123 loc) · 8.82 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
/* generated by licenses/gen_licenses_c.py — 手編集禁止。
licenses/manifest.json + licenses/texts/ を編集して再生成する。 */
#include "tp_stub.h"
/* License API 非対応バージョンの tp_stub / 本体ヘッダと組み合わせた
ビルドでは登録をまるごとスキップして空関数になる (互換ガード)。 */
#ifdef TVP_HAS_LICENSE_API
/* ThorVG (1077 -> 640 bytes) */
static const unsigned char lic_00[] = {
120,218,93,82,75,143,218,48,16,190,231,87,140,56,237,74,233,118,181,135,30,122,51,193,
128,213,36,142,28,179,148,99,72,12,113,21,98,100,155,162,253,247,157,9,236,110,91,9,
41,242,60,190,215,80,8,13,185,109,205,24,76,146,100,238,252,230,237,177,143,240,208,62,
194,203,243,203,51,124,161,207,55,208,189,243,175,43,168,188,251,101,218,152,36,149,241,39,
27,130,117,35,216,0,189,241,102,255,6,71,223,140,209,116,41,28,188,49,224,14,208,246,
141,63,154,20,162,131,102,124,131,179,241,1,23,220,62,54,118,180,227,17,26,104,145,49,
193,201,216,35,76,112,135,120,109,188,193,225,14,154,16,92,107,27,196,131,206,181,151,147,
25,99,19,137,239,96,7,19,224,33,246,6,102,245,125,99,246,56,145,116,166,25,18,59,
2,245,222,91,112,181,177,119,151,8,222,132,232,109,75,24,41,216,177,29,46,29,105,120,
111,15,246,100,239,12,180,62,197,16,18,4,189,4,116,64,58,83,56,185,206,30,232,107,
38,91,231,203,126,176,161,79,161,179,4,189,191,68,44,6,42,78,121,166,228,227,171,243,
16,204,48,36,136,96,81,247,228,245,83,221,52,67,210,207,20,104,188,71,20,168,114,237,
221,233,95,39,54,36,135,139,31,145,210,76,59,157,195,200,38,70,58,10,85,104,252,224,
134,193,93,201,90,235,198,206,146,163,240,61,73,52,182,154,189,251,109,38,47,183,43,143,
46,162,212,155,4,58,192,249,243,170,247,86,232,155,97,128,189,185,7,134,188,24,111,243,
151,29,79,244,33,226,225,109,51,192,217,249,137,239,127,155,79,200,191,230,80,203,165,222,
50,197,65,212,80,41,249,42,22,124,1,51,86,227,123,150,194,86,232,181,220,104,192,9,
197,74,189,3,185,4,86,238,224,135,40,23,41,240,159,149,226,117,13,82,37,162,168,114,
193,177,38,202,44,223,44,68,185,130,57,238,149,18,255,202,162,16,26,65,181,4,34,188,
67,9,94,19,88,193,85,182,198,39,155,139,92,232,93,154,44,133,46,9,115,41,21,48,
168,152,210,34,219,228,76,65,181,81,149,172,57,210,47,16,182,20,229,82,33,11,47,120,
169,159,144,21,107,192,95,241,1,245,154,229,57,81,37,108,131,234,21,233,131,76,86,59,
37,86,107,13,107,153,47,56,22,231,28,149,177,121,206,111,84,104,42,203,153,40,82,88,
176,130,173,248,180,37,17,69,37,52,118,83,7,219,53,167,18,241,49,252,101,90,200,146,
108,100,178,212,10,159,41,186,84,250,99,117,43,106,158,2,83,162,166,64,150,74,22,105,
66,113,226,134,156,64,112,175,228,55,20,138,26,254,185,8,142,208,123,83,243,15,64,88,
112,150,35,86,77,203,100,241,125,248,233,15,243,49,86,62,
};
/* JerryScript (1283 -> 727 bytes) */
#if defined(TVP_LICENSE_WITH_LOTTIE)
static const unsigned char lic_01[] = {
120,218,109,84,205,114,218,48,16,190,235,41,118,200,133,48,196,180,233,173,157,30,104,66,
168,91,106,51,216,36,205,137,145,237,181,81,42,75,174,36,67,252,246,93,25,72,200,164,
185,100,140,86,187,223,223,234,2,126,160,49,93,146,27,209,56,118,1,161,202,101,91,96,
1,123,225,182,224,182,8,233,86,155,251,57,100,173,144,5,232,198,9,173,44,92,221,74,
205,11,52,246,235,64,106,231,4,14,96,88,96,201,91,233,46,129,171,130,10,240,217,25,
126,58,222,224,115,115,86,18,208,164,116,43,44,228,186,110,180,66,229,128,62,80,241,76,
250,209,91,84,144,126,143,87,247,243,205,34,78,211,112,182,153,253,94,174,102,73,18,198,
81,178,73,214,203,101,188,74,253,13,139,14,156,134,143,1,99,55,186,233,140,168,182,14,
126,36,112,167,91,85,112,15,181,7,163,137,135,161,89,202,25,145,181,78,27,59,134,173,
115,205,231,201,228,201,6,229,75,49,99,11,145,163,178,132,129,126,162,43,158,255,180,225,
57,253,59,158,140,225,158,88,251,198,215,193,7,24,250,130,193,241,104,112,249,133,117,186,
133,154,119,160,180,131,214,34,53,32,148,165,144,8,248,156,99,67,52,85,207,89,10,174,
114,124,21,249,216,34,96,143,199,6,58,115,156,106,57,85,55,244,85,158,87,1,119,140,
1,253,29,57,236,247,251,128,247,40,3,109,170,137,60,84,217,201,34,188,153,69,201,236,
138,144,50,182,86,18,173,5,131,127,91,97,136,96,214,1,111,8,71,238,53,7,201,247,
160,13,240,202,32,157,145,164,52,123,111,132,19,170,26,131,213,165,219,115,131,172,16,246,
160,224,27,129,78,168,136,233,121,65,175,61,12,166,9,132,201,0,190,77,147,48,25,179,
135,144,124,93,167,240,48,93,173,166,17,57,155,64,188,130,155,56,186,13,83,111,46,196,
119,48,141,30,225,103,24,221,142,1,69,111,28,101,199,120,236,4,80,120,233,176,8,88,
130,248,102,120,169,15,96,108,131,185,40,69,78,140,84,213,242,10,161,210,59,52,138,136,
64,131,166,22,214,246,1,166,88,48,41,106,225,248,33,208,239,232,80,164,70,35,136,226,
148,68,236,187,191,205,65,111,191,207,214,124,185,128,221,117,111,42,181,202,132,20,174,131,
209,136,165,239,162,115,72,204,116,177,187,190,244,90,81,235,151,91,242,24,133,121,180,134,
57,42,52,92,194,178,205,200,157,83,34,97,119,138,29,12,105,36,245,8,32,44,193,231,
141,156,33,187,28,86,134,123,191,78,11,219,55,228,208,23,179,198,232,39,204,221,184,191,
80,183,214,209,178,217,214,120,13,185,235,105,159,61,3,103,91,249,10,247,224,5,107,253,
114,112,210,143,118,175,225,52,145,54,162,232,20,175,41,72,82,118,32,133,250,67,21,181,
46,90,34,69,178,25,108,36,207,79,15,10,103,61,158,171,51,226,92,58,242,135,62,118,
24,128,87,173,246,193,63,146,144,34,51,220,116,48,252,21,166,61,140,215,139,172,111,152,
105,47,155,239,121,114,99,247,105,76,143,213,129,84,70,182,250,23,229,255,228,168,29,237,
105,240,15,203,49,182,172,
};
#endif
/* RapidJSON (1273 -> 771 bytes) */
#if defined(TVP_LICENSE_WITH_LOTTIE)
static const unsigned char lic_02[] = {
120,218,93,83,75,111,219,56,16,190,235,87,12,220,75,2,104,189,109,129,61,108,129,30,
24,153,182,185,43,139,2,69,39,235,83,65,75,116,196,66,22,5,145,106,144,127,223,25,
201,217,62,0,3,6,135,51,223,107,168,119,160,204,224,154,127,42,89,36,239,64,244,117,
55,53,182,129,23,23,91,136,173,5,221,250,241,113,7,231,201,117,13,248,33,58,223,7,
248,99,211,121,211,216,49,124,94,117,62,70,103,87,112,215,216,139,153,186,120,191,70,24,
221,186,0,181,191,14,190,183,125,4,60,216,222,156,59,194,109,109,15,122,47,213,227,238,
75,46,181,22,28,255,216,134,171,47,213,177,44,165,210,212,28,108,132,232,225,195,58,129,
36,243,195,235,232,158,219,8,119,217,61,124,124,255,225,47,28,207,129,125,252,27,114,119,
117,209,54,41,24,208,182,175,137,137,56,77,255,138,165,190,129,131,235,60,156,220,176,6,
214,117,48,131,4,24,109,176,227,55,219,172,147,164,180,227,213,133,128,142,136,180,181,163,
61,191,194,243,104,250,25,244,50,90,11,254,2,117,107,198,103,155,146,32,68,134,1,93,
227,128,63,71,227,122,215,63,35,121,141,18,19,236,140,228,58,248,75,124,49,163,157,21,
152,16,124,237,12,226,65,227,235,233,138,18,13,37,8,23,215,217,0,119,20,240,170,186,
77,172,238,103,146,198,154,46,113,253,28,254,219,213,188,14,63,69,82,31,71,87,19,70,
10,110,94,22,105,120,187,238,40,145,133,129,198,23,203,9,130,78,1,29,144,206,20,174,
190,113,23,250,183,179,173,97,58,119,46,180,41,52,142,160,207,83,196,98,160,34,6,74,
83,232,227,79,63,226,78,186,46,65,4,135,186,103,175,63,212,45,105,35,203,64,129,198,
91,68,129,42,47,173,191,254,234,196,133,228,50,141,61,82,218,121,166,241,24,217,204,248,
213,214,243,218,169,253,226,187,206,191,144,181,218,247,141,155,95,221,167,36,209,120,101,206,
254,155,157,189,44,207,162,247,17,165,46,18,104,1,195,143,173,222,174,66,107,112,255,103,
123,11,12,121,49,94,243,147,157,145,232,67,196,197,59,211,193,224,199,229,149,255,102,19,
95,140,222,115,168,228,86,63,49,197,65,84,80,42,249,40,54,124,3,43,86,225,121,149,
194,147,192,199,125,212,128,29,138,21,250,4,114,11,172,56,193,191,162,216,164,192,255,43,
21,175,42,144,42,17,135,50,23,28,107,162,200,242,227,70,20,59,120,192,185,66,106,200,
197,65,104,4,213,18,136,240,6,37,120,69,96,7,174,178,61,30,217,131,200,133,62,165,
201,86,232,130,48,183,82,1,131,146,41,45,178,99,206,20,148,71,85,202,138,35,253,6,
97,11,81,108,21,178,240,3,47,244,26,89,177,6,252,17,15,80,237,89,158,19,85,194,
142,244,105,146,62,200,100,121,82,98,183,215,176,151,57,126,159,21,60,112,84,198,30,114,
190,80,161,169,44,103,226,144,194,134,29,216,142,207,83,18,81,84,66,109,139,58,120,218,
115,42,17,31,195,95,166,133,44,200,70,38,11,173,240,152,162,75,252,232,223,70,159,68,
197,83,96,74,84,20,200,86,201,67,154,80,156,56,33,103,16,156,43,248,130,66,81,195,
47,27,193,22,58,31,43,254,63,32,108,56,203,17,171,162,97,178,248,214,188,254,14,242,
212,151,227,
};
#endif
void RegisterLayerExVectorLicenses()
{
TVPRegisterLicense(TJS_W("ThorVG"), TJS_W("plugin:layerExVector"), lic_00, 640, 1077);
#if defined(TVP_LICENSE_WITH_LOTTIE)
TVPRegisterLicense(TJS_W("JerryScript"), TJS_W("plugin:layerExVector"), lic_01, 727, 1283);
#endif
#if defined(TVP_LICENSE_WITH_LOTTIE)
TVPRegisterLicense(TJS_W("RapidJSON"), TJS_W("plugin:layerExVector"), lic_02, 771, 1273);
#endif
}
#else /* !TVP_HAS_LICENSE_API */
void RegisterLayerExVectorLicenses() {}
#endif /* TVP_HAS_LICENSE_API */