mirror of
https://github.com/JetBrains/JetBrainsRuntime.git
synced 2025-12-12 12:29:41 +01:00
Compare commits
1559 Commits
moklev-ful
...
jb11_0_7-b
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c590f453bc | ||
|
|
91debdfa98 | ||
|
|
1ac50c9a16 | ||
|
|
f67ae89798 | ||
|
|
d7c479581c | ||
|
|
d7b151e480 | ||
|
|
dcc6d0920d | ||
|
|
a194930629 | ||
|
|
8e2e8000ac | ||
|
|
5a8e62dec1 | ||
|
|
3d61de94d0 | ||
|
|
9dfa53f30d | ||
|
|
161418ac6c | ||
|
|
9f1a881ceb | ||
|
|
70f7dbdda5 | ||
|
|
b4d3d47d9a | ||
|
|
4c9eea839c | ||
|
|
89deda593d | ||
|
|
86ac4d18b8 | ||
|
|
c9db0b54e2 | ||
|
|
a31ead2fd4 | ||
|
|
68862567c3 | ||
|
|
2ce34b365c | ||
|
|
be2b906885 | ||
|
|
94692cb87d | ||
|
|
94e5fc6d2f | ||
|
|
e22e879d78 | ||
|
|
1c8842eb1b | ||
|
|
1ebda35fe8 | ||
|
|
070598e5db | ||
|
|
073cfc85c6 | ||
|
|
e4cdc92ed3 | ||
|
|
6cf55cf7cb | ||
|
|
f9bd7f8014 | ||
|
|
773cf954b2 | ||
|
|
85f24d8d5e | ||
|
|
d352014d1e | ||
|
|
e654f045b7 | ||
|
|
7b95b9e59d | ||
|
|
7f9a96ef0a | ||
|
|
9d908fb2b3 | ||
|
|
40f8f4d7f7 | ||
|
|
f6bf70bcfa | ||
|
|
90c21a5b66 | ||
|
|
8f266097b8 | ||
|
|
a1996fca72 | ||
|
|
d1a9241b3c | ||
|
|
fdc2282e75 | ||
|
|
eca888c264 | ||
|
|
51fe77d002 | ||
|
|
215f62d238 | ||
|
|
934de0677f | ||
|
|
c1521034d2 | ||
|
|
630f5c44bb | ||
|
|
7216e99137 | ||
|
|
ad82e552c1 | ||
|
|
d9629c70b6 | ||
|
|
30115410b5 | ||
|
|
9d2b67241e | ||
|
|
3fe8b82a63 | ||
|
|
9516e7162f | ||
|
|
c1095a0dd6 | ||
|
|
77f985a792 | ||
|
|
1001527f2b | ||
|
|
62e4d24a28 | ||
|
|
6112bf4f40 | ||
|
|
29ec05c9df | ||
|
|
e628fb65ac | ||
|
|
0ad012e58f | ||
|
|
5e9e0e54ab | ||
|
|
bc72b71e35 | ||
|
|
d9a5b1ddb4 | ||
|
|
976d34d091 | ||
|
|
865fb8bbe7 | ||
|
|
0c5e8da01a | ||
|
|
0edae7fced | ||
|
|
d07b3418c7 | ||
|
|
9e95aa2d96 | ||
|
|
61d33d91c2 | ||
|
|
aaf5ffb58b | ||
|
|
fbdffe1862 | ||
|
|
e37712df56 | ||
|
|
4e553964ff | ||
|
|
d856fc06de | ||
|
|
4db8de85d5 | ||
|
|
20bac57181 | ||
|
|
d47920c9b0 | ||
|
|
d2c96c0d5c | ||
|
|
0eba0fab90 | ||
|
|
16a2fd2113 | ||
|
|
60689bbb51 | ||
|
|
b64fdaf5d5 | ||
|
|
bb4beb24f1 | ||
|
|
438ee96f2f | ||
|
|
f8e1fe18c6 | ||
|
|
d52fa1eabb | ||
|
|
879c8bedae | ||
|
|
e05f9e5387 | ||
|
|
f61a582ea9 | ||
|
|
4a9888cc09 | ||
|
|
59bc7c620d | ||
|
|
11f37625f5 | ||
|
|
d6c9c875bd | ||
|
|
90c54f4495 | ||
|
|
11c2dfc4e2 | ||
|
|
9a606119f2 | ||
|
|
a6778de85e | ||
|
|
f9e6fc3d66 | ||
|
|
3efa3f53b2 | ||
|
|
17a0c22cb3 | ||
|
|
05dc650f26 | ||
|
|
c04557f2aa | ||
|
|
308870232d | ||
|
|
e14eb2836b | ||
|
|
3c4c901b9a | ||
|
|
7ee4666784 | ||
|
|
c0de9686b9 | ||
|
|
1dec31c429 | ||
|
|
f0a18ce98b | ||
|
|
dd8369b612 | ||
|
|
6d8c545610 | ||
|
|
5bc5c71eff | ||
|
|
ddd120fbfb | ||
|
|
d868a0fbc3 | ||
|
|
97b5df7689 | ||
|
|
7cb37192b8 | ||
|
|
ed67f66c5a | ||
|
|
4996f58947 | ||
|
|
02182d1c47 | ||
|
|
4c8a0ae808 | ||
|
|
7dbd06e4ba | ||
|
|
b5c854ffb9 | ||
|
|
b278fe33e7 | ||
|
|
6058923cc8 | ||
|
|
74ed2e9c9b | ||
|
|
9b57c44beb | ||
|
|
6f27ad751c | ||
|
|
b2c808db6a | ||
|
|
4c07f88fc7 | ||
|
|
b08859f560 | ||
|
|
9716056770 | ||
|
|
34358af9c1 | ||
|
|
accf8ae9f0 | ||
|
|
3244eab597 | ||
|
|
dab82b1969 | ||
|
|
e61b6046b3 | ||
|
|
2e3288b28d | ||
|
|
e1fb029109 | ||
|
|
14fcbaf64e | ||
|
|
e2496ada55 | ||
|
|
4b8d7722e3 | ||
|
|
379984d461 | ||
|
|
0999409451 | ||
|
|
285755ed90 | ||
|
|
8e93dab2e5 | ||
|
|
e155865275 | ||
|
|
b74aaef1cd | ||
|
|
ccd2bb6419 | ||
|
|
1ecf2a8790 | ||
|
|
621cc8aaf7 | ||
|
|
9c6574667e | ||
|
|
f42a3cb2c6 | ||
|
|
fe9e6007f8 | ||
|
|
13cce7525e | ||
|
|
476ef359cf | ||
|
|
92213e03a2 | ||
|
|
35449b93e1 | ||
|
|
57a24dab75 | ||
|
|
db58428f5d | ||
|
|
20e3d61fc4 | ||
|
|
5898cdc286 | ||
|
|
e599ee9c1d | ||
|
|
95916feed2 | ||
|
|
cef700b673 | ||
|
|
d38b43f339 | ||
|
|
ac85b58fc5 | ||
|
|
1e5e807d16 | ||
|
|
01e388c85f | ||
|
|
765203557d | ||
|
|
25f36535fe | ||
|
|
53d26a9ee4 | ||
|
|
35283a3a44 | ||
|
|
d37d087d29 | ||
|
|
769e9187f0 | ||
|
|
1e4bf7e06f | ||
|
|
7fcb2e16dc | ||
|
|
8e914eded4 | ||
|
|
349d4d5bf2 | ||
|
|
affc893505 | ||
|
|
3237d709d2 | ||
|
|
8df5cfd173 | ||
|
|
f4444ed2b2 | ||
|
|
be09a7bacb | ||
|
|
bbde1ed159 | ||
|
|
a4a0a47594 | ||
|
|
66035f0482 | ||
|
|
14b615baa1 | ||
|
|
bad808fc07 | ||
|
|
a8878d9169 | ||
|
|
241ff65a8d | ||
|
|
85e7b55d44 | ||
|
|
46e04af4d4 | ||
|
|
9ae5b9833e | ||
|
|
c917b81590 | ||
|
|
a5492fef7c | ||
|
|
7aba0dd2dc | ||
|
|
94db68011b | ||
|
|
0f5d3d65dc | ||
|
|
ed9cc6a79c | ||
|
|
20431b6bef | ||
|
|
5dacd612df | ||
|
|
ae523d942c | ||
|
|
4a6c941a52 | ||
|
|
ee131223e6 | ||
|
|
ee3c5f2cec | ||
|
|
faf54601b1 | ||
|
|
432cd33feb | ||
|
|
52e9b51d84 | ||
|
|
852a340b24 | ||
|
|
0805dac8e8 | ||
|
|
9639189f39 | ||
|
|
ff376593a4 | ||
|
|
48ebce0d34 | ||
|
|
e0aff82e9f | ||
|
|
c18580c9f5 | ||
|
|
d807a328af | ||
|
|
6ef4176f32 | ||
|
|
3173541b5b | ||
|
|
92cce6e33a | ||
|
|
cfe2995202 | ||
|
|
a7a9657b03 | ||
|
|
ebec05e13d | ||
|
|
c3d62fec8f | ||
|
|
bfe13a4f0b | ||
|
|
3311da70cd | ||
|
|
9b239b2ec6 | ||
|
|
646a82e81c | ||
|
|
7435b2eaed | ||
|
|
337384f6b5 | ||
|
|
1e0945525e | ||
|
|
bac2d86165 | ||
|
|
369757db8b | ||
|
|
007cd7d7ee | ||
|
|
47740b0c86 | ||
|
|
7c870c0c2d | ||
|
|
f5dd9ade7a | ||
|
|
c97d095033 | ||
|
|
b7c9c846ce | ||
|
|
0a7b6913a3 | ||
|
|
cf7ce14cb1 | ||
|
|
b3f4f4ed4d | ||
|
|
c7f9187cd2 | ||
|
|
98f578ef47 | ||
|
|
dcdbdc3d27 | ||
|
|
e3551677a2 | ||
|
|
61c047cedc | ||
|
|
950568b627 | ||
|
|
baf68f1d15 | ||
|
|
16ce268521 | ||
|
|
388f839362 | ||
|
|
d39ee1ff42 | ||
|
|
01455489f6 | ||
|
|
2f20182f87 | ||
|
|
92b32af9a7 | ||
|
|
6a329eb06c | ||
|
|
c2fda31f2a | ||
|
|
a8726d7ae8 | ||
|
|
2dde9daa41 | ||
|
|
f5f9c47810 | ||
|
|
0677ec8c99 | ||
|
|
8b5fb4fb7f | ||
|
|
dd9de7ab0a | ||
|
|
9e491d1277 | ||
|
|
44a44e23e7 | ||
|
|
d31015e36a | ||
|
|
1949af5a11 | ||
|
|
ccf3a3bc79 | ||
|
|
17ef123ef7 | ||
|
|
dcd78171fc | ||
|
|
110475d304 | ||
|
|
ff4d8bd2b9 | ||
|
|
f612f9d883 | ||
|
|
d319dad5fd | ||
|
|
1a3e2547cb | ||
|
|
de63bde267 | ||
|
|
9893217441 | ||
|
|
ac3b7d9cea | ||
|
|
553b38afa9 | ||
|
|
c7d771b255 | ||
|
|
766b13af8b | ||
|
|
1b466d78c2 | ||
|
|
636d51dd02 | ||
|
|
3668e83e6b | ||
|
|
0127c65a97 | ||
|
|
b7d3ed27f5 | ||
|
|
d632a95b2e | ||
|
|
57b03a3b42 | ||
|
|
9b77749801 | ||
|
|
7461a6dcbf | ||
|
|
6734a46463 | ||
|
|
03961a714f | ||
|
|
9dca1450b9 | ||
|
|
57bb744ae1 | ||
|
|
eda0450971 | ||
|
|
c6203f1025 | ||
|
|
c6e9df083e | ||
|
|
9556cc94f9 | ||
|
|
42520f02c8 | ||
|
|
63a2307d80 | ||
|
|
54ddb6c957 | ||
|
|
eb88931795 | ||
|
|
3a1df2a7d0 | ||
|
|
06bffa0087 | ||
|
|
8a1dd9cff8 | ||
|
|
0ec6872d40 | ||
|
|
7c553ab284 | ||
|
|
5bffa68e6f | ||
|
|
bfa3191caf | ||
|
|
42e8c87028 | ||
|
|
2bd83b724b | ||
|
|
1466674b86 | ||
|
|
44c9ad0a56 | ||
|
|
31aa5b08b8 | ||
|
|
c1932af648 | ||
|
|
1a8bbd2f21 | ||
|
|
a89b91a873 | ||
|
|
ba20a5881d | ||
|
|
194d8409ec | ||
|
|
4b4d9345dc | ||
|
|
09f1801f7e | ||
|
|
982cb1df65 | ||
|
|
86ab773804 | ||
|
|
ac2afdffa0 | ||
|
|
02d2c5c71f | ||
|
|
4449490249 | ||
|
|
d00d5d3945 | ||
|
|
ab16da86a8 | ||
|
|
2a277db8fd | ||
|
|
ec4560a42e | ||
|
|
5d6017d1f5 | ||
|
|
cd9ac3643b | ||
|
|
9a0d584f8b | ||
|
|
de8f7cfa9d | ||
|
|
26ef1eae08 | ||
|
|
fb26307488 | ||
|
|
6617f6589f | ||
|
|
c5b0d0b951 | ||
|
|
3a3b9e6c11 | ||
|
|
40bcd31e83 | ||
|
|
f701bf4886 | ||
|
|
e9eabeb5a0 | ||
|
|
14b987be02 | ||
|
|
83591ad67f | ||
|
|
9074c5df94 | ||
|
|
48e18aab34 | ||
|
|
72ce7e2d04 | ||
|
|
5bb6c4f8a7 | ||
|
|
7750101766 | ||
|
|
929ce44248 | ||
|
|
a0fa5a0ea4 | ||
|
|
c7c7250f5d | ||
|
|
56fe284f78 | ||
|
|
08da21537a | ||
|
|
08d1926f8b | ||
|
|
bbdc159762 | ||
|
|
bba297b4a4 | ||
|
|
671af4a48c | ||
|
|
27e287978d | ||
|
|
7d79c451ab | ||
|
|
f45f84d7ed | ||
|
|
06b0d02208 | ||
|
|
bc09aadadb | ||
|
|
dda7f3d871 | ||
|
|
7f025f4e16 | ||
|
|
1e904db3b0 | ||
|
|
c013b03300 | ||
|
|
08aa0852b7 | ||
|
|
23f2c1c42d | ||
|
|
53744bf65f | ||
|
|
430fdb17a8 | ||
|
|
b37fdd89bf | ||
|
|
e57bae4f66 | ||
|
|
0587074d61 | ||
|
|
a6e441828a | ||
|
|
cbb148dff4 | ||
|
|
1f4ab12fbb | ||
|
|
0f895bf1b2 | ||
|
|
05af375909 | ||
|
|
92606f2c7f | ||
|
|
2d587b3728 | ||
|
|
48468b08d0 | ||
|
|
31b590c16c | ||
|
|
78bdb2e198 | ||
|
|
c64c10cbf0 | ||
|
|
ae91e1d7f1 | ||
|
|
ca2209dd48 | ||
|
|
354855edc2 | ||
|
|
98087b0773 | ||
|
|
3dfb0aa16a | ||
|
|
18b9bf5b0b | ||
|
|
6f4a13e46f | ||
|
|
eacfb7f301 | ||
|
|
42a8da52d1 | ||
|
|
e8c2761f5b | ||
|
|
0c911b6ffe | ||
|
|
06086f4a7e | ||
|
|
0330cab60b | ||
|
|
a4b373e631 | ||
|
|
1f6b342856 | ||
|
|
175a0b3a13 | ||
|
|
b31a41fb2f | ||
|
|
5e77712607 | ||
|
|
95131842f1 | ||
|
|
1d8cd6505e | ||
|
|
dde8100af9 | ||
|
|
1a8361f8d1 | ||
|
|
4b21be5814 | ||
|
|
cde27e425b | ||
|
|
71e46c4318 | ||
|
|
ef559ffd56 | ||
|
|
71336b75f0 | ||
|
|
2aa28b4ed4 | ||
|
|
c5a210aaaf | ||
|
|
43013180d6 | ||
|
|
fbc4b4c665 | ||
|
|
b5bba8ea40 | ||
|
|
f8aab69542 | ||
|
|
bd0b23b658 | ||
|
|
879773164f | ||
|
|
0e71f74d71 | ||
|
|
d4ec5a832c | ||
|
|
27b2606b4d | ||
|
|
e650919a59 | ||
|
|
12191c9bce | ||
|
|
9084b24162 | ||
|
|
7411ddf127 | ||
|
|
102d54732b | ||
|
|
276971e4fa | ||
|
|
7f6d996caf | ||
|
|
d5ee71294d | ||
|
|
9901421af3 | ||
|
|
8cc97c6045 | ||
|
|
3f47742f62 | ||
|
|
ed4ae15cf8 | ||
|
|
0ab0134dd5 | ||
|
|
14f0820ea4 | ||
|
|
1158496e83 | ||
|
|
24e6cfae03 | ||
|
|
61d09e90db | ||
|
|
19ef68d422 | ||
|
|
c000469738 | ||
|
|
58c295fe50 | ||
|
|
c9b31e318f | ||
|
|
bae167a609 | ||
|
|
1f3187a64e | ||
|
|
a84c3e58fd | ||
|
|
451349a83a | ||
|
|
1191071c97 | ||
|
|
845abd8827 | ||
|
|
5c10bb898c | ||
|
|
fc58e2f9f5 | ||
|
|
a05e19384d | ||
|
|
96071d26df | ||
|
|
30fc90d18b | ||
|
|
8066115162 | ||
|
|
84efcadaef | ||
|
|
f549b9e6e1 | ||
|
|
a639457de2 | ||
|
|
ee06dfa001 | ||
|
|
50a2759494 | ||
|
|
fa52b57aaf | ||
|
|
6e93c2ff06 | ||
|
|
934b08f5cd | ||
|
|
cf808f7f30 | ||
|
|
073273e07b | ||
|
|
8830a96a5b | ||
|
|
3a638115eb | ||
|
|
e30e3208ea | ||
|
|
5d41473916 | ||
|
|
41f9b781b3 | ||
|
|
0b4e78a254 | ||
|
|
d36b532d81 | ||
|
|
84d66f3db3 | ||
|
|
4c3a88527b | ||
|
|
1613d1c3d6 | ||
|
|
d88f30eb3d | ||
|
|
d1a6f6e0cb | ||
|
|
5a67563b9c | ||
|
|
632ecffb12 | ||
|
|
2d8557b92e | ||
|
|
a2d358d896 | ||
|
|
06f2989b91 | ||
|
|
b3a8ec4cd6 | ||
|
|
a01f2b150a | ||
|
|
e7de300e73 | ||
|
|
8ed35599f3 | ||
|
|
32fdadd613 | ||
|
|
abd2afe1f5 | ||
|
|
789cde0a48 | ||
|
|
4a716e2bd5 | ||
|
|
3426afe277 | ||
|
|
2c2a107579 | ||
|
|
0e5f9c8398 | ||
|
|
e01762e302 | ||
|
|
7e6d43f2e0 | ||
|
|
4feb1771cd | ||
|
|
ad589e3b4c | ||
|
|
b19e4e7e32 | ||
|
|
31b44bf445 | ||
|
|
faa4d7370d | ||
|
|
8104d8dd82 | ||
|
|
5b11fae577 | ||
|
|
1b1ee81b21 | ||
|
|
87efc9126a | ||
|
|
d7c34d2bcc | ||
|
|
a7cf6a8277 | ||
|
|
8e94d9247e | ||
|
|
e76ae699d3 | ||
|
|
5a324e6eae | ||
|
|
10e4cc830d | ||
|
|
59ae671635 | ||
|
|
980886ace9 | ||
|
|
74e6b1d499 | ||
|
|
171853966e | ||
|
|
9082655773 | ||
|
|
b46b385c97 | ||
|
|
c415d45310 | ||
|
|
5c26690e26 | ||
|
|
9f4825e253 | ||
|
|
32ac71c499 | ||
|
|
101cd5996c | ||
|
|
0359fc6005 | ||
|
|
1064cda1bd | ||
|
|
33465f55e9 | ||
|
|
0e0762b050 | ||
|
|
262666e870 | ||
|
|
88be2910ce | ||
|
|
c75fb10878 | ||
|
|
20ed2bda8e | ||
|
|
0300ab165a | ||
|
|
8fe3161d7e | ||
|
|
610d83566b | ||
|
|
620deb17d4 | ||
|
|
c781a9f263 | ||
|
|
ff3df98fdf | ||
|
|
976cf67f3f | ||
|
|
cd2cea1e6f | ||
|
|
49820156ad | ||
|
|
cafadfe2fc | ||
|
|
0bd132ffb4 | ||
|
|
09c387dd3a | ||
|
|
b6284527df | ||
|
|
1fa5608196 | ||
|
|
f83757e077 | ||
|
|
7ba305cd72 | ||
|
|
fd33162fc5 | ||
|
|
7194705ba6 | ||
|
|
1bef94548a | ||
|
|
e6ceb0fe6a | ||
|
|
2f52b1143b | ||
|
|
d4798270c1 | ||
|
|
e6ecc6977e | ||
|
|
54594a3a5a | ||
|
|
c9ae2287e7 | ||
|
|
6a0075a0d9 | ||
|
|
131c15e84a | ||
|
|
139cef3f71 | ||
|
|
29dcde44a9 | ||
|
|
0be3a3d510 | ||
|
|
41f7f7ec92 | ||
|
|
194ff2a76c | ||
|
|
6c6ebdfe5c | ||
|
|
6153b10950 | ||
|
|
530914ca89 | ||
|
|
e5113d0e43 | ||
|
|
0d8c2743b8 | ||
|
|
be9046a53e | ||
|
|
e65e644a0f | ||
|
|
f8d10b4428 | ||
|
|
c775ddc60a | ||
|
|
4aef972c9f | ||
|
|
0c2b9693a2 | ||
|
|
e1391531d8 | ||
|
|
d6b010d653 | ||
|
|
eaf5d37349 | ||
|
|
5c230b3b50 | ||
|
|
2adb57d11e | ||
|
|
47f5eccb68 | ||
|
|
e80dcbc58d | ||
|
|
7864dbf77b | ||
|
|
57add311ce | ||
|
|
ccdec15cf8 | ||
|
|
78a3117309 | ||
|
|
934b31bb1f | ||
|
|
7dfb4e1422 | ||
|
|
849ccb0f71 | ||
|
|
23635b2c44 | ||
|
|
0da8b2e292 | ||
|
|
fd962940f0 | ||
|
|
d44fd1fc25 | ||
|
|
c6e27a2803 | ||
|
|
f8d3ac276a | ||
|
|
2963e93679 | ||
|
|
e8f49f1c08 | ||
|
|
27ebcae325 | ||
|
|
eff0d1b71b | ||
|
|
56c966e762 | ||
|
|
63e4311f2e | ||
|
|
ae26ba75f9 | ||
|
|
8b929de8d4 | ||
|
|
5839e78f3e | ||
|
|
549fdb70a7 | ||
|
|
07d0133874 | ||
|
|
61a4546299 | ||
|
|
f90998904e | ||
|
|
72b5b8fe0b | ||
|
|
1e549d3f92 | ||
|
|
b1a2d8708a | ||
|
|
f1c036af5f | ||
|
|
ac5e1d600c | ||
|
|
a6d9a208f2 | ||
|
|
4e995ce9d1 | ||
|
|
9dee330c79 | ||
|
|
fdc03195eb | ||
|
|
67ed8faeec | ||
|
|
536200abd3 | ||
|
|
37fa50ad95 | ||
|
|
9c5d154d85 | ||
|
|
1dbb83d6ec | ||
|
|
896fe14e07 | ||
|
|
3574794cea | ||
|
|
ba91288a28 | ||
|
|
ed44eb9758 | ||
|
|
5f32cecaf1 | ||
|
|
cca764cceb | ||
|
|
fd530693a7 | ||
|
|
ed6fba57ee | ||
|
|
d0b47d84dd | ||
|
|
23bcfb1622 | ||
|
|
b8fca4849f | ||
|
|
f3610a5923 | ||
|
|
aa0e1862af | ||
|
|
cae492bf2c | ||
|
|
9ce169d3f0 | ||
|
|
958579aa25 | ||
|
|
1d9f47e5b1 | ||
|
|
c3d8700c8c | ||
|
|
f5d33c65a9 | ||
|
|
8b940e1571 | ||
|
|
b39decf7e5 | ||
|
|
8064329207 | ||
|
|
9af589e612 | ||
|
|
2edd846525 | ||
|
|
4f861ec281 | ||
|
|
b698664672 | ||
|
|
9acfc97d0a | ||
|
|
9ee5c461a3 | ||
|
|
afc75a9be5 | ||
|
|
4c3cd262eb | ||
|
|
d58f2786e0 | ||
|
|
07f40b07fe | ||
|
|
05fa67b8aa | ||
|
|
bb0a118507 | ||
|
|
b440240952 | ||
|
|
f593eedf20 | ||
|
|
38ca7f71fa | ||
|
|
00b69ecc81 | ||
|
|
d7590fb32f | ||
|
|
c61023ee9d | ||
|
|
f47afca78a | ||
|
|
d9ddb3e20b | ||
|
|
6f692c140d | ||
|
|
905d073f20 | ||
|
|
64a8947f2c | ||
|
|
9257edcd56 | ||
|
|
a04e50c329 | ||
|
|
84bfbbb5c9 | ||
|
|
c16692d216 | ||
|
|
63803b0322 | ||
|
|
58d18a3f0e | ||
|
|
d988aa4291 | ||
|
|
cf1d91b771 | ||
|
|
ed6dd0063c | ||
|
|
2485fd3607 | ||
|
|
4e678448cc | ||
|
|
e47b5a7cce | ||
|
|
11525a9f35 | ||
|
|
cb6a1b8ab4 | ||
|
|
6b97023215 | ||
|
|
d5af21716b | ||
|
|
069a255c6b | ||
|
|
8d20f0cbcf | ||
|
|
cb086a6016 | ||
|
|
3c65b74093 | ||
|
|
7892c95c0b | ||
|
|
8865a01155 | ||
|
|
2b7bea7f17 | ||
|
|
481b87fbfa | ||
|
|
292eb6d30b | ||
|
|
0183200122 | ||
|
|
25c9571a16 | ||
|
|
f2cef3852a | ||
|
|
2699b817ca | ||
|
|
ba1180e7a8 | ||
|
|
eefbab5cbd | ||
|
|
be146bff04 | ||
|
|
820f0b9976 | ||
|
|
12d30d9e28 | ||
|
|
bd821c49f8 | ||
|
|
882499cc66 | ||
|
|
9bfe5d8b56 | ||
|
|
a0ac78c60f | ||
|
|
5d6fcc8939 | ||
|
|
4b9128c444 | ||
|
|
d448321ce9 | ||
|
|
680dadbbe8 | ||
|
|
6c0d706cd9 | ||
|
|
fe75742083 | ||
|
|
ba595302f4 | ||
|
|
7de747cf61 | ||
|
|
539b211b99 | ||
|
|
e776046f66 | ||
|
|
837953074c | ||
|
|
45cb20c9e8 | ||
|
|
426d5f0163 | ||
|
|
e8927ecf51 | ||
|
|
14d9cd0813 | ||
|
|
63841c1861 | ||
|
|
d514f7a982 | ||
|
|
1e9497ddc3 | ||
|
|
dcea5e874d | ||
|
|
7354925566 | ||
|
|
3368768244 | ||
|
|
bd56abc4c3 | ||
|
|
7be5045cbb | ||
|
|
5e0a9f5993 | ||
|
|
915d369d98 | ||
|
|
7d65accaf6 | ||
|
|
78363232b3 | ||
|
|
8fb2341ea8 | ||
|
|
3a79870da8 | ||
|
|
2adf5275f1 | ||
|
|
bfa2d814f8 | ||
|
|
4f44b37f08 | ||
|
|
36e8544049 | ||
|
|
bc0d725f0e | ||
|
|
4858f29ec5 | ||
|
|
31d8ae741b | ||
|
|
7ce0f79561 | ||
|
|
18d2a918c0 | ||
|
|
7ae706b629 | ||
|
|
cf997f71c6 | ||
|
|
308f7ecb12 | ||
|
|
418d5fd97e | ||
|
|
788e078f64 | ||
|
|
9094054cdc | ||
|
|
09eabbd567 | ||
|
|
a00074a86c | ||
|
|
7852ae4321 | ||
|
|
7546a15bf6 | ||
|
|
c00e904304 | ||
|
|
c8ad353f45 | ||
|
|
57162c91c3 | ||
|
|
cab3f28907 | ||
|
|
5d7fd2e1e5 | ||
|
|
623a029e3b | ||
|
|
dbd24232e4 | ||
|
|
850653192b | ||
|
|
7108e075db | ||
|
|
f67d51a140 | ||
|
|
4a6c286035 | ||
|
|
b60fac96b4 | ||
|
|
9f25f84f11 | ||
|
|
f5302a02f4 | ||
|
|
c8b3c854d3 | ||
|
|
588cfef576 | ||
|
|
bcf1255189 | ||
|
|
faa8d3d258 | ||
|
|
23287956de | ||
|
|
165ca35138 | ||
|
|
18d077a5d0 | ||
|
|
0dfdfde600 | ||
|
|
a2576ffa9a | ||
|
|
cca7fb97f4 | ||
|
|
6dcec3dc31 | ||
|
|
588cd6ee73 | ||
|
|
d6bd1bfa2b | ||
|
|
f101bc1108 | ||
|
|
9504574dbb | ||
|
|
ef108067a1 | ||
|
|
6cc380ffb5 | ||
|
|
958e25ed21 | ||
|
|
a7de601d5f | ||
|
|
1855de4afb | ||
|
|
7ff48f638b | ||
|
|
c430a66615 | ||
|
|
6c1c66e3e7 | ||
|
|
e1a500ba8b | ||
|
|
f5fad072a7 | ||
|
|
9b80ea7908 | ||
|
|
58bad34faf | ||
|
|
7fe266a4a3 | ||
|
|
911b6b128d | ||
|
|
0ff4014388 | ||
|
|
8ebd3f3e33 | ||
|
|
a19f3595ba | ||
|
|
38ec7525d8 | ||
|
|
568c1f643e | ||
|
|
ba583f0dd7 | ||
|
|
8e9e71b1d0 | ||
|
|
6bcb474510 | ||
|
|
7dde1e1cdd | ||
|
|
dfdf2ae848 | ||
|
|
771c6593e6 | ||
|
|
6d6612cf15 | ||
|
|
4288dacfcd | ||
|
|
e3b2a73f72 | ||
|
|
b1848cba1d | ||
|
|
1fb28e6ecd | ||
|
|
2618ccd654 | ||
|
|
6775dcfdc9 | ||
|
|
2d755ce57d | ||
|
|
26645c0f73 | ||
|
|
31e15fbd85 | ||
|
|
bd4469e4d0 | ||
|
|
82f438e64b | ||
|
|
a88bbb984e | ||
|
|
2919cdd90e | ||
|
|
2731444c3b | ||
|
|
f0bca8b6cb | ||
|
|
ce80c5fb4d | ||
|
|
8c89168546 | ||
|
|
8b3542a9ea | ||
|
|
734918b2d8 | ||
|
|
80fdc81c17 | ||
|
|
b80e5f8aa1 | ||
|
|
d2bcd54cb0 | ||
|
|
532f8233a7 | ||
|
|
400a386344 | ||
|
|
f898dfac6b | ||
|
|
79e2a13062 | ||
|
|
481e2ec7a6 | ||
|
|
adb67de9a5 | ||
|
|
e33e591967 | ||
|
|
056a13f4c7 | ||
|
|
f4d6129ef9 | ||
|
|
ad1ac4b69d | ||
|
|
cf2acaa79e | ||
|
|
53bb077b93 | ||
|
|
30cf1055aa | ||
|
|
1716bbbb82 | ||
|
|
e22321c354 | ||
|
|
bf04f579b5 | ||
|
|
c9d21e8c00 | ||
|
|
e999d72b3d | ||
|
|
13bdd5b210 | ||
|
|
d322ba96a9 | ||
|
|
2067e0d918 | ||
|
|
aa430633de | ||
|
|
401d1f5a13 | ||
|
|
bf07186a0d | ||
|
|
8f19871b80 | ||
|
|
620bae0e4f | ||
|
|
f8634bfaff | ||
|
|
fbfed49b77 | ||
|
|
accfbaa54d | ||
|
|
9cb1c44764 | ||
|
|
c57feb65aa | ||
|
|
915caf9bb9 | ||
|
|
448eb2b216 | ||
|
|
6a37b6c4fa | ||
|
|
b420572a65 | ||
|
|
aaa476e877 | ||
|
|
d7f2d61ca6 | ||
|
|
d25223a4ab | ||
|
|
a3607828c6 | ||
|
|
6853349132 | ||
|
|
3251f9de07 | ||
|
|
9af6f02eaa | ||
|
|
ad9cdada72 | ||
|
|
55b68527f6 | ||
|
|
fa6e287287 | ||
|
|
7390f55e8d | ||
|
|
804de29474 | ||
|
|
4d519f00b7 | ||
|
|
f7787de2b7 | ||
|
|
d6797fbda1 | ||
|
|
95829e87af | ||
|
|
5fc50e39d4 | ||
|
|
c468e4af1e | ||
|
|
a988e9925a | ||
|
|
0cbe6db420 | ||
|
|
4a65991fa7 | ||
|
|
cca5ae575b | ||
|
|
d8309d000a | ||
|
|
160532d96d | ||
|
|
3aeb487305 | ||
|
|
6b099320c1 | ||
|
|
0e681106ea | ||
|
|
4930da6257 | ||
|
|
f67a5f5122 | ||
|
|
82e143e7e8 | ||
|
|
8348b03de8 | ||
|
|
400fa9bab3 | ||
|
|
9474090296 | ||
|
|
19615f4ea9 | ||
|
|
3cd0bace3f | ||
|
|
702928bcf9 | ||
|
|
68d7cd558d | ||
|
|
cdb5dcc4a1 | ||
|
|
7df67f16ad | ||
|
|
b79962665b | ||
|
|
588785579c | ||
|
|
0fef878809 | ||
|
|
5d15bd1b7b | ||
|
|
d6044a4b5a | ||
|
|
fd845ace64 | ||
|
|
6d89604806 | ||
|
|
044c8a8728 | ||
|
|
29a9362fa4 | ||
|
|
38bc2c8330 | ||
|
|
f044b2b70d | ||
|
|
9af1e0337d | ||
|
|
87ae5885f3 | ||
|
|
c843752a5a | ||
|
|
bb53ba59c8 | ||
|
|
6f91df9840 | ||
|
|
b8f333506c | ||
|
|
36179d8a53 | ||
|
|
d0cdd91ba2 | ||
|
|
2bb1b883a6 | ||
|
|
3f1bb4a09d | ||
|
|
af056d4aae | ||
|
|
eb19d0523e | ||
|
|
5cc414ed4b | ||
|
|
89b2807fd2 | ||
|
|
c86051a385 | ||
|
|
22d62a8f3e | ||
|
|
ae297236c0 | ||
|
|
5ef9bd4d2f | ||
|
|
42a943865a | ||
|
|
f3ae2cdf2d | ||
|
|
57beb60b99 | ||
|
|
c218b6570e | ||
|
|
331c1c9bc3 | ||
|
|
b94d6fd830 | ||
|
|
5256f9608c | ||
|
|
5ef5ea6d32 | ||
|
|
5ef7dd34fb | ||
|
|
5414a76b04 | ||
|
|
5ab6a59bbe | ||
|
|
6d3df592cc | ||
|
|
9289279266 | ||
|
|
16f3d2606f | ||
|
|
0529c55caf | ||
|
|
d1bdf2f9fa | ||
|
|
9a46dce45a | ||
|
|
2397ab4cb5 | ||
|
|
c9b8021426 | ||
|
|
cf6ef8bdea | ||
|
|
e486f9570f | ||
|
|
c903b2724c | ||
|
|
ba8290a994 | ||
|
|
d720cfc538 | ||
|
|
cc6c60090f | ||
|
|
eee56571a6 | ||
|
|
61d64cbb0e | ||
|
|
32c7ef90a2 | ||
|
|
87c1f97e84 | ||
|
|
dc836a721a | ||
|
|
61def54dce | ||
|
|
26c0ee5bf9 | ||
|
|
144fd69fd5 | ||
|
|
0e90612fee | ||
|
|
37c98a8794 | ||
|
|
d37a42fe3f | ||
|
|
6627e7f267 | ||
|
|
fab1a8c008 | ||
|
|
4b6b8f3efa | ||
|
|
3b35eca6ea | ||
|
|
79a610254a | ||
|
|
9483be55c1 | ||
|
|
dc5732ca0d | ||
|
|
f008ed385d | ||
|
|
76a09a2245 | ||
|
|
ee7090f358 | ||
|
|
414e562625 | ||
|
|
935ded701c | ||
|
|
247e024e9e | ||
|
|
e8fb1cf517 | ||
|
|
e155d1bd19 | ||
|
|
60bc52e5f7 | ||
|
|
a40119f169 | ||
|
|
dfebf0c888 | ||
|
|
09958272c4 | ||
|
|
15a2fcbbd6 | ||
|
|
009298a00c | ||
|
|
c523bd2c1e | ||
|
|
704fe4a54a | ||
|
|
30a6f1ea55 | ||
|
|
5282d16d8f | ||
|
|
f422bc23b8 | ||
|
|
ef8a79ac90 | ||
|
|
ce24c4113d | ||
|
|
1093742197 | ||
|
|
610f4cc31d | ||
|
|
63786be0f5 | ||
|
|
7fbee70cb3 | ||
|
|
c879c69097 | ||
|
|
8433f3ae3b | ||
|
|
13965adcdb | ||
|
|
1067570dcb | ||
|
|
988a8b7be8 | ||
|
|
1ba820ba0b | ||
|
|
280171a494 | ||
|
|
741651da8f | ||
|
|
f60c9e4cdb | ||
|
|
33dc204d65 | ||
|
|
bef76997b4 | ||
|
|
63d1ea28af | ||
|
|
0e1ef9a66c | ||
|
|
0a47f7f8c9 | ||
|
|
2134b10a73 | ||
|
|
4403bf259d | ||
|
|
2c9caf2d02 | ||
|
|
f1d8285224 | ||
|
|
e5af5b6eaa | ||
|
|
6f4b8cb6fc | ||
|
|
a567834b7c | ||
|
|
1db115e22b | ||
|
|
7e95125554 | ||
|
|
5cb28eb496 | ||
|
|
ae26bb6d35 | ||
|
|
eaf2f684fa | ||
|
|
c4f2fed661 | ||
|
|
e8adb9c41a | ||
|
|
c3496b310d | ||
|
|
8054d25ae2 | ||
|
|
81d25f0a39 | ||
|
|
513acbde0c | ||
|
|
b3ec39bad2 | ||
|
|
d6f55586bc | ||
|
|
42e0c9ebdb | ||
|
|
98c6b8535d | ||
|
|
755310cc00 | ||
|
|
5dd3637138 | ||
|
|
d9f564a923 | ||
|
|
4639002afb | ||
|
|
3616c92963 | ||
|
|
7f6be173e2 | ||
|
|
b9a03ef415 | ||
|
|
01bb03d19e | ||
|
|
b3827ad81d | ||
|
|
3f1e8c0323 | ||
|
|
75fb57499b | ||
|
|
7d34d4357c | ||
|
|
e4830c9419 | ||
|
|
613f965a7e | ||
|
|
0dd545eb3c | ||
|
|
b910d7b91a | ||
|
|
b4ff0acae6 | ||
|
|
825f260551 | ||
|
|
2b5ede6f72 | ||
|
|
0e1dd6f380 | ||
|
|
291eb9ad31 | ||
|
|
90f8211782 | ||
|
|
aca40554cf | ||
|
|
7436de5bb4 | ||
|
|
12dad1cffd | ||
|
|
68fce40c80 | ||
|
|
d8b782b849 | ||
|
|
05138d8729 | ||
|
|
2354716c3b | ||
|
|
57325940f4 | ||
|
|
263859133f | ||
|
|
6ae6ce8af8 | ||
|
|
47e17c6594 | ||
|
|
5b1816649e | ||
|
|
55cbf58ef8 | ||
|
|
2b23c2fe42 | ||
|
|
3109246553 | ||
|
|
1fbfb491e7 | ||
|
|
9bcd90dec5 | ||
|
|
d202fcd483 | ||
|
|
9cd7b8b640 | ||
|
|
28d28cd878 | ||
|
|
0897952f7e | ||
|
|
41bc7ba85e | ||
|
|
a80e272e8f | ||
|
|
0b1204d9c2 | ||
|
|
99387696c0 | ||
|
|
3a3185a1b2 | ||
|
|
8d6d44828a | ||
|
|
1961b56edf | ||
|
|
b59a708021 | ||
|
|
32d251f334 | ||
|
|
627c030fb7 | ||
|
|
4490928c36 | ||
|
|
62c61f32ac | ||
|
|
c15b1b6e04 | ||
|
|
19c785dbb0 | ||
|
|
d6a16a0e8c | ||
|
|
d033293af8 | ||
|
|
991ece2170 | ||
|
|
e2723ec370 | ||
|
|
9b54bcc2ee | ||
|
|
4b662bb8a7 | ||
|
|
1049473ac7 | ||
|
|
421d82eed5 | ||
|
|
ddc2e8d032 | ||
|
|
be21eec3a1 | ||
|
|
e641d80e2b | ||
|
|
568f998799 | ||
|
|
455c4859e3 | ||
|
|
62c53cc9f9 | ||
|
|
9e601f3e38 | ||
|
|
076fecb1a1 | ||
|
|
6585ca5491 | ||
|
|
91685f5210 | ||
|
|
2ce8807d94 | ||
|
|
9bb3bcf08c | ||
|
|
62932071ed | ||
|
|
c49cf53f7d | ||
|
|
724aac33fa | ||
|
|
5c05e55d9b | ||
|
|
1d7ba016b0 | ||
|
|
41f4fddd34 | ||
|
|
90a36251b6 | ||
|
|
5a29d4ade9 | ||
|
|
a0b235eb24 | ||
|
|
20546081aa | ||
|
|
b99c1e7b5c | ||
|
|
aebc0cdb79 | ||
|
|
d757108517 | ||
|
|
6ea9530d9f | ||
|
|
9fe5c778d9 | ||
|
|
529d5c8bcc | ||
|
|
9331ecada6 | ||
|
|
8781991e67 | ||
|
|
7a24f5a493 | ||
|
|
82dcb03358 | ||
|
|
691e7d46ed | ||
|
|
51ec616d23 | ||
|
|
b3a41ba6d9 | ||
|
|
2fb4c904ab | ||
|
|
ab1e8dc136 | ||
|
|
e480592b39 | ||
|
|
99dae8d59e | ||
|
|
2e672f6c2f | ||
|
|
a31ba4ca30 | ||
|
|
1e900726f9 | ||
|
|
6f60cad1a9 | ||
|
|
b74750d845 | ||
|
|
48478ca6e2 | ||
|
|
6b7ccbdccc | ||
|
|
c3839647c6 | ||
|
|
a7b4c9449a | ||
|
|
380c17456c | ||
|
|
ba7496606d | ||
|
|
1ee493a1f9 | ||
|
|
fc25d3598c | ||
|
|
598452f079 | ||
|
|
c49e042535 | ||
|
|
94a4eb7002 | ||
|
|
fa160d2d7d | ||
|
|
c0397fbade | ||
|
|
d5868e8fe1 | ||
|
|
e40bb508e3 | ||
|
|
c92af06680 | ||
|
|
178708f1cb | ||
|
|
2e2cae243c | ||
|
|
7a2a7986be | ||
|
|
5839539379 | ||
|
|
1b04112158 | ||
|
|
a5dcce7541 | ||
|
|
976c97f409 | ||
|
|
4ef573bfb7 | ||
|
|
0efbe5d9b9 | ||
|
|
7a2ccfc521 | ||
|
|
969255904b | ||
|
|
27d2f21f65 | ||
|
|
7f032e3fe7 | ||
|
|
6b50fc8871 | ||
|
|
81d989b511 | ||
|
|
acdc0ea38e | ||
|
|
4cd8e27964 | ||
|
|
8445f53d85 | ||
|
|
eaa04303a7 | ||
|
|
29c8d3fecf | ||
|
|
41e89505be | ||
|
|
30d479fbd4 | ||
|
|
4399dc382c | ||
|
|
e21bc70e8f | ||
|
|
08ea095216 | ||
|
|
7884d54f48 | ||
|
|
483234fe7d | ||
|
|
6790353282 | ||
|
|
0fb5c9ed61 | ||
|
|
5a63351d2a | ||
|
|
eae772aca9 | ||
|
|
b3c4cc9e52 | ||
|
|
57e46e5dcd | ||
|
|
ba69b0d47d | ||
|
|
e1c6172e9a | ||
|
|
322526458a | ||
|
|
8ae0be8eb6 | ||
|
|
4b09614a0e | ||
|
|
08ae9ff034 | ||
|
|
251068294e | ||
|
|
cce5c34181 | ||
|
|
ec241e4a0a | ||
|
|
f42e6bb30b | ||
|
|
b3dacc9146 | ||
|
|
a2059db21b | ||
|
|
5119eeee12 | ||
|
|
d9dfc3c6c5 | ||
|
|
1acada7cac | ||
|
|
ec9bd95bfe | ||
|
|
5d35e72065 | ||
|
|
cf7d535b03 | ||
|
|
c959b23697 | ||
|
|
bdd644eaac | ||
|
|
d45a8d2113 | ||
|
|
15f7368309 | ||
|
|
aa13c8b4ea | ||
|
|
83843f9124 | ||
|
|
ed806bf652 | ||
|
|
56b69b2813 | ||
|
|
da03ef94f8 | ||
|
|
76abb69262 | ||
|
|
2a2e1cfb36 | ||
|
|
12de3e287e | ||
|
|
9cc5cbc99b | ||
|
|
46e4cdfcbd | ||
|
|
897a8fc34e | ||
|
|
52405e5dfa | ||
|
|
bcae402dc8 | ||
|
|
c423003bd4 | ||
|
|
9dbcf194c9 | ||
|
|
7b27b1b042 | ||
|
|
7911ed796c | ||
|
|
df8927dbb7 | ||
|
|
a86bde7a19 | ||
|
|
2ea40c8d84 | ||
|
|
a159468873 | ||
|
|
8c86ad3e96 | ||
|
|
1c3477df2e | ||
|
|
25ca06766f | ||
|
|
42d83e8388 | ||
|
|
e4a3889cf0 | ||
|
|
2b0ad27393 | ||
|
|
0d2326ff34 | ||
|
|
114b8af38f | ||
|
|
62f9d1f46a | ||
|
|
0429e74e9d | ||
|
|
e12c1d6f0d | ||
|
|
984ee6de6d | ||
|
|
baa0bcc47b | ||
|
|
a974a4bbf8 | ||
|
|
f4ad93af52 | ||
|
|
1d5b16fd63 | ||
|
|
40cfdce94b | ||
|
|
1cccea91e9 | ||
|
|
21a7269ceb | ||
|
|
58b8ccc854 | ||
|
|
64566ca44c | ||
|
|
de2d07fe1f | ||
|
|
c65f663dcb | ||
|
|
da3730d6ce | ||
|
|
262d1ddf1f | ||
|
|
1de7835d1d | ||
|
|
677d4d3eb1 | ||
|
|
a0d84192bb | ||
|
|
8af0800269 | ||
|
|
869aabd8b2 | ||
|
|
eaba1a6346 | ||
|
|
7c16f77492 | ||
|
|
5d9faf7c80 | ||
|
|
f2d4934d48 | ||
|
|
8b14351736 | ||
|
|
1c86964a86 | ||
|
|
a959da2d69 | ||
|
|
618061de22 | ||
|
|
f904e0178e | ||
|
|
e1cda1822f | ||
|
|
7c19f7a134 | ||
|
|
8ef4fe8295 | ||
|
|
2f2d0406ac | ||
|
|
558f0efc8c | ||
|
|
19ae35dd6f | ||
|
|
692d03cede | ||
|
|
219844961a | ||
|
|
87023a078c | ||
|
|
49d3fc810e | ||
|
|
915a162c8a | ||
|
|
8954790601 | ||
|
|
bb857b8557 | ||
|
|
8edb0464c1 | ||
|
|
28a73b545d | ||
|
|
e812af9f42 | ||
|
|
a9e8af6270 | ||
|
|
2c3a64f901 | ||
|
|
ea3ed16d6d | ||
|
|
529d816862 | ||
|
|
d79c9e4957 | ||
|
|
7d45943917 | ||
|
|
3ba9e9e4d1 | ||
|
|
7ef6ea624e | ||
|
|
f737bc3621 | ||
|
|
25a31564d8 | ||
|
|
83c4ae980d | ||
|
|
824c573811 | ||
|
|
fe6d5b2a52 | ||
|
|
6e4fabb087 | ||
|
|
9301dc410d | ||
|
|
b05477ba7c | ||
|
|
47af566600 | ||
|
|
47ccf390c3 | ||
|
|
b4f5bf8bd3 | ||
|
|
d7551500de | ||
|
|
05b725a6da | ||
|
|
7deb1789d3 | ||
|
|
ffc8f45780 | ||
|
|
9bc95fb2f0 | ||
|
|
6547132b8a | ||
|
|
46c6cf5f35 | ||
|
|
d889bab9fb | ||
|
|
61d8496cfd | ||
|
|
b20bd86a21 | ||
|
|
6479da50e2 | ||
|
|
b66591c77e | ||
|
|
724e964295 | ||
|
|
39039c2416 | ||
|
|
a1f9c32ddf | ||
|
|
ca0d576263 | ||
|
|
3d7557d7e2 | ||
|
|
3e0db035b2 | ||
|
|
9243823fbd | ||
|
|
6dbdd87a32 | ||
|
|
b0a1a1a634 | ||
|
|
2a1e510c1f | ||
|
|
3f7c8dd3e7 | ||
|
|
c1d1494573 | ||
|
|
e871dc0abf | ||
|
|
9ae04eada2 | ||
|
|
1e11f3a6d8 | ||
|
|
e0ad91db68 | ||
|
|
4a032cf6c5 | ||
|
|
246655a960 | ||
|
|
2020112807 | ||
|
|
5c53f38ec6 | ||
|
|
e5e0f0ae3b | ||
|
|
58162a4803 | ||
|
|
6333b9f008 | ||
|
|
1c67381903 | ||
|
|
bf3d9b9891 | ||
|
|
5042274cad | ||
|
|
ae613356ea | ||
|
|
5fbb52191d | ||
|
|
7d8c539268 | ||
|
|
6a25123067 | ||
|
|
2f022325b0 | ||
|
|
134e8c4798 | ||
|
|
e3771f75b0 | ||
|
|
523988e12d | ||
|
|
03bf56e8ff | ||
|
|
c562fdce46 | ||
|
|
cea2506581 | ||
|
|
fc656b75b4 | ||
|
|
ba24a55e7a | ||
|
|
562b7623e5 | ||
|
|
bee63f6b8f | ||
|
|
4331f72e0a | ||
|
|
b680502d78 | ||
|
|
29c3b8035a | ||
|
|
487a0cb89f | ||
|
|
1fcdac97ed | ||
|
|
d8796fc895 | ||
|
|
6606ee93d5 | ||
|
|
0081bdd6bc | ||
|
|
ed99711837 | ||
|
|
580ea2b861 | ||
|
|
f8bf5b94da | ||
|
|
e5f579f928 | ||
|
|
50cdd824b8 | ||
|
|
2dcc5f045b | ||
|
|
90de3b119f | ||
|
|
9ae5bc1fce | ||
|
|
d32a958776 | ||
|
|
f2126682e8 | ||
|
|
a56c9bd36d | ||
|
|
47f63ddec9 | ||
|
|
d4f23f6cab | ||
|
|
043686d649 | ||
|
|
29985b6c0d | ||
|
|
9c77effb3b | ||
|
|
734bb46798 | ||
|
|
36bf031da8 | ||
|
|
af31a2f634 | ||
|
|
d4d2409947 | ||
|
|
1bf1546703 | ||
|
|
8c7c75195f | ||
|
|
4b5e87f162 | ||
|
|
a30a8852f4 | ||
|
|
7a42b99514 | ||
|
|
735bb0b81c | ||
|
|
10f57c2915 | ||
|
|
328b2c647c | ||
|
|
0748a9b63f | ||
|
|
8a789d61a9 | ||
|
|
94bfa56922 | ||
|
|
eabc7977a7 | ||
|
|
0aa1c20cf1 | ||
|
|
cac4760d87 | ||
|
|
a82a3ffbf1 | ||
|
|
f68b3043dc | ||
|
|
0134ec0a23 | ||
|
|
44a2d03996 | ||
|
|
10ce765c20 | ||
|
|
af40b4e1d0 | ||
|
|
4ea6839dee | ||
|
|
aa80960737 | ||
|
|
907ee46e59 | ||
|
|
410c7daa75 | ||
|
|
1373e65863 | ||
|
|
8780ac4183 | ||
|
|
8086cff234 | ||
|
|
a8b0f565e4 | ||
|
|
bca035a384 | ||
|
|
0d3048339f | ||
|
|
fc674452a2 | ||
|
|
533913d0b4 | ||
|
|
d86ba25b1d | ||
|
|
372397a76c | ||
|
|
b8f0618681 | ||
|
|
4c85b20f95 | ||
|
|
ba474bcfdd | ||
|
|
660fd8a3c8 | ||
|
|
c38615fdca | ||
|
|
366bd6c3c4 | ||
|
|
ab67248c83 | ||
|
|
396bcd7653 | ||
|
|
179c440804 | ||
|
|
1021dce957 | ||
|
|
9d9687bace | ||
|
|
d832e2dcde | ||
|
|
266d389c19 | ||
|
|
5000cf32d2 | ||
|
|
af3ebd40ab | ||
|
|
b57830deaf | ||
|
|
df40e259ea | ||
|
|
96c225a86e | ||
|
|
12515379ef | ||
|
|
6d3266e7f8 | ||
|
|
3f8ff03d63 | ||
|
|
44b995832b | ||
|
|
f0f7032ffc | ||
|
|
26b4b71251 | ||
|
|
8a4f73dec9 | ||
|
|
2ef26c346d | ||
|
|
f1bfb4b93a | ||
|
|
9e461b9cfb | ||
|
|
9645d6d6ce | ||
|
|
9fec4ab8bc | ||
|
|
bb3abaeddc | ||
|
|
7618bc21e4 | ||
|
|
e89edc17b0 | ||
|
|
6f9ee713ac | ||
|
|
b27c65bd65 | ||
|
|
e497ff5f18 | ||
|
|
e1127f6887 | ||
|
|
6e1a192696 | ||
|
|
6c38912958 | ||
|
|
08265c8a8a | ||
|
|
c5dd604ef8 | ||
|
|
d781571d7e | ||
|
|
be04489104 | ||
|
|
80855b3dd9 | ||
|
|
8f571a5887 | ||
|
|
176aed1c33 | ||
|
|
dbf59696bb | ||
|
|
83b360a88a | ||
|
|
624aa68718 | ||
|
|
6b799847b0 | ||
|
|
6d47616124 | ||
|
|
d233632c35 | ||
|
|
c676a05f0a | ||
|
|
43ce2bb92a | ||
|
|
37ba62c6c3 | ||
|
|
805e7dbc44 | ||
|
|
6d4928a1e6 | ||
|
|
1a5ba408a1 | ||
|
|
461b0b5cd4 | ||
|
|
6bbe7102e2 | ||
|
|
0900a705bc | ||
|
|
fe97147ea2 | ||
|
|
bdd52c4c89 | ||
|
|
5511e8eae8 | ||
|
|
f6fc65d014 | ||
|
|
eb493ef1bf | ||
|
|
da86fbacae | ||
|
|
4e7c0b5e50 | ||
|
|
b210facd6b | ||
|
|
3801db7e12 | ||
|
|
22efc1419c | ||
|
|
b7acd7f6f6 | ||
|
|
2646c8bb5b | ||
|
|
c276444bee | ||
|
|
4c7870a3b4 | ||
|
|
4e1330dfb2 | ||
|
|
2ca8f09c02 | ||
|
|
a71b0a3e0d | ||
|
|
cef29e8100 | ||
|
|
9e768377db | ||
|
|
68c2fd0e3b | ||
|
|
7967532f3f | ||
|
|
73f993d10c | ||
|
|
e838103a24 | ||
|
|
e7ca6db66b | ||
|
|
d9656a178b | ||
|
|
5f6351b0c4 | ||
|
|
c3a0ec902d | ||
|
|
567d96c428 | ||
|
|
1666f05b23 | ||
|
|
ae823a660b | ||
|
|
f6a31f444c | ||
|
|
a1b4cd964a | ||
|
|
5845719fe5 | ||
|
|
dae56a9e8b | ||
|
|
9cc97b0c00 | ||
|
|
936dc2c40b | ||
|
|
db6c43b6f4 | ||
|
|
bd9a95d6fb | ||
|
|
8d9bac395e | ||
|
|
f652c790f4 | ||
|
|
8e59bb2f09 | ||
|
|
c8533a1219 | ||
|
|
f35489e8ca | ||
|
|
3ad94911af | ||
|
|
31629b719d | ||
|
|
0e3ce4aa6a | ||
|
|
4cef4a36c7 | ||
|
|
7a05ec59e0 | ||
|
|
26807f5975 | ||
|
|
85dad30333 | ||
|
|
9f7289d5ef | ||
|
|
14d51243c6 | ||
|
|
350a3fdef3 | ||
|
|
ae087bad40 | ||
|
|
74b2cb3607 | ||
|
|
63f98e40a6 | ||
|
|
5547701e2c | ||
|
|
1ca0a3f140 | ||
|
|
194b2d939f | ||
|
|
943b1472c7 | ||
|
|
83c22de72e | ||
|
|
62d057516d | ||
|
|
e57384c1d6 | ||
|
|
3655b01149 |
21
.gitignore
vendored
21
.gitignore
vendored
@@ -2,6 +2,25 @@ JTwork
|
|||||||
JTreport
|
JTreport
|
||||||
*.class
|
*.class
|
||||||
.idea/workspace.xml
|
.idea/workspace.xml
|
||||||
|
.idea/misc.xml
|
||||||
|
.idea/modules.xml
|
||||||
|
.idea/shelf/
|
||||||
|
JetBrainsRuntime.iml
|
||||||
build/
|
build/
|
||||||
# Project exclude paths
|
# Project exclude paths
|
||||||
/jb/project/java-gradle/.gradle/
|
/jb/project/java-gradle/.gradle/
|
||||||
|
/build/
|
||||||
|
/dist/
|
||||||
|
/.idea/
|
||||||
|
nbproject/private/
|
||||||
|
/webrev
|
||||||
|
/.src-rev
|
||||||
|
/.jib/
|
||||||
|
.DS_Store
|
||||||
|
.metadata/
|
||||||
|
.recommenders/
|
||||||
|
test/nashorn/script/external
|
||||||
|
test/nashorn/lib
|
||||||
|
NashornProfile.txt
|
||||||
|
**/JTreport/**
|
||||||
|
**/JTwork/**
|
||||||
|
|||||||
45
.hgtags
45
.hgtags
@@ -542,3 +542,48 @@ c9865fee1a6d39a7bd2a5313f54c812d9a0852f5 jdk-11.0.3+5
|
|||||||
8e139b8b4f62c0a1c4b13fa216f6fd975df81c1c jdk-11.0.3+6
|
8e139b8b4f62c0a1c4b13fa216f6fd975df81c1c jdk-11.0.3+6
|
||||||
175eb80c253addb5b49a91c53daa7e204f124581 jdk-11.0.3+7
|
175eb80c253addb5b49a91c53daa7e204f124581 jdk-11.0.3+7
|
||||||
175eb80c253addb5b49a91c53daa7e204f124581 jdk-11.0.3-ga
|
175eb80c253addb5b49a91c53daa7e204f124581 jdk-11.0.3-ga
|
||||||
|
b3f7a4c524f2e37a8068ca797859df86d9865aad jdk-11.0.4+1
|
||||||
|
3b9194001c2eebea3109777c2b308cd784a5dcc7 jdk-11.0.4+2
|
||||||
|
3b6fc7cd594608b7125eb0b75bdc05132e7b5f39 jdk-11.0.4+3
|
||||||
|
e442b78d7687744475676724bd27b1d52f096d38 jdk-11.0.4+4
|
||||||
|
371ce104ac19a12012dfe3749240b0309bfc86ee jdk-11.0.4+5
|
||||||
|
9ab8738bf30663e01924f40e04d6d04751271b77 jdk-11.0.4+6
|
||||||
|
640251cdca0577fd8aa4a51ddb7c71c3b874033c jdk-11.0.4+7
|
||||||
|
ce601e800f56af59edfda40e19a92a8d3121a1cd jdk-11.0.4+8
|
||||||
|
26958299a5f8012736b99782c835ec685e18dd43 jdk-11.0.4+9
|
||||||
|
3f5829d9d7629ba3893456e20731949a570cc277 jdk-11.0.4+10
|
||||||
|
6a4d57474e1c971cccf4165b3d9d023928510010 jdk-11.0.4+11
|
||||||
|
6a4d57474e1c971cccf4165b3d9d023928510010 jdk-11.0.4-ga
|
||||||
|
3ba9c532128b1feccf59ab8ce812b1fce2b6f681 jdk-11.0.5+1
|
||||||
|
b249a2a2034e3392c647c61d401a41ac7237d635 jdk-11.0.5+2
|
||||||
|
d84dae4fba034adc749e3f28fc444b3d95b8f670 jdk-11.0.5+3
|
||||||
|
315e873712092d48fbfa23885bdf2c6fd654c1ab jdk-11.0.5+4
|
||||||
|
d43c5ab1a337b94fffee1cab871543da06f8113c jdk-11.0.5+5
|
||||||
|
deaef57bf366fdab908b97a9760d0fa6e273abcd jdk-11.0.5+6
|
||||||
|
046604d257d7bc698ee213d70af09793f5008ff1 jdk-11.0.5+7
|
||||||
|
2c29e9b3a2856350d55a188635c36c5b23c1c9e3 jdk-11.0.5+8
|
||||||
|
ee7128cf507a670ae84841b202a7a06711608359 jdk-11.0.5+9
|
||||||
|
6385eb06af947d8ec5fd51a4733bc8187efb88b5 jdk-11.0.5+10
|
||||||
|
6385eb06af947d8ec5fd51a4733bc8187efb88b5 jdk-11.0.5-ga
|
||||||
|
6eb89e59a06a2f83f7fe0399da4bf4ca638d46f3 jdk-11.0.6+1
|
||||||
|
8d3e0c2c009815cae59ad3c9bf9e4b1f090efc8b jdk-11.0.6+2
|
||||||
|
f8b2e95a1d41585a757729ed28ce35d43aba1b3f jdk-11.0.6+3
|
||||||
|
577a1fc440666e3c0724e07f6a8d736b2c7905cf jdk-11.0.6+4
|
||||||
|
bfce7426e091127450a70b7d07941c0f9e02d347 jdk-11.0.6+5
|
||||||
|
aa260c24480a2bd7d21ad1c863e6fe9a3973011e jdk-11.0.6+6
|
||||||
|
42500af9232ed5b2990ff618a1e92ef6ccc0b9af jdk-11.0.6+7
|
||||||
|
0c54fb645a7388cb7e3d587b4df75a2edd7826e2 jdk-11.0.6+8
|
||||||
|
1859de77ee6cd7e10ac0b9e71027d9f974a6e481 jdk-11.0.6+9
|
||||||
|
837b7afec083aaddeef0a6c3e6501b2200eaf1d4 jdk-11.0.6+10
|
||||||
|
837b7afec083aaddeef0a6c3e6501b2200eaf1d4 jdk-11.0.6-ga
|
||||||
|
8cdfd6139b1efc9064b10f24a82848b1bb4a0550 jdk-11.0.7+1
|
||||||
|
15cc1c8a63718c394e9cd1f35d735bb74a850084 jdk-11.0.7+2
|
||||||
|
f2d8162261ae3c1e50eb0667b3c9669caa67c652 jdk-11.0.7+3
|
||||||
|
d3d1f7f67de13fd5c227424b9ddc514c0ca32aff jdk-11.0.7+4
|
||||||
|
f03574cfc0d728ca7b5146ca22c707717f9f899f jdk-11.0.7+5
|
||||||
|
17d2e0c27889a00a3df7de9bcea0e8caf0d1771a jdk-11.0.7+6
|
||||||
|
f56b853d452bd339e3f4360cf4be42cc90f9284c jdk-11.0.7+7
|
||||||
|
3c570d183ab2afc0b204a8e980be69e7fbe761ef jdk-11.0.7+8
|
||||||
|
7201cd0c64776aa574d252b03a4c92b25d0a7d7f jdk-11.0.7+9
|
||||||
|
44ce940b344b9f240be4807f5b8f06e178e3aecd jdk-11.0.7+10
|
||||||
|
44ce940b344b9f240be4807f5b8f06e178e3aecd jdk-11.0.7-ga
|
||||||
|
|||||||
42
README.md
42
README.md
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
|Windows-x64 |macOS |Linux-x64 |
|
|Windows-x64 |macOS |Linux-x64 |
|
||||||
|-------------|-------------|-------------|
|
|-------------|-------------|-------------|
|
||||||
|<a href="https://bintray.com/jetbrains/intellij-jdk/openjdk9-windows-x64/_latestVersion"> <img src="https://api.bintray.com/packages/jetbrains/intellij-jdk/openjdk9-windows-x64/images/download.svg"/></a>|<a href="https://bintray.com/jetbrains/intellij-jdk/openjdk9-osx-x64/_latestVersion"> <img src="https://api.bintray.com/packages/jetbrains/intellij-jdk/openjdk9-osx-x64/images/download.svg"/></a>|<a href="https://bintray.com/jetbrains/intellij-jdk/openjdk9-linux-x64/_latestVersion"><img src="https://api.bintray.com/packages/jetbrains/intellij-jdk/openjdk9-linux-x64/images/download.svg"/></a>|
|
|[  ](https://bintray.com/jetbrains/intellij-jdk/openjdk11-windows-x64/_latestVersion)|[  ](https://bintray.com/jetbrains/intellij-jdk/openjdk11-osx-x64/_latestVersion)|[  ](https://bintray.com/jetbrains/intellij-jdk/openjdk11-linux-x64/_latestVersion)|
|
||||||
|
|
||||||
|
|
||||||
# How JetBrains Runtime is organised
|
# How JetBrains Runtime is organised
|
||||||
@@ -26,6 +26,10 @@ git clone git@github.com:JetBrains/JetBrainsRuntime.git
|
|||||||
```
|
```
|
||||||
|
|
||||||
# Configure Local Build Environment
|
# Configure Local Build Environment
|
||||||
|
[OpenJDK build docs](http://hg.openjdk.java.net/jdk/jdk11/raw-file/tip/doc/building.html)
|
||||||
|
Tip for all platforms: run ./configure and check output.
|
||||||
|
Usually, it has meaningful advice how to solve your problem.
|
||||||
|
|
||||||
## Linux (docker)
|
## Linux (docker)
|
||||||
```
|
```
|
||||||
$ cd jb/project/docker
|
$ cd jb/project/docker
|
||||||
@@ -43,7 +47,7 @@ $ docker run -v `pwd`../../../../:/JetBrainsRuntime -it 942ea9900054
|
|||||||
|
|
||||||
## Linux (Ubuntu 18.10 desktop)
|
## Linux (Ubuntu 18.10 desktop)
|
||||||
```
|
```
|
||||||
$ sudo apt-get install autoconf make build-essential libx11-dev libxext-dev libxrender-dev libxtst-dev libxt-dev install libcups2-dev libfontconfig1-dev libasound2-dev
|
$ sudo apt-get install autoconf make build-essential libx11-dev libxext-dev libxrender-dev libxtst-dev libxt-dev libxrandr-dev libcups2-dev libfontconfig1-dev libasound2-dev
|
||||||
|
|
||||||
$ cd JetBrainsRuntime
|
$ cd JetBrainsRuntime
|
||||||
$ sh ./configure --disable-warnings-as-errors
|
$ sh ./configure --disable-warnings-as-errors
|
||||||
@@ -51,10 +55,40 @@ $ make images
|
|||||||
```
|
```
|
||||||
|
|
||||||
## Windows
|
## Windows
|
||||||
#### TBD
|
Install:
|
||||||
|
|
||||||
|
* [Cygwin x64](http://www.cygwin.com/)
|
||||||
|
Required packages: autoconf, binutils, cpio, diffutils, file, gawk, gcc-core, make, m4, unzip, zip.
|
||||||
|
**Install them while installing cygwin**.
|
||||||
|
* Visual Studio compiler toolset [Download](https://visualstudio.microsoft.com/downloads/)
|
||||||
|
Visual Studio 2015 has support by default.
|
||||||
|
**Install with desktop development kit, it includes Windows SDK and compilers**.
|
||||||
|
* [Java 11](http://www.oracle.com/technetwork/java/javase/downloads/index.html)
|
||||||
|
If you have problems while configuring [read java tips on cygwin](http://horstmann.com/articles/cygwin-tips.html)
|
||||||
|
|
||||||
|
From command line
|
||||||
|
```
|
||||||
|
"c:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64
|
||||||
|
"c:\Program_Files\cygwin64\bin\mintty.exe" /bin/bash -l
|
||||||
|
```
|
||||||
|
First command will set env vars, the second will run cygwin shell with proper environment.
|
||||||
|
In cygwin shell
|
||||||
|
```
|
||||||
|
cd JetBrainsRuntime
|
||||||
|
bash configure --enable-option-checking=fatal --enable-option-checking=fatal --with-toolchain-version=2015 --with-boot-jdk="/cygdrive/c/Program Files/Java/jdk-11.0.5" --disable-warnings-as-errors
|
||||||
|
make images
|
||||||
|
```
|
||||||
|
|
||||||
## OSX
|
## OSX
|
||||||
#### TBD
|
|
||||||
|
install Xcode console tools, autoconf (via homebrew)
|
||||||
|
|
||||||
|
run
|
||||||
|
|
||||||
|
```
|
||||||
|
sh ./configure --prefix=$(pwd)/build --disable-warnings-as-errors
|
||||||
|
make images
|
||||||
|
```
|
||||||
|
|
||||||
## Contribution
|
## Contribution
|
||||||
We will be happy to receive your pull requests. Before you submit one, please sign our Contributor License Agreement (CLA) https://www.jetbrains.com/agreements/cla/
|
We will be happy to receive your pull requests. Before you submit one, please sign our Contributor License Agreement (CLA) https://www.jetbrains.com/agreements/cla/
|
||||||
|
|||||||
@@ -369,10 +369,10 @@ CC: Sun C++ 5.13 SunOS_i386 151846-10 2015/10/30</code></pre>
|
|||||||
<p>On Linux you can also get a JDK from the Linux distribution. On apt-based distros (like Debian and Ubuntu), <code>sudo apt-get install openjdk-<VERSION>-jdk</code> is typically enough to install a JDK <VERSION>. On rpm-based distros (like Fedora and Red Hat), try <code>sudo yum install java-<VERSION>-openjdk-devel</code>.</p>
|
<p>On Linux you can also get a JDK from the Linux distribution. On apt-based distros (like Debian and Ubuntu), <code>sudo apt-get install openjdk-<VERSION>-jdk</code> is typically enough to install a JDK <VERSION>. On rpm-based distros (like Fedora and Red Hat), try <code>sudo yum install java-<VERSION>-openjdk-devel</code>.</p>
|
||||||
<h2 id="external-library-requirements">External Library Requirements</h2>
|
<h2 id="external-library-requirements">External Library Requirements</h2>
|
||||||
<p>Different platforms require different external libraries. In general, libraries are not optional - that is, they are either required or not used.</p>
|
<p>Different platforms require different external libraries. In general, libraries are not optional - that is, they are either required or not used.</p>
|
||||||
<p>If a required library is not detected by <code>configure</code>, you need to provide the path to it. There are two forms of the <code>configure</code> arguments to point to an external library: <code>--with-<LIB>=<path></code> or <code>--with-<LIB>-include=<path to include> --with-<LIB>-lib=<path to lib></code>. The first variant is more concise, but require the include files an library files to reside in a default hierarchy under this directory. In most cases, it works fine.</p>
|
<p>If a required library is not detected by <code>configure</code>, you need to provide the path to it. There are two forms of the <code>configure</code> arguments to point to an external library: <code>--with-<LIB>=<path></code> or <code>--with-<LIB>-include=<path to include> --with-<LIB>-lib=<path to lib></code>. The first variant is more concise, but require the include files and library files to reside in a default hierarchy under this directory. In most cases, it works fine.</p>
|
||||||
<p>As a fallback, the second version allows you to point to the include directory and the lib directory separately.</p>
|
<p>As a fallback, the second version allows you to point to the include directory and the lib directory separately.</p>
|
||||||
<h3 id="freetype">FreeType</h3>
|
<h3 id="freetype">FreeType</h3>
|
||||||
<p>FreeType2 from <a href="http://www.freetype.org/">The FreeType Project</a> is not required on any platform. The exception is on Unix-based platforms when configuring such that the build artifacts will reference a system installed library, rather than bundling the JDK’s own copy.</p>
|
<p>FreeType2 from <a href="http://www.freetype.org/">The FreeType Project</a> is not required on any platform. The exception is on Unix-based platforms when configuring such that the build artifacts will reference a system installed library, rather than bundling the JDK's own copy.</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>To install on an apt-based Linux, try running <code>sudo apt-get install libfreetype6-dev</code>.</li>
|
<li>To install on an apt-based Linux, try running <code>sudo apt-get install libfreetype6-dev</code>.</li>
|
||||||
<li>To install on an rpm-based Linux, try running <code>sudo yum install freetype-devel</code>.</li>
|
<li>To install on an rpm-based Linux, try running <code>sudo yum install freetype-devel</code>.</li>
|
||||||
@@ -433,7 +433,7 @@ CC: Sun C++ 5.13 SunOS_i386 151846-10 2015/10/30</code></pre>
|
|||||||
<p>To build the JDK, you need a "configuration", which consists of a directory where to store the build output, coupled with information about the platform, the specific build machine, and choices that affect how the JDK is built.</p>
|
<p>To build the JDK, you need a "configuration", which consists of a directory where to store the build output, coupled with information about the platform, the specific build machine, and choices that affect how the JDK is built.</p>
|
||||||
<p>The configuration is created by the <code>configure</code> script. The basic invocation of the <code>configure</code> script looks like this:</p>
|
<p>The configuration is created by the <code>configure</code> script. The basic invocation of the <code>configure</code> script looks like this:</p>
|
||||||
<pre><code>bash configure [options]</code></pre>
|
<pre><code>bash configure [options]</code></pre>
|
||||||
<p>This will create an output directory containing the configuration and setup an area for the build result. This directory typically looks like <code>build/linux-x64-normal-server-release</code>, but the actual name depends on your specific configuration. (It can also be set directly, see <a href="#using-multiple-configurations">Using Multiple Configurations</a>). This directory is referred to as <code>$BUILD</code> in this documentation.</p>
|
<p>This will create an output directory containing the configuration and setup an area for the build result. This directory typically looks like <code>build/linux-x64-server-release</code>, but the actual name depends on your specific configuration. (It can also be set directly, see <a href="#using-multiple-configurations">Using Multiple Configurations</a>). This directory is referred to as <code>$BUILD</code> in this documentation.</p>
|
||||||
<p><code>configure</code> will try to figure out what system you are running on and where all necessary build components are. If you have all prerequisites for building installed, it should find everything. If it fails to detect any component automatically, it will exit and inform you about the problem.</p>
|
<p><code>configure</code> will try to figure out what system you are running on and where all necessary build components are. If you have all prerequisites for building installed, it should find everything. If it fails to detect any component automatically, it will exit and inform you about the problem.</p>
|
||||||
<p>Some command line examples:</p>
|
<p>Some command line examples:</p>
|
||||||
<ul>
|
<ul>
|
||||||
|
|||||||
@@ -436,8 +436,8 @@ If a required library is not detected by `configure`, you need to provide the
|
|||||||
path to it. There are two forms of the `configure` arguments to point to an
|
path to it. There are two forms of the `configure` arguments to point to an
|
||||||
external library: `--with-<LIB>=<path>` or `--with-<LIB>-include=<path to
|
external library: `--with-<LIB>=<path>` or `--with-<LIB>-include=<path to
|
||||||
include> --with-<LIB>-lib=<path to lib>`. The first variant is more concise,
|
include> --with-<LIB>-lib=<path to lib>`. The first variant is more concise,
|
||||||
but require the include files an library files to reside in a default hierarchy
|
but require the include files and library files to reside in a default
|
||||||
under this directory. In most cases, it works fine.
|
hierarchy under this directory. In most cases, it works fine.
|
||||||
|
|
||||||
As a fallback, the second version allows you to point to the include directory
|
As a fallback, the second version allows you to point to the include directory
|
||||||
and the lib directory separately.
|
and the lib directory separately.
|
||||||
@@ -447,7 +447,7 @@ and the lib directory separately.
|
|||||||
FreeType2 from [The FreeType Project](http://www.freetype.org/) is not required
|
FreeType2 from [The FreeType Project](http://www.freetype.org/) is not required
|
||||||
on any platform. The exception is on Unix-based platforms when configuring such
|
on any platform. The exception is on Unix-based platforms when configuring such
|
||||||
that the build artifacts will reference a system installed library,
|
that the build artifacts will reference a system installed library,
|
||||||
rather than bundling the JDK’s own copy.
|
rather than bundling the JDK's own copy.
|
||||||
|
|
||||||
* To install on an apt-based Linux, try running `sudo apt-get install
|
* To install on an apt-based Linux, try running `sudo apt-get install
|
||||||
libfreetype6-dev`.
|
libfreetype6-dev`.
|
||||||
@@ -586,8 +586,8 @@ bash configure [options]
|
|||||||
|
|
||||||
This will create an output directory containing the configuration and setup an
|
This will create an output directory containing the configuration and setup an
|
||||||
area for the build result. This directory typically looks like
|
area for the build result. This directory typically looks like
|
||||||
`build/linux-x64-normal-server-release`, but the actual name depends on your
|
`build/linux-x64-server-release`, but the actual name depends on your specific
|
||||||
specific configuration. (It can also be set directly, see [Using Multiple
|
configuration. (It can also be set directly, see [Using Multiple
|
||||||
Configurations](#using-multiple-configurations)). This directory is referred to
|
Configurations](#using-multiple-configurations)). This directory is referred to
|
||||||
as `$BUILD` in this documentation.
|
as `$BUILD` in this documentation.
|
||||||
|
|
||||||
|
|||||||
54
doc/ide.html
Normal file
54
doc/ide.html
Normal file
@@ -0,0 +1,54 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="" xml:lang="">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8" />
|
||||||
|
<meta name="generator" content="pandoc" />
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
|
||||||
|
<title>IDE support in the JDK</title>
|
||||||
|
<style type="text/css">
|
||||||
|
code{white-space: pre-wrap;}
|
||||||
|
span.smallcaps{font-variant: small-caps;}
|
||||||
|
span.underline{text-decoration: underline;}
|
||||||
|
div.column{display: inline-block; vertical-align: top; width: 50%;}
|
||||||
|
</style>
|
||||||
|
<link rel="stylesheet" href="../make/data/docs-resources/resources/jdk-default.css" />
|
||||||
|
<!--[if lt IE 9]>
|
||||||
|
<script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script>
|
||||||
|
<![endif]-->
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<header id="title-block-header">
|
||||||
|
<h1 class="title">IDE support in the JDK</h1>
|
||||||
|
</header>
|
||||||
|
<nav id="TOC">
|
||||||
|
<ul>
|
||||||
|
<li><a href="#introduction">Introduction</a><ul>
|
||||||
|
<li><a href="#ide-support-for-native-code">IDE support for native code</a></li>
|
||||||
|
<li><a href="#ide-support-for-java-code">IDE support for Java code</a></li>
|
||||||
|
</ul></li>
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
<h2 id="introduction">Introduction</h2>
|
||||||
|
<p>When you are familiar with building and testing the JDK, you may want to configure an IDE to work with the source code. The instructions differ a bit depending on whether you are interested in working with the native (C/C++) or the Java code.</p>
|
||||||
|
<h3 id="ide-support-for-native-code">IDE support for native code</h3>
|
||||||
|
<p>There are a few ways to generate IDE configuration for the native sources, depending on which IDE to use.</p>
|
||||||
|
<h4 id="visual-studio-code">Visual Studio Code</h4>
|
||||||
|
<p>The make system can generate a <a href="https://code.visualstudio.com">Visual Studio Code</a> workspace that has C/C++ source indexing configured correctly, as well as launcher targets for tests and the Java launcher. After configuring, a workspace for the configuration can be generated using:</p>
|
||||||
|
<pre class="shell"><code>make vscode-project</code></pre>
|
||||||
|
<p>This creates a file called <code>jdk.code-workspace</code> in the build output folder. The full location will be printed after the workspace has been generated. To use it, choose <code>File -> Open Workspace...</code> in Visual Studio Code.</p>
|
||||||
|
<h5 id="alternative-indexers">Alternative indexers</h5>
|
||||||
|
<p>The main <code>vscode-project</code> target configures the default C++ support in Visual Studio Code. There are also other source indexers that can be installed, that may provide additional features. It's currently possible to generate configuration for two such indexers, <a href="https://clang.llvm.org/extra/clangd/">clangd</a> and <a href="https://github.com/Andersbakken/rtags">rtags</a>. These can be configured by appending the name of the indexer to the make target, such as:</p>
|
||||||
|
<pre class="shell"><code>make vscode-project-clangd</code></pre>
|
||||||
|
<p>Additional instructions for configuring the given indexer will be displayed after the workspace has been generated.</p>
|
||||||
|
<h4 id="visual-studio">Visual Studio</h4>
|
||||||
|
<p>This section is a work in progress.</p>
|
||||||
|
<pre class="shell"><code>make ide-project</code></pre>
|
||||||
|
<h4 id="compilation-database">Compilation Database</h4>
|
||||||
|
<p>The make system can generate generic native code indexing support in the form of a <a href="https://clang.llvm.org/docs/JSONCompilationDatabase.html">Compilation Database</a> that can be used by many different IDEs and source code indexers.</p>
|
||||||
|
<pre class="shell"><code>make compile-commands</code></pre>
|
||||||
|
<p>It's also possible to generate the Compilation Database for the HotSpot source code only, which is a bit faster as it includes less information.</p>
|
||||||
|
<pre class="shell"><code>make compile-commands-hotspot</code></pre>
|
||||||
|
<h3 id="ide-support-for-java-code">IDE support for Java code</h3>
|
||||||
|
<p>This section is a work in progress.</p>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
73
doc/ide.md
Normal file
73
doc/ide.md
Normal file
@@ -0,0 +1,73 @@
|
|||||||
|
% IDE support in the JDK
|
||||||
|
|
||||||
|
## Introduction
|
||||||
|
|
||||||
|
When you are familiar with building and testing the JDK, you may want to
|
||||||
|
configure an IDE to work with the source code. The instructions differ a bit
|
||||||
|
depending on whether you are interested in working with the native (C/C++) or
|
||||||
|
the Java code.
|
||||||
|
|
||||||
|
### IDE support for native code
|
||||||
|
|
||||||
|
There are a few ways to generate IDE configuration for the native sources,
|
||||||
|
depending on which IDE to use.
|
||||||
|
|
||||||
|
#### Visual Studio Code
|
||||||
|
|
||||||
|
The make system can generate a [Visual Studio Code](https://code.visualstudio.com)
|
||||||
|
workspace that has C/C++ source indexing configured correctly, as well as
|
||||||
|
launcher targets for tests and the Java launcher. After configuring, a workspace
|
||||||
|
for the configuration can be generated using:
|
||||||
|
|
||||||
|
```shell
|
||||||
|
make vscode-project
|
||||||
|
```
|
||||||
|
|
||||||
|
This creates a file called `jdk.code-workspace` in the build output folder. The
|
||||||
|
full location will be printed after the workspace has been generated. To use it,
|
||||||
|
choose `File -> Open Workspace...` in Visual Studio Code.
|
||||||
|
|
||||||
|
##### Alternative indexers
|
||||||
|
|
||||||
|
The main `vscode-project` target configures the default C++ support in Visual
|
||||||
|
Studio Code. There are also other source indexers that can be installed, that
|
||||||
|
may provide additional features. It's currently possible to generate
|
||||||
|
configuration for two such indexers, [clangd](https://clang.llvm.org/extra/clangd/)
|
||||||
|
and [rtags](https://github.com/Andersbakken/rtags). These can be configured by
|
||||||
|
appending the name of the indexer to the make target, such as:
|
||||||
|
|
||||||
|
```shell
|
||||||
|
make vscode-project-clangd
|
||||||
|
```
|
||||||
|
|
||||||
|
Additional instructions for configuring the given indexer will be displayed
|
||||||
|
after the workspace has been generated.
|
||||||
|
|
||||||
|
#### Visual Studio
|
||||||
|
|
||||||
|
This section is a work in progress.
|
||||||
|
|
||||||
|
```shell
|
||||||
|
make ide-project
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Compilation Database
|
||||||
|
|
||||||
|
The make system can generate generic native code indexing support in the form of
|
||||||
|
a [Compilation Database](https://clang.llvm.org/docs/JSONCompilationDatabase.html)
|
||||||
|
that can be used by many different IDEs and source code indexers.
|
||||||
|
|
||||||
|
```shell
|
||||||
|
make compile-commands
|
||||||
|
```
|
||||||
|
|
||||||
|
It's also possible to generate the Compilation Database for the HotSpot source
|
||||||
|
code only, which is a bit faster as it includes less information.
|
||||||
|
|
||||||
|
```shell
|
||||||
|
make compile-commands-hotspot
|
||||||
|
```
|
||||||
|
|
||||||
|
### IDE support for Java code
|
||||||
|
|
||||||
|
This section is a work in progress.
|
||||||
@@ -11,14 +11,14 @@
|
|||||||
span.underline{text-decoration: underline;}
|
span.underline{text-decoration: underline;}
|
||||||
div.column{display: inline-block; vertical-align: top; width: 50%;}
|
div.column{display: inline-block; vertical-align: top; width: 50%;}
|
||||||
</style>
|
</style>
|
||||||
<link rel="stylesheet" href="../make/data/docs-resources/resources/jdk-default.css">
|
<link rel="stylesheet" href="../make/data/docs-resources/resources/jdk-default.css" />
|
||||||
<!--[if lt IE 9]>
|
<!--[if lt IE 9]>
|
||||||
<script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script>
|
<script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script>
|
||||||
<![endif]-->
|
<![endif]-->
|
||||||
<style type="text/css">pre, code, tt { color: #1d6ae5; }</style>
|
<style type="text/css">pre, code, tt { color: #1d6ae5; }</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<header>
|
<header id="title-block-header">
|
||||||
<h1 class="title">Testing the JDK</h1>
|
<h1 class="title">Testing the JDK</h1>
|
||||||
</header>
|
</header>
|
||||||
<nav id="TOC">
|
<nav id="TOC">
|
||||||
@@ -32,9 +32,14 @@
|
|||||||
</ul></li>
|
</ul></li>
|
||||||
<li><a href="#test-results-and-summary">Test results and summary</a></li>
|
<li><a href="#test-results-and-summary">Test results and summary</a></li>
|
||||||
<li><a href="#test-suite-control">Test suite control</a><ul>
|
<li><a href="#test-suite-control">Test suite control</a><ul>
|
||||||
|
<li><a href="#general-keywords-test_opts">General keywords (TEST_OPTS)</a></li>
|
||||||
<li><a href="#jtreg-keywords">JTReg keywords</a></li>
|
<li><a href="#jtreg-keywords">JTReg keywords</a></li>
|
||||||
<li><a href="#gtest-keywords">Gtest keywords</a></li>
|
<li><a href="#gtest-keywords">Gtest keywords</a></li>
|
||||||
</ul></li>
|
</ul></li>
|
||||||
|
<li><a href="#notes-for-specific-tests">Notes for Specific Tests</a><ul>
|
||||||
|
<li><a href="#docker-tests">Docker Tests</a></li>
|
||||||
|
<li><a href="#client-ui-tests">Client UI Tests</a></li>
|
||||||
|
</ul></li>
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
<h2 id="using-the-run-test-framework">Using the run-test framework</h2>
|
<h2 id="using-the-run-test-framework">Using the run-test framework</h2>
|
||||||
@@ -86,11 +91,24 @@ TEST FAILURE</code></pre>
|
|||||||
<p>To separate multiple keyword=value pairs, use <code>;</code> (semicolon). Since the shell normally eats <code>;</code>, the recommended usage is to write the assignment inside qoutes, e.g. <code>JTREG="...;..."</code>. This will also make sure spaces are preserved, as in <code>JTREG="VM_OPTIONS=-XshowSettings -Xlog:gc+ref=debug"</code>.</p>
|
<p>To separate multiple keyword=value pairs, use <code>;</code> (semicolon). Since the shell normally eats <code>;</code>, the recommended usage is to write the assignment inside qoutes, e.g. <code>JTREG="...;..."</code>. This will also make sure spaces are preserved, as in <code>JTREG="VM_OPTIONS=-XshowSettings -Xlog:gc+ref=debug"</code>.</p>
|
||||||
<p>(Other ways are possible, e.g. using backslash: <code>JTREG=JOBS=1\;TIMEOUT=8</code>. Also, as a special technique, the string <code>%20</code> will be replaced with space for certain options, e.g. <code>JTREG=VM_OPTIONS=-XshowSettings%20-Xlog:gc+ref=debug</code>. This can be useful if you have layers of scripts and have trouble getting proper quoting of command line arguments through.)</p>
|
<p>(Other ways are possible, e.g. using backslash: <code>JTREG=JOBS=1\;TIMEOUT=8</code>. Also, as a special technique, the string <code>%20</code> will be replaced with space for certain options, e.g. <code>JTREG=VM_OPTIONS=-XshowSettings%20-Xlog:gc+ref=debug</code>. This can be useful if you have layers of scripts and have trouble getting proper quoting of command line arguments through.)</p>
|
||||||
<p>As far as possible, the names of the keywords have been standardized between test suites.</p>
|
<p>As far as possible, the names of the keywords have been standardized between test suites.</p>
|
||||||
<h3 id="jtreg-keywords">JTReg keywords</h3>
|
<h3 id="general-keywords-test_opts">General keywords (TEST_OPTS)</h3>
|
||||||
|
<p>Some keywords are valid across different test suites. If you want to run tests from multiple test suites, or just don’t want to care which test suite specific control variable to use, then you can use the general TEST_OPTS control variable.</p>
|
||||||
|
<p>There are also some keywords that applies globally to the test runner system, not to any specific test suites. These are also available as TEST_OPTS keywords.</p>
|
||||||
<h4 id="jobs">JOBS</h4>
|
<h4 id="jobs">JOBS</h4>
|
||||||
|
<p>Currently only applies to JTReg.</p>
|
||||||
|
<h4 id="timeout_factor">TIMEOUT_FACTOR</h4>
|
||||||
|
<p>Currently only applies to JTReg.</p>
|
||||||
|
<h4 id="vm_options">VM_OPTIONS</h4>
|
||||||
|
<p>Applies to JTReg, GTest and Micro.</p>
|
||||||
|
<h4 id="java_options">JAVA_OPTIONS</h4>
|
||||||
|
<p>Applies to JTReg, GTest and Micro.</p>
|
||||||
|
<h4 id="aot_modules">AOT_MODULES</h4>
|
||||||
|
<p>Applies to JTReg and GTest.</p>
|
||||||
|
<h3 id="jtreg-keywords">JTReg keywords</h3>
|
||||||
|
<h4 id="jobs-1">JOBS</h4>
|
||||||
<p>The test concurrency (<code>-concurrency</code>).</p>
|
<p>The test concurrency (<code>-concurrency</code>).</p>
|
||||||
<p>Defaults to TEST_JOBS (if set by <code>--with-test-jobs=</code>), otherwise it defaults to JOBS, except for Hotspot, where the default is <em>number of CPU cores/2</em>, but never more than 12.</p>
|
<p>Defaults to TEST_JOBS (if set by <code>--with-test-jobs=</code>), otherwise it defaults to JOBS, except for Hotspot, where the default is <em>number of CPU cores/2</em>, but never more than 12.</p>
|
||||||
<h4 id="timeout">TIMEOUT</h4>
|
<h4 id="timeout_factor-1">TIMEOUT_FACTOR</h4>
|
||||||
<p>The timeout factor (<code>-timeoutFactor</code>).</p>
|
<p>The timeout factor (<code>-timeoutFactor</code>).</p>
|
||||||
<p>Defaults to 4.</p>
|
<p>Defaults to 4.</p>
|
||||||
<h4 id="test_mode">TEST_MODE</h4>
|
<h4 id="test_mode">TEST_MODE</h4>
|
||||||
@@ -109,13 +127,21 @@ TEST FAILURE</code></pre>
|
|||||||
<p>Limit memory consumption (<code>-Xmx</code> and <code>-vmoption:-Xmx</code>, or none).</p>
|
<p>Limit memory consumption (<code>-Xmx</code> and <code>-vmoption:-Xmx</code>, or none).</p>
|
||||||
<p>Limit memory consumption for JTReg test framework and VM under test. Set to 0 to disable the limits.</p>
|
<p>Limit memory consumption for JTReg test framework and VM under test. Set to 0 to disable the limits.</p>
|
||||||
<p>Defaults to 512m, except for hotspot, where it defaults to 0 (no limit).</p>
|
<p>Defaults to 512m, except for hotspot, where it defaults to 0 (no limit).</p>
|
||||||
|
<h4 id="keywords">KEYWORDS</h4>
|
||||||
|
<p>JTReg kewords sent to JTReg using <code>-k</code>. Please be careful in making sure that spaces and special characters (like <code>!</code>) are properly quoted. To avoid some issues, the special value <code>%20</code> can be used instead of space.</p>
|
||||||
|
<h4 id="extra_problem_lists">EXTRA_PROBLEM_LISTS</h4>
|
||||||
|
<p>Use additional problem lists file or files, in addition to the default ProblemList.txt located at the JTReg test roots.</p>
|
||||||
|
<p>If multiple file names are specified, they should be separated by space (or, to help avoid quoting issues, the special value <code>%20</code>).</p>
|
||||||
|
<p>The file names should be either absolute, or relative to the JTReg test root of the tests to be run.</p>
|
||||||
<h4 id="options">OPTIONS</h4>
|
<h4 id="options">OPTIONS</h4>
|
||||||
<p>Additional options to the JTReg test framework.</p>
|
<p>Additional options to the JTReg test framework.</p>
|
||||||
<p>Use <code>JTREG="OPTIONS=--help all"</code> to see all available JTReg options.</p>
|
<p>Use <code>JTREG="OPTIONS=--help all"</code> to see all available JTReg options.</p>
|
||||||
<h4 id="java_options">JAVA_OPTIONS</h4>
|
<h4 id="java_options-1">JAVA_OPTIONS</h4>
|
||||||
<p>Additional Java options to JTReg (<code>-javaoption</code>).</p>
|
<p>Additional Java options to JTReg (<code>-javaoption</code>).</p>
|
||||||
<h4 id="vm_options">VM_OPTIONS</h4>
|
<h4 id="vm_options-1">VM_OPTIONS</h4>
|
||||||
<p>Additional VM options to JTReg (<code>-vmoption</code>).</p>
|
<p>Additional VM options to JTReg (<code>-vmoption</code>).</p>
|
||||||
|
<h4 id="aot_modules-1">AOT_MODULES</h4>
|
||||||
|
<p>Generate AOT modules before testing for the specified module, or set of modules. If multiple modules are specified, they should be separated by space (or, to help avoid quoting issues, the special value <code>%20</code>).</p>
|
||||||
<h3 id="gtest-keywords">Gtest keywords</h3>
|
<h3 id="gtest-keywords">Gtest keywords</h3>
|
||||||
<h4 id="repeat">REPEAT</h4>
|
<h4 id="repeat">REPEAT</h4>
|
||||||
<p>The number of times to repeat the tests (<code>--gtest_repeat</code>).</p>
|
<p>The number of times to repeat the tests (<code>--gtest_repeat</code>).</p>
|
||||||
@@ -123,5 +149,23 @@ TEST FAILURE</code></pre>
|
|||||||
<h4 id="options-1">OPTIONS</h4>
|
<h4 id="options-1">OPTIONS</h4>
|
||||||
<p>Additional options to the Gtest test framework.</p>
|
<p>Additional options to the Gtest test framework.</p>
|
||||||
<p>Use <code>GTEST="OPTIONS=--help"</code> to see all available Gtest options.</p>
|
<p>Use <code>GTEST="OPTIONS=--help"</code> to see all available Gtest options.</p>
|
||||||
|
<h4 id="aot_modules-2">AOT_MODULES</h4>
|
||||||
|
<p>Generate AOT modules before testing for the specified module, or set of modules. If multiple modules are specified, they should be separated by space (or, to help avoid quoting issues, the special value <code>%20</code>).</p>
|
||||||
|
<h2 id="notes-for-specific-tests">Notes for Specific Tests</h2>
|
||||||
|
<h3 id="docker-tests">Docker Tests</h3>
|
||||||
|
<p>Docker tests with default parameters may fail on systems with glibc versions not compatible with the one used in the default docker image (e.g., Oracle Linux 7.6 for x86). For example, they pass on Ubuntu 16.04 but fail on Ubuntu 18.04 if run like this on x86:</p>
|
||||||
|
<pre><code>$ make run-test TEST="jtreg:test/hotspot/jtreg/containers/docker"</code></pre>
|
||||||
|
<p>To run these tests correctly, additional parameters for the correct docker image are required on Ubuntu 18.04 by using <code>JAVA_OPTIONS</code>.</p>
|
||||||
|
<pre><code>$ make run-test TEST="jtreg:test/hotspot/jtreg/containers/docker" JTREG="JAVA_OPTIONS=-Djdk.test.docker.image.name=ubuntu -Djdk.test.docker.image.version=latest"</code></pre>
|
||||||
|
<h3 id="client-ui-tests">Client UI Tests</h3>
|
||||||
|
<p>Some Client UI tests use key sequences which may be reserved by the operating system. Usually that causes the test failure. So it is highly recommended to disable system key shortcuts prior testing. The steps to access and disable system key shortcuts for various platforms are provided below.</p>
|
||||||
|
<h4 id="macos">MacOS</h4>
|
||||||
|
<p>Choose Apple menu; System Preferences, click Keyboard, then click Shortcuts; select or deselect desired shortcut.</p>
|
||||||
|
<p>For example, test/jdk/javax/swing/TooltipManager/JMenuItemToolTipKeyBindingsTest/JMenuItemToolTipKeyBindingsTest.java fails on MacOS because it uses <code>CTRL + F1</code> key sequence to show or hide tooltip message but the key combination is reserved by the operating system. To run the test correctly the default global key shortcut should be disabled using the steps described above, and then deselect “Turn keyboard access on or off” option which is responsible for <code>CTRL + F1</code> combination.</p>
|
||||||
|
<h4 id="linux">Linux</h4>
|
||||||
|
<p>Open the Activities overview and start typing Settings; Choose Settings, click Devices, then click Keyboard; set or override desired shortcut.</p>
|
||||||
|
<h4 id="windows">Windows</h4>
|
||||||
|
<p>Type <code>gpedit</code> in the Search and then click Edit group policy; navigate to User Configuration -> Administrative Templates -> Windows Components -> File Explorer; in the right-side pane look for “Turn off Windows key hotkeys” and double click on it; enable or disable hotkeys.</p>
|
||||||
|
<p>Note: restart is required to make the settings take effect.</p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
105
doc/testing.md
105
doc/testing.md
@@ -162,6 +162,35 @@ proper quoting of command line arguments through.)
|
|||||||
As far as possible, the names of the keywords have been standardized between
|
As far as possible, the names of the keywords have been standardized between
|
||||||
test suites.
|
test suites.
|
||||||
|
|
||||||
|
### General keywords (TEST_OPTS)
|
||||||
|
|
||||||
|
Some keywords are valid across different test suites. If you want to run
|
||||||
|
tests from multiple test suites, or just don't want to care which test suite specific
|
||||||
|
control variable to use, then you can use the general TEST_OPTS control variable.
|
||||||
|
|
||||||
|
There are also some keywords that applies globally to the test runner system,
|
||||||
|
not to any specific test suites. These are also available as TEST_OPTS keywords.
|
||||||
|
|
||||||
|
#### JOBS
|
||||||
|
|
||||||
|
Currently only applies to JTReg.
|
||||||
|
|
||||||
|
#### TIMEOUT_FACTOR
|
||||||
|
|
||||||
|
Currently only applies to JTReg.
|
||||||
|
|
||||||
|
#### VM_OPTIONS
|
||||||
|
|
||||||
|
Applies to JTReg, GTest and Micro.
|
||||||
|
|
||||||
|
#### JAVA_OPTIONS
|
||||||
|
|
||||||
|
Applies to JTReg, GTest and Micro.
|
||||||
|
|
||||||
|
#### AOT_MODULES
|
||||||
|
|
||||||
|
Applies to JTReg and GTest.
|
||||||
|
|
||||||
### JTReg keywords
|
### JTReg keywords
|
||||||
|
|
||||||
#### JOBS
|
#### JOBS
|
||||||
@@ -171,7 +200,7 @@ Defaults to TEST_JOBS (if set by `--with-test-jobs=`), otherwise it defaults to
|
|||||||
JOBS, except for Hotspot, where the default is *number of CPU cores/2*, but
|
JOBS, except for Hotspot, where the default is *number of CPU cores/2*, but
|
||||||
never more than 12.
|
never more than 12.
|
||||||
|
|
||||||
#### TIMEOUT
|
#### TIMEOUT_FACTOR
|
||||||
The timeout factor (`-timeoutFactor`).
|
The timeout factor (`-timeoutFactor`).
|
||||||
|
|
||||||
Defaults to 4.
|
Defaults to 4.
|
||||||
@@ -205,6 +234,24 @@ to disable the limits.
|
|||||||
|
|
||||||
Defaults to 512m, except for hotspot, where it defaults to 0 (no limit).
|
Defaults to 512m, except for hotspot, where it defaults to 0 (no limit).
|
||||||
|
|
||||||
|
#### KEYWORDS
|
||||||
|
|
||||||
|
JTReg kewords sent to JTReg using `-k`. Please be careful in making sure that
|
||||||
|
spaces and special characters (like `!`) are properly quoted. To avoid some
|
||||||
|
issues, the special value `%20` can be used instead of space.
|
||||||
|
|
||||||
|
#### EXTRA_PROBLEM_LISTS
|
||||||
|
|
||||||
|
Use additional problem lists file or files, in addition to the default
|
||||||
|
ProblemList.txt located at the JTReg test roots.
|
||||||
|
|
||||||
|
If multiple file names are specified, they should be separated by space (or, to
|
||||||
|
help avoid quoting issues, the special value `%20`).
|
||||||
|
|
||||||
|
The file names should be either absolute, or relative to the JTReg test root of
|
||||||
|
the tests to be run.
|
||||||
|
|
||||||
|
|
||||||
#### OPTIONS
|
#### OPTIONS
|
||||||
Additional options to the JTReg test framework.
|
Additional options to the JTReg test framework.
|
||||||
|
|
||||||
@@ -216,6 +263,12 @@ Additional Java options to JTReg (`-javaoption`).
|
|||||||
#### VM_OPTIONS
|
#### VM_OPTIONS
|
||||||
Additional VM options to JTReg (`-vmoption`).
|
Additional VM options to JTReg (`-vmoption`).
|
||||||
|
|
||||||
|
#### AOT_MODULES
|
||||||
|
|
||||||
|
Generate AOT modules before testing for the specified module, or set of
|
||||||
|
modules. If multiple modules are specified, they should be separated by space
|
||||||
|
(or, to help avoid quoting issues, the special value `%20`).
|
||||||
|
|
||||||
### Gtest keywords
|
### Gtest keywords
|
||||||
|
|
||||||
#### REPEAT
|
#### REPEAT
|
||||||
@@ -230,6 +283,56 @@ Additional options to the Gtest test framework.
|
|||||||
|
|
||||||
Use `GTEST="OPTIONS=--help"` to see all available Gtest options.
|
Use `GTEST="OPTIONS=--help"` to see all available Gtest options.
|
||||||
|
|
||||||
|
#### AOT_MODULES
|
||||||
|
|
||||||
|
Generate AOT modules before testing for the specified module, or set of
|
||||||
|
modules. If multiple modules are specified, they should be separated by space
|
||||||
|
(or, to help avoid quoting issues, the special value `%20`).
|
||||||
|
|
||||||
|
## Notes for Specific Tests
|
||||||
|
|
||||||
|
### Docker Tests
|
||||||
|
|
||||||
|
Docker tests with default parameters may fail on systems with glibc versions not
|
||||||
|
compatible with the one used in the default docker image (e.g., Oracle Linux 7.6 for x86).
|
||||||
|
For example, they pass on Ubuntu 16.04 but fail on Ubuntu 18.04 if run like this on x86:
|
||||||
|
|
||||||
|
$ make run-test TEST="jtreg:test/hotspot/jtreg/containers/docker"
|
||||||
|
|
||||||
|
To run these tests correctly, additional parameters for the correct docker image are
|
||||||
|
required on Ubuntu 18.04 by using `JAVA_OPTIONS`.
|
||||||
|
|
||||||
|
$ make run-test TEST="jtreg:test/hotspot/jtreg/containers/docker" JTREG="JAVA_OPTIONS=-Djdk.test.docker.image.name=ubuntu -Djdk.test.docker.image.version=latest"
|
||||||
|
|
||||||
|
### Client UI Tests
|
||||||
|
|
||||||
|
Some Client UI tests use key sequences which may be reserved by the operating
|
||||||
|
system. Usually that causes the test failure. So it is highly recommended to disable
|
||||||
|
system key shortcuts prior testing. The steps to access and disable system key shortcuts
|
||||||
|
for various platforms are provided below.
|
||||||
|
|
||||||
|
#### MacOS
|
||||||
|
Choose Apple menu; System Preferences, click Keyboard, then click Shortcuts;
|
||||||
|
select or deselect desired shortcut.
|
||||||
|
|
||||||
|
For example, test/jdk/javax/swing/TooltipManager/JMenuItemToolTipKeyBindingsTest/JMenuItemToolTipKeyBindingsTest.java fails
|
||||||
|
on MacOS because it uses `CTRL + F1` key sequence to show or hide tooltip message
|
||||||
|
but the key combination is reserved by the operating system. To run the test correctly
|
||||||
|
the default global key shortcut should be disabled using the steps described above, and then deselect
|
||||||
|
"Turn keyboard access on or off" option which is responsible for `CTRL + F1` combination.
|
||||||
|
|
||||||
|
#### Linux
|
||||||
|
Open the Activities overview and start typing Settings; Choose Settings, click Devices,
|
||||||
|
then click Keyboard; set or override desired shortcut.
|
||||||
|
|
||||||
|
#### Windows
|
||||||
|
Type `gpedit` in the Search and then click Edit group policy; navigate to
|
||||||
|
User Configuration -> Administrative Templates -> Windows Components -> File Explorer;
|
||||||
|
in the right-side pane look for "Turn off Windows key hotkeys" and double click on it;
|
||||||
|
enable or disable hotkeys.
|
||||||
|
|
||||||
|
Note: restart is required to make the settings take effect.
|
||||||
|
|
||||||
---
|
---
|
||||||
# Override some definitions in the global css file that are not optimal for
|
# Override some definitions in the global css file that are not optimal for
|
||||||
# this document.
|
# this document.
|
||||||
|
|||||||
@@ -1,9 +1,10 @@
|
|||||||
|
# jetbrains/runtime:jbr11dev8env
|
||||||
FROM centos:7
|
FROM centos:7
|
||||||
|
RUN yum -y install centos-release-scl
|
||||||
RUN yum -y install zip bzip2 unzip tar wget make autoconf automake libtool gcc gcc-c++ libstdc++-devel alsa-devel cups-devel xorg-x11-devel libjpeg62-devel giflib-devel freetype-devel file which libXtst-devel libXt-devel libXrender-devel alsa-lib-devel fontconfig-devel
|
RUN yum -y install devtoolset-8
|
||||||
|
RUN yum -y install zip bzip2 unzip tar wget make autoconf automake libtool alsa-devel cups-devel xorg-x11-devel libjpeg62-devel giflib-devel freetype-devel file which libXtst-devel libXt-devel libXrender-devel alsa-lib-devel fontconfig-devel libXrandr-devel libXi-devel git
|
||||||
# Install Java 11
|
# Install Java 11
|
||||||
RUN wget --no-check-certificate -q --no-cookies --header "Cookie: oraclelicense=accept-securebackup-cookie" "http://download.oracle.com/otn-pub/java/jdk/11.0.1+13/90cf5d8f270a4347a95050320eef3fb7/jdk-11.0.1_linux-x64_bin.tar.gz" \
|
RUN wget https://bintray.com/jetbrains/intellij-jbr/download_file?file_path=jbrsdk-11_0_3-linux-x64-b360.2.tar.gz \
|
||||||
-O - | tar xz -C /
|
-O - | tar xz -C /
|
||||||
ENV JAVA_HOME /jdk-11.0.1
|
ENV JAVA_HOME /jbrsdk
|
||||||
ENV PATH $JAVA_HOME/bin:$PATH
|
ENV PATH $JAVA_HOME/bin:/opt/rh/devtoolset-8/root/usr/bin:$PATH
|
||||||
|
|||||||
7
jb/project/docker/Dockerfile.x86
Normal file
7
jb/project/docker/Dockerfile.x86
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
FROM i386/ubuntu:xenial
|
||||||
|
|
||||||
|
RUN linux32 apt-get update && apt-get install -y --no-install-recommends apt-utils
|
||||||
|
COPY jbrsdk-11.0.5-b1 /jbrsdk-11.0.5-b1
|
||||||
|
RUN linux32 apt-get -y install file build-essential zip unzip curl libx11-dev libxext-dev \
|
||||||
|
libxrender-dev libxrandr-dev libxtst-dev libxt-dev libcups2-dev libasound2-data \
|
||||||
|
libpng12-0 libasound2 libfreetype6 libfontconfig1-dev libasound2-dev autoconf
|
||||||
@@ -495,7 +495,6 @@ set(SOURCE_FILES
|
|||||||
../../../src/hotspot/cpu/aarch64/vtableStubs_aarch64.cpp
|
../../../src/hotspot/cpu/aarch64/vtableStubs_aarch64.cpp
|
||||||
../../../src/hotspot/cpu/aarch64/relocInfo_aarch64.hpp
|
../../../src/hotspot/cpu/aarch64/relocInfo_aarch64.hpp
|
||||||
../../../src/hotspot/cpu/aarch64/vm_version_aarch64.hpp
|
../../../src/hotspot/cpu/aarch64/vm_version_aarch64.hpp
|
||||||
../../../src/hotspot/cpu/aarch64/cpustate_aarch64.hpp
|
|
||||||
../../../src/hotspot/cpu/aarch64/immediate_aarch64.cpp
|
../../../src/hotspot/cpu/aarch64/immediate_aarch64.cpp
|
||||||
../../../src/hotspot/cpu/aarch64/vmreg_aarch64.cpp
|
../../../src/hotspot/cpu/aarch64/vmreg_aarch64.cpp
|
||||||
../../../src/hotspot/cpu/aarch64/jniFastGetField_aarch64.cpp
|
../../../src/hotspot/cpu/aarch64/jniFastGetField_aarch64.cpp
|
||||||
@@ -520,7 +519,6 @@ set(SOURCE_FILES
|
|||||||
../../../src/hotspot/cpu/aarch64/c1_FrameMap_aarch64.hpp
|
../../../src/hotspot/cpu/aarch64/c1_FrameMap_aarch64.hpp
|
||||||
../../../src/hotspot/cpu/aarch64/templateTable_aarch64.cpp
|
../../../src/hotspot/cpu/aarch64/templateTable_aarch64.cpp
|
||||||
../../../src/hotspot/cpu/aarch64/vmStructs_aarch64.hpp
|
../../../src/hotspot/cpu/aarch64/vmStructs_aarch64.hpp
|
||||||
../../../src/hotspot/cpu/aarch64/decode_aarch64.hpp
|
|
||||||
../../../src/hotspot/cpu/aarch64/c1_CodeStubs_aarch64.cpp
|
../../../src/hotspot/cpu/aarch64/c1_CodeStubs_aarch64.cpp
|
||||||
../../../src/hotspot/cpu/aarch64/nativeInst_aarch64.hpp
|
../../../src/hotspot/cpu/aarch64/nativeInst_aarch64.hpp
|
||||||
../../../src/hotspot/cpu/aarch64/codeBuffer_aarch64.hpp
|
../../../src/hotspot/cpu/aarch64/codeBuffer_aarch64.hpp
|
||||||
@@ -529,7 +527,6 @@ set(SOURCE_FILES
|
|||||||
../../../src/hotspot/cpu/aarch64/assembler_aarch64.cpp
|
../../../src/hotspot/cpu/aarch64/assembler_aarch64.cpp
|
||||||
../../../src/hotspot/cpu/aarch64/register_aarch64.cpp
|
../../../src/hotspot/cpu/aarch64/register_aarch64.cpp
|
||||||
../../../src/hotspot/cpu/aarch64/vm_version_ext_aarch64.cpp
|
../../../src/hotspot/cpu/aarch64/vm_version_ext_aarch64.cpp
|
||||||
../../../src/hotspot/cpu/aarch64/aarch64_call.cpp
|
|
||||||
../../../src/hotspot/cpu/aarch64/macroAssembler_aarch64.hpp
|
../../../src/hotspot/cpu/aarch64/macroAssembler_aarch64.hpp
|
||||||
../../../src/hotspot/cpu/aarch64/bytecodes_aarch64.hpp
|
../../../src/hotspot/cpu/aarch64/bytecodes_aarch64.hpp
|
||||||
../../../src/hotspot/cpu/aarch64/c1_MacroAssembler_aarch64.hpp
|
../../../src/hotspot/cpu/aarch64/c1_MacroAssembler_aarch64.hpp
|
||||||
@@ -1175,13 +1172,11 @@ set(SOURCE_FILES
|
|||||||
../../../src/hotspot/share/jfr/recorder/stringpool/jfrStringPoolBuffer.hpp
|
../../../src/hotspot/share/jfr/recorder/stringpool/jfrStringPoolBuffer.hpp
|
||||||
../../../src/hotspot/share/jfr/recorder/repository/jfrChunkWriter.cpp
|
../../../src/hotspot/share/jfr/recorder/repository/jfrChunkWriter.cpp
|
||||||
../../../src/hotspot/share/jfr/recorder/repository/jfrEmergencyDump.hpp
|
../../../src/hotspot/share/jfr/recorder/repository/jfrEmergencyDump.hpp
|
||||||
../../../src/hotspot/share/jfr/recorder/repository/jfrChunkSizeNotifier.hpp
|
|
||||||
../../../src/hotspot/share/jfr/recorder/repository/jfrChunkState.hpp
|
../../../src/hotspot/share/jfr/recorder/repository/jfrChunkState.hpp
|
||||||
../../../src/hotspot/share/jfr/recorder/repository/jfrRepository.cpp
|
../../../src/hotspot/share/jfr/recorder/repository/jfrRepository.cpp
|
||||||
../../../src/hotspot/share/jfr/recorder/repository/jfrChunkState.cpp
|
../../../src/hotspot/share/jfr/recorder/repository/jfrChunkState.cpp
|
||||||
../../../src/hotspot/share/jfr/recorder/repository/jfrRepository.hpp
|
../../../src/hotspot/share/jfr/recorder/repository/jfrRepository.hpp
|
||||||
../../../src/hotspot/share/jfr/recorder/repository/jfrChunkWriter.hpp
|
../../../src/hotspot/share/jfr/recorder/repository/jfrChunkWriter.hpp
|
||||||
../../../src/hotspot/share/jfr/recorder/repository/jfrChunkSizeNotifier.cpp
|
|
||||||
../../../src/hotspot/share/jfr/recorder/repository/jfrEmergencyDump.cpp
|
../../../src/hotspot/share/jfr/recorder/repository/jfrEmergencyDump.cpp
|
||||||
../../../src/hotspot/share/jfr/recorder/checkpoint/jfrCheckpointBlob.hpp
|
../../../src/hotspot/share/jfr/recorder/checkpoint/jfrCheckpointBlob.hpp
|
||||||
../../../src/hotspot/share/jfr/recorder/checkpoint/jfrCheckpointWriter.cpp
|
../../../src/hotspot/share/jfr/recorder/checkpoint/jfrCheckpointWriter.cpp
|
||||||
@@ -1254,7 +1249,6 @@ set(SOURCE_FILES
|
|||||||
../../../src/hotspot/share/jfr/leakprofiler/checkpoint/objectSampleDescription.hpp
|
../../../src/hotspot/share/jfr/leakprofiler/checkpoint/objectSampleDescription.hpp
|
||||||
../../../src/hotspot/share/jfr/leakprofiler/checkpoint/rootResolver.hpp
|
../../../src/hotspot/share/jfr/leakprofiler/checkpoint/rootResolver.hpp
|
||||||
../../../src/hotspot/share/jfr/leakprofiler/leakProfiler.hpp
|
../../../src/hotspot/share/jfr/leakprofiler/leakProfiler.hpp
|
||||||
../../../src/hotspot/share/jfr/leakprofiler/emitEventOperation.hpp
|
|
||||||
../../../src/hotspot/share/jfr/leakprofiler/sampling/objectSample.hpp
|
../../../src/hotspot/share/jfr/leakprofiler/sampling/objectSample.hpp
|
||||||
../../../src/hotspot/share/jfr/leakprofiler/sampling/objectSampler.hpp
|
../../../src/hotspot/share/jfr/leakprofiler/sampling/objectSampler.hpp
|
||||||
../../../src/hotspot/share/jfr/leakprofiler/sampling/sampleList.cpp
|
../../../src/hotspot/share/jfr/leakprofiler/sampling/sampleList.cpp
|
||||||
@@ -1270,7 +1264,6 @@ set(SOURCE_FILES
|
|||||||
../../../src/hotspot/share/jfr/leakprofiler/utilities/rootType.hpp
|
../../../src/hotspot/share/jfr/leakprofiler/utilities/rootType.hpp
|
||||||
../../../src/hotspot/share/jfr/leakprofiler/utilities/unifiedOop.hpp
|
../../../src/hotspot/share/jfr/leakprofiler/utilities/unifiedOop.hpp
|
||||||
../../../src/hotspot/share/jfr/leakprofiler/startOperation.hpp
|
../../../src/hotspot/share/jfr/leakprofiler/startOperation.hpp
|
||||||
../../../src/hotspot/share/jfr/leakprofiler/emitEventOperation.cpp
|
|
||||||
../../../src/hotspot/share/jfr/leakprofiler/chains/edgeUtils.cpp
|
../../../src/hotspot/share/jfr/leakprofiler/chains/edgeUtils.cpp
|
||||||
../../../src/hotspot/share/jfr/leakprofiler/chains/rootSetClosure.cpp
|
../../../src/hotspot/share/jfr/leakprofiler/chains/rootSetClosure.cpp
|
||||||
../../../src/hotspot/share/jfr/leakprofiler/chains/edge.hpp
|
../../../src/hotspot/share/jfr/leakprofiler/chains/edge.hpp
|
||||||
@@ -1481,7 +1474,6 @@ set(SOURCE_FILES
|
|||||||
../../../src/hotspot/share/runtime/basicLock.hpp
|
../../../src/hotspot/share/runtime/basicLock.hpp
|
||||||
../../../src/hotspot/share/runtime/compilationPolicy.cpp
|
../../../src/hotspot/share/runtime/compilationPolicy.cpp
|
||||||
../../../src/hotspot/share/runtime/java.hpp
|
../../../src/hotspot/share/runtime/java.hpp
|
||||||
../../../src/hotspot/share/runtime/simpleThresholdPolicy.cpp
|
|
||||||
../../../src/hotspot/share/runtime/objectMonitor.inline.hpp
|
../../../src/hotspot/share/runtime/objectMonitor.inline.hpp
|
||||||
../../../src/hotspot/share/runtime/mutexLocker.cpp
|
../../../src/hotspot/share/runtime/mutexLocker.cpp
|
||||||
../../../src/hotspot/share/runtime/serviceThread.cpp
|
../../../src/hotspot/share/runtime/serviceThread.cpp
|
||||||
@@ -1524,7 +1516,6 @@ set(SOURCE_FILES
|
|||||||
../../../src/hotspot/share/runtime/compilationPolicy.hpp
|
../../../src/hotspot/share/runtime/compilationPolicy.hpp
|
||||||
../../../src/hotspot/share/runtime/basicLock.cpp
|
../../../src/hotspot/share/runtime/basicLock.cpp
|
||||||
../../../src/hotspot/share/runtime/java.cpp
|
../../../src/hotspot/share/runtime/java.cpp
|
||||||
../../../src/hotspot/share/runtime/simpleThresholdPolicy.hpp
|
|
||||||
../../../src/hotspot/share/runtime/perfData.inline.hpp
|
../../../src/hotspot/share/runtime/perfData.inline.hpp
|
||||||
../../../src/hotspot/share/runtime/statSampler.hpp
|
../../../src/hotspot/share/runtime/statSampler.hpp
|
||||||
../../../src/hotspot/share/runtime/vm_operations.cpp
|
../../../src/hotspot/share/runtime/vm_operations.cpp
|
||||||
@@ -1557,7 +1548,6 @@ set(SOURCE_FILES
|
|||||||
../../../src/hotspot/share/runtime/handshake.hpp
|
../../../src/hotspot/share/runtime/handshake.hpp
|
||||||
../../../src/hotspot/share/runtime/thread.inline.hpp
|
../../../src/hotspot/share/runtime/thread.inline.hpp
|
||||||
../../../src/hotspot/share/runtime/perfMemory.hpp
|
../../../src/hotspot/share/runtime/perfMemory.hpp
|
||||||
../../../src/hotspot/share/runtime/simpleThresholdPolicy.inline.hpp
|
|
||||||
../../../src/hotspot/share/runtime/javaCalls.cpp
|
../../../src/hotspot/share/runtime/javaCalls.cpp
|
||||||
../../../src/hotspot/share/runtime/reflection.cpp
|
../../../src/hotspot/share/runtime/reflection.cpp
|
||||||
../../../src/hotspot/share/runtime/icache.cpp
|
../../../src/hotspot/share/runtime/icache.cpp
|
||||||
|
|||||||
9
jb/project/java-gradle/.idea/compiler.xml
generated
9
jb/project/java-gradle/.idea/compiler.xml
generated
@@ -1,9 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<project version="4">
|
|
||||||
<component name="CompilerConfiguration">
|
|
||||||
<bytecodeTargetLevel>
|
|
||||||
<module name="java-gradle.main" target="11" />
|
|
||||||
<module name="java-gradle.test" target="11" />
|
|
||||||
</bytecodeTargetLevel>
|
|
||||||
</component>
|
|
||||||
</project>
|
|
||||||
20
jb/project/java-gradle/.idea/gradle.xml
generated
20
jb/project/java-gradle/.idea/gradle.xml
generated
@@ -1,20 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<project version="4">
|
|
||||||
<component name="GradleSettings">
|
|
||||||
<option name="linkedExternalProjectsSettings">
|
|
||||||
<GradleProjectSettings>
|
|
||||||
<option name="distributionType" value="DEFAULT_WRAPPED" />
|
|
||||||
<option name="externalProjectPath" value="$PROJECT_DIR$" />
|
|
||||||
<option name="gradleHome" value="/usr/share/gradle" />
|
|
||||||
<option name="gradleJvm" value="11" />
|
|
||||||
<option name="modules">
|
|
||||||
<set>
|
|
||||||
<option value="$PROJECT_DIR$" />
|
|
||||||
</set>
|
|
||||||
</option>
|
|
||||||
<option name="useAutoImport" value="true" />
|
|
||||||
<option name="useQualifiedModuleNames" value="true" />
|
|
||||||
</GradleProjectSettings>
|
|
||||||
</option>
|
|
||||||
</component>
|
|
||||||
</project>
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
<component name="libraryTable">
|
|
||||||
<library name="Gradle: com.twelvemonkeys.common:common-image:3.3.2">
|
|
||||||
<CLASSES>
|
|
||||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.twelvemonkeys.common/common-image/3.3.2/9c975152864050c6dbb7226ca1100694f0aa099d/common-image-3.3.2.jar!/" />
|
|
||||||
</CLASSES>
|
|
||||||
<JAVADOC />
|
|
||||||
<SOURCES>
|
|
||||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.twelvemonkeys.common/common-image/3.3.2/e6fb35a9825421ec5a634af328e22546992d536d/common-image-3.3.2-sources.jar!/" />
|
|
||||||
</SOURCES>
|
|
||||||
</library>
|
|
||||||
</component>
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
<component name="libraryTable">
|
|
||||||
<library name="Gradle: com.twelvemonkeys.common:common-io:3.3.2">
|
|
||||||
<CLASSES>
|
|
||||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.twelvemonkeys.common/common-io/3.3.2/e00b1c744993864d3c8dc698ba7d356122019398/common-io-3.3.2.jar!/" />
|
|
||||||
</CLASSES>
|
|
||||||
<JAVADOC />
|
|
||||||
<SOURCES>
|
|
||||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.twelvemonkeys.common/common-io/3.3.2/dbb242585fdfd353dc4c2c0e8b3d8b0383dffbb2/common-io-3.3.2-sources.jar!/" />
|
|
||||||
</SOURCES>
|
|
||||||
</library>
|
|
||||||
</component>
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
<component name="libraryTable">
|
|
||||||
<library name="Gradle: com.twelvemonkeys.common:common-lang:3.3.2">
|
|
||||||
<CLASSES>
|
|
||||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.twelvemonkeys.common/common-lang/3.3.2/ffbc5e05208c5c9cb43052438294c3ec5546aecf/common-lang-3.3.2.jar!/" />
|
|
||||||
</CLASSES>
|
|
||||||
<JAVADOC />
|
|
||||||
<SOURCES>
|
|
||||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.twelvemonkeys.common/common-lang/3.3.2/b695db345614a2b9344fd43a44d9ce722df4b39/common-lang-3.3.2-sources.jar!/" />
|
|
||||||
</SOURCES>
|
|
||||||
</library>
|
|
||||||
</component>
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
<component name="libraryTable">
|
|
||||||
<library name="Gradle: com.twelvemonkeys.imageio:imageio-core:3.3.2">
|
|
||||||
<CLASSES>
|
|
||||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.twelvemonkeys.imageio/imageio-core/3.3.2/8def41c756831dde3c23f2d525e5667cfbfa1847/imageio-core-3.3.2.jar!/" />
|
|
||||||
</CLASSES>
|
|
||||||
<JAVADOC />
|
|
||||||
<SOURCES>
|
|
||||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.twelvemonkeys.imageio/imageio-core/3.3.2/abcb2beaf21364467afe0e33824dce5730bef0c3/imageio-core-3.3.2-sources.jar!/" />
|
|
||||||
</SOURCES>
|
|
||||||
</library>
|
|
||||||
</component>
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
<component name="libraryTable">
|
|
||||||
<library name="Gradle: com.twelvemonkeys.imageio:imageio-metadata:3.3.2">
|
|
||||||
<CLASSES>
|
|
||||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.twelvemonkeys.imageio/imageio-metadata/3.3.2/b8a31725bde0dc6f4e6b01711784f5ca0a2275f3/imageio-metadata-3.3.2.jar!/" />
|
|
||||||
</CLASSES>
|
|
||||||
<JAVADOC />
|
|
||||||
<SOURCES>
|
|
||||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.twelvemonkeys.imageio/imageio-metadata/3.3.2/6fc3b223c81afbd4b829e2c924c096aab3ed0e9e/imageio-metadata-3.3.2-sources.jar!/" />
|
|
||||||
</SOURCES>
|
|
||||||
</library>
|
|
||||||
</component>
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
<component name="libraryTable">
|
|
||||||
<library name="Gradle: com.twelvemonkeys.imageio:imageio-tiff:3.3.2">
|
|
||||||
<CLASSES>
|
|
||||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.twelvemonkeys.imageio/imageio-tiff/3.3.2/9bea1214eae7d287dc0c685fb6be75102318d080/imageio-tiff-3.3.2.jar!/" />
|
|
||||||
</CLASSES>
|
|
||||||
<JAVADOC />
|
|
||||||
<SOURCES>
|
|
||||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.twelvemonkeys.imageio/imageio-tiff/3.3.2/cae5b3540dc01889dc9560db86f5f61bdc253107/imageio-tiff-3.3.2-sources.jar!/" />
|
|
||||||
</SOURCES>
|
|
||||||
</library>
|
|
||||||
</component>
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
<component name="libraryTable">
|
|
||||||
<library name="Gradle: junit:junit:4.12">
|
|
||||||
<CLASSES>
|
|
||||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/junit/junit/4.12/2973d150c0dc1fefe998f834810d68f278ea58ec/junit-4.12.jar!/" />
|
|
||||||
</CLASSES>
|
|
||||||
<JAVADOC />
|
|
||||||
<SOURCES>
|
|
||||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/junit/junit/4.12/a6c32b40bf3d76eca54e3c601e5d1470c86fcdfa/junit-4.12-sources.jar!/" />
|
|
||||||
</SOURCES>
|
|
||||||
</library>
|
|
||||||
</component>
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
<component name="libraryTable">
|
|
||||||
<library name="Gradle: net.java.dev.jna:jna:4.4.0">
|
|
||||||
<CLASSES>
|
|
||||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/net.java.dev.jna/jna/4.4.0/cb208278274bf12ebdb56c61bd7407e6f774d65a/jna-4.4.0.jar!/" />
|
|
||||||
</CLASSES>
|
|
||||||
<JAVADOC />
|
|
||||||
<SOURCES>
|
|
||||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/net.java.dev.jna/jna/4.4.0/9d45d3dc35711eef7267d8b4fc2c0dc482ef9fd2/jna-4.4.0-sources.jar!/" />
|
|
||||||
</SOURCES>
|
|
||||||
</library>
|
|
||||||
</component>
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
<component name="libraryTable">
|
|
||||||
<library name="Gradle: org.apache.commons:commons-lang3:3.0">
|
|
||||||
<CLASSES>
|
|
||||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.apache.commons/commons-lang3/3.0/8873bd0bb5cb9ee37f1b04578eb7e26fcdd44cb0/commons-lang3-3.0.jar!/" />
|
|
||||||
</CLASSES>
|
|
||||||
<JAVADOC />
|
|
||||||
<SOURCES>
|
|
||||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.apache.commons/commons-lang3/3.0/d48f964b56a931ec2712ce5d411a40d114a69753/commons-lang3-3.0-sources.jar!/" />
|
|
||||||
</SOURCES>
|
|
||||||
</library>
|
|
||||||
</component>
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
<component name="libraryTable">
|
|
||||||
<library name="Gradle: org.hamcrest:hamcrest-core:1.3">
|
|
||||||
<CLASSES>
|
|
||||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.hamcrest/hamcrest-core/1.3/42a25dc3219429f0e5d060061f71acb49bf010a0/hamcrest-core-1.3.jar!/" />
|
|
||||||
</CLASSES>
|
|
||||||
<JAVADOC />
|
|
||||||
<SOURCES>
|
|
||||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.hamcrest/hamcrest-core/1.3/1dc37250fbc78e23a65a67fbbaf71d2e9cbc3c0b/hamcrest-core-1.3-sources.jar!/" />
|
|
||||||
</SOURCES>
|
|
||||||
</library>
|
|
||||||
</component>
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
<component name="libraryTable">
|
|
||||||
<library name="Gradle: org.hamcrest:hamcrest-library:1.3">
|
|
||||||
<CLASSES>
|
|
||||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.hamcrest/hamcrest-library/1.3/4785a3c21320980282f9f33d0d1264a69040538f/hamcrest-library-1.3.jar!/" />
|
|
||||||
</CLASSES>
|
|
||||||
<JAVADOC />
|
|
||||||
<SOURCES>
|
|
||||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.hamcrest/hamcrest-library/1.3/47a7ee46628ab7133129cd7cef1e92657bc275e/hamcrest-library-1.3-sources.jar!/" />
|
|
||||||
</SOURCES>
|
|
||||||
</library>
|
|
||||||
</component>
|
|
||||||
6
jb/project/java-gradle/.idea/misc.xml
generated
6
jb/project/java-gradle/.idea/misc.xml
generated
@@ -1,6 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<project version="4">
|
|
||||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_11" project-jdk-name="11" project-jdk-type="JavaSDK">
|
|
||||||
<output url="file://$PROJECT_DIR$/classes" />
|
|
||||||
</component>
|
|
||||||
</project>
|
|
||||||
11
jb/project/java-gradle/.idea/modules.xml
generated
11
jb/project/java-gradle/.idea/modules.xml
generated
@@ -1,11 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<project version="4">
|
|
||||||
<component name="ProjectModuleManager">
|
|
||||||
<modules>
|
|
||||||
<module fileurl="file://$PROJECT_DIR$/.idea/modules/java-gradle.iml" filepath="$PROJECT_DIR$/.idea/modules/java-gradle.iml" />
|
|
||||||
<module fileurl="file://$PROJECT_DIR$/java-gradle.iml" filepath="$PROJECT_DIR$/java-gradle.iml" />
|
|
||||||
<module fileurl="file://$PROJECT_DIR$/.idea/modules/java-gradle.main.iml" filepath="$PROJECT_DIR$/.idea/modules/java-gradle.main.iml" />
|
|
||||||
<module fileurl="file://$PROJECT_DIR$/.idea/modules/java-gradle.test.iml" filepath="$PROJECT_DIR$/.idea/modules/java-gradle.test.iml" />
|
|
||||||
</modules>
|
|
||||||
</component>
|
|
||||||
</project>
|
|
||||||
@@ -1,34 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<module external.linked.project.id="java-gradle:main" external.linked.project.path="$MODULE_DIR$/../.." external.root.project.path="$MODULE_DIR$/../.." external.system.id="GRADLE" external.system.module.group="" external.system.module.type="sourceSet" external.system.module.version="unspecified" type="JAVA_MODULE" version="4">
|
|
||||||
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_11">
|
|
||||||
<output url="file://$MODULE_DIR$/../../out/production/classes" />
|
|
||||||
<exclude-output />
|
|
||||||
<content url="file://$MODULE_DIR$/../../src/main" />
|
|
||||||
<content url="file://$MODULE_DIR$/../../../../../src">
|
|
||||||
<sourceFolder url="file://$MODULE_DIR$/../../../../../src/java.base/share/classes" isTestSource="false" />
|
|
||||||
<sourceFolder url="file://$MODULE_DIR$/../../../../../src/java.datatransfer/share/classes" isTestSource="false" />
|
|
||||||
<sourceFolder url="file://$MODULE_DIR$/../../../../../src/java.desktop/share/classes" isTestSource="false" />
|
|
||||||
<sourceFolder url="file://$MODULE_DIR$/../../../../../src/java.instrument/share/classes" isTestSource="false" />
|
|
||||||
<sourceFolder url="file://$MODULE_DIR$/../../../../../src/java.logging/share/classes" isTestSource="false" />
|
|
||||||
<sourceFolder url="file://$MODULE_DIR$/../../../../../src/java.management.rmi/share/classes" isTestSource="false" />
|
|
||||||
<sourceFolder url="file://$MODULE_DIR$/../../../../../src/java.management/share/classes" isTestSource="false" />
|
|
||||||
<sourceFolder url="file://$MODULE_DIR$/../../../../../src/java.naming/share/classes" isTestSource="false" />
|
|
||||||
<sourceFolder url="file://$MODULE_DIR$/../../../../../src/java.prefs/share/classes" isTestSource="false" />
|
|
||||||
<sourceFolder url="file://$MODULE_DIR$/../../../../../src/java.rmi/share/classes" isTestSource="false" />
|
|
||||||
<sourceFolder url="file://$MODULE_DIR$/../../../../../src/java.scripting/share/classes" isTestSource="false" />
|
|
||||||
<sourceFolder url="file://$MODULE_DIR$/../../../../../src/java.se/share/classes" isTestSource="false" />
|
|
||||||
<sourceFolder url="file://$MODULE_DIR$/../../../../../src/java.security.jgss/share/classes" isTestSource="false" />
|
|
||||||
<sourceFolder url="file://$MODULE_DIR$/../../../../../src/java.security.sasl/share/classes" isTestSource="false" />
|
|
||||||
<sourceFolder url="file://$MODULE_DIR$/../../../../../src/java.smartcardio/share/classes" isTestSource="false" />
|
|
||||||
<sourceFolder url="file://$MODULE_DIR$/../../../../../src/java.sql.rowset/share/classes" isTestSource="false" />
|
|
||||||
<sourceFolder url="file://$MODULE_DIR$/../../../../../src/java.sql/share/classes" isTestSource="false" />
|
|
||||||
<sourceFolder url="file://$MODULE_DIR$/../../../../../src/java.xml.crypto/share/classes" isTestSource="false" />
|
|
||||||
<sourceFolder url="file://$MODULE_DIR$/../../../../../src/java.base/macosx/classes" isTestSource="false" />
|
|
||||||
<sourceFolder url="file://$MODULE_DIR$/../../../../../src/java.datatransfer/macosx/classes" isTestSource="false" />
|
|
||||||
<sourceFolder url="file://$MODULE_DIR$/../../../../../src/java.desktop/macosx/classes" isTestSource="false" />
|
|
||||||
<sourceFolder url="file://$MODULE_DIR$/../../../../../src/java.prefs/macosx/classes" isTestSource="false" />
|
|
||||||
</content>
|
|
||||||
<orderEntry type="inheritedJdk" />
|
|
||||||
<orderEntry type="sourceFolder" forTests="false" />
|
|
||||||
</component>
|
|
||||||
</module>
|
|
||||||
@@ -1,26 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<module external.linked.project.id="java-gradle:test" external.linked.project.path="$MODULE_DIR$/../.." external.root.project.path="$MODULE_DIR$/../.." external.system.id="GRADLE" external.system.module.group="" external.system.module.type="sourceSet" external.system.module.version="unspecified" type="JAVA_MODULE" version="4">
|
|
||||||
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_11">
|
|
||||||
<output-test url="file://$MODULE_DIR$/../../out/test/classes" />
|
|
||||||
<exclude-output />
|
|
||||||
<content url="file://$MODULE_DIR$/../../src/test" />
|
|
||||||
<content url="file://$MODULE_DIR$/../../../../../test">
|
|
||||||
<sourceFolder url="file://$MODULE_DIR$/../../../../../test/jdk/jbu" isTestSource="true" />
|
|
||||||
</content>
|
|
||||||
<orderEntry type="inheritedJdk" />
|
|
||||||
<orderEntry type="sourceFolder" forTests="false" />
|
|
||||||
<orderEntry type="module" module-name="java-gradle.main" />
|
|
||||||
<orderEntry type="library" name="Gradle: junit:junit:4.12" level="project" />
|
|
||||||
<orderEntry type="library" name="Gradle: org.hamcrest:hamcrest-library:1.3" level="project" />
|
|
||||||
<orderEntry type="library" name="Gradle: net.java.dev.jna:jna:4.4.0" level="project" />
|
|
||||||
<orderEntry type="library" name="Gradle: com.twelvemonkeys.imageio:imageio-tiff:3.3.2" level="project" />
|
|
||||||
<orderEntry type="library" name="Gradle: org.apache.commons:commons-lang3:3.0" level="project" />
|
|
||||||
<orderEntry type="library" name="Gradle: org.hamcrest:hamcrest-core:1.3" level="project" />
|
|
||||||
<orderEntry type="library" name="Gradle: com.twelvemonkeys.imageio:imageio-metadata:3.3.2" level="project" />
|
|
||||||
<orderEntry type="library" name="Gradle: com.twelvemonkeys.imageio:imageio-core:3.3.2" level="project" />
|
|
||||||
<orderEntry type="library" name="Gradle: com.twelvemonkeys.common:common-image:3.3.2" level="project" />
|
|
||||||
<orderEntry type="library" name="Gradle: com.twelvemonkeys.common:common-io:3.3.2" level="project" />
|
|
||||||
<orderEntry type="library" name="Gradle: com.twelvemonkeys.common:common-lang:3.3.2" level="project" />
|
|
||||||
</component>
|
|
||||||
<component name="TestModuleProperties" production-module="java-gradle.main" />
|
|
||||||
</module>
|
|
||||||
6
jb/project/java-gradle/.idea/vcs.xml
generated
6
jb/project/java-gradle/.idea/vcs.xml
generated
@@ -1,6 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<project version="4">
|
|
||||||
<component name="VcsDirectoryMappings">
|
|
||||||
<mapping directory="$PROJECT_DIR$/../../.." vcs="Git" />
|
|
||||||
</component>
|
|
||||||
</project>
|
|
||||||
@@ -10,7 +10,7 @@ def test_jvm = {
|
|||||||
file(jbsdkhome + (OperatingSystem.current().isWindows()?"/bin/java.exe" : "/bin/java")).absolutePath
|
file(jbsdkhome + (OperatingSystem.current().isWindows()?"/bin/java.exe" : "/bin/java")).absolutePath
|
||||||
} else {
|
} else {
|
||||||
if (OperatingSystem.current().isMacOsX()) {
|
if (OperatingSystem.current().isMacOsX()) {
|
||||||
file('../../../build/macosx-x86_64-normal-server-release/images/jdk-bundle/jdk-11.0.3.jdk/Contents/Home/bin/java').absolutePath
|
file('../../../build/macosx-x86_64-normal-server-release/images/jdk-bundle/jdk-11.0.4.jdk/Contents/Home/bin/java').absolutePath
|
||||||
} else if (OperatingSystem.current().isLinux()) {
|
} else if (OperatingSystem.current().isLinux()) {
|
||||||
file('../../../build/linux-x86_64-normal-server-release/images/jdk/bin/java').absolutePath
|
file('../../../build/linux-x86_64-normal-server-release/images/jdk/bin/java').absolutePath
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
2
jb/project/jdk-cmake/.gitignore
vendored
Normal file
2
jb/project/jdk-cmake/.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
.idea
|
||||||
|
cmake-build-*
|
||||||
@@ -192,16 +192,19 @@ set(SOURCE_FILES
|
|||||||
../../../src/java.desktop/share/native/libfreetype/include/freetype/fttypes.h
|
../../../src/java.desktop/share/native/libfreetype/include/freetype/fttypes.h
|
||||||
../../../src/java.desktop/share/native/libfreetype/include/freetype/ftparams.h
|
../../../src/java.desktop/share/native/libfreetype/include/freetype/ftparams.h
|
||||||
../../../src/java.desktop/share/native/libfreetype/include/freetype/ftmm.h
|
../../../src/java.desktop/share/native/libfreetype/include/freetype/ftmm.h
|
||||||
|
../../../src/java.desktop/share/native/libfreetype/include/freetype/config
|
||||||
../../../src/java.desktop/share/native/libfreetype/include/freetype/config/ftstdlib.h
|
../../../src/java.desktop/share/native/libfreetype/include/freetype/config/ftstdlib.h
|
||||||
../../../src/java.desktop/share/native/libfreetype/include/freetype/config/ftheader.h
|
../../../src/java.desktop/share/native/libfreetype/include/freetype/config/ftheader.h
|
||||||
../../../src/java.desktop/share/native/libfreetype/include/freetype/config/ftconfig.h
|
../../../src/java.desktop/share/native/libfreetype/include/freetype/config/ftconfig.h
|
||||||
../../../src/java.desktop/share/native/libfreetype/include/freetype/config/ftoption.h
|
../../../src/java.desktop/share/native/libfreetype/include/freetype/config/ftoption.h
|
||||||
../../../src/java.desktop/share/native/libfreetype/include/freetype/config/ftmodule.h
|
../../../src/java.desktop/share/native/libfreetype/include/freetype/config/ftmodule.h
|
||||||
|
../../../src/java.desktop/share/native/libfreetype/include/freetype/ftcolor.h
|
||||||
../../../src/java.desktop/share/native/libfreetype/include/freetype/ftmodapi.h
|
../../../src/java.desktop/share/native/libfreetype/include/freetype/ftmodapi.h
|
||||||
../../../src/java.desktop/share/native/libfreetype/include/freetype/fttrigon.h
|
../../../src/java.desktop/share/native/libfreetype/include/freetype/fttrigon.h
|
||||||
../../../src/java.desktop/share/native/libfreetype/include/freetype/ftbbox.h
|
../../../src/java.desktop/share/native/libfreetype/include/freetype/ftbbox.h
|
||||||
../../../src/java.desktop/share/native/libfreetype/include/freetype/ftgzip.h
|
../../../src/java.desktop/share/native/libfreetype/include/freetype/ftgzip.h
|
||||||
../../../src/java.desktop/share/native/libfreetype/include/freetype/ftdriver.h
|
../../../src/java.desktop/share/native/libfreetype/include/freetype/ftdriver.h
|
||||||
|
../../../src/java.desktop/share/native/libfreetype/include/freetype/internal
|
||||||
../../../src/java.desktop/share/native/libfreetype/include/freetype/internal/sfnt.h
|
../../../src/java.desktop/share/native/libfreetype/include/freetype/internal/sfnt.h
|
||||||
../../../src/java.desktop/share/native/libfreetype/include/freetype/internal/internal.h
|
../../../src/java.desktop/share/native/libfreetype/include/freetype/internal/internal.h
|
||||||
../../../src/java.desktop/share/native/libfreetype/include/freetype/internal/ftdrv.h
|
../../../src/java.desktop/share/native/libfreetype/include/freetype/internal/ftdrv.h
|
||||||
@@ -216,13 +219,13 @@ set(SOURCE_FILES
|
|||||||
../../../src/java.desktop/share/native/libfreetype/include/freetype/internal/tttypes.h
|
../../../src/java.desktop/share/native/libfreetype/include/freetype/internal/tttypes.h
|
||||||
../../../src/java.desktop/share/native/libfreetype/include/freetype/internal/ftvalid.h
|
../../../src/java.desktop/share/native/libfreetype/include/freetype/internal/ftvalid.h
|
||||||
../../../src/java.desktop/share/native/libfreetype/include/freetype/internal/ftobjs.h
|
../../../src/java.desktop/share/native/libfreetype/include/freetype/internal/ftobjs.h
|
||||||
../../../src/java.desktop/share/native/libfreetype/include/freetype/internal/ftpic.h
|
|
||||||
../../../src/java.desktop/share/native/libfreetype/include/freetype/internal/fttrace.h
|
../../../src/java.desktop/share/native/libfreetype/include/freetype/internal/fttrace.h
|
||||||
../../../src/java.desktop/share/native/libfreetype/include/freetype/internal/ftmemory.h
|
../../../src/java.desktop/share/native/libfreetype/include/freetype/internal/ftmemory.h
|
||||||
../../../src/java.desktop/share/native/libfreetype/include/freetype/internal/fthash.h
|
../../../src/java.desktop/share/native/libfreetype/include/freetype/internal/fthash.h
|
||||||
../../../src/java.desktop/share/native/libfreetype/include/freetype/internal/ftgloadr.h
|
../../../src/java.desktop/share/native/libfreetype/include/freetype/internal/ftgloadr.h
|
||||||
../../../src/java.desktop/share/native/libfreetype/include/freetype/internal/ftpsprop.h
|
../../../src/java.desktop/share/native/libfreetype/include/freetype/internal/ftpsprop.h
|
||||||
../../../src/java.desktop/share/native/libfreetype/include/freetype/internal/ftserv.h
|
../../../src/java.desktop/share/native/libfreetype/include/freetype/internal/ftserv.h
|
||||||
|
../../../src/java.desktop/share/native/libfreetype/include/freetype/internal/services
|
||||||
../../../src/java.desktop/share/native/libfreetype/include/freetype/internal/services/svprop.h
|
../../../src/java.desktop/share/native/libfreetype/include/freetype/internal/services/svprop.h
|
||||||
../../../src/java.desktop/share/native/libfreetype/include/freetype/internal/services/svmm.h
|
../../../src/java.desktop/share/native/libfreetype/include/freetype/internal/services/svmm.h
|
||||||
../../../src/java.desktop/share/native/libfreetype/include/freetype/internal/services/svcfftl.h
|
../../../src/java.desktop/share/native/libfreetype/include/freetype/internal/services/svcfftl.h
|
||||||
@@ -272,6 +275,8 @@ set(SOURCE_FILES
|
|||||||
../../../src/java.desktop/share/native/libfreetype/include/freetype/ftbdf.h
|
../../../src/java.desktop/share/native/libfreetype/include/freetype/ftbdf.h
|
||||||
../../../src/java.desktop/share/native/libfreetype/include/freetype/ftrender.h
|
../../../src/java.desktop/share/native/libfreetype/include/freetype/ftrender.h
|
||||||
../../../src/java.desktop/share/native/libfreetype/include/ft2build.h
|
../../../src/java.desktop/share/native/libfreetype/include/ft2build.h
|
||||||
|
../../../src/java.desktop/share/native/libfreetype/src
|
||||||
|
../../../src/java.desktop/share/native/libfreetype/src/type1
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/type1/t1objs.c
|
../../../src/java.desktop/share/native/libfreetype/src/type1/t1objs.c
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/type1/t1load.h
|
../../../src/java.desktop/share/native/libfreetype/src/type1/t1load.h
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/type1/t1afm.h
|
../../../src/java.desktop/share/native/libfreetype/src/type1/t1afm.h
|
||||||
@@ -286,40 +291,42 @@ set(SOURCE_FILES
|
|||||||
../../../src/java.desktop/share/native/libfreetype/src/type1/t1driver.c
|
../../../src/java.desktop/share/native/libfreetype/src/type1/t1driver.c
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/type1/t1parse.c
|
../../../src/java.desktop/share/native/libfreetype/src/type1/t1parse.c
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/type1/t1gload.h
|
../../../src/java.desktop/share/native/libfreetype/src/type1/t1gload.h
|
||||||
|
../../../src/java.desktop/share/native/libfreetype/src/sfnt
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/sfnt/sfobjs.c
|
../../../src/java.desktop/share/native/libfreetype/src/sfnt/sfobjs.c
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/sfnt/ttcmap.h
|
../../../src/java.desktop/share/native/libfreetype/src/sfnt/ttcmap.h
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/sfnt/ttpost.h
|
../../../src/java.desktop/share/native/libfreetype/src/sfnt/ttpost.h
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/sfnt/sfntpic.h
|
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/sfnt/ttkern.c
|
../../../src/java.desktop/share/native/libfreetype/src/sfnt/ttkern.c
|
||||||
|
../../../src/java.desktop/share/native/libfreetype/src/sfnt/ttcolr.h
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/sfnt/pngshim.h
|
../../../src/java.desktop/share/native/libfreetype/src/sfnt/pngshim.h
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/sfnt/ttmtx.c
|
../../../src/java.desktop/share/native/libfreetype/src/sfnt/ttmtx.c
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/sfnt/ttload.h
|
../../../src/java.desktop/share/native/libfreetype/src/sfnt/ttload.h
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/sfnt/sfdriver.c
|
../../../src/java.desktop/share/native/libfreetype/src/sfnt/sfdriver.c
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/sfnt/ttsbit.c
|
../../../src/java.desktop/share/native/libfreetype/src/sfnt/ttsbit.c
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/sfnt/ttcmapc.h
|
../../../src/java.desktop/share/native/libfreetype/src/sfnt/ttcmapc.h
|
||||||
|
../../../src/java.desktop/share/native/libfreetype/src/sfnt/ttcpal.c
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/sfnt/ttkern.h
|
../../../src/java.desktop/share/native/libfreetype/src/sfnt/ttkern.h
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/sfnt/ttpost.c
|
../../../src/java.desktop/share/native/libfreetype/src/sfnt/ttpost.c
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/sfnt/sfntpic.c
|
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/sfnt/sfobjs.h
|
../../../src/java.desktop/share/native/libfreetype/src/sfnt/sfobjs.h
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/sfnt/ttcmap.c
|
../../../src/java.desktop/share/native/libfreetype/src/sfnt/ttcmap.c
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/sfnt/ttmtx.h
|
../../../src/java.desktop/share/native/libfreetype/src/sfnt/ttmtx.h
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/sfnt/pngshim.c
|
../../../src/java.desktop/share/native/libfreetype/src/sfnt/pngshim.c
|
||||||
|
../../../src/java.desktop/share/native/libfreetype/src/sfnt/ttcolr.c
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/sfnt/ttsbit.h
|
../../../src/java.desktop/share/native/libfreetype/src/sfnt/ttsbit.h
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/sfnt/sfdriver.h
|
../../../src/java.desktop/share/native/libfreetype/src/sfnt/sfdriver.h
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/sfnt/ttload.c
|
../../../src/java.desktop/share/native/libfreetype/src/sfnt/ttload.c
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/sfnt/sferrors.h
|
../../../src/java.desktop/share/native/libfreetype/src/sfnt/sferrors.h
|
||||||
|
../../../src/java.desktop/share/native/libfreetype/src/sfnt/ttcpal.h
|
||||||
|
../../../src/java.desktop/share/native/libfreetype/src/smooth
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/smooth/ftgrays.c
|
../../../src/java.desktop/share/native/libfreetype/src/smooth/ftgrays.c
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/smooth/ftsmooth.h
|
../../../src/java.desktop/share/native/libfreetype/src/smooth/ftsmooth.h
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/smooth/ftspic.h
|
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/smooth/ftsmerrs.h
|
../../../src/java.desktop/share/native/libfreetype/src/smooth/ftsmerrs.h
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/smooth/ftgrays.h
|
../../../src/java.desktop/share/native/libfreetype/src/smooth/ftgrays.h
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/smooth/ftspic.c
|
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/smooth/ftsmooth.c
|
../../../src/java.desktop/share/native/libfreetype/src/smooth/ftsmooth.c
|
||||||
|
../../../src/java.desktop/share/native/libfreetype/src/cff
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/cff/cffload.h
|
../../../src/java.desktop/share/native/libfreetype/src/cff/cffload.h
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/cff/cffgload.c
|
../../../src/java.desktop/share/native/libfreetype/src/cff/cffgload.c
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/cff/cffobjs.c
|
../../../src/java.desktop/share/native/libfreetype/src/cff/cffobjs.c
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/cff/cffparse.h
|
../../../src/java.desktop/share/native/libfreetype/src/cff/cffparse.h
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/cff/cffpic.h
|
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/cff/cffcmap.h
|
../../../src/java.desktop/share/native/libfreetype/src/cff/cffcmap.h
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/cff/cffdrivr.c
|
../../../src/java.desktop/share/native/libfreetype/src/cff/cffdrivr.c
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/cff/cffparse.c
|
../../../src/java.desktop/share/native/libfreetype/src/cff/cffparse.c
|
||||||
@@ -327,10 +334,10 @@ set(SOURCE_FILES
|
|||||||
../../../src/java.desktop/share/native/libfreetype/src/cff/cffobjs.h
|
../../../src/java.desktop/share/native/libfreetype/src/cff/cffobjs.h
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/cff/cffgload.h
|
../../../src/java.desktop/share/native/libfreetype/src/cff/cffgload.h
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/cff/cffload.c
|
../../../src/java.desktop/share/native/libfreetype/src/cff/cffload.c
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/cff/cffpic.c
|
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/cff/cffdrivr.h
|
../../../src/java.desktop/share/native/libfreetype/src/cff/cffdrivr.h
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/cff/cffcmap.c
|
../../../src/java.desktop/share/native/libfreetype/src/cff/cffcmap.c
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/cff/cfferrs.h
|
../../../src/java.desktop/share/native/libfreetype/src/cff/cfferrs.h
|
||||||
|
../../../src/java.desktop/share/native/libfreetype/src/psaux
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/psaux/psarrst.h
|
../../../src/java.desktop/share/native/libfreetype/src/psaux/psarrst.h
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/psaux/psstack.h
|
../../../src/java.desktop/share/native/libfreetype/src/psaux/psstack.h
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/psaux/cffdecode.h
|
../../../src/java.desktop/share/native/libfreetype/src/psaux/cffdecode.h
|
||||||
@@ -367,6 +374,7 @@ set(SOURCE_FILES
|
|||||||
../../../src/java.desktop/share/native/libfreetype/src/psaux/afmparse.c
|
../../../src/java.desktop/share/native/libfreetype/src/psaux/afmparse.c
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/psaux/psauxmod.h
|
../../../src/java.desktop/share/native/libfreetype/src/psaux/psauxmod.h
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/psaux/psread.h
|
../../../src/java.desktop/share/native/libfreetype/src/psaux/psread.h
|
||||||
|
../../../src/java.desktop/share/native/libfreetype/src/cid
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/cid/cidtoken.h
|
../../../src/java.desktop/share/native/libfreetype/src/cid/cidtoken.h
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/cid/cidriver.c
|
../../../src/java.desktop/share/native/libfreetype/src/cid/cidriver.c
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/cid/cidparse.c
|
../../../src/java.desktop/share/native/libfreetype/src/cid/cidparse.c
|
||||||
@@ -379,11 +387,12 @@ set(SOURCE_FILES
|
|||||||
../../../src/java.desktop/share/native/libfreetype/src/cid/cidparse.h
|
../../../src/java.desktop/share/native/libfreetype/src/cid/cidparse.h
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/cid/cidobjs.c
|
../../../src/java.desktop/share/native/libfreetype/src/cid/cidobjs.c
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/cid/cidload.h
|
../../../src/java.desktop/share/native/libfreetype/src/cid/cidload.h
|
||||||
|
../../../src/java.desktop/share/native/libfreetype/src/autofit
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/autofit/afindic.h
|
../../../src/java.desktop/share/native/libfreetype/src/autofit/afindic.h
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/autofit/afdummy.h
|
../../../src/java.desktop/share/native/libfreetype/src/autofit/afdummy.h
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/autofit/afmodule.h
|
../../../src/java.desktop/share/native/libfreetype/src/autofit/afmodule.h
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/autofit/afwarp.c
|
../../../src/java.desktop/share/native/libfreetype/src/autofit/afwarp.c
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/autofit/afpic.c
|
../../../src/java.desktop/share/native/libfreetype/src/autofit/afblue.cin
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/autofit/afglobal.c
|
../../../src/java.desktop/share/native/libfreetype/src/autofit/afglobal.c
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/autofit/afcover.h
|
../../../src/java.desktop/share/native/libfreetype/src/autofit/afcover.h
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/autofit/afwrtsys.h
|
../../../src/java.desktop/share/native/libfreetype/src/autofit/afwrtsys.h
|
||||||
@@ -396,10 +405,10 @@ set(SOURCE_FILES
|
|||||||
../../../src/java.desktop/share/native/libfreetype/src/autofit/afranges.c
|
../../../src/java.desktop/share/native/libfreetype/src/autofit/afranges.c
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/autofit/afcjk.c
|
../../../src/java.desktop/share/native/libfreetype/src/autofit/afcjk.c
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/autofit/afstyles.h
|
../../../src/java.desktop/share/native/libfreetype/src/autofit/afstyles.h
|
||||||
|
../../../src/java.desktop/share/native/libfreetype/src/autofit/afblue.dat
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/autofit/aferrors.h
|
../../../src/java.desktop/share/native/libfreetype/src/autofit/aferrors.h
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/autofit/afdummy.c
|
../../../src/java.desktop/share/native/libfreetype/src/autofit/afdummy.c
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/autofit/afindic.c
|
../../../src/java.desktop/share/native/libfreetype/src/autofit/afindic.c
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/autofit/afpic.h
|
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/autofit/afglobal.h
|
../../../src/java.desktop/share/native/libfreetype/src/autofit/afglobal.h
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/autofit/afwarp.h
|
../../../src/java.desktop/share/native/libfreetype/src/autofit/afwarp.h
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/autofit/afmodule.c
|
../../../src/java.desktop/share/native/libfreetype/src/autofit/afmodule.c
|
||||||
@@ -409,64 +418,58 @@ set(SOURCE_FILES
|
|||||||
../../../src/java.desktop/share/native/libfreetype/src/autofit/aftypes.h
|
../../../src/java.desktop/share/native/libfreetype/src/autofit/aftypes.h
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/autofit/afcjk.h
|
../../../src/java.desktop/share/native/libfreetype/src/autofit/afcjk.h
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/autofit/afranges.h
|
../../../src/java.desktop/share/native/libfreetype/src/autofit/afranges.h
|
||||||
|
../../../src/java.desktop/share/native/libfreetype/src/autofit/afblue.hin
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/autofit/afloader.c
|
../../../src/java.desktop/share/native/libfreetype/src/autofit/afloader.c
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/autofit/aflatin.h
|
../../../src/java.desktop/share/native/libfreetype/src/autofit/aflatin.h
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/autofit/afangles.h
|
../../../src/java.desktop/share/native/libfreetype/src/autofit/afangles.h
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/autofit/afhints.c
|
../../../src/java.desktop/share/native/libfreetype/src/autofit/afhints.c
|
||||||
|
../../../src/java.desktop/share/native/libfreetype/src/pshinter
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/pshinter/pshmod.c
|
../../../src/java.desktop/share/native/libfreetype/src/pshinter/pshmod.c
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/pshinter/pshrec.h
|
../../../src/java.desktop/share/native/libfreetype/src/pshinter/pshrec.h
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/pshinter/pshpic.c
|
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/pshinter/pshglob.h
|
../../../src/java.desktop/share/native/libfreetype/src/pshinter/pshglob.h
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/pshinter/pshalgo.c
|
../../../src/java.desktop/share/native/libfreetype/src/pshinter/pshalgo.c
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/pshinter/pshmod.h
|
../../../src/java.desktop/share/native/libfreetype/src/pshinter/pshmod.h
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/pshinter/pshnterr.h
|
../../../src/java.desktop/share/native/libfreetype/src/pshinter/pshnterr.h
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/pshinter/pshpic.h
|
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/pshinter/pshrec.c
|
../../../src/java.desktop/share/native/libfreetype/src/pshinter/pshrec.c
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/pshinter/pshalgo.h
|
../../../src/java.desktop/share/native/libfreetype/src/pshinter/pshalgo.h
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/pshinter/pshglob.c
|
../../../src/java.desktop/share/native/libfreetype/src/pshinter/pshglob.c
|
||||||
|
../../../src/java.desktop/share/native/libfreetype/src/truetype
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/truetype/ttinterp.c
|
../../../src/java.desktop/share/native/libfreetype/src/truetype/ttinterp.c
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/truetype/ttpload.c
|
../../../src/java.desktop/share/native/libfreetype/src/truetype/ttpload.c
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/truetype/ttgxvar.c
|
../../../src/java.desktop/share/native/libfreetype/src/truetype/ttgxvar.c
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/truetype/ttsubpix.h
|
../../../src/java.desktop/share/native/libfreetype/src/truetype/ttsubpix.h
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/truetype/tterrors.h
|
../../../src/java.desktop/share/native/libfreetype/src/truetype/tterrors.h
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/truetype/ttdriver.h
|
../../../src/java.desktop/share/native/libfreetype/src/truetype/ttdriver.h
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/truetype/ttpic.h
|
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/truetype/ttobjs.c
|
../../../src/java.desktop/share/native/libfreetype/src/truetype/ttobjs.c
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/truetype/ttgload.h
|
../../../src/java.desktop/share/native/libfreetype/src/truetype/ttgload.h
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/truetype/ttgxvar.h
|
../../../src/java.desktop/share/native/libfreetype/src/truetype/ttgxvar.h
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/truetype/ttpload.h
|
../../../src/java.desktop/share/native/libfreetype/src/truetype/ttpload.h
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/truetype/ttinterp.h
|
../../../src/java.desktop/share/native/libfreetype/src/truetype/ttinterp.h
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/truetype/ttpic.c
|
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/truetype/ttdriver.c
|
../../../src/java.desktop/share/native/libfreetype/src/truetype/ttdriver.c
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/truetype/ttsubpix.c
|
../../../src/java.desktop/share/native/libfreetype/src/truetype/ttsubpix.c
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/truetype/ttobjs.h
|
../../../src/java.desktop/share/native/libfreetype/src/truetype/ttobjs.h
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/truetype/ttgload.c
|
../../../src/java.desktop/share/native/libfreetype/src/truetype/ttgload.c
|
||||||
|
../../../src/java.desktop/share/native/libfreetype/src/raster
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/raster/ftmisc.h
|
../../../src/java.desktop/share/native/libfreetype/src/raster/ftmisc.h
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/raster/rasterrs.h
|
../../../src/java.desktop/share/native/libfreetype/src/raster/rasterrs.h
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/raster/rastpic.c
|
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/raster/ftrend1.h
|
../../../src/java.desktop/share/native/libfreetype/src/raster/ftrend1.h
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/raster/ftraster.h
|
../../../src/java.desktop/share/native/libfreetype/src/raster/ftraster.h
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/raster/rastpic.h
|
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/raster/ftraster.c
|
../../../src/java.desktop/share/native/libfreetype/src/raster/ftraster.c
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/raster/ftrend1.c
|
../../../src/java.desktop/share/native/libfreetype/src/raster/ftrend1.c
|
||||||
|
../../../src/java.desktop/share/native/libfreetype/src/psnames
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/psnames/psnamerr.h
|
../../../src/java.desktop/share/native/libfreetype/src/psnames/psnamerr.h
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/psnames/psmodule.c
|
../../../src/java.desktop/share/native/libfreetype/src/psnames/psmodule.c
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/psnames/pspic.h
|
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/psnames/pstables.h
|
../../../src/java.desktop/share/native/libfreetype/src/psnames/pstables.h
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/psnames/psmodule.h
|
../../../src/java.desktop/share/native/libfreetype/src/psnames/psmodule.h
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/psnames/pspic.c
|
../../../src/java.desktop/share/native/libfreetype/src/base
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/base/ftobjs.c
|
../../../src/java.desktop/share/native/libfreetype/src/base/ftobjs.c
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/base/ftfntfmt.c
|
../../../src/java.desktop/share/native/libfreetype/src/base/ftfntfmt.c
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/base/ftinit.c
|
../../../src/java.desktop/share/native/libfreetype/src/base/ftinit.c
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/base/ftapi.c
|
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/base/ftdbgmem.c
|
../../../src/java.desktop/share/native/libfreetype/src/base/ftdbgmem.c
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/base/fthash.c
|
../../../src/java.desktop/share/native/libfreetype/src/base/fthash.c
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/base/basepic.c
|
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/base/ftpic.c
|
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/base/ftbitmap.c
|
../../../src/java.desktop/share/native/libfreetype/src/base/ftbitmap.c
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/base/ftpsprop.c
|
../../../src/java.desktop/share/native/libfreetype/src/base/ftpsprop.c
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/base/ftcid.c
|
../../../src/java.desktop/share/native/libfreetype/src/base/ftcid.c
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/base/md5.h
|
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/base/ftglyph.c
|
../../../src/java.desktop/share/native/libfreetype/src/base/ftglyph.c
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/base/ftgloadr.c
|
../../../src/java.desktop/share/native/libfreetype/src/base/ftgloadr.c
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/base/ftsystem.c
|
../../../src/java.desktop/share/native/libfreetype/src/base/ftsystem.c
|
||||||
@@ -480,11 +483,9 @@ set(SOURCE_FILES
|
|||||||
../../../src/java.desktop/share/native/libfreetype/src/base/ftsnames.c
|
../../../src/java.desktop/share/native/libfreetype/src/base/ftsnames.c
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/base/ftdebug.c
|
../../../src/java.desktop/share/native/libfreetype/src/base/ftdebug.c
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/base/ftmm.c
|
../../../src/java.desktop/share/native/libfreetype/src/base/ftmm.c
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/base/basepic.h
|
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/base/ftbase.h
|
../../../src/java.desktop/share/native/libfreetype/src/base/ftbase.h
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/base/ftfstype.c
|
../../../src/java.desktop/share/native/libfreetype/src/base/ftfstype.c
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/base/fttrigon.c
|
../../../src/java.desktop/share/native/libfreetype/src/base/fttrigon.c
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/base/md5.c
|
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/base/ftbbox.c
|
../../../src/java.desktop/share/native/libfreetype/src/base/ftbbox.c
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/base/ftstroke.c
|
../../../src/java.desktop/share/native/libfreetype/src/base/ftstroke.c
|
||||||
../../../src/java.desktop/share/native/libfreetype/src/base/ftgasp.c
|
../../../src/java.desktop/share/native/libfreetype/src/base/ftgasp.c
|
||||||
@@ -742,38 +743,214 @@ set(SOURCE_FILES
|
|||||||
../../../src/java.desktop/share/native/libjavajpeg/jidctred.c
|
../../../src/java.desktop/share/native/libjavajpeg/jidctred.c
|
||||||
../../../src/java.desktop/share/native/libjavajpeg/jpegint.h
|
../../../src/java.desktop/share/native/libjavajpeg/jpegint.h
|
||||||
../../../src/java.desktop/share/native/libjavajpeg/jdpostct.c
|
../../../src/java.desktop/share/native/libjavajpeg/jdpostct.c
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager
|
||||||
../../../src/java.desktop/share/native/libfontmanager/DrawGlyphList.c
|
../../../src/java.desktop/share/native/libfontmanager/DrawGlyphList.c
|
||||||
../../../src/java.desktop/share/native/libfontmanager/HBShaper.c
|
../../../src/java.desktop/share/native/libfontmanager/HBShaper.c
|
||||||
../../../src/java.desktop/share/native/libfontmanager/scriptMapping.c
|
../../../src/java.desktop/share/native/libfontmanager/scriptMapping.c
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz
|
||||||
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-buffer.h
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-buffer.h
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-aat-fdsc-table.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-post-table.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-complex-indic-machine.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-open-type.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-subset-plan.cc
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-aat-layout-common.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-complex-use-machine.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-layout-base-table.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-head-table.hh
|
||||||
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-set.h
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-set.h
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-coretext.cc
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-complex-arabic-win1256.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-complex-khmer.cc
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-shaper-list.hh
|
||||||
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-face.h
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-face.h
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-buffer.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-var.cc
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-cff-interp-common.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-map.cc
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-post-macroman.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-fallback.hh
|
||||||
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-common.h
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-common.h
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-deprecated.h
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-blob.cc
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-subset.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-normalize.cc
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-unicode.cc
|
||||||
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-version.h
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-version.h
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-stat-table.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-name-language.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-aat-ltag-table.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-aat.h
|
||||||
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-font.h
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-font.h
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-color.cc
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-cff-interp-cs-common.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-kern.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-subset-cff-common.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-complex-default.cc
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-face.cc
|
||||||
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-coretext.h
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-coretext.h
|
||||||
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-tag.h
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-cff1-table.cc
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-aat-layout-just-table.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-color-colr-table.hh
|
||||||
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-deprecated.h
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-deprecated.h
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-subset-cff1.cc
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-complex-arabic-table.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-aat-layout-kerx-table.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-vorg-table.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-blob.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-font.cc
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-unicode.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-complex-indic-table.cc
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-kern-table.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-subset.cc
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-normalize.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-common.cc
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-buffer-serialize.cc
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-name-language.cc
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-layout-gpos-table.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-var-avar-table.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-subset-cff-common.cc
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-fallback-shape.cc
|
||||||
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot.h
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot.h
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-cff1-table.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-face.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-string-array.hh
|
||||||
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-layout.h
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-layout.h
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-subset-cff1.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-aat-layout-lcar-table.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-var-hvar-table.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-layout-gsubgpos.hh
|
||||||
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-var.h
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-var.h
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-atomic.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-static.cc
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ucdn
|
||||||
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ucdn/ucdn.c
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ucdn/ucdn.c
|
||||||
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ucdn/ucdn.h
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ucdn/ucdn.h
|
||||||
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ucdn/ucdn_db.h
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ucdn/ucdn_db.h
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-aat-layout-morx-table.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-cff2-interp-cs.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ucdn.cc
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-complex-khmer-machine.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-name.h
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-complex-thai.cc
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-hhea-table.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-var-mvar-table.hh
|
||||||
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-shape.h
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-shape.h
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-tag.cc
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-subset-plan.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-os2-unicode-ranges.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-warning.cc
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-hdmx-table.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-complex-khmer.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ft.cc
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-cff-common.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-layout-gdef-table.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-glyf-table.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-fallback.cc
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-buffer.cc
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-map.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-subset-glyf.cc
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-name-table.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-set.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-color.h
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-cff2-table.cc
|
||||||
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-shape-plan.h
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-shape-plan.h
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-shape-plan.cc
|
||||||
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-font.h
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-font.h
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-complex-use.cc
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-color-sbix-table.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-complex-indic.hh
|
||||||
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-unicode.h
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-unicode.h
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-unicode-emoji-table.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-aat-layout-feat-table.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-object.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-complex-myanmar.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-gasp-table.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-complex-arabic.cc
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-buffer-deserialize-json.hh
|
||||||
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape.h
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape.h
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-vector.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-complex-myanmar-machine.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-complex-arabic-fallback.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-debug.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-tag-table.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-complex-vowel-constraints.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-shaper.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-aat-layout.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-iter.hh
|
||||||
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-blob.h
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-blob.h
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-layout.cc
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-face.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-aat-layout-trak-table.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-cff1-interp-cs.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-hmtx-table.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-aat-layout-ankr-table.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape.cc
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-cff-interp-dict-common.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-aat-map.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-layout-common.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-subset-input.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-color-cbdt-table.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-color-cpal-table.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-subset-cff2.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-utf.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-complex-hebrew.cc
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-map.cc
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-var-fvar-table.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-font.cc
|
||||||
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-map.h
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-map.h
|
||||||
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb.h
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb.h
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-shaper.cc
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-layout-jstf-table.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-aat-layout.cc
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-mutex.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-os2-table.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-face.cc
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-layout.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-layout-gsub-table.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-aat-layout.h
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-subset-input.cc
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-math-table.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-cmap-table.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-aat-layout-bsln-table.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-aat-map.cc
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-font.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-maxp-table.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-buffer-deserialize-text.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-map.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-subset-cff2.cc
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-array.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-set.cc
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-shape-plan.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-shape.cc
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-complex-hangul.cc
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-null.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-cff2-table.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-name.cc
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-complex.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-subset-glyf.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-set-digest.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-complex-indic.cc
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-open-file.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-machinery.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-complex-myanmar.cc
|
||||||
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-subset.h
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-subset.h
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-color-svg-table.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-complex-use.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-dsalgs.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-complex-use-table.cc
|
||||||
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-math.h
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-math.h
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-math.cc
|
||||||
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ft.h
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ft.h
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-complex-arabic.hh
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-complex-vowel-constraints.cc
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/harfbuzz/hb-shaper-impl.hh
|
||||||
../../../src/java.desktop/share/native/libfontmanager/glyphblitting.h
|
../../../src/java.desktop/share/native/libfontmanager/glyphblitting.h
|
||||||
../../../src/java.desktop/share/native/libfontmanager/hb-jdk.h
|
../../../src/java.desktop/share/native/libfontmanager/hb-jdk.h
|
||||||
../../../src/java.desktop/share/native/libfontmanager/fontconfig.h
|
../../../src/java.desktop/share/native/libfontmanager/fontconfig.h
|
||||||
|
../../../src/java.desktop/share/native/libfontmanager/hb-jdk-font.cc
|
||||||
../../../src/java.desktop/share/native/libfontmanager/freetypeScaler.c
|
../../../src/java.desktop/share/native/libfontmanager/freetypeScaler.c
|
||||||
../../../src/java.desktop/share/native/libfontmanager/scriptMapping.h
|
../../../src/java.desktop/share/native/libfontmanager/scriptMapping.h
|
||||||
../../../src/java.desktop/share/native/libfontmanager/ColorGlyphSurfaceData.c
|
../../../src/java.desktop/share/native/libfontmanager/ColorGlyphSurfaceData.c
|
||||||
@@ -911,7 +1088,6 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
|||||||
../../../src/java.desktop/macosx/native/libawt_lwawt/awt/CFileDialog.h
|
../../../src/java.desktop/macosx/native/libawt_lwawt/awt/CFileDialog.h
|
||||||
../../../src/java.desktop/macosx/native/libawt_lwawt/awt/AWTWindow.h
|
../../../src/java.desktop/macosx/native/libawt_lwawt/awt/AWTWindow.h
|
||||||
../../../src/java.desktop/macosx/native/libawt_lwawt/awt/LWCToolkit.h
|
../../../src/java.desktop/macosx/native/libawt_lwawt/awt/LWCToolkit.h
|
||||||
../../../src/java.desktop/macosx/native/libawt_lwawt/awt/CGraphicsConfig.m
|
|
||||||
../../../src/java.desktop/macosx/native/libawt_lwawt/awt/CDesktopPeer.m
|
../../../src/java.desktop/macosx/native/libawt_lwawt/awt/CDesktopPeer.m
|
||||||
../../../src/java.desktop/macosx/native/libawt_lwawt/awt/PrintModel.h
|
../../../src/java.desktop/macosx/native/libawt_lwawt/awt/PrintModel.h
|
||||||
../../../src/java.desktop/macosx/native/libawt_lwawt/awt/CTrayIcon.m
|
../../../src/java.desktop/macosx/native/libawt_lwawt/awt/CTrayIcon.m
|
||||||
@@ -1149,10 +1325,8 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin" OR ${CMAKE_SYSTEM_NAME} MATCHES "Linux"
|
|||||||
../../../src/java.desktop/unix/native/libawt/awt/awt_Mlib.c
|
../../../src/java.desktop/unix/native/libawt/awt/awt_Mlib.c
|
||||||
../../../src/java.desktop/unix/native/libawt/awt/awt_LoadLibrary.c
|
../../../src/java.desktop/unix/native/libawt/awt/awt_LoadLibrary.c
|
||||||
../../../src/java.desktop/unix/native/libawt/awt/initIDs.c
|
../../../src/java.desktop/unix/native/libawt/awt/initIDs.c
|
||||||
../../../src/java.desktop/unix/native/libawt_xawt/java2d/x11/XRBackendNative.c
|
../../../src/java.desktop/unix/native/libawt_xawt/awt
|
||||||
../../../src/java.desktop/unix/native/libawt_xawt/java2d/x11/XRSurfaceData.c
|
|
||||||
../../../src/java.desktop/unix/native/libawt_xawt/awt/gtk2_interface.c
|
../../../src/java.desktop/unix/native/libawt_xawt/awt/gtk2_interface.c
|
||||||
../../../src/java.desktop/unix/native/libawt_xawt/awt/randr.h
|
|
||||||
../../../src/java.desktop/unix/native/libawt_xawt/awt/list.c
|
../../../src/java.desktop/unix/native/libawt_xawt/awt/list.c
|
||||||
../../../src/java.desktop/unix/native/libawt_xawt/awt/awt_DrawingSurface.c
|
../../../src/java.desktop/unix/native/libawt_xawt/awt/awt_DrawingSurface.c
|
||||||
../../../src/java.desktop/unix/native/libawt_xawt/awt/swing_GTKStyle.c
|
../../../src/java.desktop/unix/native/libawt_xawt/awt/swing_GTKStyle.c
|
||||||
@@ -1167,8 +1341,6 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin" OR ${CMAKE_SYSTEM_NAME} MATCHES "Linux"
|
|||||||
../../../src/java.desktop/unix/native/libawt_xawt/awt/multi_font.c
|
../../../src/java.desktop/unix/native/libawt_xawt/awt/multi_font.c
|
||||||
../../../src/java.desktop/unix/native/libawt_xawt/awt/multiVis.h
|
../../../src/java.desktop/unix/native/libawt_xawt/awt/multiVis.h
|
||||||
../../../src/java.desktop/unix/native/libawt_xawt/awt/awt_Event.c
|
../../../src/java.desktop/unix/native/libawt_xawt/awt/awt_Event.c
|
||||||
../../../src/java.desktop/unix/native/libawt_xawt/awt/Xrandr.h
|
|
||||||
../../../src/java.desktop/unix/native/libawt_xawt/awt/robot_common.c
|
|
||||||
../../../src/java.desktop/unix/native/libawt_xawt/awt/awt_util.c
|
../../../src/java.desktop/unix/native/libawt_xawt/awt/awt_util.c
|
||||||
../../../src/java.desktop/unix/native/libawt_xawt/awt/list.h
|
../../../src/java.desktop/unix/native/libawt_xawt/awt/list.h
|
||||||
../../../src/java.desktop/unix/native/libawt_xawt/awt/gtk2_interface.h
|
../../../src/java.desktop/unix/native/libawt_xawt/awt/gtk2_interface.h
|
||||||
@@ -1176,24 +1348,14 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin" OR ${CMAKE_SYSTEM_NAME} MATCHES "Linux"
|
|||||||
../../../src/java.desktop/unix/native/libawt_xawt/awt/gtk3_interface.c
|
../../../src/java.desktop/unix/native/libawt_xawt/awt/gtk3_interface.c
|
||||||
../../../src/java.desktop/unix/native/libawt_xawt/awt/gtk_interface.h
|
../../../src/java.desktop/unix/native/libawt_xawt/awt/gtk_interface.h
|
||||||
../../../src/java.desktop/unix/native/libawt_xawt/awt/awt_Robot.c
|
../../../src/java.desktop/unix/native/libawt_xawt/awt/awt_Robot.c
|
||||||
../../../src/java.desktop/unix/native/libawt_xawt/awt/HPkeysym.h
|
|
||||||
../../../src/java.desktop/unix/native/libawt_xawt/awt/awt_Event.h
|
../../../src/java.desktop/unix/native/libawt_xawt/awt/awt_Event.h
|
||||||
../../../src/java.desktop/unix/native/libawt_xawt/awt/multiVis.c
|
../../../src/java.desktop/unix/native/libawt_xawt/awt/multiVis.c
|
||||||
../../../src/java.desktop/unix/native/libawt_xawt/awt/canvas.h
|
../../../src/java.desktop/unix/native/libawt_xawt/awt/canvas.h
|
||||||
../../../src/java.desktop/unix/native/libawt_xawt/awt/awt_AWTEvent.c
|
../../../src/java.desktop/unix/native/libawt_xawt/awt/awt_AWTEvent.c
|
||||||
../../../src/java.desktop/unix/native/libawt_xawt/awt/multi_font.h
|
../../../src/java.desktop/unix/native/libawt_xawt/awt/multi_font.h
|
||||||
../../../src/java.desktop/unix/native/libawt_xawt/awt/robot_common.h
|
|
||||||
../../../src/java.desktop/unix/native/libawt_xawt/awt/sun_awt_X11_GtkFileDialogPeer.c
|
../../../src/java.desktop/unix/native/libawt_xawt/awt/sun_awt_X11_GtkFileDialogPeer.c
|
||||||
../../../src/java.desktop/unix/native/libawt_xawt/awt/awt_GraphicsEnv.c
|
../../../src/java.desktop/unix/native/libawt_xawt/awt/awt_GraphicsEnv.c
|
||||||
../../../src/java.desktop/unix/native/libawt_xawt/awt/awt_InputMethod.c
|
../../../src/java.desktop/unix/native/libawt_xawt/awt/awt_InputMethod.c
|
||||||
../../../src/java.desktop/unix/native/libawt_xawt/xawt/awt_Desktop.c
|
|
||||||
../../../src/java.desktop/unix/native/libawt_xawt/xawt/XToolkit.c
|
|
||||||
../../../src/java.desktop/unix/native/libawt_xawt/xawt/awt_Taskbar.c
|
|
||||||
../../../src/java.desktop/unix/native/libawt_xawt/xawt/gnome_interface.c
|
|
||||||
../../../src/java.desktop/unix/native/libawt_xawt/xawt/XlibWrapper.c
|
|
||||||
../../../src/java.desktop/unix/native/libawt_xawt/xawt/gnome_interface.h
|
|
||||||
../../../src/java.desktop/unix/native/libawt_xawt/xawt/awt_Taskbar.h
|
|
||||||
../../../src/java.desktop/unix/native/libawt_xawt/xawt/XWindow.c
|
|
||||||
../../../src/java.desktop/unix/native/libfontmanager/X11FontScaler.c
|
../../../src/java.desktop/unix/native/libfontmanager/X11FontScaler.c
|
||||||
../../../src/java.desktop/unix/native/libfontmanager/X11TextRenderer.c
|
../../../src/java.desktop/unix/native/libfontmanager/X11TextRenderer.c
|
||||||
../../../src/java.desktop/unix/native/libsplashscreen/splashscreen_config.h
|
../../../src/java.desktop/unix/native/libsplashscreen/splashscreen_config.h
|
||||||
|
|||||||
33
jb/project/tools/exclude_jcef_module.patch
Normal file
33
jb/project/tools/exclude_jcef_module.patch
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
Index: src/java.desktop/share/classes/module-info.java
|
||||||
|
IDEA additional info:
|
||||||
|
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
|
||||||
|
<+>UTF-8
|
||||||
|
===================================================================
|
||||||
|
--- src/java.desktop/share/classes/module-info.java (revision 08d1926f8b7c74da0e1144e0ce5912e7589c4688)
|
||||||
|
+++ src/java.desktop/share/classes/module-info.java (date 1583207610780)
|
||||||
|
@@ -109,10 +109,7 @@
|
||||||
|
// see make/GensrcModuleInfo.gmk
|
||||||
|
exports sun.awt to
|
||||||
|
jdk.accessibility,
|
||||||
|
- jdk.unsupported.desktop,
|
||||||
|
- jcef;
|
||||||
|
-
|
||||||
|
- exports java.awt.peer to jcef;
|
||||||
|
+ jdk.unsupported.desktop;
|
||||||
|
|
||||||
|
exports java.awt.dnd.peer to jdk.unsupported.desktop;
|
||||||
|
exports sun.awt.dnd to jdk.unsupported.desktop;
|
||||||
|
Index: modules.list
|
||||||
|
IDEA additional info:
|
||||||
|
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
|
||||||
|
<+>UTF-8
|
||||||
|
===================================================================
|
||||||
|
--- modules.list (revision 08d1926f8b7c74da0e1144e0ce5912e7589c4688)
|
||||||
|
+++ modules.list (date 1583207610776)
|
||||||
|
@@ -60,5 +60,4 @@
|
||||||
|
jdk.unsupported,
|
||||||
|
jdk.xml.dom,
|
||||||
|
jdk.zipfs,
|
||||||
|
-jdk.hotspot.agent,
|
||||||
|
-jcef
|
||||||
|
+jdk.hotspot.agent
|
||||||
21
jb/project/tools/exclude_jfx_module.patch
Normal file
21
jb/project/tools/exclude_jfx_module.patch
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
Index: modules.list
|
||||||
|
IDEA additional info:
|
||||||
|
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
|
||||||
|
<+>UTF-8
|
||||||
|
===================================================================
|
||||||
|
--- modules.list (revision 57ff1dba25206f9f078b48995aa8744e51b1dd2a)
|
||||||
|
+++ modules.list (date 1584500341724)
|
||||||
|
@@ -20,13 +20,6 @@
|
||||||
|
java.transaction.xa,
|
||||||
|
java.xml,
|
||||||
|
java.xml.crypto,
|
||||||
|
-javafx.base,
|
||||||
|
-javafx.controls,
|
||||||
|
-javafx.fxml,
|
||||||
|
-javafx.graphics,
|
||||||
|
-javafx.media,
|
||||||
|
-javafx.swing,
|
||||||
|
-javafx.web,
|
||||||
|
jdk.accessibility,
|
||||||
|
jdk.aot,
|
||||||
|
jdk.charsets,
|
||||||
9
jb/project/tools/linux/scripts/mkbundles.sh
Executable file
9
jb/project/tools/linux/scripts/mkbundles.sh
Executable file
@@ -0,0 +1,9 @@
|
|||||||
|
#!/bin/bash -x
|
||||||
|
|
||||||
|
JBSDK_VERSION=$1
|
||||||
|
JDK_BUILD_NUMBER=$2
|
||||||
|
build_number=$3
|
||||||
|
script_dir=jb/project/tools/linux/scripts
|
||||||
|
${script_dir}/mkimages.sh $JBSDK_VERSION $JDK_BUILD_NUMBER $build_number "jcef" || exit $?
|
||||||
|
${script_dir}/mkimages.sh $JBSDK_VERSION $JDK_BUILD_NUMBER $build_number "jfx" || exit $?
|
||||||
|
${script_dir}/mkimages.sh $JBSDK_VERSION $JDK_BUILD_NUMBER $build_number "jfx_jcef" || exit $?
|
||||||
123
jb/project/tools/linux/scripts/mkimages.sh
Executable file
123
jb/project/tools/linux/scripts/mkimages.sh
Executable file
@@ -0,0 +1,123 @@
|
|||||||
|
#!/bin/bash -x
|
||||||
|
|
||||||
|
# The following parameters must be specified:
|
||||||
|
# JBSDK_VERSION - specifies the current version of OpenJDK e.g. 11_0_6
|
||||||
|
# JDK_BUILD_NUMBER - specifies the number of OpenJDK build or the value of --with-version-build argument to configure
|
||||||
|
# build_number - specifies the number of JetBrainsRuntime build
|
||||||
|
# bundle_type - specifies bundle to bu built; possible values:
|
||||||
|
# jcef - the bundles 1) jbr with jcef+javafx, 2) jbrsdk and 3) test will be created
|
||||||
|
# jfx - the bundle 1) jbr with javafx only will be created
|
||||||
|
#
|
||||||
|
# jbrsdk-${JBSDK_VERSION}-osx-x64-b${build_number}.tar.gz
|
||||||
|
# jbr-${JBSDK_VERSION}-osx-x64-b${build_number}.tar.gz
|
||||||
|
#
|
||||||
|
# $ ./java --version
|
||||||
|
# openjdk 11.0.6 2020-01-14
|
||||||
|
# OpenJDK Runtime Environment (build 11.0.6+${JDK_BUILD_NUMBER}-b${build_number})
|
||||||
|
# OpenJDK 64-Bit Server VM (build 11.0.6+${JDK_BUILD_NUMBER}-b${build_number}, mixed mode)
|
||||||
|
#
|
||||||
|
|
||||||
|
JBSDK_VERSION=$1
|
||||||
|
JDK_BUILD_NUMBER=$2
|
||||||
|
build_number=$3
|
||||||
|
bundle_type=$4
|
||||||
|
|
||||||
|
function create_jbr {
|
||||||
|
|
||||||
|
case "$1" in
|
||||||
|
"${bundle_type}_lw")
|
||||||
|
JBR_BASE_NAME=jbr_${bundle_type}_lw-${JBSDK_VERSION}
|
||||||
|
grep -v "jdk.compiler\|jdk.hotspot.agent" modules.list > modules_tmp.list
|
||||||
|
;;
|
||||||
|
"jfx_jcef" | "jcef")
|
||||||
|
JBR_BASE_NAME=jbr_${bundle_type}-${JBSDK_VERSION}
|
||||||
|
cat modules.list > modules_tmp.list
|
||||||
|
;;
|
||||||
|
"jfx")
|
||||||
|
JBR_BASE_NAME=jbr-${JBSDK_VERSION}
|
||||||
|
cat modules.list > modules_tmp.list
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo "***ERR*** bundle was not specified" && exit 1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
rm -rf ${BASE_DIR}/${JBR_BUNDLE}
|
||||||
|
|
||||||
|
JBR=$JBR_BASE_NAME-linux-x64-b$build_number
|
||||||
|
|
||||||
|
echo Running jlink....
|
||||||
|
$JSDK/bin/jlink \
|
||||||
|
--module-path $JSDK/jmods --no-man-pages --compress=2 \
|
||||||
|
--add-modules $(xargs < modules_tmp.list | sed s/" "//g) --output $BASE_DIR/$JBR_BUNDLE
|
||||||
|
|
||||||
|
if [[ "$bundle_type" == *jcef* ]]; then
|
||||||
|
cp -R $BASE_DIR/$JBR_BUNDLE $BASE_DIR/jbr
|
||||||
|
cp -R jcef_linux_x64/* $BASE_DIR/$JBR_BUNDLE/lib || exit $?
|
||||||
|
fi
|
||||||
|
grep -v "^JAVA_VERSION" $JSDK/release | grep -v "^MODULES" >> $BASE_DIR/$JBR_BUNDLE/release
|
||||||
|
|
||||||
|
echo Creating $JBR.tar.gz ...
|
||||||
|
rm -rf ${BASE_DIR}/jbr
|
||||||
|
cp -R ${BASE_DIR}/${JBR_BUNDLE} ${BASE_DIR}/jbr
|
||||||
|
tar -pcf $JBR.tar -C $BASE_DIR jbr || exit $?
|
||||||
|
gzip $JBR.tar || exit $?
|
||||||
|
rm -rf ${BASE_DIR}/${JBR_BUNDLE}
|
||||||
|
}
|
||||||
|
|
||||||
|
JBRSDK_BASE_NAME=jbrsdk-$JBSDK_VERSION
|
||||||
|
|
||||||
|
git checkout -- modules.list src
|
||||||
|
case "$bundle_type" in
|
||||||
|
"jfx")
|
||||||
|
git apply -p0 < jb/project/tools/exclude_jcef_module.patch
|
||||||
|
;;
|
||||||
|
"jcef")
|
||||||
|
git apply -p0 < jb/project/tools/exclude_jfx_module.patch
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
sh configure \
|
||||||
|
--disable-warnings-as-errors \
|
||||||
|
--with-debug-level=release \
|
||||||
|
--with-version-pre= \
|
||||||
|
--with-version-build=${JDK_BUILD_NUMBER} \
|
||||||
|
--with-version-opt=b${build_number} \
|
||||||
|
--with-import-modules=./modular-sdk \
|
||||||
|
--enable-cds=yes || exit $?
|
||||||
|
|
||||||
|
make images CONF=linux-x86_64-normal-server-release || exit $?
|
||||||
|
|
||||||
|
JSDK=build/linux-x86_64-normal-server-release/images/jdk
|
||||||
|
JBSDK=$JBRSDK_BASE_NAME-linux-x64-b$build_number
|
||||||
|
|
||||||
|
echo Fixing permissions
|
||||||
|
chmod -R a+r $JSDK
|
||||||
|
|
||||||
|
BASE_DIR=build/linux-x86_64-normal-server-release/images
|
||||||
|
JBRSDK_BUNDLE=jbrsdk
|
||||||
|
|
||||||
|
rm -rf $BASE_DIR/$JBRSDK_BUNDLE
|
||||||
|
cp -r $JSDK $BASE_DIR/$JBRSDK_BUNDLE || exit $?
|
||||||
|
|
||||||
|
if [[ "$bundle_type" == *jcef* ]]; then
|
||||||
|
cp -R jcef_linux_x64/* $BASE_DIR/$JBRSDK_BUNDLE/lib || exit $?
|
||||||
|
fi
|
||||||
|
if [ "$bundle_type" == "jfx_jcef" ]; then
|
||||||
|
echo Creating $JBSDK.tar.gz ...
|
||||||
|
tar -pcf $JBSDK.tar --exclude=*.debuginfo --exclude=demo --exclude=sample --exclude=man \
|
||||||
|
-C $BASE_DIR $JBRSDK_BUNDLE || exit $?
|
||||||
|
gzip $JBSDK.tar || exit $?
|
||||||
|
fi
|
||||||
|
|
||||||
|
JBR_BUNDLE=jbr_${bundle_type}
|
||||||
|
create_jbr ${bundle_type}
|
||||||
|
|
||||||
|
if [ "$bundle_type" == "jfx_jcef" ]; then
|
||||||
|
make test-image || exit $?
|
||||||
|
|
||||||
|
JBRSDK_TEST=$JBRSDK_BASE_NAME-linux-test-x64-b$build_number
|
||||||
|
|
||||||
|
echo Creating $JBSDK_TEST.tar.gz ...
|
||||||
|
tar -pcf $JBRSDK_TEST.tar -C $BASE_DIR --exclude='test/jdk/demos' test || exit $?
|
||||||
|
gzip $JBRSDK_TEST.tar || exit $?
|
||||||
|
fi
|
||||||
16
jb/project/tools/mac/scripts/entitlements.xml
Normal file
16
jb/project/tools/mac/scripts/entitlements.xml
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
|
<plist version="1.0">
|
||||||
|
<dict>
|
||||||
|
<key>com.apple.security.cs.allow-jit</key>
|
||||||
|
<true/>
|
||||||
|
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
|
||||||
|
<true/>
|
||||||
|
<key>com.apple.security.cs.allow-dyld-environment-variables</key>
|
||||||
|
<true/>
|
||||||
|
<key>com.apple.security.cs.disable-library-validation</key>
|
||||||
|
<true/>
|
||||||
|
<key>com.apple.security.cs.disable-executable-page-protection</key>
|
||||||
|
<true/>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
||||||
9
jb/project/tools/mac/scripts/mkbundles.sh
Executable file
9
jb/project/tools/mac/scripts/mkbundles.sh
Executable file
@@ -0,0 +1,9 @@
|
|||||||
|
#!/bin/bash -x
|
||||||
|
|
||||||
|
JBSDK_VERSION=$1
|
||||||
|
JDK_BUILD_NUMBER=$2
|
||||||
|
build_number=$3
|
||||||
|
script_dir=jb/project/tools/mac/scripts
|
||||||
|
${script_dir}/mkimages.sh $JBSDK_VERSION $JDK_BUILD_NUMBER $build_number "jcef" || exit $?
|
||||||
|
${script_dir}/mkimages.sh $JBSDK_VERSION $JDK_BUILD_NUMBER $build_number "jfx" || exit $?
|
||||||
|
${script_dir}/mkimages.sh $JBSDK_VERSION $JDK_BUILD_NUMBER $build_number "jfx_jcef" || exit $?
|
||||||
134
jb/project/tools/mac/scripts/mkimages.sh
Executable file
134
jb/project/tools/mac/scripts/mkimages.sh
Executable file
@@ -0,0 +1,134 @@
|
|||||||
|
#!/bin/bash -x
|
||||||
|
|
||||||
|
# The following parameters must be specified:
|
||||||
|
# JBSDK_VERSION - specifies the current version of OpenJDK e.g. 11_0_6
|
||||||
|
# JDK_BUILD_NUMBER - specifies the number of OpenJDK build or the value of --with-version-build argument to configure
|
||||||
|
# build_number - specifies the number of JetBrainsRuntime build
|
||||||
|
# bundle_type - specifies bundle to bu built; possible values:
|
||||||
|
# jcef - the bundles 1) jbr with jcef+javafx, 2) jbrsdk and 3) test will be created
|
||||||
|
# jfx - the bundle 1) jbr with javafx only will be created
|
||||||
|
#
|
||||||
|
# jbrsdk-${JBSDK_VERSION}-osx-x64-b${build_number}.tar.gz
|
||||||
|
# jbr-${JBSDK_VERSION}-osx-x64-b${build_number}.tar.gz
|
||||||
|
#
|
||||||
|
# $ ./java --version
|
||||||
|
# openjdk 11.0.6 2020-01-14
|
||||||
|
# OpenJDK Runtime Environment (build 11.0.6+${JDK_BUILD_NUMBER}-b${build_number})
|
||||||
|
# OpenJDK 64-Bit Server VM (build 11.0.6+${JDK_BUILD_NUMBER}-b${build_number}, mixed mode)
|
||||||
|
#
|
||||||
|
|
||||||
|
JBSDK_VERSION=$1
|
||||||
|
JDK_BUILD_NUMBER=$2
|
||||||
|
build_number=$3
|
||||||
|
bundle_type=$4
|
||||||
|
|
||||||
|
function create_jbr {
|
||||||
|
|
||||||
|
case "$1" in
|
||||||
|
"${bundle_type}_lw")
|
||||||
|
JBR_BASE_NAME=jbr_${bundle_type}_lw-${JBSDK_VERSION}
|
||||||
|
grep -v "jdk.compiler\|jdk.hotspot.agent" modules.list > modules_tmp.list
|
||||||
|
;;
|
||||||
|
"jfx_jcef" | "jcef")
|
||||||
|
JBR_BASE_NAME=jbr_${bundle_type}-${JBSDK_VERSION}
|
||||||
|
cat modules.list > modules_tmp.list
|
||||||
|
;;
|
||||||
|
"jfx")
|
||||||
|
JBR_BASE_NAME=jbr-${JBSDK_VERSION}
|
||||||
|
cat modules.list > modules_tmp.list
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo "***ERR*** bundle was not specified" && exit 1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
rm -rf ${BASE_DIR}/${JBR_BUNDLE}
|
||||||
|
|
||||||
|
JRE_CONTENTS=${BASE_DIR}/${JBR_BUNDLE}/Contents
|
||||||
|
JRE_HOME=${JRE_CONTENTS}/Home
|
||||||
|
if [ -d "${JRE_CONTENTS}" ]; then
|
||||||
|
rm -rf ${JRE_CONTENTS}
|
||||||
|
fi
|
||||||
|
mkdir -p ${JRE_CONTENTS}
|
||||||
|
|
||||||
|
JBR=${JBR_BASE_NAME}-osx-x64-b${build_number}
|
||||||
|
|
||||||
|
${BASE_DIR}/$JBRSDK_BUNDLE/Contents/Home/bin/jlink \
|
||||||
|
--module-path ${BASE_DIR}/${JBRSDK_BUNDLE}/Contents/Home/jmods --no-man-pages --compress=2 \
|
||||||
|
--add-modules $(xargs < modules_tmp.list | sed s/" "//g) --output ${JRE_HOME} || exit $?
|
||||||
|
grep -v "^JAVA_VERSION" ${BASE_DIR}/${JBRSDK_BUNDLE}/Contents/Home/release | grep -v "^MODULES" >> ${JRE_HOME}/release
|
||||||
|
cp -R ${BASE_DIR}/${JBRSDK_BUNDLE}/Contents/MacOS ${JRE_CONTENTS}
|
||||||
|
cp ${BASE_DIR}/${JBRSDK_BUNDLE}/Contents/Info.plist ${JRE_CONTENTS}
|
||||||
|
|
||||||
|
if [[ "${bundle_type}" == *jcef* ]]; then
|
||||||
|
rm -rf ${JRE_CONTENTS}/Frameworks || exit $?
|
||||||
|
rm -rf ${JRE_CONTENTS}/Helpers || exit $?
|
||||||
|
cp -a jcef_mac/Frameworks ${JRE_CONTENTS} || exit $?
|
||||||
|
cp -a jcef_mac/Helpers ${JRE_CONTENTS} || exit $?
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo Creating ${JBR}.tar.gz ...
|
||||||
|
rm -rf ${BASE_DIR}/jbr
|
||||||
|
cp -R ${BASE_DIR}/${JBR_BUNDLE} ${BASE_DIR}/jbr
|
||||||
|
COPYFILE_DISABLE=1 tar -pczf ${JBR}.tar.gz --exclude='*.dSYM' --exclude='man' -C ${BASE_DIR} jbr || exit $?
|
||||||
|
rm -rf ${BASE_DIR}/${JBR_BUNDLE}
|
||||||
|
}
|
||||||
|
|
||||||
|
JBRSDK_BASE_NAME=jbrsdk-${JBSDK_VERSION}
|
||||||
|
|
||||||
|
git checkout -- modules.list src
|
||||||
|
case "$bundle_type" in
|
||||||
|
"jfx")
|
||||||
|
git apply -p0 < jb/project/tools/exclude_jcef_module.patch
|
||||||
|
;;
|
||||||
|
"jcef")
|
||||||
|
git apply -p0 < jb/project/tools/exclude_jfx_module.patch
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
sh configure \
|
||||||
|
--disable-warnings-as-errors \
|
||||||
|
--with-debug-level=release \
|
||||||
|
--with-version-pre= \
|
||||||
|
--with-version-build=${JDK_BUILD_NUMBER} \
|
||||||
|
--with-version-opt=b${build_number} \
|
||||||
|
--with-import-modules=./modular-sdk \
|
||||||
|
--with-boot-jdk=`/usr/libexec/java_home -v 11` \
|
||||||
|
--enable-cds=yes || exit $?
|
||||||
|
|
||||||
|
make images CONF=macosx-x86_64-normal-server-release || exit $?
|
||||||
|
|
||||||
|
JSDK=build/macosx-x86_64-normal-server-release/images/jdk-bundle
|
||||||
|
JBSDK=${JBRSDK_BASE_NAME}-osx-x64-b${build_number}
|
||||||
|
|
||||||
|
BASE_DIR=jre
|
||||||
|
JBRSDK_BUNDLE=jbrsdk
|
||||||
|
|
||||||
|
rm -rf $BASE_DIR
|
||||||
|
mkdir $BASE_DIR || exit $?
|
||||||
|
JBSDK_VERSION_WITH_DOTS=$(echo $JBSDK_VERSION | sed 's/_/\./g')
|
||||||
|
cp -a $JSDK/jdk-$JBSDK_VERSION_WITH_DOTS.jdk $BASE_DIR/$JBRSDK_BUNDLE || exit $?
|
||||||
|
|
||||||
|
if [[ "$bundle_type" == *jcef* ]]; then
|
||||||
|
cp -a jcef_mac/Frameworks $BASE_DIR/$JBRSDK_BUNDLE/Contents/
|
||||||
|
cp -a jcef_mac/Helpers $BASE_DIR/$JBRSDK_BUNDLE/Contents/
|
||||||
|
fi
|
||||||
|
if [ "$bundle_type" == "jfx_jcef" ]; then
|
||||||
|
echo Creating $JBSDK.tar.gz ...
|
||||||
|
COPYFILE_DISABLE=1 tar -pczf $JBSDK.tar.gz -C $BASE_DIR \
|
||||||
|
--exclude='._*' --exclude='.DS_Store' --exclude='*~' \
|
||||||
|
--exclude='Home/demo' --exclude='Home/man' --exclude='Home/sample' \
|
||||||
|
$JBRSDK_BUNDLE || exit $?
|
||||||
|
fi
|
||||||
|
|
||||||
|
JBR_BUNDLE=jbr_${bundle_type}
|
||||||
|
create_jbr "${bundle_type}" || exit $?
|
||||||
|
|
||||||
|
if [ "$bundle_type" == "jfx_jcef" ]; then
|
||||||
|
make test-image || exit $?
|
||||||
|
|
||||||
|
JBRSDK_TEST=$JBRSDK_BASE_NAME-osx-test-x64-b$build_number
|
||||||
|
|
||||||
|
echo Creating $JBRSDK_TEST.tar.gz ...
|
||||||
|
COPYFILE_DISABLE=1 tar -pczf $JBRSDK_TEST.tar.gz -C build/macosx-x86_64-normal-server-release/images \
|
||||||
|
--exclude='test/jdk/demos' test || exit $?
|
||||||
|
fi
|
||||||
120
jb/project/tools/mac/scripts/notarize.sh
Executable file
120
jb/project/tools/mac/scripts/notarize.sh
Executable file
@@ -0,0 +1,120 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
APP_DIRECTORY=$1
|
||||||
|
APPL_USER=$2
|
||||||
|
APPL_PASSWORD=$3
|
||||||
|
APP_NAME=$4
|
||||||
|
BUNDLE_ID=$5
|
||||||
|
FAKE_ROOT="${6:-fake-root}"
|
||||||
|
|
||||||
|
if [[ -z "$APP_DIRECTORY" ]] || [[ -z "$APPL_USER" ]] || [[ -z "$APPL_PASSWORD" ]]; then
|
||||||
|
echo "Usage: $0 AppDirectory Username Password"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
if [[ ! -d "$APP_DIRECTORY" ]]; then
|
||||||
|
echo "AppDirectory '$APP_DIRECTORY' does not exist or not a directory"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
function log() {
|
||||||
|
echo "$(date '+[%H:%M:%S]') $*"
|
||||||
|
}
|
||||||
|
|
||||||
|
function publish-log() {
|
||||||
|
id=$1
|
||||||
|
file=$2
|
||||||
|
curl -T "$file" "$ARTIFACTORY_URL/$id" || true
|
||||||
|
}
|
||||||
|
|
||||||
|
function altool-upload() {
|
||||||
|
# Since altool uses same file for upload token we have to trick it into using different folders for token file location
|
||||||
|
# Also it copies zip into TMPDIR so we override it too, to simplify cleanup
|
||||||
|
OLD_HOME="$HOME"
|
||||||
|
export HOME="$FAKE_ROOT/home"
|
||||||
|
export TMPDIR="$FAKE_ROOT/tmp"
|
||||||
|
mkdir -p "$HOME"
|
||||||
|
mkdir -p "$TMPDIR"
|
||||||
|
export _JAVA_OPTIONS="-Duser.home=$HOME -Djava.io.tmpdir=$TMPDIR"
|
||||||
|
# Reduce amount of downloads, cache transporter libraries
|
||||||
|
shared_itmstransporter="$OLD_HOME/shared-itmstransporter"
|
||||||
|
if [[ -f "$shared_itmstransporter" ]]; then
|
||||||
|
cp -r "$shared_itmstransporter" "$HOME/.itmstransporter"
|
||||||
|
fi
|
||||||
|
# For some reason altool prints everything to stderr, not stdout
|
||||||
|
set +e
|
||||||
|
xcrun altool --notarize-app \
|
||||||
|
--username "$APPL_USER" --password "$APPL_PASSWORD" \
|
||||||
|
--primary-bundle-id "$BUNDLE_ID" \
|
||||||
|
--asc-provider JetBrainssro --file "$1" 2>&1 | tee "altool.init.out"
|
||||||
|
unset TMPDIR
|
||||||
|
export HOME="$OLD_HOME"
|
||||||
|
set -e
|
||||||
|
}
|
||||||
|
|
||||||
|
#immediately exit script with an error if a command fails
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
file="$APP_NAME.zip"
|
||||||
|
|
||||||
|
log "Zipping $file..."
|
||||||
|
rm -rf "$file"
|
||||||
|
ditto -c -k --sequesterRsrc --keepParent "$APP_DIRECTORY/Contents" "$file"
|
||||||
|
|
||||||
|
log "Notarizing $file..."
|
||||||
|
rm -rf "altool.init.out" "altool.check.out"
|
||||||
|
altool-upload "$file"
|
||||||
|
|
||||||
|
rm -rf "$file"
|
||||||
|
|
||||||
|
notarization_info="$(grep -e "RequestUUID" "altool.init.out" | grep -oE '([0-9a-f-]{36})')"
|
||||||
|
|
||||||
|
if [ -z "$notarization_info" ]; then
|
||||||
|
log "Faile to read RequestUUID from altool.init.out"
|
||||||
|
exit 10
|
||||||
|
fi
|
||||||
|
|
||||||
|
PATH="$PATH:/usr/local/bin/"
|
||||||
|
|
||||||
|
log "Notarization request sent, awaiting response"
|
||||||
|
spent=0
|
||||||
|
|
||||||
|
while true; do
|
||||||
|
# For some reason altool prints everything to stderr, not stdout
|
||||||
|
xcrun altool --username "$APPL_USER" --notarization-info "$notarization_info" --password "$APPL_PASSWORD" >"altool.check.out" 2>&1 || true
|
||||||
|
status="$(grep -oe 'Status: .*' "altool.check.out" | cut -c 9- || true)"
|
||||||
|
log "Current status: $status"
|
||||||
|
if [ "$status" = "invalid" ]; then
|
||||||
|
log "Notarization failed"
|
||||||
|
ec=1
|
||||||
|
elif [ "$status" = "success" ]; then
|
||||||
|
log "Notarization succeeded"
|
||||||
|
ec=0
|
||||||
|
else
|
||||||
|
if [ "$status" != "in progress" ]; then
|
||||||
|
log "Unknown notarization status, waiting more, altool output:"
|
||||||
|
cat "altool.check.out"
|
||||||
|
fi
|
||||||
|
if [[ $spent -gt 60 ]]; then
|
||||||
|
log "Waiting time out (apx 60 minutes)"
|
||||||
|
ec=2
|
||||||
|
break
|
||||||
|
fi
|
||||||
|
sleep 60
|
||||||
|
((spent += 1))
|
||||||
|
continue
|
||||||
|
fi
|
||||||
|
developer_log="developer_log.json"
|
||||||
|
log "Fetching $developer_log"
|
||||||
|
# TODO: Replace cut with trim or something better
|
||||||
|
url="$(grep -oe 'LogFileURL: .*' "altool.check.out" | cut -c 13-)"
|
||||||
|
wget "$url" -O "$developer_log" && cat "$developer_log" || true
|
||||||
|
if [ $ec != 0 ]; then
|
||||||
|
log "Publishing $developer_log"
|
||||||
|
publish-log "$notarization_info" "$developer_log"
|
||||||
|
fi
|
||||||
|
break
|
||||||
|
done
|
||||||
|
cat "altool.check.out"
|
||||||
|
|
||||||
|
rm -rf "altool.init.out" "altool.check.out"
|
||||||
|
exit $ec
|
||||||
95
jb/project/tools/mac/scripts/sign.sh
Executable file
95
jb/project/tools/mac/scripts/sign.sh
Executable file
@@ -0,0 +1,95 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
APP_DIRECTORY=$1
|
||||||
|
JB_CERT=$2
|
||||||
|
|
||||||
|
if [[ -z "$APP_DIRECTORY" ]] || [[ -z "$JB_CERT" ]]; then
|
||||||
|
echo "Usage: $0 AppDirectory CertificateID"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
if [[ ! -d "$APP_DIRECTORY" ]]; then
|
||||||
|
echo "AppDirectory '$APP_DIRECTORY' does not exist or not a directory"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
function log() {
|
||||||
|
echo "$(date '+[%H:%M:%S]') $*"
|
||||||
|
}
|
||||||
|
|
||||||
|
#immediately exit script with an error if a command fails
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
# Cleanup files left from previous sign attempt (if any)
|
||||||
|
find "$APP_DIRECTORY" -name '*.cstemp' -exec rm '{}' \;
|
||||||
|
|
||||||
|
log "Signing libraries and executables..."
|
||||||
|
# -perm +111 searches for executables
|
||||||
|
for f in \
|
||||||
|
"Contents/Home/bin" \
|
||||||
|
"Contents/Home/lib" \
|
||||||
|
"Contents/Frameworks" \
|
||||||
|
"Contents/Helpers"; do
|
||||||
|
if [ -d "$APP_DIRECTORY/$f" ]; then
|
||||||
|
find "$APP_DIRECTORY/$f" \
|
||||||
|
-type f \( -name "*.jnilib" -o -name "*.dylib" -o -name "*.so" -o -perm +111 \) \
|
||||||
|
-exec codesign --timestamp \
|
||||||
|
-v -s "$JB_CERT" --options=runtime \
|
||||||
|
--entitlements entitlements.xml {} \;
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
log "Signing libraries in jars in $PWD"
|
||||||
|
|
||||||
|
# todo: add set -euo pipefail; into the inner sh -c
|
||||||
|
# `-e` prevents `grep -q && printf` loginc
|
||||||
|
# with `-o pipefail` there's no input for 'while' loop
|
||||||
|
find "$APP_DIRECTORY" -name '*.jar' \
|
||||||
|
-exec sh -c "set -u; unzip -l \"\$0\" | grep -q -e '\.dylib\$' -e '\.jnilib\$' -e '\.so\$' -e '^jattach\$' && printf \"\$0\0\" " {} \; |
|
||||||
|
while IFS= read -r -d $'\0' file; do
|
||||||
|
log "Processing libraries in $file"
|
||||||
|
|
||||||
|
rm -rf jarfolder jar.jar
|
||||||
|
mkdir jarfolder
|
||||||
|
filename="${file##*/}"
|
||||||
|
log "Filename: $filename"
|
||||||
|
cp "$file" jarfolder && (cd jarfolder && jar xf "$filename" && rm "$filename")
|
||||||
|
|
||||||
|
find jarfolder \
|
||||||
|
-type f \( -name "*.jnilib" -o -name "*.dylib" -o -name "*.so" -o -name "jattach" \) \
|
||||||
|
-exec codesign --timestamp \
|
||||||
|
-v -s "$JB_CERT" --options=runtime \
|
||||||
|
--entitlements entitlements.xml {} \;
|
||||||
|
|
||||||
|
(cd jarfolder; zip -q -r -o ../jar.jar .)
|
||||||
|
mv jar.jar "$file"
|
||||||
|
done
|
||||||
|
|
||||||
|
rm -rf jarfolder jar.jar
|
||||||
|
|
||||||
|
log "Signing other files..."
|
||||||
|
for f in \
|
||||||
|
"Contents/MacOS"; do
|
||||||
|
if [ -d "$APP_DIRECTORY/$f" ]; then
|
||||||
|
find "$APP_DIRECTORY/$f" \
|
||||||
|
-type f \( -name "*.jnilib" -o -name "*.dylib" -o -name "*.so" -o -perm +111 \) \
|
||||||
|
-exec codesign --timestamp \
|
||||||
|
-v -s "$JB_CERT" --options=runtime \
|
||||||
|
--entitlements entitlements.xml {} \;
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
#log "Signing executable..."
|
||||||
|
#codesign --timestamp \
|
||||||
|
# -v -s "$JB_CERT" --options=runtime \
|
||||||
|
# --force \
|
||||||
|
# --entitlements entitlements.xml "$APP_DIRECTORY/Contents/MacOS/idea"
|
||||||
|
|
||||||
|
log "Signing whole app..."
|
||||||
|
codesign --timestamp \
|
||||||
|
-v -s "$JB_CERT" --options=runtime \
|
||||||
|
--force \
|
||||||
|
--entitlements entitlements.xml "$APP_DIRECTORY"
|
||||||
|
|
||||||
|
log "Verifying java is not broken"
|
||||||
|
find "$APP_DIRECTORY" \
|
||||||
|
-type f -name 'java' -perm +111 -exec {} -version \;
|
||||||
132
jb/project/tools/mac/scripts/signapp.sh
Executable file
132
jb/project/tools/mac/scripts/signapp.sh
Executable file
@@ -0,0 +1,132 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
#immediately exit script with an error if a command fails
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
export COPY_EXTENDED_ATTRIBUTES_DISABLE=true
|
||||||
|
export COPYFILE_DISABLE=true
|
||||||
|
|
||||||
|
INPUT_FILE=$1
|
||||||
|
EXPLODED=$2.exploded
|
||||||
|
BACKUP_JMODS=$2.backup
|
||||||
|
USERNAME=$3
|
||||||
|
PASSWORD=$4
|
||||||
|
CODESIGN_STRING=$5
|
||||||
|
NOTARIZE=$6
|
||||||
|
BUNDLE_ID=$7
|
||||||
|
|
||||||
|
cd "$(dirname "$0")"
|
||||||
|
|
||||||
|
function log() {
|
||||||
|
echo "$(date '+[%H:%M:%S]') $*"
|
||||||
|
}
|
||||||
|
|
||||||
|
log "Deleting $EXPLODED ..."
|
||||||
|
if test -d "$EXPLODED"; then
|
||||||
|
find "$EXPLODED" -mindepth 1 -maxdepth 1 -exec chmod -R u+wx '{}' \;
|
||||||
|
fi
|
||||||
|
rm -rf "$EXPLODED"
|
||||||
|
mkdir "$EXPLODED"
|
||||||
|
rm -rf "$BACKUP_JMODS"
|
||||||
|
mkdir "$BACKUP_JMODS"
|
||||||
|
|
||||||
|
log "Unzipping $INPUT_FILE to $EXPLODED ..."
|
||||||
|
tar -xzvf "$INPUT_FILE" --directory $EXPLODED
|
||||||
|
rm "$INPUT_FILE"
|
||||||
|
BUILD_NAME="$(ls "$EXPLODED")"
|
||||||
|
if test -d $EXPLODED/$BUILD_NAME/Contents/Home/jmods; then
|
||||||
|
mv $EXPLODED/$BUILD_NAME/Contents/Home/jmods $BACKUP_JMODS
|
||||||
|
fi
|
||||||
|
|
||||||
|
log "$INPUT_FILE extracted and removed"
|
||||||
|
|
||||||
|
APPLICATION_PATH="$EXPLODED/$BUILD_NAME"
|
||||||
|
|
||||||
|
find "$APPLICATION_PATH/Contents/Home/bin" \
|
||||||
|
-maxdepth 1 -type f -name '*.jnilib' -print0 |
|
||||||
|
while IFS= read -r -d $'\0' file; do
|
||||||
|
if [ -f "$file" ]; then
|
||||||
|
log "Linking $file"
|
||||||
|
b="$(basename "$file" .jnilib)"
|
||||||
|
ln -sf "$b.jnilib" "$(dirname "$file")/$b.dylib"
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
find "$APPLICATION_PATH/Contents/" \
|
||||||
|
-maxdepth 1 -type f -name '*.txt' -print0 |
|
||||||
|
while IFS= read -r -d $'\0' file; do
|
||||||
|
if [ -f "$file" ]; then
|
||||||
|
log "Moving $file"
|
||||||
|
mv "$file" "$APPLICATION_PATH/Contents/Resources"
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
non_plist=$(find "$APPLICATION_PATH/Contents/" -maxdepth 1 -type f -and -not -name 'Info.plist' | wc -l)
|
||||||
|
if [[ $non_plist -gt 0 ]]; then
|
||||||
|
log "Only Info.plist file is allowed in Contents directory but found $non_plist file(s):"
|
||||||
|
log "$(find "$APPLICATION_PATH/Contents/" -maxdepth 1 -type f -and -not -name 'Info.plist')"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
log "Unlocking keychain..."
|
||||||
|
# Make sure *.p12 is imported into local KeyChain
|
||||||
|
security unlock-keychain -p "$PASSWORD" "/Users/$USERNAME/Library/Keychains/login.keychain"
|
||||||
|
|
||||||
|
attempt=1
|
||||||
|
limit=3
|
||||||
|
set +e
|
||||||
|
while [[ $attempt -le $limit ]]; do
|
||||||
|
log "Signing (attempt $attempt) $APPLICATION_PATH ..."
|
||||||
|
./sign.sh "$APPLICATION_PATH" "$CODESIGN_STRING"
|
||||||
|
ec=$?
|
||||||
|
if [[ $ec -ne 0 ]]; then
|
||||||
|
((attempt += 1))
|
||||||
|
if [ $attempt -eq $limit ]; then
|
||||||
|
set -e
|
||||||
|
fi
|
||||||
|
log "Signing failed, wait for 30 sec and try to sign again"
|
||||||
|
sleep 30
|
||||||
|
else
|
||||||
|
log "Signing done"
|
||||||
|
codesign -v "$APPLICATION_PATH" -vvvvv
|
||||||
|
log "Check sign done"
|
||||||
|
((attempt += limit))
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
if [ "$NOTARIZE" = "yes" ]; then
|
||||||
|
log "Notarizing..."
|
||||||
|
# shellcheck disable=SC1090
|
||||||
|
source "$HOME/.notarize_token"
|
||||||
|
APP_NAME=$(echo ${INPUT_FILE} | awk -F"." '{ print $1 }')
|
||||||
|
# Since notarization tool uses same file for upload token we have to trick it into using different folders, hence fake root
|
||||||
|
# Also it leaves copy of zip file in TMPDIR, so notarize.sh overrides it and uses FAKE_ROOT as location for temp TMPDIR
|
||||||
|
FAKE_ROOT="$(pwd)/fake-root"
|
||||||
|
mkdir -p "$FAKE_ROOT"
|
||||||
|
echo "Notarization will use fake root: $FAKE_ROOT"
|
||||||
|
./notarize.sh "$APPLICATION_PATH" "$APPLE_USERNAME" "$APPLE_PASSWORD" "$APP_NAME" "$BUNDLE_ID" "$FAKE_ROOT"
|
||||||
|
rm -rf "$FAKE_ROOT"
|
||||||
|
|
||||||
|
set +e
|
||||||
|
log "Stapling..."
|
||||||
|
xcrun stapler staple "$APPLICATION_PATH"
|
||||||
|
else
|
||||||
|
log "Notarization disabled"
|
||||||
|
log "Stapling disabled"
|
||||||
|
fi
|
||||||
|
|
||||||
|
log "Zipping $BUILD_NAME to $INPUT_FILE ..."
|
||||||
|
(
|
||||||
|
#cd "$EXPLODED"
|
||||||
|
#ditto -c -k --sequesterRsrc --keepParent "$BUILD_NAME" "../$INPUT_FILE"
|
||||||
|
if test -d $BACKUP_JMODS/jmods; then
|
||||||
|
mv $BACKUP_JMODS/jmods $EXPLODED/$BUILD_NAME/Contents/Home
|
||||||
|
fi
|
||||||
|
|
||||||
|
COPYFILE_DISABLE=1 tar -pczf $INPUT_FILE --exclude='*.dSYM' --exclude='man' -C $EXPLODED $BUILD_NAME
|
||||||
|
log "Finished zipping"
|
||||||
|
)
|
||||||
|
rm -rf "$EXPLODED"
|
||||||
|
log "Done"
|
||||||
9
jb/project/tools/windows/scripts/mkbundles.sh
Executable file
9
jb/project/tools/windows/scripts/mkbundles.sh
Executable file
@@ -0,0 +1,9 @@
|
|||||||
|
#!/bin/bash -x
|
||||||
|
|
||||||
|
JBSDK_VERSION=$1
|
||||||
|
JDK_BUILD_NUMBER=$2
|
||||||
|
build_number=$3
|
||||||
|
script_dir=jb/project/tools/windows/scripts
|
||||||
|
${script_dir}/mkimages.sh $JBSDK_VERSION $JDK_BUILD_NUMBER $build_number "jcef" || exit $?
|
||||||
|
${script_dir}/mkimages.sh $JBSDK_VERSION $JDK_BUILD_NUMBER $build_number "jfx" || exit $?
|
||||||
|
${script_dir}/mkimages.sh $JBSDK_VERSION $JDK_BUILD_NUMBER $build_number "jfx_jcef" || exit $?
|
||||||
97
jb/project/tools/windows/scripts/mkimages.sh
Executable file
97
jb/project/tools/windows/scripts/mkimages.sh
Executable file
@@ -0,0 +1,97 @@
|
|||||||
|
#!/bin/bash -x
|
||||||
|
|
||||||
|
# The following parameters must be specified:
|
||||||
|
# JBSDK_VERSION - specifies the current version of OpenJDK e.g. 11_0_6
|
||||||
|
# JDK_BUILD_NUMBER - specifies the number of OpenJDK build or the value of --with-version-build argument to configure
|
||||||
|
# build_number - specifies the number of JetBrainsRuntime build
|
||||||
|
# bundle_type - specifies bundle to bu built; possible values:
|
||||||
|
# jcef - the bundles 1) jbr with jcef+javafx, 2) jbrsdk and 3) test will be created
|
||||||
|
# jfx - the bundle 1) jbr with javafx only will be created
|
||||||
|
#
|
||||||
|
# jbrsdk-${JBSDK_VERSION}-osx-x64-b${build_number}.tar.gz
|
||||||
|
# jbr-${JBSDK_VERSION}-osx-x64-b${build_number}.tar.gz
|
||||||
|
#
|
||||||
|
# $ ./java --version
|
||||||
|
# openjdk 11.0.6 2020-01-14
|
||||||
|
# OpenJDK Runtime Environment (build 11.0.6+${JDK_BUILD_NUMBER}-b${build_number})
|
||||||
|
# OpenJDK 64-Bit Server VM (build 11.0.6+${JDK_BUILD_NUMBER}-b${build_number}, mixed mode)
|
||||||
|
#
|
||||||
|
|
||||||
|
JBSDK_VERSION=$1
|
||||||
|
JDK_BUILD_NUMBER=$2
|
||||||
|
build_number=$3
|
||||||
|
bundle_type=$4
|
||||||
|
|
||||||
|
function create_jbr {
|
||||||
|
|
||||||
|
case "$1" in
|
||||||
|
"${bundle_type}_lw")
|
||||||
|
grep -v "jdk.compiler\|jdk.hotspot.agent" modules.list > modules_tmp.list
|
||||||
|
;;
|
||||||
|
"jfx" | "jcef" | "jfx_jcef")
|
||||||
|
cat modules.list > modules_tmp.list
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo "***ERR*** bundle was not specified" && exit 1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
rm -rf ${JBR_BUNDLE}
|
||||||
|
|
||||||
|
${JSDK}/bin/jlink \
|
||||||
|
--module-path ${JSDK}/jmods --no-man-pages --compress=2 \
|
||||||
|
--add-modules $(xargs < modules_tmp.list | sed s/" "//g) --output ${JBR_BUNDLE} || exit $?
|
||||||
|
if [[ "${bundle_type}" == *jcef* ]]
|
||||||
|
then
|
||||||
|
cp -R jcef_win_x64/* ${JBR_BUNDLE}/bin
|
||||||
|
fi
|
||||||
|
echo Modifying release info ...
|
||||||
|
grep -v \"^JAVA_VERSION\" ${JSDK}/release | grep -v \"^MODULES\" >> ${JBR_BUNDLE}/release
|
||||||
|
}
|
||||||
|
|
||||||
|
JBRSDK_BASE_NAME=jbrsdk-${JBSDK_VERSION}
|
||||||
|
WORK_DIR=$(pwd)
|
||||||
|
|
||||||
|
git checkout -- modules.list src
|
||||||
|
case "$bundle_type" in
|
||||||
|
"jfx")
|
||||||
|
echo "Excluding jcef modules"
|
||||||
|
git apply -p0 < jb/project/tools/exclude_jcef_module.patch
|
||||||
|
;;
|
||||||
|
"jcef")
|
||||||
|
echo "Excluding jfx modules"
|
||||||
|
git apply -p0 < jb/project/tools/exclude_jfx_module.patch
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
PATH="/usr/local/bin:/usr/bin:${PATH}"
|
||||||
|
./configure \
|
||||||
|
--disable-warnings-as-errors \
|
||||||
|
--disable-debug-symbols \
|
||||||
|
--with-target-bits=64 \
|
||||||
|
--with-version-pre= \
|
||||||
|
--with-version-build=${JDK_BUILD_NUMBER} \
|
||||||
|
--with-version-opt=b${build_number} \
|
||||||
|
--with-import-modules=${WORK_DIR}/modular-sdk \
|
||||||
|
--with-toolchain-version=2015 \
|
||||||
|
--with-boot-jdk=${BOOT_JDK} \
|
||||||
|
--disable-ccache \
|
||||||
|
--enable-cds=yes || exit 1
|
||||||
|
|
||||||
|
if [ "$bundle_type" == "jfx_jcef" ]; then
|
||||||
|
make LOG=info images CONF=windows-x86_64-normal-server-release test-image || exit 1
|
||||||
|
else
|
||||||
|
make LOG=info images CONF=windows-x86_64-normal-server-release || exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
JSDK=build/windows-x86_64-normal-server-release/images/jdk
|
||||||
|
if [[ "$bundle_type" == *jcef* ]]; then
|
||||||
|
JBSDK=${JBRSDK_BASE_NAME}-windows-x64-b${build_number}
|
||||||
|
fi
|
||||||
|
BASE_DIR=build/windows-x86_64-normal-server-release/images
|
||||||
|
JBRSDK_BUNDLE=jbrsdk
|
||||||
|
|
||||||
|
rm -rf ${BASE_DIR}/${JBRSDK_BUNDLE} && rsync -a --exclude demo --exclude sample ${JSDK}/ ${JBRSDK_BUNDLE} || exit 1
|
||||||
|
cp -R jcef_win_x64/* ${JBRSDK_BUNDLE}/bin
|
||||||
|
|
||||||
|
JBR_BUNDLE=jbr_${bundle_type}
|
||||||
|
create_jbr ${bundle_type}
|
||||||
71
jb/project/tools/windows/scripts/pack.sh
Executable file
71
jb/project/tools/windows/scripts/pack.sh
Executable file
@@ -0,0 +1,71 @@
|
|||||||
|
#!/bin/bash -x
|
||||||
|
|
||||||
|
# The following parameters must be specified:
|
||||||
|
# JBSDK_VERSION - specifies the current version of OpenJDK e.g. 11_0_6
|
||||||
|
# JDK_BUILD_NUMBER - specifies the number of OpenJDK build or the value of --with-version-build argument to configure
|
||||||
|
# build_number - specifies the number of JetBrainsRuntime build
|
||||||
|
# bundle_type - specifies bundle to bu built; possible values:
|
||||||
|
# jcef - the bundles 1) jbr with jcef+javafx, 2) jbrsdk and 3) test will be created
|
||||||
|
# jfx - the bundle 1) jbr with javafx only will be created
|
||||||
|
#
|
||||||
|
# jbrsdk-${JBSDK_VERSION}-osx-x64-b${build_number}.tar.gz
|
||||||
|
# jbr-${JBSDK_VERSION}-osx-x64-b${build_number}.tar.gz
|
||||||
|
#
|
||||||
|
# $ ./java --version
|
||||||
|
# openjdk 11.0.6 2020-01-14
|
||||||
|
# OpenJDK Runtime Environment (build 11.0.6+${JDK_BUILD_NUMBER}-b${build_number})
|
||||||
|
# OpenJDK 64-Bit Server VM (build 11.0.6+${JDK_BUILD_NUMBER}-b${build_number}, mixed mode)
|
||||||
|
#
|
||||||
|
|
||||||
|
JBSDK_VERSION=$1
|
||||||
|
JDK_BUILD_NUMBER=$2
|
||||||
|
build_number=$3
|
||||||
|
bundle_type=$4
|
||||||
|
|
||||||
|
function pack_jbr {
|
||||||
|
|
||||||
|
case "$1" in
|
||||||
|
"${bundle_type}_lw")
|
||||||
|
JBR_BASE_NAME=jbr_${bundle_type}_lw-${JBSDK_VERSION}
|
||||||
|
;;
|
||||||
|
"jfx_jcef" | "jcef")
|
||||||
|
JBR_BASE_NAME=jbr_${bundle_type}-${JBSDK_VERSION}
|
||||||
|
;;
|
||||||
|
"jfx")
|
||||||
|
JBR_BASE_NAME=jbr-${JBSDK_VERSION}
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo "***ERR*** bundle was not specified" && exit 1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
JBR=$JBR_BASE_NAME-windows-x64-b$build_number
|
||||||
|
echo Creating $JBR.tar.gz ...
|
||||||
|
rm -rf ${BASE_DIR}/jbr
|
||||||
|
cp -R ${BASE_DIR}/${JBR_BUNDLE} ${BASE_DIR}/jbr
|
||||||
|
|
||||||
|
/usr/bin/tar -czf $JBR.tar.gz -C $BASE_DIR jbr || exit 1
|
||||||
|
}
|
||||||
|
|
||||||
|
JBRSDK_BASE_NAME=jbrsdk-$JBSDK_VERSION
|
||||||
|
JBR_BASE_NAME=jbr-$JBSDK_VERSION
|
||||||
|
|
||||||
|
IMAGES_DIR=build/windows-x86_64-normal-server-release/images
|
||||||
|
JSDK=$IMAGES_DIR/jdk
|
||||||
|
JBSDK=$JBRSDK_BASE_NAME-windows-x64-b$build_number
|
||||||
|
BASE_DIR=.
|
||||||
|
|
||||||
|
if [ "$bundle_type" == "jfx_jcef" ]; then
|
||||||
|
JBRSDK_BUNDLE=jbrsdk
|
||||||
|
echo Creating $JBSDK.tar.gz ...
|
||||||
|
/usr/bin/tar -czf $JBSDK.tar.gz $JBRSDK_BUNDLE || exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
JBR_BUNDLE=jbr_${bundle_type}
|
||||||
|
pack_jbr $bundle_type
|
||||||
|
|
||||||
|
if [ "$bundle_type" == "jfx_jcef" ]; then
|
||||||
|
JBRSDK_TEST=$JBRSDK_BASE_NAME-windows-test-x64-b$build_number
|
||||||
|
echo Creating $JBRSDK_TEST.tar.gz ...
|
||||||
|
/usr/bin/tar -czf $JBRSDK_TEST.tar.gz -C $IMAGES_DIR --exclude='test/jdk/demos' test || exit 1
|
||||||
|
fi
|
||||||
@@ -23,28 +23,30 @@
|
|||||||
* questions.
|
* questions.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "LWCToolkit.h"
|
package com.apple.eawt.event;
|
||||||
#include "GeomUtilities.h"
|
|
||||||
|
|
||||||
#include "sun_awt_CGraphicsConfig.h"
|
/**
|
||||||
#import <JavaNativeFoundation/JavaNativeFoundation.h>
|
* Event indicating a swipe was performed by the user.
|
||||||
|
*
|
||||||
/*
|
* @see PressureListener
|
||||||
* Class: sun_awt_CGraphicsConfig
|
*
|
||||||
* Method: nativeGetBounds
|
* @since Java for Mac OS X 10.10 Update 3, JDK 8
|
||||||
* Signature: (I)Ljava/awt/Rectangle;
|
|
||||||
*/
|
*/
|
||||||
JNIEXPORT jobject JNICALL Java_sun_awt_CGraphicsConfig_nativeGetBounds
|
public class PressureEvent extends GestureEvent {
|
||||||
(JNIEnv *env, jclass class, jint displayID)
|
|
||||||
{
|
|
||||||
jobject jrect = NULL;
|
|
||||||
|
|
||||||
JNF_COCOA_ENTER(env);
|
public double getPressure() {
|
||||||
|
return pressure;
|
||||||
|
}
|
||||||
|
|
||||||
CGRect rect = CGDisplayBounds((CGDirectDisplayID)displayID);
|
public double getStage() {
|
||||||
jrect = CGToJavaRect(env, rect);
|
return stage;
|
||||||
|
}
|
||||||
|
|
||||||
JNF_COCOA_EXIT(env);
|
private double pressure;
|
||||||
|
private double stage;
|
||||||
|
|
||||||
return jrect;
|
PressureEvent(double pressure, double stage) {
|
||||||
|
this.pressure = pressure;
|
||||||
|
this.stage = stage;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 1999, 2006, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
|
||||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
@@ -22,18 +22,17 @@
|
|||||||
* or visit www.oracle.com if you need additional information or have any
|
* or visit www.oracle.com if you need additional information or have any
|
||||||
* questions.
|
* questions.
|
||||||
*/
|
*/
|
||||||
#ifndef _ROBOT_COMMON_H
|
|
||||||
#define _ROBOT_COMMON_H
|
|
||||||
|
|
||||||
#include "java_awt_event_InputEvent.h"
|
package com.apple.eawt.event;
|
||||||
|
|
||||||
#include <X11/Xlib.h>
|
/**
|
||||||
#include "gdefs.h"
|
* Listener interface for receiving pressure events.
|
||||||
|
*
|
||||||
int QueryColorMap(Display *disp,
|
* @see PressureEvent
|
||||||
Colormap src_cmap,
|
* @see GestureUtilities
|
||||||
Visual *src_vis,
|
*
|
||||||
XColor **src_colors,
|
* @since Java for Mac OS X 10.5 Update 7, Java for Mac OS X 10.6 Update 2
|
||||||
int *rShift, int *gShift, int *bShift);
|
*/
|
||||||
|
public interface PressureListener extends GestureListener {
|
||||||
#endif /* _ROBOT_COMMON_H */
|
public void pressure(final PressureEvent e);
|
||||||
|
}
|
||||||
138
make/Bundles.gmk
138
make/Bundles.gmk
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
@@ -29,6 +29,7 @@ include $(SPEC)
|
|||||||
include MakeBase.gmk
|
include MakeBase.gmk
|
||||||
|
|
||||||
PRODUCT_TARGETS :=
|
PRODUCT_TARGETS :=
|
||||||
|
LEGACY_TARGETS :=
|
||||||
TEST_TARGETS :=
|
TEST_TARGETS :=
|
||||||
DOCS_TARGETS :=
|
DOCS_TARGETS :=
|
||||||
|
|
||||||
@@ -70,7 +71,7 @@ define SetupBundleFileBody
|
|||||||
$$(call SetIfEmpty, $1_UNZIP_DEBUGINFO, false)
|
$$(call SetIfEmpty, $1_UNZIP_DEBUGINFO, false)
|
||||||
|
|
||||||
$(BUNDLES_OUTPUTDIR)/$$($1_BUNDLE_NAME): $$($1_FILES)
|
$(BUNDLES_OUTPUTDIR)/$$($1_BUNDLE_NAME): $$($1_FILES)
|
||||||
# If any of the files contain a space in the file name, CacheFind
|
# If any of the files contain a space in the file name, FindFiles
|
||||||
# will have replaced it with ?. Tar does not accept that so need to
|
# will have replaced it with ?. Tar does not accept that so need to
|
||||||
# switch it back.
|
# switch it back.
|
||||||
$$(foreach d, $$($1_BASE_DIRS), \
|
$$(foreach d, $$($1_BASE_DIRS), \
|
||||||
@@ -146,24 +147,31 @@ endef
|
|||||||
# correct base directories.
|
# correct base directories.
|
||||||
ifeq ($(OPENJDK_TARGET_OS)-$(DEBUG_LEVEL), macosx-release)
|
ifeq ($(OPENJDK_TARGET_OS)-$(DEBUG_LEVEL), macosx-release)
|
||||||
JDK_IMAGE_DIR := $(JDK_MACOSX_BUNDLE_DIR)
|
JDK_IMAGE_DIR := $(JDK_MACOSX_BUNDLE_DIR)
|
||||||
|
JRE_IMAGE_DIR := $(JRE_MACOSX_BUNDLE_DIR)
|
||||||
JDK_IMAGE_HOMEDIR := $(JDK_MACOSX_CONTENTS_DIR)/Home
|
JDK_IMAGE_HOMEDIR := $(JDK_MACOSX_CONTENTS_DIR)/Home
|
||||||
|
JRE_IMAGE_HOMEDIR := $(JRE_MACOSX_CONTENTS_DIR)/Home
|
||||||
JDK_BUNDLE_SUBDIR :=
|
JDK_BUNDLE_SUBDIR :=
|
||||||
|
JRE_BUNDLE_SUBDIR :=
|
||||||
else
|
else
|
||||||
JDK_IMAGE_HOMEDIR := $(JDK_IMAGE_DIR)
|
JDK_IMAGE_HOMEDIR := $(JDK_IMAGE_DIR)
|
||||||
|
JRE_IMAGE_HOMEDIR := $(JRE_IMAGE_DIR)
|
||||||
JDK_BUNDLE_SUBDIR := jdk-$(VERSION_NUMBER)
|
JDK_BUNDLE_SUBDIR := jdk-$(VERSION_NUMBER)
|
||||||
|
JRE_BUNDLE_SUBDIR := jre-$(VERSION_NUMBER)
|
||||||
ifneq ($(DEBUG_LEVEL), release)
|
ifneq ($(DEBUG_LEVEL), release)
|
||||||
JDK_BUNDLE_SUBDIR := $(JDK_BUNDLE_SUBDIR)/$(DEBUG_LEVEL)
|
JDK_BUNDLE_SUBDIR := $(JDK_BUNDLE_SUBDIR)/$(DEBUG_LEVEL)
|
||||||
|
JRE_BUNDLE_SUBDIR := $(JRE_BUNDLE_SUBDIR)/$(DEBUG_LEVEL)
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
ifneq ($(filter product-bundles, $(MAKECMDGOALS)), )
|
ifneq ($(filter product-bundles legacy-bundles, $(MAKECMDGOALS)), )
|
||||||
$(eval $(call FillCacheFind, $(IMAGES_OUTPUTDIR)))
|
|
||||||
|
|
||||||
SYMBOLS_EXCLUDE_PATTERN := %.debuginfo %.diz %.pdb %.map
|
SYMBOLS_EXCLUDE_PATTERN := %.debuginfo %.diz %.pdb %.map
|
||||||
|
|
||||||
ALL_JDK_FILES := $(call CacheFind, $(JDK_IMAGE_DIR))
|
# There may be files with spaces in the names, so use ShellFindFiles
|
||||||
|
# explicitly.
|
||||||
|
ALL_JDK_FILES := $(call ShellFindFiles, $(JDK_IMAGE_DIR))
|
||||||
|
|
||||||
# Create special filter rules when dealing with unzipped .dSYM directories on
|
# Create special filter rules when dealing with unzipped .dSYM directories on
|
||||||
# macosx
|
# macosx
|
||||||
@@ -194,19 +202,116 @@ ifneq ($(filter product-bundles, $(MAKECMDGOALS)), )
|
|||||||
$(ALL_JDK_FILES) \
|
$(ALL_JDK_FILES) \
|
||||||
) \
|
) \
|
||||||
) \
|
) \
|
||||||
$(call CacheFind, $(SYMBOLS_IMAGE_DIR))
|
$(call FindFiles, $(SYMBOLS_IMAGE_DIR))
|
||||||
|
|
||||||
TEST_DEMOS_BUNDLE_FILES := $(filter $(JDK_IMAGE_HOMEDIR)/demo/%, $(ALL_JDK_FILES))
|
TEST_DEMOS_BUNDLE_FILES := $(filter $(JDK_IMAGE_HOMEDIR)/demo/%, $(ALL_JDK_FILES))
|
||||||
|
|
||||||
$(eval $(call SetupBundleFile, BUILD_JDK_BUNDLE, \
|
ALL_JRE_FILES := $(call ShellFindFiles, $(JRE_IMAGE_DIR))
|
||||||
BUNDLE_NAME := $(JDK_BUNDLE_NAME), \
|
|
||||||
FILES := $(JDK_BUNDLE_FILES), \
|
|
||||||
SPECIAL_INCLUDES := $(JDK_SPECIAL_INCLUDES), \
|
|
||||||
BASE_DIRS := $(JDK_IMAGE_DIR), \
|
|
||||||
SUBDIR := $(JDK_BUNDLE_SUBDIR), \
|
|
||||||
))
|
|
||||||
|
|
||||||
PRODUCT_TARGETS += $(BUILD_JDK_BUNDLE)
|
# Create special filter rules when dealing with unzipped .dSYM directories on
|
||||||
|
# macosx
|
||||||
|
ifeq ($(OPENJDK_TARGET_OS), macosx)
|
||||||
|
ifeq ($(ZIP_EXTERNAL_DEBUG_SYMBOLS), false)
|
||||||
|
JRE_SYMBOLS_EXCLUDE_PATTERN := $(addprefix %, \
|
||||||
|
$(call containing, .dSYM/, $(patsubst $(JRE_IMAGE_DIR)/%, %, $(ALL_JRE_FILES))))
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
|
JRE_BUNDLE_FILES := $(filter-out \
|
||||||
|
$(JRE_SYMBOLS_EXCLUDE_PATTERN) \
|
||||||
|
$(SYMBOLS_EXCLUDE_PATTERN), \
|
||||||
|
$(ALL_JRE_FILES))
|
||||||
|
|
||||||
|
# On Macosx release builds, when there is a code signing certificate available,
|
||||||
|
# the final bundle layout can be signed.
|
||||||
|
SIGN_BUNDLE := false
|
||||||
|
ifeq ($(OPENJDK_TARGET_OS)-$(DEBUG_LEVEL), macosx-release)
|
||||||
|
ifneq ($(CODESIGN), )
|
||||||
|
SIGN_BUNDLE := true
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(SIGN_BUNDLE), true)
|
||||||
|
# Macosx release build and code signing available.
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# JDK bundle
|
||||||
|
$(eval $(call SetupCopyFiles, CREATE_JDK_BUNDLE_DIR_SIGNED, \
|
||||||
|
SRC := $(JDK_IMAGE_DIR), \
|
||||||
|
FILES := $(JDK_BUNDLE_FILES), \
|
||||||
|
DEST := $(JDK_MACOSX_BUNDLE_DIR_SIGNED), \
|
||||||
|
))
|
||||||
|
|
||||||
|
JDK_SIGNED_CODE_RESOURCES := \
|
||||||
|
$(JDK_MACOSX_BUNDLE_DIR_SIGNED)/$(JDK_MACOSX_CONTENTS_SUBDIR)/_CodeSignature/CodeResources
|
||||||
|
|
||||||
|
$(JDK_SIGNED_CODE_RESOURCES): $(CREATE_JDK_BUNDLE_DIR_SIGNED)
|
||||||
|
$(call LogWarn, Signing $(JDK_BUNDLE_NAME))
|
||||||
|
$(CODESIGN) -s "$(MACOSX_CODESIGN_IDENTITY)" \
|
||||||
|
--timestamp --options runtime --deep --force \
|
||||||
|
$(JDK_MACOSX_BUNDLE_DIR_SIGNED)/$(JDK_MACOSX_BUNDLE_TOP_DIR) $(LOG_DEBUG)
|
||||||
|
$(TOUCH) $@
|
||||||
|
|
||||||
|
$(eval $(call SetupBundleFile, BUILD_JDK_BUNDLE, \
|
||||||
|
BUNDLE_NAME := $(JDK_BUNDLE_NAME), \
|
||||||
|
FILES := \
|
||||||
|
$(CREATE_JDK_BUNDLE_DIR_SIGNED) \
|
||||||
|
$(JDK_SIGNED_CODE_RESOURCES), \
|
||||||
|
BASE_DIRS := $(JDK_MACOSX_BUNDLE_DIR_SIGNED), \
|
||||||
|
SUBDIR := $(JDK_BUNDLE_SUBDIR), \
|
||||||
|
))
|
||||||
|
|
||||||
|
PRODUCT_TARGETS += $(BUILD_JDK_BUNDLE)
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# JRE bundle
|
||||||
|
$(eval $(call SetupCopyFiles, CREATE_JRE_BUNDLE_DIR_SIGNED, \
|
||||||
|
SRC := $(JRE_IMAGE_DIR), \
|
||||||
|
FILES := $(JRE_BUNDLE_FILES), \
|
||||||
|
DEST := $(JRE_MACOSX_BUNDLE_DIR_SIGNED), \
|
||||||
|
))
|
||||||
|
|
||||||
|
JRE_SIGNED_CODE_RESOURCES := \
|
||||||
|
$(JRE_MACOSX_BUNDLE_DIR_SIGNED)/$(JRE_MACOSX_CONTENTS_SUBDIR)/_CodeSignature/CodeResources
|
||||||
|
|
||||||
|
$(JRE_SIGNED_CODE_RESOURCES): $(CREATE_JRE_BUNDLE_DIR_SIGNED)
|
||||||
|
$(call LogWarn, Signing $(JRE_BUNDLE_NAME))
|
||||||
|
$(CODESIGN) -s "$(MACOSX_CODESIGN_IDENTITY)" \
|
||||||
|
--timestamp --options runtime --deep --force \
|
||||||
|
$(JRE_MACOSX_BUNDLE_DIR_SIGNED)/$(JRE_MACOSX_BUNDLE_TOP_DIR) $(LOG_DEBUG)
|
||||||
|
$(TOUCH) $@
|
||||||
|
|
||||||
|
$(eval $(call SetupBundleFile, BUILD_JRE_BUNDLE, \
|
||||||
|
BUNDLE_NAME := $(JRE_BUNDLE_NAME), \
|
||||||
|
FILES := \
|
||||||
|
$(CREATE_JRE_BUNDLE_DIR_SIGNED) \
|
||||||
|
$(JRE_SIGNED_CODE_RESOURCES), \
|
||||||
|
BASE_DIRS := $(JRE_MACOSX_BUNDLE_DIR_SIGNED), \
|
||||||
|
SUBDIR := $(JRE_BUNDLE_SUBDIR), \
|
||||||
|
))
|
||||||
|
|
||||||
|
LEGACY_TARGETS += $(BUILD_JRE_BUNDLE)
|
||||||
|
else
|
||||||
|
# Not a Macosx release build or code signing not available.
|
||||||
|
$(eval $(call SetupBundleFile, BUILD_JDK_BUNDLE, \
|
||||||
|
BUNDLE_NAME := $(JDK_BUNDLE_NAME), \
|
||||||
|
FILES := $(JDK_BUNDLE_FILES), \
|
||||||
|
SPECIAL_INCLUDES := $(JDK_SPECIAL_INCLUDES), \
|
||||||
|
BASE_DIRS := $(JDK_IMAGE_DIR), \
|
||||||
|
SUBDIR := $(JDK_BUNDLE_SUBDIR), \
|
||||||
|
))
|
||||||
|
|
||||||
|
PRODUCT_TARGETS += $(BUILD_JDK_BUNDLE)
|
||||||
|
|
||||||
|
$(eval $(call SetupBundleFile, BUILD_JRE_BUNDLE, \
|
||||||
|
BUNDLE_NAME := $(JRE_BUNDLE_NAME), \
|
||||||
|
FILES := $(JRE_BUNDLE_FILES), \
|
||||||
|
BASE_DIRS := $(JRE_IMAGE_DIR), \
|
||||||
|
SUBDIR := $(JRE_BUNDLE_SUBDIR), \
|
||||||
|
))
|
||||||
|
|
||||||
|
LEGACY_TARGETS += $(BUILD_JRE_BUNDLE)
|
||||||
|
endif
|
||||||
|
|
||||||
$(eval $(call SetupBundleFile, BUILD_JDK_SYMBOLS_BUNDLE, \
|
$(eval $(call SetupBundleFile, BUILD_JDK_SYMBOLS_BUNDLE, \
|
||||||
BUNDLE_NAME := $(JDK_SYMBOLS_BUNDLE_NAME), \
|
BUNDLE_NAME := $(JDK_SYMBOLS_BUNDLE_NAME), \
|
||||||
@@ -234,7 +339,7 @@ endif
|
|||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
ifneq ($(filter test-bundles, $(MAKECMDGOALS)), )
|
ifneq ($(filter test-bundles, $(MAKECMDGOALS)), )
|
||||||
TEST_BUNDLE_FILES := $(call CacheFind, $(TEST_IMAGE_DIR))
|
TEST_BUNDLE_FILES := $(call FindFiles, $(TEST_IMAGE_DIR))
|
||||||
|
|
||||||
$(eval $(call SetupBundleFile, BUILD_TEST_BUNDLE, \
|
$(eval $(call SetupBundleFile, BUILD_TEST_BUNDLE, \
|
||||||
BUNDLE_NAME := $(TEST_BUNDLE_NAME), \
|
BUNDLE_NAME := $(TEST_BUNDLE_NAME), \
|
||||||
@@ -248,7 +353,7 @@ endif
|
|||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
ifneq ($(filter docs-bundles, $(MAKECMDGOALS)), )
|
ifneq ($(filter docs-bundles, $(MAKECMDGOALS)), )
|
||||||
DOCS_BUNDLE_FILES := $(call CacheFind, $(DOCS_IMAGE_DIR))
|
DOCS_BUNDLE_FILES := $(call FindFiles, $(DOCS_IMAGE_DIR))
|
||||||
|
|
||||||
$(eval $(call SetupBundleFile, BUILD_DOCS_BUNDLE, \
|
$(eval $(call SetupBundleFile, BUILD_DOCS_BUNDLE, \
|
||||||
BUNDLE_NAME := $(DOCS_BUNDLE_NAME), \
|
BUNDLE_NAME := $(DOCS_BUNDLE_NAME), \
|
||||||
@@ -268,6 +373,7 @@ $(eval $(call IncludeCustomExtension, Bundles.gmk))
|
|||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
product-bundles: $(PRODUCT_TARGETS)
|
product-bundles: $(PRODUCT_TARGETS)
|
||||||
|
legacy-bundles: $(LEGACY_TARGETS)
|
||||||
test-bundles: $(TEST_TARGETS)
|
test-bundles: $(TEST_TARGETS)
|
||||||
docs-bundles: $(DOCS_TARGETS)
|
docs-bundles: $(DOCS_TARGETS)
|
||||||
|
|
||||||
|
|||||||
60
make/CompileCommands.gmk
Normal file
60
make/CompileCommands.gmk
Normal file
@@ -0,0 +1,60 @@
|
|||||||
|
#
|
||||||
|
# Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
|
||||||
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
|
#
|
||||||
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
|
# under the terms of the GNU General Public License version 2 only, as
|
||||||
|
# published by the Free Software Foundation. Oracle designates this
|
||||||
|
# particular file as subject to the "Classpath" exception as provided
|
||||||
|
# by Oracle in the LICENSE file that accompanied this code.
|
||||||
|
#
|
||||||
|
# This code is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
# version 2 for more details (a copy is included in the LICENSE file that
|
||||||
|
# accompanied this code).
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License version
|
||||||
|
# 2 along with this work; if not, write to the Free Software Foundation,
|
||||||
|
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
#
|
||||||
|
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||||
|
# or visit www.oracle.com if you need additional information or have any
|
||||||
|
# questions.
|
||||||
|
#
|
||||||
|
|
||||||
|
default: all
|
||||||
|
|
||||||
|
include $(SPEC)
|
||||||
|
include MakeBase.gmk
|
||||||
|
|
||||||
|
# When FIXPATH is set, let it process the file to make sure all paths are usable
|
||||||
|
# by system native tools. The FIXPATH tool assumes arguments preceeded by an @
|
||||||
|
# character points to a text file containing further arguments (similar to a
|
||||||
|
# linker). It replaces any such arguments with a different temporary filename,
|
||||||
|
# whose contents has been processed to make any paths native. To obtain a
|
||||||
|
# properly processed compile_commands.json, FIXPATH is then made to invoke an
|
||||||
|
# AWK script with the unprocessed json file as the only argument, prepended with
|
||||||
|
# an @ character. The AWK script simply copies the contents of this processed
|
||||||
|
# file.
|
||||||
|
#
|
||||||
|
# The sed command encloses the fragments inside brackets and removes the final
|
||||||
|
# trailing comma.
|
||||||
|
$(OUTPUTDIR)/compile_commands.json: $(wildcard $(MAKESUPPORT_OUTPUTDIR)/compile-commands/*.json)
|
||||||
|
$(call LogWarn, Updating compile_commands.json)
|
||||||
|
$(RM) $@
|
||||||
|
$(FIND) $(MAKESUPPORT_OUTPUTDIR)/compile-commands/ -name \*.json | \
|
||||||
|
$(SORT) | $(XARGS) $(CAT) >> $@.tmp
|
||||||
|
$(if $(FIXPATH),$(FIXPATH) $(AWK) 'BEGIN { \
|
||||||
|
tmpfile = substr(ARGV[2],2); \
|
||||||
|
cmd = "$(CP) " "\047" tmpfile "\047" " $@.tmp"; \
|
||||||
|
system(cmd); \
|
||||||
|
}' -- @$@.tmp)
|
||||||
|
$(SED) -e '1s/^/[\$(NEWLINE)/' -e '$(DOLLAR)s/,\s\{0,\}$(DOLLAR)/\$(NEWLINE)]/' $@.tmp > $@
|
||||||
|
$(RM) $@.tmp
|
||||||
|
|
||||||
|
TARGETS += $(OUTPUTDIR)/compile_commands.json
|
||||||
|
|
||||||
|
all: $(TARGETS)
|
||||||
|
|
||||||
|
.PHONY: all
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2011, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
@@ -43,7 +43,7 @@ $(eval $(call IncludeCustomExtension, CompileDemos-pre.gmk))
|
|||||||
# Prepare the find cache.
|
# Prepare the find cache.
|
||||||
DEMO_SRC_DIRS += $(TOPDIR)/src/demo
|
DEMO_SRC_DIRS += $(TOPDIR)/src/demo
|
||||||
|
|
||||||
$(eval $(call FillCacheFind, $(wildcard $(DEMO_SRC_DIRS))))
|
$(call FillFindCache, $(DEMO_SRC_DIRS))
|
||||||
|
|
||||||
# Append demo goals to this variable.
|
# Append demo goals to this variable.
|
||||||
TARGETS =
|
TARGETS =
|
||||||
@@ -237,11 +237,11 @@ $(SUPPORT_OUTPUTDIR)/demos/image/nbproject/%: $(DEMO_SHARE_SRC)/nbproject/%
|
|||||||
ifeq ($(OPENJDK_TARGET_OS), solaris)
|
ifeq ($(OPENJDK_TARGET_OS), solaris)
|
||||||
TARGETS += $(patsubst $(DEMO_SHARE_SRC)/nbproject/%, \
|
TARGETS += $(patsubst $(DEMO_SHARE_SRC)/nbproject/%, \
|
||||||
$(SUPPORT_OUTPUTDIR)/demos/image/nbproject/%, \
|
$(SUPPORT_OUTPUTDIR)/demos/image/nbproject/%, \
|
||||||
$(call CacheFind, $(DEMO_SHARE_SRC)/nbproject))
|
$(call FindFiles, $(DEMO_SHARE_SRC)/nbproject))
|
||||||
else
|
else
|
||||||
TARGETS += $(patsubst $(DEMO_SHARE_SRC)/nbproject/%, \
|
TARGETS += $(patsubst $(DEMO_SHARE_SRC)/nbproject/%, \
|
||||||
$(SUPPORT_OUTPUTDIR)/demos/image/nbproject/%, \
|
$(SUPPORT_OUTPUTDIR)/demos/image/nbproject/%, \
|
||||||
$(call CacheFind, $(DEMO_SHARE_SRC)/nbproject))
|
$(call FindFiles, $(DEMO_SHARE_SRC)/nbproject))
|
||||||
endif
|
endif
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
@@ -250,7 +250,7 @@ ifneq ($(filter images, $(MAKECMDGOALS)), )
|
|||||||
$(eval $(call SetupCopyFiles, COPY_TO_TEST_IMAGE, \
|
$(eval $(call SetupCopyFiles, COPY_TO_TEST_IMAGE, \
|
||||||
SRC := $(SUPPORT_OUTPUTDIR)/demos/image, \
|
SRC := $(SUPPORT_OUTPUTDIR)/demos/image, \
|
||||||
DEST := $(TEST_IMAGE_DIR)/jdk/demos, \
|
DEST := $(TEST_IMAGE_DIR)/jdk/demos, \
|
||||||
FILES := $(call CacheFind, $(SUPPORT_OUTPUTDIR)/demos/image), \
|
FILES := $(call FindFiles, $(SUPPORT_OUTPUTDIR)/demos/image), \
|
||||||
))
|
))
|
||||||
|
|
||||||
IMAGES_TARGETS := $(COPY_TO_TEST_IMAGE)
|
IMAGES_TARGETS := $(COPY_TO_TEST_IMAGE)
|
||||||
|
|||||||
@@ -644,7 +644,7 @@ endif
|
|||||||
|
|
||||||
ifneq ($(wildcard $(IMPORT_MODULES_CLASSES)/$(MODULE)), )
|
ifneq ($(wildcard $(IMPORT_MODULES_CLASSES)/$(MODULE)), )
|
||||||
$(JDK_OUTPUTDIR)/modules/$(MODULE)/_imported.marker: \
|
$(JDK_OUTPUTDIR)/modules/$(MODULE)/_imported.marker: \
|
||||||
$(call CacheFind, $(IMPORT_MODULES_CLASSES)/$(MODULE))
|
$(call FindFiles, $(IMPORT_MODULES_CLASSES)/$(MODULE))
|
||||||
$(call MakeDir, $(@D))
|
$(call MakeDir, $(@D))
|
||||||
# Do not delete marker and build meta data files
|
# Do not delete marker and build meta data files
|
||||||
$(RM) -r $(filter-out $(@D)/_%, $(wildcard $(@D)/*))
|
$(RM) -r $(filter-out $(@D)/_%, $(wildcard $(@D)/*))
|
||||||
|
|||||||
@@ -40,6 +40,7 @@ $(eval $(call IncludeCustomExtension, CompileTools.gmk))
|
|||||||
BUILD_TOOLS_SRC_DIRS += \
|
BUILD_TOOLS_SRC_DIRS += \
|
||||||
$(TOPDIR)/make/jdk/src/classes \
|
$(TOPDIR)/make/jdk/src/classes \
|
||||||
$(BUILDTOOLS_OUTPUTDIR)/interim_cldrconverter_classes \
|
$(BUILDTOOLS_OUTPUTDIR)/interim_cldrconverter_classes \
|
||||||
|
$(BUILDTOOLS_OUTPUTDIR)/interim_tzdb_classes \
|
||||||
#
|
#
|
||||||
|
|
||||||
$(eval $(call SetupJavaCompilation,BUILD_TOOLS_JDK, \
|
$(eval $(call SetupJavaCompilation,BUILD_TOOLS_JDK, \
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2015, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
@@ -35,7 +35,7 @@ LIBS_DIR := $(wildcard $(addsuffix /$(MODULE), $(IMPORT_MODULES_LIBS)))
|
|||||||
CMDS_DIR := $(wildcard $(addsuffix /$(MODULE), $(IMPORT_MODULES_CMDS)))
|
CMDS_DIR := $(wildcard $(addsuffix /$(MODULE), $(IMPORT_MODULES_CMDS)))
|
||||||
CONF_DIR := $(wildcard $(addsuffix /$(MODULE), $(IMPORT_MODULES_CONF)))
|
CONF_DIR := $(wildcard $(addsuffix /$(MODULE), $(IMPORT_MODULES_CONF)))
|
||||||
|
|
||||||
$(eval $(call FillCacheFind, $(LIBS_DIR) $(CMDS_DIR) $(CONF_DIR)))
|
$(call FillFindCache, $(LIBS_DIR) $(CMDS_DIR) $(CONF_DIR))
|
||||||
|
|
||||||
ifneq ($(LIBS_DIR), )
|
ifneq ($(LIBS_DIR), )
|
||||||
ifeq ($(OPENJDK_TARGET_OS), windows)
|
ifeq ($(OPENJDK_TARGET_OS), windows)
|
||||||
@@ -45,21 +45,21 @@ ifneq ($(LIBS_DIR), )
|
|||||||
SRC := $(LIBS_DIR), \
|
SRC := $(LIBS_DIR), \
|
||||||
DEST := $(JDK_OUTPUTDIR)/bin, \
|
DEST := $(JDK_OUTPUTDIR)/bin, \
|
||||||
FILES := $(filter $(TO_BIN_FILTER), \
|
FILES := $(filter $(TO_BIN_FILTER), \
|
||||||
$(call CacheFind, $(LIBS_DIR))) \
|
$(call FindFiles, $(LIBS_DIR))) \
|
||||||
))
|
))
|
||||||
|
|
||||||
$(eval $(call SetupCopyFiles, COPY_LIBS_TO_LIB, \
|
$(eval $(call SetupCopyFiles, COPY_LIBS_TO_LIB, \
|
||||||
SRC := $(LIBS_DIR), \
|
SRC := $(LIBS_DIR), \
|
||||||
DEST := $(JDK_OUTPUTDIR)/lib, \
|
DEST := $(JDK_OUTPUTDIR)/lib, \
|
||||||
FILES := $(filter-out $(TO_BIN_FILTER), \
|
FILES := $(filter-out $(TO_BIN_FILTER), \
|
||||||
$(call CacheFind, $(LIBS_DIR))) \
|
$(call FindFiles, $(LIBS_DIR))) \
|
||||||
))
|
))
|
||||||
TARGETS += $(COPY_LIBS_TO_BIN) $(COPY_LIBS_TO_LIB)
|
TARGETS += $(COPY_LIBS_TO_BIN) $(COPY_LIBS_TO_LIB)
|
||||||
else
|
else
|
||||||
$(eval $(call SetupCopyFiles, COPY_LIBS, \
|
$(eval $(call SetupCopyFiles, COPY_LIBS, \
|
||||||
SRC := $(LIBS_DIR), \
|
SRC := $(LIBS_DIR), \
|
||||||
DEST := $(JDK_OUTPUTDIR)/lib, \
|
DEST := $(JDK_OUTPUTDIR)/lib, \
|
||||||
FILES := $(filter %$(SHARED_LIBRARY_SUFFIX), $(call CacheFind, $(LIBS_DIR))), \
|
FILES := $(filter %$(SHARED_LIBRARY_SUFFIX), $(call FindFiles, $(LIBS_DIR))), \
|
||||||
))
|
))
|
||||||
|
|
||||||
# Use relative links if the import dir is inside the OUTPUTDIR, otherwise
|
# Use relative links if the import dir is inside the OUTPUTDIR, otherwise
|
||||||
@@ -75,7 +75,7 @@ ifneq ($(LIBS_DIR), )
|
|||||||
$(eval $(call SetupCopyFiles, LINK_LIBS, \
|
$(eval $(call SetupCopyFiles, LINK_LIBS, \
|
||||||
SRC := $(LIBS_DIR), \
|
SRC := $(LIBS_DIR), \
|
||||||
DEST := $(JDK_OUTPUTDIR)/lib, \
|
DEST := $(JDK_OUTPUTDIR)/lib, \
|
||||||
FILES := $(filter-out %$(SHARED_LIBRARY_SUFFIX), $(call CacheFind, $(LIBS_DIR))), \
|
FILES := $(filter-out %$(SHARED_LIBRARY_SUFFIX), $(call FindFiles, $(LIBS_DIR))), \
|
||||||
MACRO := $(LINK_MACRO), \
|
MACRO := $(LINK_MACRO), \
|
||||||
LOG_ACTION := $(LOG_ACTION), \
|
LOG_ACTION := $(LOG_ACTION), \
|
||||||
))
|
))
|
||||||
@@ -87,7 +87,7 @@ ifneq ($(CMDS_DIR), )
|
|||||||
$(eval $(call SetupCopyFiles, COPY_CMDS, \
|
$(eval $(call SetupCopyFiles, COPY_CMDS, \
|
||||||
SRC := $(CMDS_DIR), \
|
SRC := $(CMDS_DIR), \
|
||||||
DEST := $(JDK_OUTPUTDIR)/bin, \
|
DEST := $(JDK_OUTPUTDIR)/bin, \
|
||||||
FILES := $(call CacheFind, $(CMDS_DIR)), \
|
FILES := $(call FindFiles, $(CMDS_DIR)), \
|
||||||
))
|
))
|
||||||
TARGETS += $(COPY_CMDS)
|
TARGETS += $(COPY_CMDS)
|
||||||
endif
|
endif
|
||||||
@@ -96,7 +96,7 @@ ifneq ($(CONF_DIR), )
|
|||||||
$(eval $(call SetupCopyFiles, COPY_CONF, \
|
$(eval $(call SetupCopyFiles, COPY_CONF, \
|
||||||
SRC := $(CONF_DIR), \
|
SRC := $(CONF_DIR), \
|
||||||
DEST := $(JDK_OUTPUTDIR)/lib, \
|
DEST := $(JDK_OUTPUTDIR)/lib, \
|
||||||
FILES := $(call CacheFind, $(CONF_DIR)), \
|
FILES := $(call FindFiles, $(CONF_DIR)), \
|
||||||
))
|
))
|
||||||
TARGETS += $(COPY_CONF)
|
TARGETS += $(COPY_CONF)
|
||||||
endif
|
endif
|
||||||
|
|||||||
50
make/CopyInterimTZDB.gmk
Normal file
50
make/CopyInterimTZDB.gmk
Normal file
@@ -0,0 +1,50 @@
|
|||||||
|
#
|
||||||
|
# Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved.
|
||||||
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
|
#
|
||||||
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
|
# under the terms of the GNU General Public License version 2 only, as
|
||||||
|
# published by the Free Software Foundation. Oracle designates this
|
||||||
|
# particular file as subject to the "Classpath" exception as provided
|
||||||
|
# by Oracle in the LICENSE file that accompanied this code.
|
||||||
|
#
|
||||||
|
# This code is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
# version 2 for more details (a copy is included in the LICENSE file that
|
||||||
|
# accompanied this code).
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License version
|
||||||
|
# 2 along with this work; if not, write to the Free Software Foundation,
|
||||||
|
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
#
|
||||||
|
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||||
|
# or visit www.oracle.com if you need additional information or have any
|
||||||
|
# questions.
|
||||||
|
#
|
||||||
|
|
||||||
|
default: all
|
||||||
|
|
||||||
|
include $(SPEC)
|
||||||
|
include MakeBase.gmk
|
||||||
|
|
||||||
|
##########################################################################################
|
||||||
|
|
||||||
|
### TZDB tool needs files from java.time.zone package
|
||||||
|
|
||||||
|
define tzdb_copyfiles
|
||||||
|
$(call MakeTargetDir)
|
||||||
|
$(RM) '$@'
|
||||||
|
$(SED) -e "s/package java.time.zone/package build.tools.tzdb/" \
|
||||||
|
< $(<) > $@
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call SetupCopyFiles,COPY_INTERIM_TZDB, \
|
||||||
|
SRC := $(TOPDIR)/src/java.base/share/classes/java/time/zone, \
|
||||||
|
DEST := $(BUILDTOOLS_OUTPUTDIR)/interim_tzdb_classes/build/tools/tzdb, \
|
||||||
|
FILES := ZoneRules.java ZoneOffsetTransition.java ZoneOffsetTransitionRule.java Ser.java, \
|
||||||
|
MACRO := tzdb_copyfiles))
|
||||||
|
|
||||||
|
##########################################################################################
|
||||||
|
|
||||||
|
all: $(COPY_INTERIM_TZDB)
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2015, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
@@ -39,7 +39,7 @@ MODULES_TO_COPY := $(sort \
|
|||||||
|
|
||||||
COPY_CLASSES_TARGET := $(BUILDJDK_OUTPUTDIR)/jdk/modules/java.base/_the.buildjdk-copy-marker
|
COPY_CLASSES_TARGET := $(BUILDJDK_OUTPUTDIR)/jdk/modules/java.base/_the.buildjdk-copy-marker
|
||||||
|
|
||||||
$(COPY_CLASSES_TARGET): $(call CacheFind, $(wildcard \
|
$(COPY_CLASSES_TARGET): $(call FindFiles, $(wildcard \
|
||||||
$(addprefix $(JDK_OUTPUTDIR)/modules/, $(MODULES_TO_COPY))))
|
$(addprefix $(JDK_OUTPUTDIR)/modules/, $(MODULES_TO_COPY))))
|
||||||
$(ECHO) $(LOG_INFO) "Copying java modules to buildjdk: $(MODULES_TO_COPY)"
|
$(ECHO) $(LOG_INFO) "Copying java modules to buildjdk: $(MODULES_TO_COPY)"
|
||||||
$(RM) -r $(BUILDJDK_OUTPUTDIR)/jdk/modules
|
$(RM) -r $(BUILDJDK_OUTPUTDIR)/jdk/modules
|
||||||
@@ -56,7 +56,7 @@ TARGETS += $(COPY_CLASSES_TARGET)
|
|||||||
$(eval $(call SetupCopyFiles, COPY_SUPPORT_HEADERS, \
|
$(eval $(call SetupCopyFiles, COPY_SUPPORT_HEADERS, \
|
||||||
SRC := $(OUTPUTDIR), \
|
SRC := $(OUTPUTDIR), \
|
||||||
DEST := $(BUILDJDK_OUTPUTDIR), \
|
DEST := $(BUILDJDK_OUTPUTDIR), \
|
||||||
FILES := $(call CacheFind, $(wildcard \
|
FILES := $(call FindFiles, $(wildcard \
|
||||||
$(addprefix $(SUPPORT_OUTPUTDIR)/headers/, $(MODULES_TO_COPY)))), \
|
$(addprefix $(SUPPORT_OUTPUTDIR)/headers/, $(MODULES_TO_COPY)))), \
|
||||||
))
|
))
|
||||||
|
|
||||||
|
|||||||
@@ -51,33 +51,33 @@ INCLUDE_HEADERS_DIR ?= $(firstword $(wildcard $(addsuffix /$(MODULE), \
|
|||||||
MAN_DIR ?= $(firstword $(wildcard $(addsuffix /$(MODULE), \
|
MAN_DIR ?= $(firstword $(wildcard $(addsuffix /$(MODULE), \
|
||||||
$(SUPPORT_OUTPUTDIR)/modules_man $(IMPORT_MODULES_MAN))))
|
$(SUPPORT_OUTPUTDIR)/modules_man $(IMPORT_MODULES_MAN))))
|
||||||
|
|
||||||
$(eval $(call FillCacheFind, \
|
$(call FillFindCache, \
|
||||||
$(LIBS_DIR) $(CMDS_DIR) $(CONF_DIR) $(CLASSES_DIR) \
|
$(LIBS_DIR) $(CMDS_DIR) $(CONF_DIR) $(CLASSES_DIR) \
|
||||||
))
|
)
|
||||||
|
|
||||||
ifneq ($(LIBS_DIR), )
|
ifneq ($(LIBS_DIR), )
|
||||||
JMOD_FLAGS += --libs $(LIBS_DIR)
|
JMOD_FLAGS += --libs $(LIBS_DIR)
|
||||||
DEPS += $(call CacheFind, $(LIBS_DIR))
|
DEPS += $(call FindFiles, $(LIBS_DIR))
|
||||||
endif
|
endif
|
||||||
ifneq ($(CMDS_DIR), )
|
ifneq ($(CMDS_DIR), )
|
||||||
JMOD_FLAGS += --cmds $(CMDS_DIR)
|
JMOD_FLAGS += --cmds $(CMDS_DIR)
|
||||||
DEPS += $(call CacheFind, $(CMDS_DIR))
|
DEPS += $(call FindFiles, $(CMDS_DIR))
|
||||||
endif
|
endif
|
||||||
ifneq ($(CONF_DIR), )
|
ifneq ($(CONF_DIR), )
|
||||||
JMOD_FLAGS += --config $(CONF_DIR)
|
JMOD_FLAGS += --config $(CONF_DIR)
|
||||||
DEPS += $(call CacheFind, $(CONF_DIR))
|
DEPS += $(call FindFiles, $(CONF_DIR))
|
||||||
endif
|
endif
|
||||||
ifneq ($(CLASSES_DIR), )
|
ifneq ($(CLASSES_DIR), )
|
||||||
JMOD_FLAGS += --class-path $(CLASSES_DIR)
|
JMOD_FLAGS += --class-path $(CLASSES_DIR)
|
||||||
DEPS += $(call CacheFind, $(CLASSES_DIR))
|
DEPS += $(call FindFiles, $(CLASSES_DIR))
|
||||||
endif
|
endif
|
||||||
ifneq ($(INCLUDE_HEADERS_DIR), )
|
ifneq ($(INCLUDE_HEADERS_DIR), )
|
||||||
JMOD_FLAGS += --header-files $(INCLUDE_HEADERS_DIR)
|
JMOD_FLAGS += --header-files $(INCLUDE_HEADERS_DIR)
|
||||||
DEPS += $(call CacheFind, $(INCLUDE_HEADERS_DIR))
|
DEPS += $(call FindFiles, $(INCLUDE_HEADERS_DIR))
|
||||||
endif
|
endif
|
||||||
ifneq ($(MAN_DIR), )
|
ifneq ($(MAN_DIR), )
|
||||||
JMOD_FLAGS += --man-pages $(MAN_DIR)
|
JMOD_FLAGS += --man-pages $(MAN_DIR)
|
||||||
DEPS += $(call CacheFind, $(MAN_DIR))
|
DEPS += $(call FindFiles, $(MAN_DIR))
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# If a specific modules_legal dir exists for this module, only pick up files
|
# If a specific modules_legal dir exists for this module, only pick up files
|
||||||
@@ -91,7 +91,7 @@ LEGAL_NOTICES := \
|
|||||||
)
|
)
|
||||||
|
|
||||||
LEGAL_NOTICES_PATH := $(call PathList, $(LEGAL_NOTICES))
|
LEGAL_NOTICES_PATH := $(call PathList, $(LEGAL_NOTICES))
|
||||||
DEPS += $(call CacheFind, $(LEGAL_NOTICES))
|
DEPS += $(call FindFiles, $(LEGAL_NOTICES))
|
||||||
|
|
||||||
JMOD_FLAGS += --legal-notices $(LEGAL_NOTICES_PATH)
|
JMOD_FLAGS += --legal-notices $(LEGAL_NOTICES_PATH)
|
||||||
|
|
||||||
@@ -145,7 +145,7 @@ endif
|
|||||||
# the actual command. Filter that out using wildcard before adding to DEPS.
|
# the actual command. Filter that out using wildcard before adding to DEPS.
|
||||||
DEPS += $(wildcard $(JMOD_CMD))
|
DEPS += $(wildcard $(JMOD_CMD))
|
||||||
ifeq ($(EXTERNAL_BUILDJDK), false)
|
ifeq ($(EXTERNAL_BUILDJDK), false)
|
||||||
DEPS += $(call CacheFind, $(JDK_OUTPUTDIR)/modules/jdk.jlink/jdk/tools/jmod)
|
DEPS += $(call FindFiles, $(JDK_OUTPUTDIR)/modules/jdk.jlink/jdk/tools/jmod)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# If creating interim versions of jmods, certain files need to be filtered out
|
# If creating interim versions of jmods, certain files need to be filtered out
|
||||||
|
|||||||
@@ -341,7 +341,7 @@ define SetupApiDocsGenerationBody
|
|||||||
$$(SUPPORT_OUTPUTDIR)/docs/$1.vardeps)
|
$$(SUPPORT_OUTPUTDIR)/docs/$1.vardeps)
|
||||||
|
|
||||||
# Get a list of all files in all the source dirs for all included modules
|
# Get a list of all files in all the source dirs for all included modules
|
||||||
$1_SOURCE_DEPS := $$(call CacheFind, $$(wildcard $$(foreach module, \
|
$1_SOURCE_DEPS := $$(call FindFiles, $$(wildcard $$(foreach module, \
|
||||||
$$($1_ALL_MODULES), $$(call FindModuleSrcDirs, $$(module)))))
|
$$($1_ALL_MODULES), $$(call FindModuleSrcDirs, $$(module)))))
|
||||||
|
|
||||||
# Javadoc creates a lot of files but use index.html as a marker
|
# Javadoc creates a lot of files but use index.html as a marker
|
||||||
@@ -496,7 +496,7 @@ JDK_INDEX_TARGETS += $(JDK_INDEX_HTML)
|
|||||||
GLOBAL_SPECS_RESOURCES_DIR := $(TOPDIR)/make/data/docs-resources/
|
GLOBAL_SPECS_RESOURCES_DIR := $(TOPDIR)/make/data/docs-resources/
|
||||||
$(eval $(call SetupCopyFiles, COPY_GLOBAL_RESOURCES, \
|
$(eval $(call SetupCopyFiles, COPY_GLOBAL_RESOURCES, \
|
||||||
SRC := $(GLOBAL_SPECS_RESOURCES_DIR), \
|
SRC := $(GLOBAL_SPECS_RESOURCES_DIR), \
|
||||||
FILES := $(call CacheFind, $(GLOBAL_SPECS_RESOURCES_DIR)), \
|
FILES := $(call FindFiles, $(GLOBAL_SPECS_RESOURCES_DIR)), \
|
||||||
DEST := $(DOCS_OUTPUTDIR), \
|
DEST := $(DOCS_OUTPUTDIR), \
|
||||||
))
|
))
|
||||||
JDK_INDEX_TARGETS += $(COPY_GLOBAL_RESOURCES)
|
JDK_INDEX_TARGETS += $(COPY_GLOBAL_RESOURCES)
|
||||||
@@ -521,10 +521,10 @@ COPY_SPEC_FILTER := %.html %.gif %.jpg %.mib %.css
|
|||||||
$(foreach m, $(ALL_MODULES), \
|
$(foreach m, $(ALL_MODULES), \
|
||||||
$(eval SPECS_$m := $(call FindModuleSpecsDirs, $m)) \
|
$(eval SPECS_$m := $(call FindModuleSpecsDirs, $m)) \
|
||||||
$(foreach d, $(SPECS_$m), \
|
$(foreach d, $(SPECS_$m), \
|
||||||
$(if $(filter $(COPY_SPEC_FILTER), $(call CacheFind, $d)), \
|
$(if $(filter $(COPY_SPEC_FILTER), $(call FindFiles, $d)), \
|
||||||
$(eval $(call SetupCopyFiles, COPY_$m, \
|
$(eval $(call SetupCopyFiles, COPY_$m, \
|
||||||
SRC := $d, \
|
SRC := $d, \
|
||||||
FILES := $(filter $(COPY_SPEC_FILTER), $(call CacheFind, $d)), \
|
FILES := $(filter $(COPY_SPEC_FILTER), $(call FindFiles, $d)), \
|
||||||
DEST := $(DOCS_OUTPUTDIR)/specs/, \
|
DEST := $(DOCS_OUTPUTDIR)/specs/, \
|
||||||
)) \
|
)) \
|
||||||
$(eval JDK_SPECS_TARGETS += $(COPY_$m)) \
|
$(eval JDK_SPECS_TARGETS += $(COPY_$m)) \
|
||||||
@@ -541,11 +541,11 @@ ifeq ($(ENABLE_FULL_DOCS), true)
|
|||||||
$(foreach m, $(ALL_MODULES), \
|
$(foreach m, $(ALL_MODULES), \
|
||||||
$(eval SPECS_$m := $(call FindModuleSpecsDirs, $m)) \
|
$(eval SPECS_$m := $(call FindModuleSpecsDirs, $m)) \
|
||||||
$(foreach d, $(SPECS_$m), \
|
$(foreach d, $(SPECS_$m), \
|
||||||
$(if $(filter %.md, $(call CacheFind, $d)), \
|
$(if $(filter %.md, $(call FindFiles, $d)), \
|
||||||
$(eval $m_$d_NAME := CONVERT_MARKDOWN_$m_$(strip $(call RelativePath, $d, $(TOPDIR)))) \
|
$(eval $m_$d_NAME := CONVERT_MARKDOWN_$m_$(strip $(call RelativePath, $d, $(TOPDIR)))) \
|
||||||
$(eval $(call SetupProcessMarkdown, $($m_$d_NAME), \
|
$(eval $(call SetupProcessMarkdown, $($m_$d_NAME), \
|
||||||
SRC := $d, \
|
SRC := $d, \
|
||||||
FILES := $(filter %.md, $(call CacheFind, $d)), \
|
FILES := $(filter %.md, $(call FindFiles, $d)), \
|
||||||
DEST := $(DOCS_OUTPUTDIR)/specs/, \
|
DEST := $(DOCS_OUTPUTDIR)/specs/, \
|
||||||
CSS := $(GLOBAL_SPECS_DEFAULT_CSS_FILE), \
|
CSS := $(GLOBAL_SPECS_DEFAULT_CSS_FILE), \
|
||||||
)) \
|
)) \
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
@@ -38,7 +38,7 @@ ALL_MODULEINFO_CLASSES := $(wildcard $(JDK_OUTPUTDIR)/modules/*/module_info.clas
|
|||||||
|
|
||||||
$(PACKAGES_ATTRIBUTE_TARGET): $(ALL_MODULEINFO_CLASSES) $(BUILD_JIGSAW_CLASSES)
|
$(PACKAGES_ATTRIBUTE_TARGET): $(ALL_MODULEINFO_CLASSES) $(BUILD_JIGSAW_CLASSES)
|
||||||
$(call LogInfo, Optimizing the exploded image)
|
$(call LogInfo, Optimizing the exploded image)
|
||||||
$(TOOL_ADD_PACKAGES_ATTRIBUTE) $(JDK_OUTPUTDIR)
|
$(call ExecuteWithLog, $@, $(TOOL_ADD_PACKAGES_ATTRIBUTE) $(JDK_OUTPUTDIR))
|
||||||
$(TOUCH) $@
|
$(TOUCH) $@
|
||||||
|
|
||||||
TARGETS := $(PACKAGES_ATTRIBUTE_TARGET)
|
TARGETS := $(PACKAGES_ATTRIBUTE_TARGET)
|
||||||
|
|||||||
@@ -119,7 +119,7 @@ print-configurations:
|
|||||||
run-test-prebuilt:
|
run-test-prebuilt:
|
||||||
@( cd $(topdir) && \
|
@( cd $(topdir) && \
|
||||||
$(MAKE) --no-print-directory -r -R -I make/common/ -f make/RunTestsPrebuilt.gmk \
|
$(MAKE) --no-print-directory -r -R -I make/common/ -f make/RunTestsPrebuilt.gmk \
|
||||||
run-test-prebuilt TEST="$(TEST)" )
|
run-test-prebuilt CUSTOM_MAKE_DIR=$(CUSTOM_MAKE_DIR) TEST="$(TEST)" )
|
||||||
|
|
||||||
ALL_GLOBAL_TARGETS := help print-configurations run-test-prebuilt
|
ALL_GLOBAL_TARGETS := help print-configurations run-test-prebuilt
|
||||||
|
|
||||||
|
|||||||
@@ -276,21 +276,14 @@ endif
|
|||||||
|
|
||||||
ifeq ($(GCOV_ENABLED), true)
|
ifeq ($(GCOV_ENABLED), true)
|
||||||
|
|
||||||
GCOV_FIND_EXPR := -type f -name "*.gcno"
|
$(eval $(call SetupCopyFiles,COPY_GCOV_GCNO, \
|
||||||
|
|
||||||
$(eval $(call SetupCopyFiles,COPY_HOTSPOT_GCOV_GCNO, \
|
|
||||||
SRC := $(OUTPUTDIR), \
|
SRC := $(OUTPUTDIR), \
|
||||||
DEST := $(SYMBOLS_IMAGE_DIR)/gcov, \
|
DEST := $(SYMBOLS_IMAGE_DIR)/gcov, \
|
||||||
FILES := $(shell $(FIND) $(HOTSPOT_OUTPUTDIR) $(GCOV_FIND_EXPR))))
|
FILES := $(call FindFiles, $(HOTSPOT_OUTPUTDIR) \
|
||||||
|
$(SUPPORT_OUTPUTDIR)/native, *.gcno) \
|
||||||
|
))
|
||||||
|
|
||||||
SYMBOLS_TARGETS += $(COPY_HOTSPOT_GCOV_GCNO)
|
SYMBOLS_TARGETS += $(COPY_GCOV_GCNO)
|
||||||
|
|
||||||
$(eval $(call SetupCopyFiles,COPY_JDK_GCOV_GCNO, \
|
|
||||||
SRC := $(OUTPUTDIR), \
|
|
||||||
DEST := $(SYMBOLS_IMAGE_DIR)/gcov, \
|
|
||||||
FILES := $(shell $(FIND) $(SUPPORT_OUTPUTDIR)/native $(GCOV_FIND_EXPR))))
|
|
||||||
|
|
||||||
SYMBOLS_TARGETS += $(COPY_JDK_GCOV_GCNO)
|
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
@@ -323,10 +316,10 @@ else
|
|||||||
# On Macosx, if debug symbols have not been zipped, find all files inside *.dSYM
|
# On Macosx, if debug symbols have not been zipped, find all files inside *.dSYM
|
||||||
# dirs.
|
# dirs.
|
||||||
ifeq ($(OPENJDK_TARGET_OS), macosx)
|
ifeq ($(OPENJDK_TARGET_OS), macosx)
|
||||||
$(eval $(call FillCacheFind, \
|
$(call FillFindCache, \
|
||||||
$(SUPPORT_OUTPUTDIR)/modules_cmds $(SUPPORT_OUTPUTDIR)/modules_libs))
|
$(SUPPORT_OUTPUTDIR)/modules_cmds $(SUPPORT_OUTPUTDIR)/modules_libs)
|
||||||
FindDebuginfoFiles = \
|
FindDebuginfoFiles = \
|
||||||
$(if $(wildcard $1), $(call containing, .dSYM/, $(call CacheFind, $1)))
|
$(if $(wildcard $1), $(call containing, .dSYM/, $(call FindFiles, $1)))
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
@@ -421,8 +421,8 @@ else # $(HAS_SPEC)=true
|
|||||||
$(if $(filter all, $(LOG_REPORT)), \
|
$(if $(filter all, $(LOG_REPORT)), \
|
||||||
$(GREP) -v -e "^Note: including file:" < $(logfile) || true $(NEWLINE) \
|
$(GREP) -v -e "^Note: including file:" < $(logfile) || true $(NEWLINE) \
|
||||||
, \
|
, \
|
||||||
($(GREP) -v -e "^Note: including file:" < $(logfile) || true) | $(HEAD) -n 12 $(NEWLINE) \
|
($(GREP) -v -e "^Note: including file:" < $(logfile) || true) | $(HEAD) -n 15 $(NEWLINE) \
|
||||||
if test `$(WC) -l < $(logfile)` -gt 12; then \
|
if test `$(WC) -l < $(logfile)` -gt 15; then \
|
||||||
$(ECHO) " ... (rest of output omitted)" ; \
|
$(ECHO) " ... (rest of output omitted)" ; \
|
||||||
fi $(NEWLINE) \
|
fi $(NEWLINE) \
|
||||||
) \
|
) \
|
||||||
|
|||||||
107
make/Jprt.gmk
107
make/Jprt.gmk
@@ -1,107 +0,0 @@
|
|||||||
#
|
|
||||||
# Copyright (c) 2012, 2016, Oracle and/or its affiliates. All rights reserved.
|
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
||||||
#
|
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
|
||||||
# under the terms of the GNU General Public License version 2 only, as
|
|
||||||
# published by the Free Software Foundation. Oracle designates this
|
|
||||||
# particular file as subject to the "Classpath" exception as provided
|
|
||||||
# by Oracle in the LICENSE file that accompanied this code.
|
|
||||||
#
|
|
||||||
# This code is distributed in the hope that it will be useful, but WITHOUT
|
|
||||||
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
||||||
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
||||||
# version 2 for more details (a copy is included in the LICENSE file that
|
|
||||||
# accompanied this code).
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License version
|
|
||||||
# 2 along with this work; if not, write to the Free Software Foundation,
|
|
||||||
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
||||||
#
|
|
||||||
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
|
||||||
# or visit www.oracle.com if you need additional information or have any
|
|
||||||
# questions.
|
|
||||||
#
|
|
||||||
|
|
||||||
# This file contains targets and utilities needed by JPRT.
|
|
||||||
|
|
||||||
# Cygpath is only defined when running on Cygwin
|
|
||||||
ifneq ($(CYGPATH), )
|
|
||||||
# If we get JPRT_ARCHIVE_*BUNDLE externally, make sure they have /cygdrive
|
|
||||||
# style paths
|
|
||||||
ifdef JPRT_ARCHIVE_BUNDLE
|
|
||||||
override JPRT_ARCHIVE_BUNDLE := $(shell $(CYGPATH) -u $(JPRT_ARCHIVE_BUNDLE))
|
|
||||||
endif
|
|
||||||
ifdef JPRT_ARCHIVE_TEST_BUNDLE
|
|
||||||
override JPRT_ARCHIVE_TEST_BUNDLE := \
|
|
||||||
$(shell $(CYGPATH) -u $(JPRT_ARCHIVE_TEST_BUNDLE))
|
|
||||||
endif
|
|
||||||
ifdef JPRT_ARCHIVE_SYMBOLS_BUNDLE
|
|
||||||
override JPRT_ARCHIVE_SYMBOLS_BUNDLE := \
|
|
||||||
$(shell $(CYGPATH) -u $(JPRT_ARCHIVE_SYMBOLS_BUNDLE))
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
|
|
||||||
# When running in JPRT these will be provided. Need defaults so that this makefile
|
|
||||||
# is valid anyway.
|
|
||||||
ifndef JPRT_ARCHIVE_BUNDLE
|
|
||||||
JPRT_ARCHIVE_BUNDLE=/tmp/jprt_bundles/jdk-image.zip
|
|
||||||
endif
|
|
||||||
ifndef JPRT_ARCHIVE_TEST_BUNDLE
|
|
||||||
JPRT_ARCHIVE_TEST_BUNDLE=/tmp/jprt_bundles/test-image.zip
|
|
||||||
endif
|
|
||||||
ifndef JPRT_ARCHIVE_SYMBOLS_BUNDLE
|
|
||||||
JPRT_ARCHIVE_SYMBOLS_BUNDLE=/tmp/jprt_bundles/symbols-image.zip
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ($(SKIP_BOOT_CYCLE), false)
|
|
||||||
jprt_bundle: bootcycle-images
|
|
||||||
endif
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
# JPRT specific bundling targets
|
|
||||||
JPRT_TARGET ?= $(DEFAULT_MAKE_TARGET)
|
|
||||||
ifeq ($(JPRT_TARGET), $(DEFAULT_MAKE_TARGET))
|
|
||||||
jprt_bundle: $(DEFAULT_MAKE_TARGET) $(JPRT_ARCHIVE_BUNDLE) \
|
|
||||||
$(JPRT_ARCHIVE_TEST_BUNDLE)
|
|
||||||
|
|
||||||
SRC_JDK_IMAGE_DIR := $(JDK_IMAGE_DIR)
|
|
||||||
SRC_TEST_IMAGE_DIR := $(TEST_IMAGE_DIR)
|
|
||||||
|
|
||||||
# This target must be called in the context of a SPEC file
|
|
||||||
$(JPRT_ARCHIVE_BUNDLE): product-images
|
|
||||||
$(call MakeDir, $(@D))
|
|
||||||
$(CD) $(SRC_JDK_IMAGE_DIR) && $(ZIPEXE) -y -q -r $@ .
|
|
||||||
|
|
||||||
$(JPRT_ARCHIVE_TEST_BUNDLE): test-image
|
|
||||||
$(call MakeDir, $(@D))
|
|
||||||
$(CD) $(SRC_TEST_IMAGE_DIR) && $(ZIPEXE) -y -q -r $@ .
|
|
||||||
|
|
||||||
##############################################################################
|
|
||||||
# Optional symbols bundle
|
|
||||||
ifeq ($(GCOV_ENABLED), true)
|
|
||||||
jprt_bundle: $(JPRT_ARCHIVE_SYMBOLS_BUNDLE)
|
|
||||||
|
|
||||||
$(JPRT_ARCHIVE_SYMBOLS_BUNDLE): product-images
|
|
||||||
$(call MakeDir, $(@D))
|
|
||||||
$(CD) $(SYMBOLS_IMAGE_DIR) && $(ZIPEXE) -y -q -r $@ .
|
|
||||||
|
|
||||||
endif
|
|
||||||
|
|
||||||
##############################################################################
|
|
||||||
|
|
||||||
else
|
|
||||||
# Just fake the main bundle to satisfy JPRT
|
|
||||||
jprt_bundle: $(JPRT_TARGET)
|
|
||||||
@$(call TargetEnter)
|
|
||||||
$(MKDIR) -p $(OUTPUTDIR)/bundles
|
|
||||||
$(CD) $(TOPDIR) && $(TAR) cf - README | $(GZIP) > \
|
|
||||||
$(JPRT_ARCHIVE_BUNDLE)
|
|
||||||
@$(call TargetExit)
|
|
||||||
endif
|
|
||||||
|
|
||||||
ALL_TARGETS += jprt_bundle
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
$(eval $(call IncludeCustomExtension, Jprt.gmk))
|
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2011, 2017, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2011, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
@@ -52,26 +52,24 @@ ifeq ($(OPENJDK_TARGET_OS), macosx)
|
|||||||
$(eval $(call SetupCopyFiles, COPY_JDK_IMAGE, \
|
$(eval $(call SetupCopyFiles, COPY_JDK_IMAGE, \
|
||||||
SRC := $(JDK_IMAGE_DIR), \
|
SRC := $(JDK_IMAGE_DIR), \
|
||||||
DEST := $(JDK_MACOSX_CONTENTS_DIR)/Home, \
|
DEST := $(JDK_MACOSX_CONTENTS_DIR)/Home, \
|
||||||
FILES := $(call CacheFind, $(JDK_IMAGE_DIR)), \
|
FILES := $(call FindFiles, $(JDK_IMAGE_DIR)), \
|
||||||
))
|
))
|
||||||
|
|
||||||
$(eval $(call SetupCopyFiles, COPY_JRE_IMAGE, \
|
$(eval $(call SetupCopyFiles, COPY_JRE_IMAGE, \
|
||||||
SRC := $(JRE_IMAGE_DIR), \
|
SRC := $(JRE_IMAGE_DIR), \
|
||||||
DEST := $(JRE_MACOSX_CONTENTS_DIR)/Home, \
|
DEST := $(JRE_MACOSX_CONTENTS_DIR)/Home, \
|
||||||
FILES := $(call CacheFind, $(JRE_IMAGE_DIR)), \
|
FILES := $(call FindFiles, $(JRE_IMAGE_DIR)), \
|
||||||
))
|
))
|
||||||
|
|
||||||
$(JDK_MACOSX_CONTENTS_DIR)/MacOS/libjli.dylib:
|
$(eval $(call SetupCopyFiles, COPY_LIBJLI_JDK, \
|
||||||
$(call LogInfo, Creating link $(patsubst $(OUTPUTDIR)/%,%,$@))
|
FILES := $(JDK_IMAGE_DIR)/lib/jli/libjli.dylib, \
|
||||||
$(MKDIR) -p $(@D)
|
DEST := $(JDK_MACOSX_CONTENTS_DIR)/MacOS, \
|
||||||
$(RM) $@
|
))
|
||||||
$(LN) -s ../Home/lib/jli/libjli.dylib $@
|
|
||||||
|
|
||||||
$(JRE_MACOSX_CONTENTS_DIR)/MacOS/libjli.dylib:
|
$(eval $(call SetupCopyFiles, COPY_LIBJLI_JRE, \
|
||||||
$(call LogInfo, Creating link $(patsubst $(OUTPUTDIR)/%,%,$@))
|
FILES := $(JRE_IMAGE_DIR)/lib/jli/libjli.dylib, \
|
||||||
$(MKDIR) -p $(@D)
|
DEST := $(JRE_MACOSX_CONTENTS_DIR)/MacOS, \
|
||||||
$(RM) $@
|
))
|
||||||
$(LN) -s ../Home/lib/jli/libjli.dylib $@
|
|
||||||
|
|
||||||
$(eval $(call SetupTextFileProcessing, BUILD_JDK_PLIST, \
|
$(eval $(call SetupTextFileProcessing, BUILD_JDK_PLIST, \
|
||||||
SOURCE_FILES := $(MACOSX_PLIST_SRC)/JDK-Info.plist, \
|
SOURCE_FILES := $(MACOSX_PLIST_SRC)/JDK-Info.plist, \
|
||||||
@@ -97,13 +95,19 @@ ifeq ($(OPENJDK_TARGET_OS), macosx)
|
|||||||
@@VENDOR@@ => $(BUNDLE_VENDOR) , \
|
@@VENDOR@@ => $(BUNDLE_VENDOR) , \
|
||||||
))
|
))
|
||||||
|
|
||||||
jdk-bundle: $(COPY_JDK_IMAGE) $(JDK_MACOSX_CONTENTS_DIR)/MacOS/libjli.dylib \
|
$(SUPPORT_OUTPUTDIR)/images/_jdk_bundle_attribute_set: $(COPY_JDK_IMAGE)
|
||||||
$(BUILD_JDK_PLIST)
|
|
||||||
$(SETFILE) -a B $(dir $(JDK_MACOSX_CONTENTS_DIR))
|
$(SETFILE) -a B $(dir $(JDK_MACOSX_CONTENTS_DIR))
|
||||||
|
$(TOUCH) $@
|
||||||
|
|
||||||
jre-bundle: $(COPY_JRE_IMAGE) $(JRE_MACOSX_CONTENTS_DIR)/MacOS/libjli.dylib \
|
$(SUPPORT_OUTPUTDIR)/images/_jre_bundle_attribute_set: $(COPY_JRE_IMAGE)
|
||||||
$(BUILD_JRE_PLIST)
|
|
||||||
$(SETFILE) -a B $(dir $(JRE_MACOSX_CONTENTS_DIR))
|
$(SETFILE) -a B $(dir $(JRE_MACOSX_CONTENTS_DIR))
|
||||||
|
$(TOUCH) $@
|
||||||
|
|
||||||
|
jdk-bundle: $(COPY_JDK_IMAGE) $(COPY_LIBJLI_JDK) \
|
||||||
|
$(BUILD_JDK_PLIST) $(SUPPORT_OUTPUTDIR)/images/_jdk_bundle_attribute_set
|
||||||
|
|
||||||
|
jre-bundle: $(COPY_JRE_IMAGE) $(COPY_LIBJLI_JRE) \
|
||||||
|
$(BUILD_JRE_PLIST) $(SUPPORT_OUTPUTDIR)/images/_jre_bundle_attribute_set
|
||||||
|
|
||||||
else # Not macosx
|
else # Not macosx
|
||||||
|
|
||||||
|
|||||||
121
make/Main.gmk
121
make/Main.gmk
@@ -81,6 +81,10 @@ ifneq ($(CREATING_BUILDJDK), true)
|
|||||||
interim-cldrconverter:
|
interim-cldrconverter:
|
||||||
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f CopyInterimCLDRConverter.gmk)
|
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f CopyInterimCLDRConverter.gmk)
|
||||||
|
|
||||||
|
interim-tzdb:
|
||||||
|
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f CopyInterimTZDB.gmk)
|
||||||
|
|
||||||
|
|
||||||
buildtools-jdk:
|
buildtools-jdk:
|
||||||
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f CompileToolsJdk.gmk)
|
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f CompileToolsJdk.gmk)
|
||||||
|
|
||||||
@@ -92,7 +96,7 @@ ifneq ($(CREATING_BUILDJDK), true)
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
ALL_TARGETS += buildtools-langtools interim-langtools \
|
ALL_TARGETS += buildtools-langtools interim-langtools \
|
||||||
interim-rmic interim-cldrconverter buildtools-jdk buildtools-modules \
|
interim-rmic interim-cldrconverter interim-tzdb buildtools-jdk buildtools-modules \
|
||||||
buildtools-hotspot
|
buildtools-hotspot
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
@@ -136,7 +140,7 @@ ifneq ($(CREATING_BUILDJDK), true)
|
|||||||
define DeclareModuleInfoRecipe
|
define DeclareModuleInfoRecipe
|
||||||
$1-gensrc-moduleinfo:
|
$1-gensrc-moduleinfo:
|
||||||
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) \
|
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) \
|
||||||
-f GensrcModuleInfo.gmk MODULE=$1)
|
-f gensrc/GensrcModuleInfo.gmk MODULE=$1)
|
||||||
|
|
||||||
$1-gensrc: $1-gensrc-moduleinfo
|
$1-gensrc: $1-gensrc-moduleinfo
|
||||||
endef
|
endef
|
||||||
@@ -262,6 +266,52 @@ hotspot-ide-project:
|
|||||||
ALL_TARGETS += $(HOTSPOT_VARIANT_TARGETS) $(HOTSPOT_VARIANT_GENSRC_TARGETS) \
|
ALL_TARGETS += $(HOTSPOT_VARIANT_TARGETS) $(HOTSPOT_VARIANT_GENSRC_TARGETS) \
|
||||||
$(HOTSPOT_VARIANT_LIBS_TARGETS) hotspot-ide-project
|
$(HOTSPOT_VARIANT_LIBS_TARGETS) hotspot-ide-project
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Generate libs and launcher targets for creating compile_commands.json fragments
|
||||||
|
define DeclareCompileCommandsRecipe
|
||||||
|
$1-compile-commands:
|
||||||
|
$$(call LogInfo, Generating compile_commands.json fragments for $1)
|
||||||
|
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f Main.gmk $1-only \
|
||||||
|
GENERATE_COMPILE_COMMANDS_ONLY=true)
|
||||||
|
|
||||||
|
COMPILE_COMMANDS_TARGETS_$2 += $1-compile-commands
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(foreach t, $(HOTSPOT_VARIANT_LIBS_TARGETS), \
|
||||||
|
$(eval $(call DeclareCompileCommandsRecipe,$t,HOTSPOT)) \
|
||||||
|
)
|
||||||
|
|
||||||
|
$(foreach t, $(LIBS_TARGETS) $(LAUNCHER_TARGETS), \
|
||||||
|
$(eval $(call DeclareCompileCommandsRecipe,$t,JDK)) \
|
||||||
|
)
|
||||||
|
|
||||||
|
compile-commands compile-commands-hotspot:
|
||||||
|
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f CompileCommands.gmk)
|
||||||
|
|
||||||
|
ALL_TARGETS += $(COMPILE_COMMANDS_TARGETS_HOTSPOT) $(COMPILE_COMMANDS_TARGETS_JDK)
|
||||||
|
ALL_TARGETS += compile-commands compile-commands-hotspot
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# VS Code projects
|
||||||
|
vscode-project:
|
||||||
|
+($(CD) $(TOPDIR)/make/vscode && $(MAKE) $(MAKE_ARGS) -f CreateVSCodeProject.gmk \
|
||||||
|
VSCODE_INDEXER=cpptools)
|
||||||
|
|
||||||
|
vscode-project-clangd:
|
||||||
|
+($(CD) $(TOPDIR)/make/vscode && $(MAKE) $(MAKE_ARGS) -f CreateVSCodeProject.gmk \
|
||||||
|
VSCODE_INDEXER=clangd)
|
||||||
|
|
||||||
|
vscode-project-rtags:
|
||||||
|
+($(CD) $(TOPDIR)/make/vscode && $(MAKE) $(MAKE_ARGS) -f CreateVSCodeProject.gmk \
|
||||||
|
VSCODE_INDEXER=rtags)
|
||||||
|
|
||||||
|
vscode-project-ccls:
|
||||||
|
+($(CD) $(TOPDIR)/make/vscode && $(MAKE) $(MAKE_ARGS) -f CreateVSCodeProject.gmk \
|
||||||
|
VSCODE_INDEXER=ccls)
|
||||||
|
|
||||||
|
ALL_TARGETS += vscode-project vscode-project-clangd vscode-project-rtags \
|
||||||
|
vscode-project-ccls
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
# Build demos targets
|
# Build demos targets
|
||||||
|
|
||||||
@@ -559,8 +609,12 @@ test-jdk-jtreg-native:
|
|||||||
test-make:
|
test-make:
|
||||||
($(CD) $(TOPDIR)/test/make && $(MAKE) $(MAKE_ARGS) -f TestMake.gmk $(TEST_TARGET))
|
($(CD) $(TOPDIR)/test/make && $(MAKE) $(MAKE_ARGS) -f TestMake.gmk $(TEST_TARGET))
|
||||||
|
|
||||||
|
test-compile-commands:
|
||||||
|
($(CD) $(TOPDIR)/test/make && $(MAKE) $(MAKE_ARGS) -f TestMake.gmk test-compile-commands)
|
||||||
|
|
||||||
ALL_TARGETS += test test-hotspot-jtreg test-hotspot-jtreg-native \
|
ALL_TARGETS += test test-hotspot-jtreg test-hotspot-jtreg-native \
|
||||||
test-hotspot-internal test-hotspot-gtest test-jdk-jtreg-native test-make
|
test-hotspot-internal test-hotspot-gtest test-jdk-jtreg-native test-make \
|
||||||
|
test-compile-commands
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
# Bundles
|
# Bundles
|
||||||
@@ -568,13 +622,16 @@ ALL_TARGETS += test test-hotspot-jtreg test-hotspot-jtreg-native \
|
|||||||
product-bundles:
|
product-bundles:
|
||||||
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f Bundles.gmk product-bundles)
|
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f Bundles.gmk product-bundles)
|
||||||
|
|
||||||
|
legacy-bundles:
|
||||||
|
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f Bundles.gmk legacy-bundles)
|
||||||
|
|
||||||
test-bundles:
|
test-bundles:
|
||||||
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f Bundles.gmk test-bundles)
|
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f Bundles.gmk test-bundles)
|
||||||
|
|
||||||
docs-bundles:
|
docs-bundles:
|
||||||
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f Bundles.gmk docs-bundles)
|
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f Bundles.gmk docs-bundles)
|
||||||
|
|
||||||
ALL_TARGETS += product-bundles test-bundles docs-bundles
|
ALL_TARGETS += product-bundles legacy-bundles test-bundles docs-bundles
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
# Install targets
|
# Install targets
|
||||||
@@ -607,7 +664,7 @@ else
|
|||||||
|
|
||||||
interim-langtools: $(INTERIM_LANGTOOLS_GENSRC_TARGETS)
|
interim-langtools: $(INTERIM_LANGTOOLS_GENSRC_TARGETS)
|
||||||
|
|
||||||
buildtools-jdk: interim-langtools interim-cldrconverter
|
buildtools-jdk: interim-langtools interim-cldrconverter interim-tzdb
|
||||||
|
|
||||||
buildtools-hotspot: interim-langtools
|
buildtools-hotspot: interim-langtools
|
||||||
|
|
||||||
@@ -629,7 +686,7 @@ else
|
|||||||
|
|
||||||
# Declare dependencies between hotspot-<variant>* targets
|
# Declare dependencies between hotspot-<variant>* targets
|
||||||
$(foreach v, $(JVM_VARIANTS), \
|
$(foreach v, $(JVM_VARIANTS), \
|
||||||
$(eval hotspot-$v: hotspot-$v-gensrc hotspot-$v-libs) \
|
$(eval hotspot-$v-gensrc: java.base-copy) \
|
||||||
$(eval hotspot-$v-libs: hotspot-$v-gensrc java.base-copy) \
|
$(eval hotspot-$v-libs: hotspot-$v-gensrc java.base-copy) \
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -691,16 +748,17 @@ else
|
|||||||
# copied and processed.
|
# copied and processed.
|
||||||
java.desktop-gensrc-src: java.base-gensrc java.base-copy
|
java.desktop-gensrc-src: java.base-gensrc java.base-copy
|
||||||
|
|
||||||
# The annotation processing for jdk.internal.vm.ci and jdk.internal.vm.compiler
|
# The annotation processing for jdk.internal.vm.compiler
|
||||||
# needs classes from the current JDK.
|
# and jdk.internal.vm.compiler.management needs classes from the current JDK.
|
||||||
jdk.internal.vm.ci-gensrc-src: $(addsuffix -java, \
|
|
||||||
$(call FindTransitiveDepsForModule, jdk.internal.vm.ci))
|
|
||||||
jdk.internal.vm.compiler-gensrc-src: $(addsuffix -java, \
|
jdk.internal.vm.compiler-gensrc-src: $(addsuffix -java, \
|
||||||
$(call FindTransitiveDepsForModule, jdk.internal.vm.compiler))
|
$(call FindTransitiveDepsForModule, jdk.internal.vm.compiler))
|
||||||
|
jdk.internal.vm.compiler.management-gensrc-src: $(addsuffix -java, \
|
||||||
|
$(call FindTransitiveDepsForModule, jdk.internal.vm.compiler.management))
|
||||||
|
|
||||||
# For jdk.internal.vm.compiler, the gensrc step is generating a module-info.java.extra
|
# For these modules, the gensrc step is generating a module-info.java.extra
|
||||||
# file to be processed by the gensrc-moduleinfo target.
|
# file to be processed by the gensrc-moduleinfo target.
|
||||||
jdk.internal.vm.compiler-gensrc-moduleinfo: jdk.internal.vm.compiler-gensrc-src
|
jdk.internal.vm.compiler-gensrc-moduleinfo: jdk.internal.vm.compiler-gensrc-src
|
||||||
|
jdk.internal.vm.compiler.management-gensrc-moduleinfo: jdk.internal.vm.compiler.management-gensrc-src
|
||||||
|
|
||||||
jdk.jdeps-gendata: java rmic
|
jdk.jdeps-gendata: java rmic
|
||||||
|
|
||||||
@@ -735,6 +793,25 @@ else
|
|||||||
$(foreach m, $(ALL_MODULES), $(eval $m-jmod: $($(m)_JMOD_DEPS)))
|
$(foreach m, $(ALL_MODULES), $(eval $m-jmod: $($(m)_JMOD_DEPS)))
|
||||||
$(foreach m, $(INTERIM_IMAGE_MODULES), $(eval $m-interim-jmod: $($(m)_JMOD_DEPS)))
|
$(foreach m, $(INTERIM_IMAGE_MODULES), $(eval $m-interim-jmod: $($(m)_JMOD_DEPS)))
|
||||||
|
|
||||||
|
# Setup the minimal set of generated native source dependencies for hotspot
|
||||||
|
$(foreach v, $(JVM_VARIANTS), \
|
||||||
|
$(eval hotspot-$v-libs-compile-commands: hotspot-$v-gensrc) \
|
||||||
|
$(foreach m, $(filter java.desktop jdk.hotspot.agent, $(GENSRC_MODULES)), \
|
||||||
|
$(eval hotspot-$v-libs-compile-commands: $m-gensrc)) \
|
||||||
|
)
|
||||||
|
|
||||||
|
# For the full JDK compile commands, create all possible generated sources
|
||||||
|
$(foreach m, $(GENSRC_MODULES), $(eval $m-libs-compile-commands: $m-gensrc))
|
||||||
|
$(foreach m, $(filter $(JAVA_MODULES), $(LIBS_MODULES)), $(eval $m-libs-compile-commands: $m-java))
|
||||||
|
|
||||||
|
compile-commands-hotspot: $(COMPILE_COMMANDS_TARGETS_HOTSPOT)
|
||||||
|
compile-commands: $(COMPILE_COMMANDS_TARGETS_HOTSPOT) $(COMPILE_COMMANDS_TARGETS_JDK)
|
||||||
|
|
||||||
|
vscode-project: compile-commands
|
||||||
|
vscode-project-clangd: compile-commands
|
||||||
|
vscode-project-rtags: compile-commands
|
||||||
|
vscode-project-ccls: compile-commands
|
||||||
|
|
||||||
# Jmods cannot be created until we have the jmod tool ready to run. During
|
# Jmods cannot be created until we have the jmod tool ready to run. During
|
||||||
# a normal build we run it from the exploded image, but when cross compiling
|
# a normal build we run it from the exploded image, but when cross compiling
|
||||||
# it's run from the buildjdk, which is either created at build time or user
|
# it's run from the buildjdk, which is either created at build time or user
|
||||||
@@ -849,6 +926,8 @@ else
|
|||||||
|
|
||||||
test-make: clean-test-make
|
test-make: clean-test-make
|
||||||
|
|
||||||
|
test-compile-commands: compile-commands
|
||||||
|
|
||||||
build-test-lib: exploded-image-optimize
|
build-test-lib: exploded-image-optimize
|
||||||
|
|
||||||
build-test-failure-handler: interim-langtools
|
build-test-failure-handler: interim-langtools
|
||||||
@@ -882,6 +961,8 @@ else
|
|||||||
|
|
||||||
product-bundles: product-images
|
product-bundles: product-images
|
||||||
|
|
||||||
|
legacy-bundles: legacy-images
|
||||||
|
|
||||||
test-bundles: test-image
|
test-bundles: test-image
|
||||||
|
|
||||||
docs-bundles: docs-image
|
docs-bundles: docs-image
|
||||||
@@ -900,6 +981,10 @@ JVM_TOOLS_TARGETS ?= buildtools-hotspot
|
|||||||
buildtools: buildtools-langtools interim-langtools interim-rmic \
|
buildtools: buildtools-langtools interim-langtools interim-rmic \
|
||||||
buildtools-jdk $(JVM_TOOLS_TARGETS)
|
buildtools-jdk $(JVM_TOOLS_TARGETS)
|
||||||
|
|
||||||
|
# Declare dependencies from hotspot-<variant> targets
|
||||||
|
$(foreach v, $(JVM_VARIANTS), \
|
||||||
|
$(eval hotspot-$v: hotspot-$v-gensrc hotspot-$v-libs) \
|
||||||
|
)
|
||||||
hotspot: $(HOTSPOT_VARIANT_TARGETS)
|
hotspot: $(HOTSPOT_VARIANT_TARGETS)
|
||||||
|
|
||||||
# Create targets hotspot-libs and hotspot-gensrc.
|
# Create targets hotspot-libs and hotspot-gensrc.
|
||||||
@@ -982,6 +1067,9 @@ mac-bundles: mac-jdk-bundle
|
|||||||
# (and possibly other, more specific versions)
|
# (and possibly other, more specific versions)
|
||||||
product-images: jdk-image symbols-image exploded-image
|
product-images: jdk-image symbols-image exploded-image
|
||||||
|
|
||||||
|
# This target builds the legacy images, e.g. the legacy JRE image
|
||||||
|
legacy-images: legacy-jre-image
|
||||||
|
|
||||||
# zip-security is actually a bundle, but for now it needs to be considered
|
# zip-security is actually a bundle, but for now it needs to be considered
|
||||||
# an image until this can be cleaned up properly.
|
# an image until this can be cleaned up properly.
|
||||||
product-images: zip-security
|
product-images: zip-security
|
||||||
@@ -998,6 +1086,8 @@ endif
|
|||||||
|
|
||||||
ifeq ($(OPENJDK_TARGET_OS), macosx)
|
ifeq ($(OPENJDK_TARGET_OS), macosx)
|
||||||
product-images: mac-jdk-bundle
|
product-images: mac-jdk-bundle
|
||||||
|
|
||||||
|
legacy-images: mac-legacy-jre-bundle
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# This target builds the documentation image
|
# This target builds the documentation image
|
||||||
@@ -1028,7 +1118,7 @@ ALL_TARGETS += buildtools hotspot hotspot-libs hotspot-gensrc gensrc gendata \
|
|||||||
jdk.jdwp.agent-gensrc $(ALL_MODULES) demos \
|
jdk.jdwp.agent-gensrc $(ALL_MODULES) demos \
|
||||||
exploded-image-base exploded-image \
|
exploded-image-base exploded-image \
|
||||||
create-buildjdk docs-jdk-api docs-javase-api docs-reference-api docs-jdk \
|
create-buildjdk docs-jdk-api docs-javase-api docs-reference-api docs-jdk \
|
||||||
docs-javase docs-reference docs-javadoc mac-bundles product-images \
|
docs-javase docs-reference docs-javadoc mac-bundles product-images legacy-images \
|
||||||
docs-image test-image all-images \
|
docs-image test-image all-images \
|
||||||
all-bundles
|
all-bundles
|
||||||
|
|
||||||
@@ -1071,7 +1161,7 @@ CLEAN_MODULE_PHASE_TARGETS := $(addprefix clean-, $(foreach m, $(ALL_MODULES), \
|
|||||||
|
|
||||||
# Remove everything, except the output from configure.
|
# Remove everything, except the output from configure.
|
||||||
clean: $(CLEAN_DIR_TARGETS)
|
clean: $(CLEAN_DIR_TARGETS)
|
||||||
($(CD) $(OUTPUTDIR) && $(RM) -r build*.log*)
|
($(CD) $(OUTPUTDIR) && $(RM) -r build*.log* compile_commands.json)
|
||||||
$(ECHO) Cleaned all build artifacts.
|
$(ECHO) Cleaned all build artifacts.
|
||||||
|
|
||||||
clean-docs:
|
clean-docs:
|
||||||
@@ -1130,11 +1220,6 @@ ALL_TARGETS += $(addsuffix -only, $(filter-out dist-clean clean%, $(ALL_TARGETS)
|
|||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
# Include JPRT targets
|
|
||||||
include $(TOPDIR)/make/Jprt.gmk
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
# The following targets are intentionally not added to ALL_TARGETS since they
|
# The following targets are intentionally not added to ALL_TARGETS since they
|
||||||
# are internal only, to support Init.gmk.
|
# are internal only, to support Init.gmk.
|
||||||
|
|
||||||
|
|||||||
@@ -100,5 +100,9 @@ $(eval $(call SetupCopyFiles, COPY_CONF, \
|
|||||||
$(TARGETS)), \
|
$(TARGETS)), \
|
||||||
))
|
))
|
||||||
|
|
||||||
all: $(TARGETS) $(COPY_LIBS_TO_BIN) $(COPY_LIBS_TO_LIB) \
|
ifeq ($(GENERATE_COMPILE_COMMANDS_ONLY), true)
|
||||||
$(COPY_INCLUDE) $(COPY_CMDS) $(COPY_CONF) $(LINK_LIBS_TO_LIB)
|
all: $(filter $(MAKESUPPORT_OUTPUTDIR)/compile-commands/%, $(TARGETS))
|
||||||
|
else
|
||||||
|
all: $(TARGETS) $(COPY_LIBS_TO_BIN) $(COPY_LIBS_TO_LIB) \
|
||||||
|
$(COPY_INCLUDE) $(COPY_CMDS) $(COPY_CONF) $(LINK_LIBS_TO_LIB)
|
||||||
|
endif
|
||||||
|
|||||||
@@ -44,11 +44,23 @@ TEST_JOBS_FACTOR_JDL ?= 1
|
|||||||
TEST_JOBS_FACTOR_MACHINE ?= 1
|
TEST_JOBS_FACTOR_MACHINE ?= 1
|
||||||
|
|
||||||
ifeq ($(TEST_JOBS), 0)
|
ifeq ($(TEST_JOBS), 0)
|
||||||
# Concurrency based on min(cores / 2, 12) * TEST_JOBS_FACTOR
|
CORES_DIVIDER := 2
|
||||||
|
ifeq ($(OPENJDK_TARGET_CPU_ARCH), sparc)
|
||||||
|
# For smaller SPARC machines we see reasonable scaling of throughput up to
|
||||||
|
# cpus/4 without affecting test reliability. On the bigger machines, cpus/4
|
||||||
|
# causes intermittent timeouts.
|
||||||
|
ifeq ($(shell $(EXPR) $(NUM_CORES) \> 16), 1)
|
||||||
|
CORES_DIVIDER := 5
|
||||||
|
else
|
||||||
|
CORES_DIVIDER := 4
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
MEMORY_DIVIDER := 2048
|
||||||
TEST_JOBS := $(shell $(AWK) \
|
TEST_JOBS := $(shell $(AWK) \
|
||||||
'BEGIN { \
|
'BEGIN { \
|
||||||
c = $(NUM_CORES) / 2; \
|
c = $(NUM_CORES) / $(CORES_DIVIDER); \
|
||||||
if (c > 12) c = 12; \
|
m = $(MEMORY_SIZE) / $(MEMORY_DIVIDER); \
|
||||||
|
if (c > m) c = m; \
|
||||||
c = c * $(TEST_JOBS_FACTOR); \
|
c = c * $(TEST_JOBS_FACTOR); \
|
||||||
c = c * $(TEST_JOBS_FACTOR_JDL); \
|
c = c * $(TEST_JOBS_FACTOR_JDL); \
|
||||||
c = c * $(TEST_JOBS_FACTOR_MACHINE); \
|
c = c * $(TEST_JOBS_FACTOR_MACHINE); \
|
||||||
@@ -70,8 +82,8 @@ ifneq ($(TEST_VM_OPTS), )
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
$(eval $(call ParseKeywordVariable, TEST_OPTS, \
|
$(eval $(call ParseKeywordVariable, TEST_OPTS, \
|
||||||
KEYWORDS := JOBS TIMEOUT, \
|
SINGLE_KEYWORDS := JOBS TIMEOUT_FACTOR, \
|
||||||
STRING_KEYWORDS := VM_OPTIONS, \
|
STRING_KEYWORDS := VM_OPTIONS JAVA_OPTIONS AOT_MODULES, \
|
||||||
))
|
))
|
||||||
|
|
||||||
# Helper function to propagate TEST_OPTS values.
|
# Helper function to propagate TEST_OPTS values.
|
||||||
@@ -90,10 +102,14 @@ ifeq ($(OPENJDK_TARGET_OS), windows)
|
|||||||
ifndef _NT_SYMBOL_PATH
|
ifndef _NT_SYMBOL_PATH
|
||||||
# Can't use PathList here as it adds quotes around the value.
|
# Can't use PathList here as it adds quotes around the value.
|
||||||
_NT_SYMBOL_PATH := \
|
_NT_SYMBOL_PATH := \
|
||||||
$(subst $(SPACE),;, $(foreach p, $(sort $(dir $(wildcard \
|
$(subst $(SPACE),;,$(strip \
|
||||||
$(addprefix $(SYMBOLS_IMAGE_DIR)/bin/, *.pdb */*.pdb)))), $(call FixPath, $p)))
|
$(foreach p, $(sort $(dir $(wildcard \
|
||||||
|
$(addprefix $(SYMBOLS_IMAGE_DIR)/bin/, *.pdb */*.pdb)))), \
|
||||||
|
$(call FixPath, $p) \
|
||||||
|
) \
|
||||||
|
))
|
||||||
export _NT_SYMBOL_PATH
|
export _NT_SYMBOL_PATH
|
||||||
$(info _NT_SYMBOL_PATH $(_NT_SYMBOL_PATH))
|
$(info _NT_SYMBOL_PATH=$(_NT_SYMBOL_PATH))
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
@@ -125,8 +141,118 @@ ifneq ($(wildcard $(JTREG_FAILURE_HANDLER)), )
|
|||||||
-timeoutHandlerTimeout:0
|
-timeoutHandlerTimeout:0
|
||||||
endif
|
endif
|
||||||
|
|
||||||
GTEST_LAUNCHER_DIRS := $(patsubst %/gtestLauncher, %, $(wildcard $(TEST_IMAGE_DIR)/hotspot/gtest/*/gtestLauncher))
|
GTEST_LAUNCHER_DIRS := $(patsubst %/gtestLauncher, %, \
|
||||||
GTEST_VARIANTS := $(strip $(patsubst $(TEST_IMAGE_DIR)/hotspot/gtest/%, %, $(GTEST_LAUNCHER_DIRS)))
|
$(wildcard $(TEST_IMAGE_DIR)/hotspot/gtest/*/gtestLauncher))
|
||||||
|
GTEST_VARIANTS := $(strip $(patsubst $(TEST_IMAGE_DIR)/hotspot/gtest/%, %, \
|
||||||
|
$(GTEST_LAUNCHER_DIRS)))
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Optionally create AOT libraries for specified modules before running tests.
|
||||||
|
# Note, this could not be done during JDK build time.
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
# Note, this could not be done during JDK build time.
|
||||||
|
|
||||||
|
# Parameter 1 is the name of the rule.
|
||||||
|
#
|
||||||
|
# Remaining parameters are named arguments.
|
||||||
|
# MODULE The module to generate a library for
|
||||||
|
# BIN Output directory in which to put the library
|
||||||
|
# VM_OPTIONS List of JVM arguments to use when creating library
|
||||||
|
# OPTIONS_VAR Name of variable to put AOT java options in
|
||||||
|
# PREREQS_VAR Name of variable to put all AOT prerequisite rule targets in
|
||||||
|
# for test rules to depend on
|
||||||
|
#
|
||||||
|
SetupAotModule = $(NamedParamsMacroTemplate)
|
||||||
|
define SetupAotModuleBody
|
||||||
|
$1_AOT_LIB := $$($1_BIN)/$$(call SHARED_LIBRARY,$$($1_MODULE))
|
||||||
|
$1_AOT_CCLIST := $$(wildcard $$(TOPDIR)/test/hotspot/jtreg/compiler/aot/scripts/$$($1_MODULE)-list.txt)
|
||||||
|
|
||||||
|
# Create jaotc flags.
|
||||||
|
# VM flags which don't affect AOT code generation are filtered out:
|
||||||
|
# -Xcomp, -XX:+-TieredCompilation
|
||||||
|
$1_JAOTC_OPTS := \
|
||||||
|
-J-Xmx4g --info \
|
||||||
|
$$(addprefix -J, $$(filter-out -Xcomp %TieredCompilation, $$($1_VM_OPTIONS))) \
|
||||||
|
$$(addprefix --compile-commands$(SPACE), $$($1_AOT_CCLIST)) \
|
||||||
|
--linker-path $$(LD_JAOTC) \
|
||||||
|
#
|
||||||
|
|
||||||
|
ifneq ($$(filter -ea, $$($1_VM_OPTIONS)), )
|
||||||
|
$1_JAOTC_OPTS += --compile-with-assertions
|
||||||
|
endif
|
||||||
|
|
||||||
|
$$($1_AOT_LIB): $$(JDK_IMAGE_DIR)/release \
|
||||||
|
$$(call DependOnVariable, $1_JAOTC_OPTS) \
|
||||||
|
$$(call DependOnVariable, JDK_IMAGE_DIR)
|
||||||
|
$$(call LogWarn, Generating $$(patsubst $$(OUTPUTDIR)/%, %, $$@))
|
||||||
|
$$(call MakeTargetDir)
|
||||||
|
$$(call ExecuteWithLog, $$@, ( \
|
||||||
|
$$(FIXPATH) $$(JDK_IMAGE_DIR)/bin/jaotc \
|
||||||
|
$$($1_JAOTC_OPTS) --output $$@ --module $$($1_MODULE) \
|
||||||
|
))
|
||||||
|
$$(call ExecuteWithLog, $$@.check, ( \
|
||||||
|
$$(FIXPATH) $$(JDK_IMAGE_DIR)/bin/java \
|
||||||
|
$$($1_VM_OPTIONS) -XX:+UnlockDiagnosticVMOptions \
|
||||||
|
-XX:+PrintAOT -XX:+UseAOTStrictLoading \
|
||||||
|
-XX:AOTLibrary=$$@ -version \
|
||||||
|
> $$@.verify-aot \
|
||||||
|
))
|
||||||
|
|
||||||
|
$1_AOT_OPTIONS += -XX:AOTLibrary=$$($1_AOT_LIB)
|
||||||
|
$1_AOT_TARGETS += $$($1_AOT_LIB)
|
||||||
|
endef
|
||||||
|
|
||||||
|
# Parameter 1 is the name of the rule.
|
||||||
|
#
|
||||||
|
# Remaining parameters are named arguments.
|
||||||
|
# MODULES The modules to generate a library for
|
||||||
|
# VM_OPTIONS List of JVM arguments to use when creating libraries
|
||||||
|
#
|
||||||
|
# After calling this, the following variables are defined
|
||||||
|
# $1_AOT_OPTIONS List of all java options needed to use the AOT libraries
|
||||||
|
# $1_AOT_TARGETS List of all targets that the test rule will need to depend on
|
||||||
|
#
|
||||||
|
SetupAot = $(NamedParamsMacroTemplate)
|
||||||
|
define SetupAotBody
|
||||||
|
$$(info Running with AOTd libraries for $$($1_MODULES))
|
||||||
|
# Put aot libraries in a separate directory so they are not deleted between
|
||||||
|
# test runs and may be reused between make invocations.
|
||||||
|
$$(foreach m, $$($1_MODULES), \
|
||||||
|
$$(eval $$(call SetupAotModule, $1_$$m, \
|
||||||
|
MODULE := $$m, \
|
||||||
|
BIN := $$(TEST_SUPPORT_DIR)/aot/$1, \
|
||||||
|
VM_OPTIONS := $$($1_VM_OPTIONS), \
|
||||||
|
)) \
|
||||||
|
$$(eval $1_AOT_OPTIONS += $$($1_$$m_AOT_OPTIONS)) \
|
||||||
|
$$(eval $1_AOT_TARGETS += $$($1_$$m_AOT_TARGETS)) \
|
||||||
|
)
|
||||||
|
endef
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Setup global test running parameters
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
# Each factor variable comes in 3 variants. The first one is reserved for users
|
||||||
|
# to use on command line. The other two are for predifined configurations in JDL
|
||||||
|
# and for machine specific configurations respectively.
|
||||||
|
TEST_JOBS_FACTOR ?= 1
|
||||||
|
TEST_JOBS_FACTOR_JDL ?= 1
|
||||||
|
TEST_JOBS_FACTOR_MACHINE ?= 1
|
||||||
|
|
||||||
|
ifeq ($(TEST_JOBS), 0)
|
||||||
|
# Concurrency based on min(cores / 2, 12) * TEST_JOBS_FACTOR
|
||||||
|
TEST_JOBS := $(shell $(AWK) \
|
||||||
|
'BEGIN { \
|
||||||
|
c = $(NUM_CORES) / 2; \
|
||||||
|
if (c > 12) c = 12; \
|
||||||
|
c = c * $(TEST_JOBS_FACTOR); \
|
||||||
|
c = c * $(TEST_JOBS_FACTOR_JDL); \
|
||||||
|
c = c * $(TEST_JOBS_FACTOR_MACHINE); \
|
||||||
|
if (c < 1) c = 1; \
|
||||||
|
printf "%.0f", c; \
|
||||||
|
}')
|
||||||
|
endif
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
# Parse control variables
|
# Parse control variables
|
||||||
@@ -135,17 +261,24 @@ GTEST_VARIANTS := $(strip $(patsubst $(TEST_IMAGE_DIR)/hotspot/gtest/%, %, $(GTE
|
|||||||
ifneq ($(TEST_OPTS), )
|
ifneq ($(TEST_OPTS), )
|
||||||
# Inform the user
|
# Inform the user
|
||||||
$(info Running tests using TEST_OPTS control variable '$(TEST_OPTS)')
|
$(info Running tests using TEST_OPTS control variable '$(TEST_OPTS)')
|
||||||
|
|
||||||
$(eval $(call SetTestOpt,VM_OPTIONS,JTREG))
|
|
||||||
$(eval $(call SetTestOpt,VM_OPTIONS,GTEST))
|
|
||||||
|
|
||||||
$(eval $(call SetTestOpt,JOBS,JTREG))
|
|
||||||
$(eval $(call SetTestOpt,TIMEOUT,JTREG))
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
$(eval $(call SetTestOpt,VM_OPTIONS,JTREG))
|
||||||
|
$(eval $(call SetTestOpt,JAVA_OPTIONS,JTREG))
|
||||||
|
$(eval $(call SetTestOpt,VM_OPTIONS,GTEST))
|
||||||
|
$(eval $(call SetTestOpt,JAVA_OPTIONS,GTEST))
|
||||||
|
|
||||||
|
$(eval $(call SetTestOpt,AOT_MODULES,JTREG))
|
||||||
|
$(eval $(call SetTestOpt,AOT_MODULES,GTEST))
|
||||||
|
|
||||||
|
$(eval $(call SetTestOpt,JOBS,JTREG))
|
||||||
|
$(eval $(call SetTestOpt,TIMEOUT_FACTOR,JTREG))
|
||||||
|
|
||||||
$(eval $(call ParseKeywordVariable, JTREG, \
|
$(eval $(call ParseKeywordVariable, JTREG, \
|
||||||
KEYWORDS := JOBS TIMEOUT TEST_MODE ASSERT VERBOSE RETAIN MAX_MEM, \
|
SINGLE_KEYWORDS := JOBS TIMEOUT_FACTOR TEST_MODE ASSERT VERBOSE RETAIN \
|
||||||
STRING_KEYWORDS := OPTIONS JAVA_OPTIONS VM_OPTIONS, \
|
MAX_MEM, \
|
||||||
|
STRING_KEYWORDS := OPTIONS JAVA_OPTIONS VM_OPTIONS KEYWORDS \
|
||||||
|
EXTRA_PROBLEM_LISTS AOT_MODULES, \
|
||||||
))
|
))
|
||||||
|
|
||||||
ifneq ($(JTREG), )
|
ifneq ($(JTREG), )
|
||||||
@@ -154,8 +287,8 @@ ifneq ($(JTREG), )
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
$(eval $(call ParseKeywordVariable, GTEST, \
|
$(eval $(call ParseKeywordVariable, GTEST, \
|
||||||
KEYWORDS := REPEAT, \
|
SINGLE_KEYWORDS := REPEAT, \
|
||||||
STRING_KEYWORDS := OPTIONS VM_OPTIONS, \
|
STRING_KEYWORDS := OPTIONS VM_OPTIONS JAVA_OPTIONS AOT_MODULES, \
|
||||||
))
|
))
|
||||||
|
|
||||||
ifneq ($(GTEST), )
|
ifneq ($(GTEST), )
|
||||||
@@ -293,7 +426,7 @@ endef
|
|||||||
|
|
||||||
# Helper function to determine if a test specification is a special test
|
# Helper function to determine if a test specification is a special test
|
||||||
#
|
#
|
||||||
# It is a special test if it is "special:" followed by a test name.
|
# It is a special test if it is "special:" followed by a test name,
|
||||||
define ParseSpecialTestSelection
|
define ParseSpecialTestSelection
|
||||||
$(if $(filter special:%, $1), \
|
$(if $(filter special:%, $1), \
|
||||||
$1 \
|
$1 \
|
||||||
@@ -384,19 +517,27 @@ define SetupRunGtestTestBody
|
|||||||
$1_GTEST_REPEAT :=--gtest_repeat=$$(GTEST_REPEAT)
|
$1_GTEST_REPEAT :=--gtest_repeat=$$(GTEST_REPEAT)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
run-test-$1:
|
ifneq ($$(GTEST_AOT_MODULES), )
|
||||||
|
$$(eval $$(call SetupAot, $1, \
|
||||||
|
MODULES := $$(GTEST_AOT_MODULES), \
|
||||||
|
VM_OPTIONS := $$(GTEST_VM_OPTIONS) $$(GTEST_JAVA_OPTIONS), \
|
||||||
|
))
|
||||||
|
endif
|
||||||
|
|
||||||
|
run-test-$1: $$($1_AOT_TARGETS)
|
||||||
$$(call LogWarn)
|
$$(call LogWarn)
|
||||||
$$(call LogWarn, Running test '$$($1_TEST)')
|
$$(call LogWarn, Running test '$$($1_TEST)')
|
||||||
$$(call MakeDir, $$($1_TEST_RESULTS_DIR) $$($1_TEST_SUPPORT_DIR))
|
$$(call MakeDir, $$($1_TEST_RESULTS_DIR) $$($1_TEST_SUPPORT_DIR))
|
||||||
$$(call ExecuteWithLog, $$($1_TEST_SUPPORT_DIR)/gtest, \
|
$$(call ExecuteWithLog, $$($1_TEST_SUPPORT_DIR)/gtest, ( \
|
||||||
$$(FIXPATH) $$(TEST_IMAGE_DIR)/hotspot/gtest/$$($1_VARIANT)/gtestLauncher \
|
$$(FIXPATH) $$(TEST_IMAGE_DIR)/hotspot/gtest/$$($1_VARIANT)/gtestLauncher \
|
||||||
-jdk $(JDK_IMAGE_DIR) $$($1_GTEST_FILTER) \
|
-jdk $(JDK_IMAGE_DIR) $$($1_GTEST_FILTER) \
|
||||||
--gtest_output=xml:$$($1_TEST_RESULTS_DIR)/gtest.xml \
|
--gtest_output=xml:$$($1_TEST_RESULTS_DIR)/gtest.xml \
|
||||||
$$($1_GTEST_REPEAT) $$(GTEST_OPTIONS) $$(GTEST_VM_OPTIONS) \
|
$$($1_GTEST_REPEAT) $$(GTEST_OPTIONS) $$(GTEST_VM_OPTIONS) \
|
||||||
|
$$(GTEST_JAVA_OPTIONS) $$($1_AOT_OPTIONS) \
|
||||||
> >($(TEE) $$($1_TEST_RESULTS_DIR)/gtest.txt) \
|
> >($(TEE) $$($1_TEST_RESULTS_DIR)/gtest.txt) \
|
||||||
&& $$(ECHO) $$$$? > $$($1_EXITCODE) \
|
&& $$(ECHO) $$$$? > $$($1_EXITCODE) \
|
||||||
|| $$(ECHO) $$$$? > $$($1_EXITCODE) \
|
|| $$(ECHO) $$$$? > $$($1_EXITCODE) \
|
||||||
)
|
))
|
||||||
|
|
||||||
$1_RESULT_FILE := $$($1_TEST_RESULTS_DIR)/gtest.txt
|
$1_RESULT_FILE := $$($1_TEST_RESULTS_DIR)/gtest.txt
|
||||||
|
|
||||||
@@ -463,12 +604,11 @@ define SetupRunJtregTestBody
|
|||||||
|
|
||||||
$1_TEST_NAME := $$(strip $$(patsubst jtreg:%, %, $$($1_TEST)))
|
$1_TEST_NAME := $$(strip $$(patsubst jtreg:%, %, $$($1_TEST)))
|
||||||
|
|
||||||
$1_COMPONENT := \
|
$1_TEST_ROOT := \
|
||||||
$$(strip $$(foreach root, $$(JTREG_TESTROOTS), \
|
$$(strip $$(foreach root, $$(JTREG_TESTROOTS), \
|
||||||
$$(if $$(filter $$(root)%, $$(JTREG_TOPDIR)/$$($1_TEST_NAME)), \
|
$$(if $$(filter $$(root)%, $$(JTREG_TOPDIR)/$$($1_TEST_NAME)), $$(root)) \
|
||||||
$$(lastword $$(subst /, $$(SPACE), $$(root))) \
|
|
||||||
) \
|
|
||||||
))
|
))
|
||||||
|
$1_COMPONENT := $$(lastword $$(subst /, $$(SPACE), $$($1_TEST_ROOT)))
|
||||||
# This will work only as long as just hotspot has the additional "jtreg" directory
|
# This will work only as long as just hotspot has the additional "jtreg" directory
|
||||||
ifeq ($$($1_COMPONENT), jtreg)
|
ifeq ($$($1_COMPONENT), jtreg)
|
||||||
$1_COMPONENT := hotspot
|
$1_COMPONENT := hotspot
|
||||||
@@ -491,6 +631,9 @@ define SetupRunJtregTestBody
|
|||||||
$$(eval $$(call SetJtregValue,$1,JTREG_BASIC_OPTIONS))
|
$$(eval $$(call SetJtregValue,$1,JTREG_BASIC_OPTIONS))
|
||||||
$$(eval $$(call SetJtregValue,$1,JTREG_PROBLEM_LIST))
|
$$(eval $$(call SetJtregValue,$1,JTREG_PROBLEM_LIST))
|
||||||
|
|
||||||
|
# Only the problem list for the current test root should be used.
|
||||||
|
$1_JTREG_PROBLEM_LIST := $$(filter $$($1_TEST_ROOT)%, $$($1_JTREG_PROBLEM_LIST))
|
||||||
|
|
||||||
ifneq ($(TEST_JOBS), 0)
|
ifneq ($(TEST_JOBS), 0)
|
||||||
$$(eval $$(call SetJtregValue,$1,JTREG_JOBS,$$(TEST_JOBS)))
|
$$(eval $$(call SetJtregValue,$1,JTREG_JOBS,$$(TEST_JOBS)))
|
||||||
else
|
else
|
||||||
@@ -501,7 +644,12 @@ define SetupRunJtregTestBody
|
|||||||
# we may end up with a lot of JVM's
|
# we may end up with a lot of JVM's
|
||||||
$1_JTREG_MAX_RAM_PERCENTAGE := $$(shell $$(EXPR) 25 / $$($1_JTREG_JOBS))
|
$1_JTREG_MAX_RAM_PERCENTAGE := $$(shell $$(EXPR) 25 / $$($1_JTREG_JOBS))
|
||||||
|
|
||||||
JTREG_TIMEOUT ?= 4
|
# SPARC is in general slower per core so need to scale up timeouts a bit.
|
||||||
|
ifeq ($(OPENJDK_TARGET_CPU_ARCH), sparc)
|
||||||
|
JTREG_TIMEOUT_FACTOR ?= 8
|
||||||
|
else
|
||||||
|
JTREG_TIMEOUT_FACTOR ?= 4
|
||||||
|
endif
|
||||||
JTREG_VERBOSE ?= fail,error,summary
|
JTREG_VERBOSE ?= fail,error,summary
|
||||||
JTREG_RETAIN ?= fail,error
|
JTREG_RETAIN ?= fail,error
|
||||||
|
|
||||||
@@ -512,10 +660,10 @@ define SetupRunJtregTestBody
|
|||||||
|
|
||||||
$1_JTREG_BASIC_OPTIONS += -$$($1_JTREG_TEST_MODE) \
|
$1_JTREG_BASIC_OPTIONS += -$$($1_JTREG_TEST_MODE) \
|
||||||
-verbose:$$(JTREG_VERBOSE) -retain:$$(JTREG_RETAIN) \
|
-verbose:$$(JTREG_VERBOSE) -retain:$$(JTREG_RETAIN) \
|
||||||
-concurrency:$$($1_JTREG_JOBS) -timeoutFactor:$$(JTREG_TIMEOUT) \
|
-concurrency:$$($1_JTREG_JOBS) -timeoutFactor:$$(JTREG_TIMEOUT_FACTOR) \
|
||||||
-vmoption:-XX:MaxRAMPercentage=$$($1_JTREG_MAX_RAM_PERCENTAGE)
|
-vmoption:-XX:MaxRAMPercentage=$$($1_JTREG_MAX_RAM_PERCENTAGE)
|
||||||
|
|
||||||
$1_JTREG_BASIC_OPTIONS += -automatic -keywords:\!ignore -ignore:quiet
|
$1_JTREG_BASIC_OPTIONS += -automatic -ignore:quiet
|
||||||
|
|
||||||
# Make it possible to specify the JIB_DATA_DIR for tests using the
|
# Make it possible to specify the JIB_DATA_DIR for tests using the
|
||||||
# JIB Artifact resolver
|
# JIB Artifact resolver
|
||||||
@@ -545,24 +693,55 @@ define SetupRunJtregTestBody
|
|||||||
$1_JTREG_BASIC_OPTIONS += $$(addprefix -exclude:, $$($1_JTREG_PROBLEM_LIST))
|
$1_JTREG_BASIC_OPTIONS += $$(addprefix -exclude:, $$($1_JTREG_PROBLEM_LIST))
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq ($$(JIB_JAR), )
|
ifneq ($$(JTREG_EXTRA_PROBLEM_LISTS), )
|
||||||
$1_JTREG_BASIC_OPTIONS += -cpa:$$(JIB_JAR)
|
# Accept both absolute paths as well as relative to the current test root.
|
||||||
|
$1_JTREG_BASIC_OPTIONS += $$(addprefix -exclude:, $$(wildcard \
|
||||||
|
$$(JTREG_EXTRA_PROBLEM_LISTS) \
|
||||||
|
$$(addprefix $$($1_TEST_ROOT)/, $$(JTREG_EXTRA_PROBLEM_LISTS)) \
|
||||||
|
))
|
||||||
endif
|
endif
|
||||||
|
|
||||||
$1_JTREG_BASIC_OPTIONS += -e:TEST_IMAGE_GRAAL_DIR=${TEST_IMAGE_DIR}/hotspot/jtreg/graal
|
ifneq ($$(JIB_HOME), )
|
||||||
|
$1_JTREG_BASIC_OPTIONS += -e:JIB_HOME=$$(JIB_HOME)
|
||||||
|
endif
|
||||||
|
|
||||||
|
$1_JTREG_BASIC_OPTIONS += -e:TEST_IMAGE_DIR=$(TEST_IMAGE_DIR)
|
||||||
|
$1_JTREG_BASIC_OPTIONS += -e:TEST_IMAGE_GRAAL_DIR=$(TEST_IMAGE_DIR)/hotspot/jtreg/graal
|
||||||
|
|
||||||
ifneq ($$(JTREG_FAILURE_HANDLER_OPTIONS), )
|
ifneq ($$(JTREG_FAILURE_HANDLER_OPTIONS), )
|
||||||
$1_JTREG_LAUNCHER_OPTIONS += -Djava.library.path="$(JTREG_FAILURE_HANDLER_DIR)"
|
$1_JTREG_LAUNCHER_OPTIONS += -Djava.library.path="$(JTREG_FAILURE_HANDLER_DIR)"
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifneq ($$(JTREG_KEYWORDS), )
|
||||||
|
# The keywords string may contain problematic characters and may be quoted
|
||||||
|
# already when it arrives here. Remove any existing quotes and replace them
|
||||||
|
# with one set of single quotes.
|
||||||
|
$1_JTREG_KEYWORDS := \
|
||||||
|
$$(strip $$(subst $$(SQUOTE),,$$(subst $$(DQUOTE),,$$(JTREG_KEYWORDS))))
|
||||||
|
ifneq ($$($1_JTREG_KEYWORDS), )
|
||||||
|
$1_JTREG_BASIC_OPTIONS += -k:'$$($1_JTREG_KEYWORDS)'
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifneq ($$(JTREG_AOT_MODULES), )
|
||||||
|
$$(eval $$(call SetupAot, $1, \
|
||||||
|
MODULES := $$(JTREG_AOT_MODULES), \
|
||||||
|
VM_OPTIONS := $$(JTREG_VM_OPTIONS) $$(JTREG_JAVA_OPTIONS), \
|
||||||
|
))
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifneq ($$($1_AOT_OPTIONS), )
|
||||||
|
$1_JTREG_BASIC_OPTIONS += -vmoptions:"$$($1_AOT_OPTIONS)"
|
||||||
|
endif
|
||||||
|
|
||||||
clean-workdir-$1:
|
clean-workdir-$1:
|
||||||
$$(RM) -r $$($1_TEST_SUPPORT_DIR)
|
$$(RM) -r $$($1_TEST_SUPPORT_DIR)
|
||||||
|
|
||||||
run-test-$1: clean-workdir-$1
|
run-test-$1: clean-workdir-$1 $$($1_AOT_TARGETS)
|
||||||
$$(call LogWarn)
|
$$(call LogWarn)
|
||||||
$$(call LogWarn, Running test '$$($1_TEST)')
|
$$(call LogWarn, Running test '$$($1_TEST)')
|
||||||
$$(call MakeDir, $$($1_TEST_RESULTS_DIR) $$($1_TEST_SUPPORT_DIR))
|
$$(call MakeDir, $$($1_TEST_RESULTS_DIR) $$($1_TEST_SUPPORT_DIR))
|
||||||
$$(call ExecuteWithLog, $$($1_TEST_SUPPORT_DIR)/jtreg, \
|
$$(call ExecuteWithLog, $$($1_TEST_SUPPORT_DIR)/jtreg, ( \
|
||||||
$$(JAVA) $$($1_JTREG_LAUNCHER_OPTIONS) \
|
$$(JAVA) $$($1_JTREG_LAUNCHER_OPTIONS) \
|
||||||
-Dprogram=jtreg -jar $$(JT_HOME)/lib/jtreg.jar \
|
-Dprogram=jtreg -jar $$(JT_HOME)/lib/jtreg.jar \
|
||||||
$$($1_JTREG_BASIC_OPTIONS) \
|
$$($1_JTREG_BASIC_OPTIONS) \
|
||||||
@@ -575,7 +754,7 @@ define SetupRunJtregTestBody
|
|||||||
$$($1_TEST_NAME) \
|
$$($1_TEST_NAME) \
|
||||||
&& $$(ECHO) $$$$? > $$($1_EXITCODE) \
|
&& $$(ECHO) $$$$? > $$($1_EXITCODE) \
|
||||||
|| $$(ECHO) $$$$? > $$($1_EXITCODE) \
|
|| $$(ECHO) $$$$? > $$($1_EXITCODE) \
|
||||||
)
|
))
|
||||||
|
|
||||||
$1_RESULT_FILE := $$($1_TEST_RESULTS_DIR)/text/stats.txt
|
$1_RESULT_FILE := $$($1_TEST_RESULTS_DIR)/text/stats.txt
|
||||||
|
|
||||||
@@ -645,16 +824,16 @@ define SetupRunSpecialTestBody
|
|||||||
$$(error Invalid special test specification: $$($1_TEST_NAME))
|
$$(error Invalid special test specification: $$($1_TEST_NAME))
|
||||||
endif
|
endif
|
||||||
|
|
||||||
run-test-$1:
|
run-test-$1: $(TEST_PREREQS)
|
||||||
$$(call LogWarn)
|
$$(call LogWarn)
|
||||||
$$(call LogWarn, Running test '$$($1_TEST)')
|
$$(call LogWarn, Running test '$$($1_TEST)')
|
||||||
$$(call MakeDir, $$($1_TEST_RESULTS_DIR) $$($1_TEST_SUPPORT_DIR))
|
$$(call MakeDir, $$($1_TEST_RESULTS_DIR) $$($1_TEST_SUPPORT_DIR))
|
||||||
$$(call ExecuteWithLog, $$($1_TEST_SUPPORT_DIR)/test-execution, \
|
$$(call ExecuteWithLog, $$($1_TEST_SUPPORT_DIR)/test-execution, ( \
|
||||||
$$($1_TEST_COMMAND_LINE) \
|
$$($1_TEST_COMMAND_LINE) \
|
||||||
> >($(TEE) $$($1_TEST_RESULTS_DIR)/test-output.txt) \
|
> >($(TEE) $$($1_TEST_RESULTS_DIR)/test-output.txt) \
|
||||||
&& $$(ECHO) $$$$? > $$($1_EXITCODE) \
|
&& $$(ECHO) $$$$? > $$($1_EXITCODE) \
|
||||||
|| $$(ECHO) $$$$? > $$($1_EXITCODE) \
|
|| $$(ECHO) $$$$? > $$($1_EXITCODE) \
|
||||||
)
|
))
|
||||||
|
|
||||||
$1_RESULT_FILE := $$($1_TEST_RESULTS_DIR)/gtest.txt
|
$1_RESULT_FILE := $$($1_TEST_RESULTS_DIR)/gtest.txt
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
@@ -49,10 +49,11 @@ TOPDIR := $(strip $(patsubst %/make/, %, $(dir $(makefile_path))))
|
|||||||
# given.
|
# given.
|
||||||
# Note: No spaces are allowed around the arguments.
|
# Note: No spaces are allowed around the arguments.
|
||||||
#
|
#
|
||||||
# $1: The name of the argument
|
# $1: The name of the variable
|
||||||
# $2: The default value, if any, or OPTIONAL (do not provide a default but
|
# $2: The default value, if any, or OPTIONAL (do not provide a default but
|
||||||
# do not exit if it is missing)
|
# do not exit if it is missing)
|
||||||
# $3: If NO_CHECK, disable checking for target file/directory existence
|
# $3: If NO_CHECK, disable checking for target file/directory existence
|
||||||
|
# If MKDIR, create the default directory
|
||||||
define SetupVariable
|
define SetupVariable
|
||||||
ifeq ($$($1), )
|
ifeq ($$($1), )
|
||||||
ifeq ($2, )
|
ifeq ($2, )
|
||||||
@@ -75,10 +76,17 @@ define SetupVariable
|
|||||||
endif
|
endif
|
||||||
# If $1 has a value (is not optional), and $3 is not set (to NO_CHECK),
|
# If $1 has a value (is not optional), and $3 is not set (to NO_CHECK),
|
||||||
# and if wildcard is empty, then complain that the file is missing.
|
# and if wildcard is empty, then complain that the file is missing.
|
||||||
ifeq ($$(strip $$(if $$($1), , OPTIONAL) $$(wildcard $$($1)) $3), )
|
ifeq ($3, MKDIR)
|
||||||
$$(info Error: Prebuilt variable $1 points to missing file/directory:)
|
ifneq ($$(findstring $$(LOG), info debug trace), )
|
||||||
$$(info '$$($1)')
|
$$(info Creating directory for $1)
|
||||||
$$(error Cannot continue.)
|
endif
|
||||||
|
$$(shell mkdir -p $$($1))
|
||||||
|
else ifneq ($3, NO_CHECK)
|
||||||
|
ifeq ($$(strip $$(if $$($1), , OPTIONAL) $$(wildcard $$($1))), )
|
||||||
|
$$(info Error: Prebuilt variable $1 points to missing file/directory:)
|
||||||
|
$$(info '$$($1)')
|
||||||
|
$$(error Cannot continue.)
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
endef
|
endef
|
||||||
|
|
||||||
@@ -87,12 +95,12 @@ endef
|
|||||||
# $1: The output file name
|
# $1: The output file name
|
||||||
# $2..$N: The lines to output to the file
|
# $2..$N: The lines to output to the file
|
||||||
define CreateNewSpec
|
define CreateNewSpec
|
||||||
$(if $(strip $(26)), \
|
$(if $(strip $(31)), \
|
||||||
$(error Internal makefile error: \
|
$(error Internal makefile error: \
|
||||||
Too many arguments to macro, please update CreateNewSpec in RunTestsPrebuilt.gmk) \
|
Too many arguments to macro, please update CreateNewSpec in RunTestsPrebuilt.gmk) \
|
||||||
) \
|
) \
|
||||||
$(shell $(RM) $1) \
|
$(shell $(RM) $1) \
|
||||||
$(foreach i, $(call sequence, 2, 25), \
|
$(foreach i, $(call sequence, 2, 30), \
|
||||||
$(if $(strip $($i)), \
|
$(if $(strip $($i)), \
|
||||||
$(call AppendFile, $(strip $($i)), $1) \
|
$(call AppendFile, $(strip $($i)), $1) \
|
||||||
) \
|
) \
|
||||||
@@ -106,14 +114,14 @@ endef
|
|||||||
# Verify that user has given correct additional input.
|
# Verify that user has given correct additional input.
|
||||||
|
|
||||||
# These variables are absolutely necessary
|
# These variables are absolutely necessary
|
||||||
$(eval $(call SetupVariable,OUTPUTDIR))
|
$(eval $(call SetupVariable,OUTPUTDIR,$(TOPDIR)/build/run-test-prebuilt,MKDIR))
|
||||||
$(eval $(call SetupVariable,BOOT_JDK))
|
$(eval $(call SetupVariable,BOOT_JDK))
|
||||||
$(eval $(call SetupVariable,JT_HOME))
|
$(eval $(call SetupVariable,JT_HOME))
|
||||||
|
|
||||||
# These can have default values based on the ones above
|
# These can have default values based on the ones above
|
||||||
$(eval $(call SetupVariable,JDK_IMAGE_DIR,$(OUTPUTDIR)/images/jdk))
|
$(eval $(call SetupVariable,JDK_IMAGE_DIR,$(OUTPUTDIR)/images/jdk))
|
||||||
$(eval $(call SetupVariable,TEST_IMAGE_DIR,$(OUTPUTDIR)/images/test))
|
$(eval $(call SetupVariable,TEST_IMAGE_DIR,$(OUTPUTDIR)/images/test))
|
||||||
$(eval $(call SetupVariable,SYMBOLS_IMAGE_DIR,$(OUTPUTDIR)/images/symbols))
|
$(eval $(call SetupVariable,SYMBOLS_IMAGE_DIR,$(OUTPUTDIR)/images/symbols,NO_CHECK))
|
||||||
|
|
||||||
# Provide default values for tools that we need
|
# Provide default values for tools that we need
|
||||||
$(eval $(call SetupVariable,MAKE,make,NO_CHECK))
|
$(eval $(call SetupVariable,MAKE,make,NO_CHECK))
|
||||||
@@ -202,8 +210,8 @@ endif
|
|||||||
|
|
||||||
ifeq ($(OPENJDK_TARGET_OS), windows)
|
ifeq ($(OPENJDK_TARGET_OS), windows)
|
||||||
ifeq ($(wildcard $(TEST_IMAGE_DIR)/bin/fixpath.exe), )
|
ifeq ($(wildcard $(TEST_IMAGE_DIR)/bin/fixpath.exe), )
|
||||||
$$(info Error: fixpath is missing from test image '$(TEST_IMAGE_DIR)')
|
$(info Error: fixpath is missing from test image '$(TEST_IMAGE_DIR)')
|
||||||
$$(error Cannot continue.)
|
$(error Cannot continue.)
|
||||||
endif
|
endif
|
||||||
FIXPATH := $(TEST_IMAGE_DIR)/bin/fixpath.exe -c
|
FIXPATH := $(TEST_IMAGE_DIR)/bin/fixpath.exe -c
|
||||||
PATH_SEP:=;
|
PATH_SEP:=;
|
||||||
@@ -212,17 +220,58 @@ else
|
|||||||
PATH_SEP:=:
|
PATH_SEP:=:
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Check number of cores
|
# Check number of cores and memory in MB
|
||||||
ifeq ($(OPENJDK_TARGET_OS), linux)
|
ifeq ($(OPENJDK_TARGET_OS), linux)
|
||||||
NUM_CORES := $(shell $(CAT) /proc/cpuinfo | $(GREP) -c processor)
|
NUM_CORES := $(shell $(CAT) /proc/cpuinfo | $(GREP) -c processor)
|
||||||
|
MEMORY_SIZE := $(shell \
|
||||||
|
$(EXPR) `$(CAT) /proc/meminfo | $(GREP) MemTotal | $(AWK) '{print $$2}'` / 1024 \
|
||||||
|
)
|
||||||
else ifeq ($(OPENJDK_TARGET_OS), macosx)
|
else ifeq ($(OPENJDK_TARGET_OS), macosx)
|
||||||
NUM_CORES := $(shell /usr/sbin/sysctl -n hw.ncpu)
|
NUM_CORES := $(shell /usr/sbin/sysctl -n hw.ncpu)
|
||||||
|
MEMORY_SIZE := $(shell $(EXPR) `/usr/sbin/sysctl -n hw.memsize` / 1024 / 1024)
|
||||||
else ifeq ($(OPENJDK_TARGET_OS), solaris)
|
else ifeq ($(OPENJDK_TARGET_OS), solaris)
|
||||||
NUM_CORES := $(shell LC_MESSAGES=C /usr/sbin/psrinfo -v | $(GREP) -c on-line)
|
NUM_CORES := $(shell LC_MESSAGES=C /usr/sbin/psrinfo -v | $(GREP) -c on-line)
|
||||||
|
MEMORY_SIZE := $(shell \
|
||||||
|
/usr/sbin/prtconf 2> /dev/null | $(GREP) "^Memory [Ss]ize" | $(AWK) '{print $$3}' \
|
||||||
|
)
|
||||||
else ifeq ($(OPENJDK_TARGET_OS), windows)
|
else ifeq ($(OPENJDK_TARGET_OS), windows)
|
||||||
NUM_CORES := $(NUMBER_OF_PROCESSORS)
|
NUM_CORES := $(NUMBER_OF_PROCESSORS)
|
||||||
|
MEMORY_SIZE := $(shell \
|
||||||
|
$(EXPR) `wmic computersystem get totalphysicalmemory -value | $(GREP) = \
|
||||||
|
| $(CUT) -d "=" -f 2-` / 1024 / 1024 \
|
||||||
|
)
|
||||||
|
endif
|
||||||
|
ifeq ($(NUM_CORES), )
|
||||||
|
$(warn Could not find number of CPUs, assuming 1)
|
||||||
|
NUM_CORES := 1
|
||||||
|
endif
|
||||||
|
ifeq ($(MEMORY_SIZE), )
|
||||||
|
$(warn Could not find memory size, assuming 1024 MB)
|
||||||
|
MEMORY_SIZE := 1024
|
||||||
|
endif
|
||||||
|
|
||||||
|
# Setup LD for AOT support
|
||||||
|
ifneq ($(DEVKIT_HOME), )
|
||||||
|
ifeq ($(OPENJDK_TARGET_OS), windows)
|
||||||
|
LD_JAOTC := $(DEVKIT_HOME)/VC/bin/x64/link.exe
|
||||||
|
LIBRARY_PREFIX :=
|
||||||
|
SHARED_LIBRARY_SUFFIX := .dll
|
||||||
|
else ifeq ($(OPENJDK_TARGET_OS), linux)
|
||||||
|
LD_JAOTC := $(DEVKIT_HOME)/bin/ld
|
||||||
|
LIBRARY_PREFIX := lib
|
||||||
|
SHARED_LIBRARY_SUFFIX := .so
|
||||||
|
else ifeq ($(OPENJDK_TARGET_OS), macosx)
|
||||||
|
LD_JAOTC := $(DEVKIT_HOME)/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
|
||||||
|
LIBRARY_PREFIX := lib
|
||||||
|
SHARED_LIBRARY_SUFFIX := .dylib
|
||||||
|
else ifeq ($(OPENJDK_TARGET_OS), solaris)
|
||||||
|
# Prefer system linker for AOT on Solaris.
|
||||||
|
LD_JAOTC := ld
|
||||||
|
LIBRARY_PREFIX := lib
|
||||||
|
SHARED_LIBRARY_SUFFIX := .so
|
||||||
|
endif
|
||||||
else
|
else
|
||||||
NUM_CORES := 1
|
LD := ld
|
||||||
endif
|
endif
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
@@ -260,6 +309,10 @@ $(call CreateNewSpec, $(NEW_SPEC), \
|
|||||||
OPENJDK_TARGET_CPU_BITS := $(OPENJDK_TARGET_CPU_BITS), \
|
OPENJDK_TARGET_CPU_BITS := $(OPENJDK_TARGET_CPU_BITS), \
|
||||||
OPENJDK_TARGET_CPU_ENDIAN := $(OPENJDK_TARGET_CPU_ENDIAN), \
|
OPENJDK_TARGET_CPU_ENDIAN := $(OPENJDK_TARGET_CPU_ENDIAN), \
|
||||||
NUM_CORES := $(NUM_CORES), \
|
NUM_CORES := $(NUM_CORES), \
|
||||||
|
MEMORY_SIZE := $(MEMORY_SIZE), \
|
||||||
|
LD_JAOTC := $(LD_JAOTC), \
|
||||||
|
LIBRARY_PREFIX := $(LIBRARY_PREFIX), \
|
||||||
|
SHARED_LIBRARY_SUFFIX := $(SHARED_LIBRARY_SUFFIX), \
|
||||||
include $(TOPDIR)/make/RunTestsPrebuiltSpec.gmk, \
|
include $(TOPDIR)/make/RunTestsPrebuiltSpec.gmk, \
|
||||||
$(CUSTOM_NEW_SPEC_LINE), \
|
$(CUSTOM_NEW_SPEC_LINE), \
|
||||||
)
|
)
|
||||||
@@ -276,9 +329,6 @@ run-test-prebuilt:
|
|||||||
@$(RM) -f $(MAKESUPPORT_OUTPUTDIR)/exit-with-error
|
@$(RM) -f $(MAKESUPPORT_OUTPUTDIR)/exit-with-error
|
||||||
@cd $(TOPDIR) && $(MAKE) $(MAKE_ARGS) -f make/RunTests.gmk run-test \
|
@cd $(TOPDIR) && $(MAKE) $(MAKE_ARGS) -f make/RunTests.gmk run-test \
|
||||||
TEST="$(TEST)"
|
TEST="$(TEST)"
|
||||||
@if test -f $(MAKESUPPORT_OUTPUTDIR)/exit-with-error ; then \
|
|
||||||
exit 1 ; \
|
|
||||||
fi
|
|
||||||
|
|
||||||
all: run-test-prebuilt
|
all: run-test-prebuilt
|
||||||
|
|
||||||
|
|||||||
@@ -124,7 +124,7 @@ JLINK := $(FIXPATH) $(JLINK_CMD)
|
|||||||
JMOD := $(FIXPATH) $(JMOD_CMD)
|
JMOD := $(FIXPATH) $(JMOD_CMD)
|
||||||
JARSIGNER := $(FIXPATH) $(JARSIGNER_CMD)
|
JARSIGNER := $(FIXPATH) $(JARSIGNER_CMD)
|
||||||
|
|
||||||
BUILD_JAVA := $(JAVA)
|
BUILD_JAVA := $(JDK_IMAGE_DIR)/bin/JAVA
|
||||||
################################################################################
|
################################################################################
|
||||||
# Some common tools. Assume most common name and no path.
|
# Some common tools. Assume most common name and no path.
|
||||||
AWK := awk
|
AWK := awk
|
||||||
@@ -172,3 +172,21 @@ UNZIP := unzip
|
|||||||
EXPR := expr
|
EXPR := expr
|
||||||
FILE := file
|
FILE := file
|
||||||
HG := hg
|
HG := hg
|
||||||
|
|
||||||
|
# On Solaris gnu versions of some tools are required.
|
||||||
|
ifeq ($(OPENJDK_BUILD_OS), solaris)
|
||||||
|
AWK := gawk
|
||||||
|
GREP := ggrep
|
||||||
|
EGREP := ggrep -E
|
||||||
|
FGREP := grep -F
|
||||||
|
SED := gsed
|
||||||
|
TAR := gtar
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(OPENJDK_BUILD_OS), windows)
|
||||||
|
CYGPATH := cygpath
|
||||||
|
endif
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Simple macros from spec.gmk.in
|
||||||
|
SHARED_LIBRARY=$(LIBRARY_PREFIX)$1$(SHARED_LIBRARY_SUFFIX)
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
@@ -23,33 +23,43 @@
|
|||||||
# questions.
|
# questions.
|
||||||
#
|
#
|
||||||
|
|
||||||
default: all
|
|
||||||
|
|
||||||
include $(SPEC)
|
include $(SPEC)
|
||||||
include MakeBase.gmk
|
include MakeBase.gmk
|
||||||
|
|
||||||
$(eval $(call IncludeCustomExtension, SourceRevision.gmk))
|
$(eval $(call IncludeCustomExtension, SourceRevision-pre.gmk))
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
# Keep track of what source revision is used to create the build, by creating
|
# Keep track of what source revision is used to create the build, by creating
|
||||||
# a tracker file in the output directory. This tracker file is included in the
|
# a tracker file in the output directory. This tracker file is included in the
|
||||||
# image, and can be used to recreate the source revision used.
|
# source image, and can be used to recreate the source revision used.
|
||||||
#
|
#
|
||||||
# We're either building directly from a mercurial forest, and if so, use the
|
# We're either building directly from an SCM repository, and if so, use the
|
||||||
# current revision from mercurial. Otherwise, we are building from a source
|
# current revision from that SCM. Otherwise, we are building from a source
|
||||||
# bundle. As a part of creating this source bundle, the current mercurial
|
# bundle. As a part of creating this source bundle, the current SCM revisions of
|
||||||
# revisions of all repos will be stored in a file in the top dir, which is then
|
# all repos will be stored in a file in the top dir, which is then used when
|
||||||
# used when creating the tracker file.
|
# creating the tracker file.
|
||||||
|
|
||||||
STORED_SOURCE_REVISION := $(TOPDIR)/.src-rev
|
STORED_SOURCE_REVISION := $(TOPDIR)/.src-rev
|
||||||
|
|
||||||
# Are we using mercurial?
|
USE_SCM := false
|
||||||
ifneq ($(and $(HG), $(wildcard $(TOPDIR)/.hg)), )
|
ifneq ($(and $(HG), $(wildcard $(TOPDIR)/.hg)), )
|
||||||
|
USE_SCM := true
|
||||||
|
SCM_DIR := .hg
|
||||||
|
ID_COMMAND := $(PRINTF) "hg:%s" "$$($(HG) id -i)"
|
||||||
|
else ifneq ($(and $(GIT), $(wildcard $(TOPDIR)/.git)), )
|
||||||
|
USE_SCM := true
|
||||||
|
SCM_DIR := .git
|
||||||
|
ID_COMMAND := $(PRINTF) "git:%s%s\n" \
|
||||||
|
"$$(git log -n1 --format=%H | cut -c1-12)" \
|
||||||
|
"$$(if test -n "$$(git status --porcelain)"; then printf '+'; fi)"
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(USE_SCM), true)
|
||||||
|
|
||||||
# Verify that the entire forest is consistent
|
# Verify that the entire forest is consistent
|
||||||
$(foreach repo, $(call FindAllReposRel), \
|
$(foreach repo, $(call FindAllReposRel), \
|
||||||
$(if $(wildcard $(TOPDIR)/$(repo)/.hg),, \
|
$(if $(wildcard $(TOPDIR)/$(repo)/$(SCM_DIR)),, \
|
||||||
$(error Inconsistent revision control: $(repo) is missing .hg directory)) \
|
$(error Inconsistent revision control: $(repo) is missing $(SCM_DIR) directory)) \
|
||||||
)
|
)
|
||||||
|
|
||||||
# Replace "." with "_top" and "/" with "-"
|
# Replace "." with "_top" and "/" with "-"
|
||||||
@@ -58,7 +68,9 @@ ifneq ($(and $(HG), $(wildcard $(TOPDIR)/.hg)), )
|
|||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
# SetupGetRevisionForRepo defines a make rule for creating a file containing
|
# SetupGetRevisionForRepo defines a make rule for creating a file containing
|
||||||
# the name of the repository and the output of "hg id" for that repository.
|
# the name of the repository and the output of the scm command for that
|
||||||
|
# repository.
|
||||||
|
#
|
||||||
# Argument 1 is the relative path to the repository from the top dir.
|
# Argument 1 is the relative path to the repository from the top dir.
|
||||||
#
|
#
|
||||||
SetupGetRevisionForRepo = $(NamedParamsMacroTemplate)
|
SetupGetRevisionForRepo = $(NamedParamsMacroTemplate)
|
||||||
@@ -68,7 +80,7 @@ ifneq ($(and $(HG), $(wildcard $(TOPDIR)/.hg)), )
|
|||||||
|
|
||||||
$$(SUPPORT_OUTPUTDIR)/src-rev/$$($1_FILENAME): FRC
|
$$(SUPPORT_OUTPUTDIR)/src-rev/$$($1_FILENAME): FRC
|
||||||
$$(call MakeDir, $$(@D))
|
$$(call MakeDir, $$(@D))
|
||||||
$$(ECHO) $$(strip $1):`$$(HG) id -i --repository $$($1_REPO_PATH)` > $$@
|
$$(ECHO) $$(strip $1):`$$(CD) $$($1_REPO_PATH) && $$(ID_COMMAND)` > $$@
|
||||||
|
|
||||||
REPO_REVISIONS += $$(SUPPORT_OUTPUTDIR)/src-rev/$$($1_FILENAME)
|
REPO_REVISIONS += $$(SUPPORT_OUTPUTDIR)/src-rev/$$($1_FILENAME)
|
||||||
endef
|
endef
|
||||||
@@ -94,40 +106,58 @@ ifneq ($(and $(HG), $(wildcard $(TOPDIR)/.hg)), )
|
|||||||
|
|
||||||
$(eval $(call CreateSourceRevisionFile, $(STORED_SOURCE_REVISION)))
|
$(eval $(call CreateSourceRevisionFile, $(STORED_SOURCE_REVISION)))
|
||||||
|
|
||||||
store-source-revision: $(STORED_SOURCE_REVISION)
|
scm-store-source-revision: $(STORED_SOURCE_REVISION)
|
||||||
|
|
||||||
$(eval $(call CreateSourceRevisionFile, $(SOURCE_REVISION_TRACKER)))
|
$(eval $(call CreateSourceRevisionFile, $(SOURCE_REVISION_TRACKER)))
|
||||||
|
|
||||||
create-source-revision-tracker: $(SOURCE_REVISION_TRACKER)
|
scm-create-source-revision-tracker: $(SOURCE_REVISION_TRACKER)
|
||||||
|
|
||||||
|
STORE_SOURCE_REVISION_TARGET := scm-store-source-revision
|
||||||
|
CREATE_SOURCE_REVISION_TRACKER_TARGET := scm-create-source-revision-tracker
|
||||||
|
|
||||||
|
.PHONY: scm-store-source-revision scm-create-source-revision-tracker
|
||||||
|
|
||||||
else
|
else
|
||||||
# Not using HG
|
# Not using any SCM
|
||||||
|
|
||||||
ifneq ($(wildcard $(STORED_SOURCE_REVISION)), )
|
ifneq ($(wildcard $(STORED_SOURCE_REVISION)), )
|
||||||
# We have a stored source revision (.src-rev)
|
# We have a stored source revision (.src-rev)
|
||||||
|
|
||||||
store-source-revision:
|
src-store-source-revision:
|
||||||
$(call LogInfo, No mercurial configuration present$(COMMA) not updating .src-rev)
|
$(call LogInfo, No SCM configuration present$(COMMA) not updating .src-rev)
|
||||||
|
|
||||||
$(SOURCE_REVISION_TRACKER): $(STORED_SOURCE_REVISION)
|
$(SOURCE_REVISION_TRACKER): $(STORED_SOURCE_REVISION)
|
||||||
$(install-file)
|
$(install-file)
|
||||||
|
|
||||||
create-source-revision-tracker: $(SOURCE_REVISION_TRACKER)
|
src-create-source-revision-tracker: $(SOURCE_REVISION_TRACKER)
|
||||||
else
|
else
|
||||||
# We don't have a stored source revision. Can't do anything, really.
|
# We don't have a stored source revision. Can't do anything, really.
|
||||||
|
|
||||||
store-source-revision:
|
src-store-source-revision:
|
||||||
$(call LogWarn, Error: No mercurial configuration present$(COMMA) cannot create .src-rev)
|
$(call LogWarn, Error: No SCM configuration present$(COMMA) cannot create .src-rev)
|
||||||
exit 2
|
exit 2
|
||||||
|
|
||||||
create-source-revision-tracker:
|
src-create-source-revision-tracker:
|
||||||
$(call LogWarn, Warning: No mercurial configuration present and no .src-rev)
|
$(call LogWarn, Warning: No SCM configuration present and no .src-rev)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
STORE_SOURCE_REVISION_TARGET := src-store-source-revision
|
||||||
|
CREATE_SOURCE_REVISION_TRACKER_TARGET := src-create-source-revision-tracker
|
||||||
|
|
||||||
|
.PHONY: src-store-source-revision src-create-source-revision-tracker
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
all: store-source-revision create-source-revision-tracker
|
################################################################################
|
||||||
|
|
||||||
|
$(eval $(call IncludeCustomExtension, SourceRevision-post.gmk))
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
store-source-revision: $(STORE_SOURCE_REVISION_TARGET)
|
||||||
|
|
||||||
|
create-source-revision-tracker: $(CREATE_SOURCE_REVISION_TRACKER_TARGET)
|
||||||
|
|
||||||
FRC: # Force target
|
FRC: # Force target
|
||||||
|
|
||||||
.PHONY: all store-source-revision create-source-revision-tracker
|
.PHONY: store-source-revision create-source-revision-tracker
|
||||||
|
|||||||
@@ -37,10 +37,22 @@ ifeq ($(OPENJDK_TARGET_OS), windows)
|
|||||||
$(call install-file)
|
$(call install-file)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
prepare-test-image: $(FIXPATH_COPY)
|
BUILD_INFO_PROPERTIES := $(TEST_IMAGE_DIR)/build-info.properties
|
||||||
|
|
||||||
|
FIXPATH_ECHO := $(FIXPATH) $(call FixPath, $(ECHO))
|
||||||
|
|
||||||
|
$(BUILD_INFO_PROPERTIES):
|
||||||
|
$(call MakeTargetDir)
|
||||||
|
$(ECHO) "# Build info properties for JDK tests" > $@
|
||||||
|
$(FIXPATH_ECHO) "build.workspace.root=$(WORKSPACE_ROOT)" >> $@
|
||||||
|
$(FIXPATH_ECHO) "build.output.root=$(OUTPUTDIR)" >> $@
|
||||||
|
|
||||||
|
prepare-test-image: $(FIXPATH_COPY) $(BUILD_INFO_PROPERTIES)
|
||||||
$(call MakeDir, $(TEST_IMAGE_DIR))
|
$(call MakeDir, $(TEST_IMAGE_DIR))
|
||||||
$(ECHO) > $(TEST_IMAGE_DIR)/Readme.txt 'JDK test image'
|
$(ECHO) > $(TEST_IMAGE_DIR)/Readme.txt 'JDK test image'
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
|
||||||
all: prepare-test-image
|
all: prepare-test-image
|
||||||
|
|
||||||
.PHONY: default all prepare-test-image
|
.PHONY: default all prepare-test-image
|
||||||
|
|||||||
@@ -79,6 +79,9 @@ TOOL_BLACKLISTED_CERTS = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_cla
|
|||||||
TOOL_MAKEJAVASECURITY = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes \
|
TOOL_MAKEJAVASECURITY = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes \
|
||||||
build.tools.makejavasecurity.MakeJavaSecurity
|
build.tools.makejavasecurity.MakeJavaSecurity
|
||||||
|
|
||||||
|
TOOL_GENERATECACERTS = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes \
|
||||||
|
build.tools.generatecacerts.GenerateCacerts
|
||||||
|
|
||||||
|
|
||||||
# TODO: There are references to the jdwpgen.jar in jdk/make/netbeans/jdwpgen/build.xml
|
# TODO: There are references to the jdwpgen.jar in jdk/make/netbeans/jdwpgen/build.xml
|
||||||
# and nbproject/project.properties in the same dir. Needs to be looked at.
|
# and nbproject/project.properties in the same dir. Needs to be looked at.
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2017, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
@@ -45,21 +45,13 @@ GLOBAL_SPECS_DEFAULT_CSS_FILE := $(TOPDIR)/make/data/docs-resources/resources/jd
|
|||||||
|
|
||||||
DOCS_DIR := $(TOPDIR)/doc
|
DOCS_DIR := $(TOPDIR)/doc
|
||||||
|
|
||||||
$(eval $(call SetupProcessMarkdown, building, \
|
$(eval $(call SetupProcessMarkdown, md_docs, \
|
||||||
FILES := $(DOCS_DIR)/building.md, \
|
FILES := $(call FindFiles, $(DOCS_DIR), *.md), \
|
||||||
DEST := $(DOCS_DIR), \
|
DEST := $(DOCS_DIR), \
|
||||||
CSS := $(GLOBAL_SPECS_DEFAULT_CSS_FILE), \
|
CSS := $(GLOBAL_SPECS_DEFAULT_CSS_FILE), \
|
||||||
OPTIONS := --toc, \
|
OPTIONS := --toc, \
|
||||||
))
|
))
|
||||||
TARGETS += $(building)
|
TARGETS += $(md_docs)
|
||||||
|
|
||||||
$(eval $(call SetupProcessMarkdown, testing, \
|
|
||||||
FILES := $(DOCS_DIR)/testing.md, \
|
|
||||||
DEST := $(DOCS_DIR), \
|
|
||||||
CSS := $(GLOBAL_SPECS_DEFAULT_CSS_FILE), \
|
|
||||||
OPTIONS := --toc, \
|
|
||||||
))
|
|
||||||
TARGETS += $(testing)
|
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2014, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
@@ -87,6 +87,7 @@ ifeq ($(SRC_GENERATED), true)
|
|||||||
EXCLUDE_FILES := $(SRC_ZIP_EXCLUDE_FILES), \
|
EXCLUDE_FILES := $(SRC_ZIP_EXCLUDE_FILES), \
|
||||||
SUFFIXES := .java, \
|
SUFFIXES := .java, \
|
||||||
ZIP := $(SUPPORT_OUTPUTDIR)/src.zip, \
|
ZIP := $(SUPPORT_OUTPUTDIR)/src.zip, \
|
||||||
|
FOLLOW_SYMLINKS := true, \
|
||||||
))
|
))
|
||||||
|
|
||||||
do-zip: $(BUILD_SRC_ZIP)
|
do-zip: $(BUILD_SRC_ZIP)
|
||||||
|
|||||||
@@ -641,6 +641,13 @@ AC_DEFUN_ONCE([BASIC_SETUP_PATHS],
|
|||||||
AC_MSG_RESULT([$TOPDIR])
|
AC_MSG_RESULT([$TOPDIR])
|
||||||
AC_SUBST(TOPDIR)
|
AC_SUBST(TOPDIR)
|
||||||
|
|
||||||
|
if test "x$CUSTOM_ROOT" != x; then
|
||||||
|
WORKSPACE_ROOT="${CUSTOM_ROOT}"
|
||||||
|
else
|
||||||
|
WORKSPACE_ROOT="${TOPDIR}"
|
||||||
|
fi
|
||||||
|
AC_SUBST(WORKSPACE_ROOT)
|
||||||
|
|
||||||
# We can only call BASIC_FIXUP_PATH after BASIC_CHECK_PATHS_WINDOWS.
|
# We can only call BASIC_FIXUP_PATH after BASIC_CHECK_PATHS_WINDOWS.
|
||||||
BASIC_FIXUP_PATH(CURDIR)
|
BASIC_FIXUP_PATH(CURDIR)
|
||||||
BASIC_FIXUP_PATH(TOPDIR)
|
BASIC_FIXUP_PATH(TOPDIR)
|
||||||
@@ -867,11 +874,7 @@ AC_DEFUN_ONCE([BASIC_SETUP_OUTPUT_DIR],
|
|||||||
AC_MSG_RESULT([in build directory with custom name])
|
AC_MSG_RESULT([in build directory with custom name])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test "x$CUSTOM_ROOT" != x; then
|
OUTPUTDIR="${WORKSPACE_ROOT}/build/${CONF_NAME}"
|
||||||
OUTPUTDIR="${CUSTOM_ROOT}/build/${CONF_NAME}"
|
|
||||||
else
|
|
||||||
OUTPUTDIR="${TOPDIR}/build/${CONF_NAME}"
|
|
||||||
fi
|
|
||||||
$MKDIR -p "$OUTPUTDIR"
|
$MKDIR -p "$OUTPUTDIR"
|
||||||
if test ! -d "$OUTPUTDIR"; then
|
if test ! -d "$OUTPUTDIR"; then
|
||||||
AC_MSG_ERROR([Could not create build directory $OUTPUTDIR])
|
AC_MSG_ERROR([Could not create build directory $OUTPUTDIR])
|
||||||
@@ -1190,6 +1193,7 @@ AC_DEFUN_ONCE([BASIC_SETUP_COMPLEX_TOOLS],
|
|||||||
BASIC_PATH_PROGS(READELF, [greadelf readelf])
|
BASIC_PATH_PROGS(READELF, [greadelf readelf])
|
||||||
BASIC_PATH_PROGS(DOT, dot)
|
BASIC_PATH_PROGS(DOT, dot)
|
||||||
BASIC_PATH_PROGS(HG, hg)
|
BASIC_PATH_PROGS(HG, hg)
|
||||||
|
BASIC_PATH_PROGS(GIT, git)
|
||||||
BASIC_PATH_PROGS(STAT, stat)
|
BASIC_PATH_PROGS(STAT, stat)
|
||||||
BASIC_PATH_PROGS(TIME, time)
|
BASIC_PATH_PROGS(TIME, time)
|
||||||
BASIC_PATH_PROGS(FLOCK, flock)
|
BASIC_PATH_PROGS(FLOCK, flock)
|
||||||
@@ -1211,12 +1215,23 @@ AC_DEFUN_ONCE([BASIC_SETUP_COMPLEX_TOOLS],
|
|||||||
BASIC_REQUIRE_PROGS(MIG, mig)
|
BASIC_REQUIRE_PROGS(MIG, mig)
|
||||||
BASIC_REQUIRE_PROGS(XATTR, xattr)
|
BASIC_REQUIRE_PROGS(XATTR, xattr)
|
||||||
BASIC_PATH_PROGS(CODESIGN, codesign)
|
BASIC_PATH_PROGS(CODESIGN, codesign)
|
||||||
|
|
||||||
if test "x$CODESIGN" != "x"; then
|
if test "x$CODESIGN" != "x"; then
|
||||||
# Verify that the openjdk_codesign certificate is present
|
# Check for user provided code signing identity.
|
||||||
AC_MSG_CHECKING([if openjdk_codesign certificate is present])
|
# If no identity was provided, fall back to "openjdk_codesign".
|
||||||
|
AC_ARG_WITH([macosx-codesign-identity], [AS_HELP_STRING([--with-macosx-codesign-identity],
|
||||||
|
[specify the code signing identity])],
|
||||||
|
[MACOSX_CODESIGN_IDENTITY=$with_macosx_codesign_identity],
|
||||||
|
[MACOSX_CODESIGN_IDENTITY=openjdk_codesign]
|
||||||
|
)
|
||||||
|
|
||||||
|
AC_SUBST(MACOSX_CODESIGN_IDENTITY)
|
||||||
|
|
||||||
|
# Verify that the codesign certificate is present
|
||||||
|
AC_MSG_CHECKING([if codesign certificate is present])
|
||||||
$RM codesign-testfile
|
$RM codesign-testfile
|
||||||
$TOUCH codesign-testfile
|
$TOUCH codesign-testfile
|
||||||
$CODESIGN -s openjdk_codesign codesign-testfile 2>&AS_MESSAGE_LOG_FD >&AS_MESSAGE_LOG_FD || CODESIGN=
|
$CODESIGN -s "$MACOSX_CODESIGN_IDENTITY" codesign-testfile 2>&AS_MESSAGE_LOG_FD >&AS_MESSAGE_LOG_FD || CODESIGN=
|
||||||
$RM codesign-testfile
|
$RM codesign-testfile
|
||||||
if test "x$CODESIGN" = x; then
|
if test "x$CODESIGN" = x; then
|
||||||
AC_MSG_RESULT([no])
|
AC_MSG_RESULT([no])
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2011, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
@@ -42,8 +42,11 @@ AC_DEFUN([BPERF_CHECK_CORES],
|
|||||||
NUM_CORES=`/usr/sbin/sysctl -n hw.ncpu`
|
NUM_CORES=`/usr/sbin/sysctl -n hw.ncpu`
|
||||||
FOUND_CORES=yes
|
FOUND_CORES=yes
|
||||||
elif test "x$OPENJDK_BUILD_OS" = xaix ; then
|
elif test "x$OPENJDK_BUILD_OS" = xaix ; then
|
||||||
NUM_CORES=`/usr/sbin/prtconf | grep "^Number Of Processors" | awk '{ print [$]4 }'`
|
NUM_LCPU=`lparstat -m 2> /dev/null | $GREP -o "lcpu=[[0-9]]*" | $CUT -d "=" -f 2`
|
||||||
FOUND_CORES=yes
|
if test -n "$NUM_LCPU"; then
|
||||||
|
NUM_CORES=$NUM_LCPU
|
||||||
|
FOUND_CORES=yes
|
||||||
|
fi
|
||||||
elif test -n "$NUMBER_OF_PROCESSORS"; then
|
elif test -n "$NUMBER_OF_PROCESSORS"; then
|
||||||
# On windows, look in the env
|
# On windows, look in the env
|
||||||
NUM_CORES=$NUMBER_OF_PROCESSORS
|
NUM_CORES=$NUMBER_OF_PROCESSORS
|
||||||
|
|||||||
@@ -75,6 +75,8 @@ JVM_LDFLAGS := @OPENJDK_BUILD_JVM_LDFLAGS@
|
|||||||
JVM_ASFLAGS := @OPENJDK_BUILD_JVM_ASFLAGS@
|
JVM_ASFLAGS := @OPENJDK_BUILD_JVM_ASFLAGS@
|
||||||
JVM_LIBS := @OPENJDK_BUILD_JVM_LIBS@
|
JVM_LIBS := @OPENJDK_BUILD_JVM_LIBS@
|
||||||
|
|
||||||
|
FDLIBM_CFLAGS := @OPENJDK_BUILD_FDLIBM_CFLAGS@
|
||||||
|
|
||||||
# The compiler for the build platform is likely not warning compatible with the official
|
# The compiler for the build platform is likely not warning compatible with the official
|
||||||
# compiler.
|
# compiler.
|
||||||
WARNINGS_AS_ERRORS := false
|
WARNINGS_AS_ERRORS := false
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
SRC#
|
#
|
||||||
# Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2011, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
@@ -98,6 +98,9 @@ HOTSPOT_SETUP_JVM_VARIANTS
|
|||||||
# With basic setup done, call the custom early hook.
|
# With basic setup done, call the custom early hook.
|
||||||
CUSTOM_EARLY_HOOK
|
CUSTOM_EARLY_HOOK
|
||||||
|
|
||||||
|
# This only needs debug level to be setup
|
||||||
|
JDKOPT_ALLOW_ABSOLUTE_PATHS_IN_OUTPUT
|
||||||
|
|
||||||
# Check if we have devkits, extra paths or sysroot set.
|
# Check if we have devkits, extra paths or sysroot set.
|
||||||
BASIC_SETUP_DEVKIT
|
BASIC_SETUP_DEVKIT
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2011, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
@@ -371,21 +371,7 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS],
|
|||||||
FLAGS_CPU_LEGACY=$OPENJDK_BUILD_CPU_LEGACY
|
FLAGS_CPU_LEGACY=$OPENJDK_BUILD_CPU_LEGACY
|
||||||
FLAGS_CPU_LEGACY_LIB=$OPENJDK_BUILD_CPU_LEGACY_LIB
|
FLAGS_CPU_LEGACY_LIB=$OPENJDK_BUILD_CPU_LEGACY_LIB
|
||||||
|
|
||||||
FLAGS_SETUP_CFLAGS_CPU_DEP([BUILD], [OPENJDK_BUILD_])
|
FLAGS_SETUP_CFLAGS_CPU_DEP([BUILD], [OPENJDK_BUILD_], [BUILD_])
|
||||||
|
|
||||||
COMPILER_FP_CONTRACT_OFF_FLAG="-ffp-contract=off"
|
|
||||||
# Check that the compiler supports -ffp-contract=off flag
|
|
||||||
# Set FDLIBM_CFLAGS to -ffp-contract=off if it does. Empty
|
|
||||||
# otherwise.
|
|
||||||
# These flags are required for GCC-based builds of
|
|
||||||
# fdlibm with optimization without losing precision.
|
|
||||||
# Notably, -ffp-contract=off needs to be added for GCC >= 4.6.
|
|
||||||
if test "x$TOOLCHAIN_TYPE" = xgcc || test "x$TOOLCHAIN_TYPE" = xclang; then
|
|
||||||
FLAGS_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [${COMPILER_FP_CONTRACT_OFF_FLAG}],
|
|
||||||
IF_TRUE: [FDLIBM_CFLAGS=${COMPILER_FP_CONTRACT_OFF_FLAG}],
|
|
||||||
IF_FALSE: [FDLIBM_CFLAGS=""])
|
|
||||||
fi
|
|
||||||
AC_SUBST(FDLIBM_CFLAGS)
|
|
||||||
|
|
||||||
# Tests are only ever compiled for TARGET
|
# Tests are only ever compiled for TARGET
|
||||||
CFLAGS_TESTLIB="$CFLAGS_JDKLIB"
|
CFLAGS_TESTLIB="$CFLAGS_JDKLIB"
|
||||||
@@ -496,15 +482,14 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_HELPER],
|
|||||||
if test "x$TOOLCHAIN_TYPE" = xgcc; then
|
if test "x$TOOLCHAIN_TYPE" = xgcc; then
|
||||||
TOOLCHAIN_CFLAGS_JVM="$TOOLCHAIN_CFLAGS_JVM -fcheck-new -fstack-protector"
|
TOOLCHAIN_CFLAGS_JVM="$TOOLCHAIN_CFLAGS_JVM -fcheck-new -fstack-protector"
|
||||||
TOOLCHAIN_CFLAGS_JDK="-pipe -fstack-protector"
|
TOOLCHAIN_CFLAGS_JDK="-pipe -fstack-protector"
|
||||||
TOOLCHAIN_CFLAGS_JDK_CONLY="-fno-strict-aliasing" # technically NOT for CXX (but since this gives *worse* performance, use no-strict-aliasing everywhere!)
|
# reduce lib size on s390x in link step, this needs also special compile flags
|
||||||
|
if test "x$OPENJDK_TARGET_CPU" = xs390x; then
|
||||||
CXXSTD_CXXFLAG="-std=gnu++98"
|
TOOLCHAIN_CFLAGS_JVM="$TOOLCHAIN_CFLAGS_JVM -ffunction-sections -fdata-sections"
|
||||||
FLAGS_CXX_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [$CXXSTD_CXXFLAG -Werror],
|
TOOLCHAIN_CFLAGS_JDK="$TOOLCHAIN_CFLAGS_JDK -ffunction-sections -fdata-sections"
|
||||||
IF_FALSE: [CXXSTD_CXXFLAG=""])
|
fi
|
||||||
TOOLCHAIN_CFLAGS_JDK_CXXONLY="$CXXSTD_CXXFLAG"
|
# technically NOT for CXX (but since this gives *worse* performance, use
|
||||||
TOOLCHAIN_CFLAGS_JVM="$TOOLCHAIN_CFLAGS_JVM $CXXSTD_CXXFLAG"
|
# no-strict-aliasing everywhere!)
|
||||||
ADLC_CXXFLAG="$CXXSTD_CXXFLAG"
|
TOOLCHAIN_CFLAGS_JDK_CONLY="-fno-strict-aliasing"
|
||||||
|
|
||||||
|
|
||||||
elif test "x$TOOLCHAIN_TYPE" = xclang; then
|
elif test "x$TOOLCHAIN_TYPE" = xclang; then
|
||||||
# Restrict the debug information created by Clang to avoid
|
# Restrict the debug information created by Clang to avoid
|
||||||
@@ -524,7 +509,7 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_HELPER],
|
|||||||
fi
|
fi
|
||||||
elif test "x$TOOLCHAIN_TYPE" = xsolstudio; then
|
elif test "x$TOOLCHAIN_TYPE" = xsolstudio; then
|
||||||
TOOLCHAIN_CFLAGS_JDK="-mt"
|
TOOLCHAIN_CFLAGS_JDK="-mt"
|
||||||
TOOLCHAIN_CFLAGS_JDK_CONLY="-xc99=%none -xCC -Xa -v -W0,-noglobal" # C only
|
TOOLCHAIN_CFLAGS_JDK_CONLY="-xCC -Xa -v -W0,-noglobal" # C only
|
||||||
TOOLCHAIN_CFLAGS_JDK_CXXONLY="-features=no%except -norunpath -xnolib" # CXX only
|
TOOLCHAIN_CFLAGS_JDK_CXXONLY="-features=no%except -norunpath -xnolib" # CXX only
|
||||||
TOOLCHAIN_CFLAGS_JVM="-template=no%extdef -features=no%split_init \
|
TOOLCHAIN_CFLAGS_JVM="-template=no%extdef -features=no%split_init \
|
||||||
-library=stlport4 -mt -features=no%except"
|
-library=stlport4 -mt -features=no%except"
|
||||||
@@ -595,6 +580,7 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_HELPER],
|
|||||||
# Where does this really belong??
|
# Where does this really belong??
|
||||||
if test "x$TOOLCHAIN_TYPE" = xgcc || test "x$TOOLCHAIN_TYPE" = xclang; then
|
if test "x$TOOLCHAIN_TYPE" = xgcc || test "x$TOOLCHAIN_TYPE" = xclang; then
|
||||||
PICFLAG="-fPIC"
|
PICFLAG="-fPIC"
|
||||||
|
PIEFLAG="-fPIE"
|
||||||
elif test "x$TOOLCHAIN_TYPE" = xsolstudio; then
|
elif test "x$TOOLCHAIN_TYPE" = xsolstudio; then
|
||||||
PICFLAG="-KPIC"
|
PICFLAG="-KPIC"
|
||||||
elif test "x$TOOLCHAIN_TYPE" = xxlc; then
|
elif test "x$TOOLCHAIN_TYPE" = xxlc; then
|
||||||
@@ -646,15 +632,13 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_HELPER],
|
|||||||
OS_CFLAGS_JVM="$OS_CFLAGS_JVM -DNEEDS_LIBRT"
|
OS_CFLAGS_JVM="$OS_CFLAGS_JVM -DNEEDS_LIBRT"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# EXPORT
|
|
||||||
AC_SUBST(ADLC_CXXFLAG)
|
|
||||||
])
|
])
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
# $1 - Either BUILD or TARGET to pick the correct OS/CPU variables to check
|
# $1 - Either BUILD or TARGET to pick the correct OS/CPU variables to check
|
||||||
# conditionals against.
|
# conditionals against.
|
||||||
# $2 - Optional prefix for each variable defined.
|
# $2 - Optional prefix for each variable defined.
|
||||||
|
# $3 - Optional prefix for compiler variables (either BUILD_ or nothing).
|
||||||
AC_DEFUN([FLAGS_SETUP_CFLAGS_CPU_DEP],
|
AC_DEFUN([FLAGS_SETUP_CFLAGS_CPU_DEP],
|
||||||
[
|
[
|
||||||
#### CPU DEFINES, these should (in theory) be independent on toolchain
|
#### CPU DEFINES, these should (in theory) be independent on toolchain
|
||||||
@@ -748,6 +732,13 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_CPU_DEP],
|
|||||||
$1_CFLAGS_CPU_JDK="${$1_CFLAGS_CPU_JDK} -fno-omit-frame-pointer"
|
$1_CFLAGS_CPU_JDK="${$1_CFLAGS_CPU_JDK} -fno-omit-frame-pointer"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
$1_CXXSTD_CXXFLAG="-std=gnu++98"
|
||||||
|
FLAGS_CXX_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [${$1_CXXSTD_CXXFLAG} -Werror],
|
||||||
|
PREFIX: $3, IF_FALSE: [$1_CXXSTD_CXXFLAG=""])
|
||||||
|
$1_TOOLCHAIN_CFLAGS_JDK_CXXONLY="${$1_CXXSTD_CXXFLAG}"
|
||||||
|
$1_TOOLCHAIN_CFLAGS_JVM="${$1_TOOLCHAIN_CFLAGS_JVM} ${$1_CXXSTD_CXXFLAG}"
|
||||||
|
$2ADLC_CXXFLAG="${$1_CXXSTD_CXXFLAG}"
|
||||||
|
|
||||||
elif test "x$TOOLCHAIN_TYPE" = xclang; then
|
elif test "x$TOOLCHAIN_TYPE" = xclang; then
|
||||||
if test "x$FLAGS_OS" = xlinux; then
|
if test "x$FLAGS_OS" = xlinux; then
|
||||||
# ppc test not really needed for clang
|
# ppc test not really needed for clang
|
||||||
@@ -784,20 +775,44 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_CPU_DEP],
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if test "x$TOOLCHAIN_TYPE" = xgcc; then
|
if test "x$TOOLCHAIN_TYPE" = xgcc; then
|
||||||
TOOLCHAIN_CHECK_COMPILER_VERSION(VERSION: 6, PREFIX: $2, IF_AT_LEAST: FLAGS_SETUP_GCC6_COMPILER_FLAGS($1))
|
FLAGS_SETUP_GCC6_COMPILER_FLAGS($1, $3)
|
||||||
$1_TOOLCHAIN_CFLAGS="${$1_GCC6_CFLAGS}"
|
$1_TOOLCHAIN_CFLAGS="${$1_GCC6_CFLAGS}"
|
||||||
|
|
||||||
$1_WARNING_CFLAGS_JVM="-Wno-format-zero-length -Wtype-limits -Wuninitialized"
|
$1_WARNING_CFLAGS_JVM="-Wno-format-zero-length -Wtype-limits -Wuninitialized"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Prevent the __FILE__ macro from generating absolute paths into the built
|
||||||
|
# binaries. Depending on toolchain, different mitigations are possible.
|
||||||
|
# * GCC and Clang of new enough versions have -fmacro-prefix-map.
|
||||||
|
# * For most other toolchains, supplying all source files and -I flags as
|
||||||
|
# relative paths fixes the issue.
|
||||||
|
FILE_MACRO_CFLAGS=
|
||||||
|
if test "x$ALLOW_ABSOLUTE_PATHS_IN_OUTPUT" = "xfalse"; then
|
||||||
|
if test "x$TOOLCHAIN_TYPE" = xgcc || test "x$TOOLCHAIN_TYPE" = xclang; then
|
||||||
|
# Check if compiler supports -fmacro-prefix-map. If so, use that to make
|
||||||
|
# the __FILE__ macro resolve to paths relative to the workspace root.
|
||||||
|
workspace_root_trailing_slash="${WORKSPACE_ROOT%/}/"
|
||||||
|
FILE_MACRO_CFLAGS="-fmacro-prefix-map=${workspace_root_trailing_slash}="
|
||||||
|
FLAGS_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [${FILE_MACRO_CFLAGS}],
|
||||||
|
PREFIX: $3,
|
||||||
|
IF_FALSE: [
|
||||||
|
FILE_MACRO_CFLAGS=
|
||||||
|
]
|
||||||
|
)
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
AC_SUBST(FILE_MACRO_CFLAGS)
|
||||||
|
|
||||||
# EXPORT to API
|
# EXPORT to API
|
||||||
CFLAGS_JVM_COMMON="$ALWAYS_CFLAGS_JVM $ALWAYS_DEFINES_JVM $TOOLCHAIN_CFLAGS_JVM \
|
CFLAGS_JVM_COMMON="$ALWAYS_CFLAGS_JVM $ALWAYS_DEFINES_JVM \
|
||||||
|
$TOOLCHAIN_CFLAGS_JVM ${$1_TOOLCHAIN_CFLAGS_JVM} \
|
||||||
$OS_CFLAGS $OS_CFLAGS_JVM $CFLAGS_OS_DEF_JVM $DEBUG_CFLAGS_JVM \
|
$OS_CFLAGS $OS_CFLAGS_JVM $CFLAGS_OS_DEF_JVM $DEBUG_CFLAGS_JVM \
|
||||||
$WARNING_CFLAGS $WARNING_CFLAGS_JVM $JVM_PICFLAG"
|
$WARNING_CFLAGS $WARNING_CFLAGS_JVM $JVM_PICFLAG $FILE_MACRO_CFLAGS"
|
||||||
|
|
||||||
CFLAGS_JDK_COMMON="$ALWAYS_CFLAGS_JDK $ALWAYS_DEFINES_JDK $TOOLCHAIN_CFLAGS_JDK \
|
CFLAGS_JDK_COMMON="$ALWAYS_CFLAGS_JDK $ALWAYS_DEFINES_JDK $TOOLCHAIN_CFLAGS_JDK \
|
||||||
$OS_CFLAGS $CFLAGS_OS_DEF_JDK $DEBUG_CFLAGS_JDK $DEBUG_OPTIONS_FLAGS_JDK \
|
$OS_CFLAGS $CFLAGS_OS_DEF_JDK $DEBUG_CFLAGS_JDK $DEBUG_OPTIONS_FLAGS_JDK \
|
||||||
$WARNING_CFLAGS $WARNING_CFLAGS_JDK $DEBUG_SYMBOLS_CFLAGS_JDK"
|
$WARNING_CFLAGS $WARNING_CFLAGS_JDK $DEBUG_SYMBOLS_CFLAGS_JDK \
|
||||||
|
$FILE_MACRO_CFLAGS"
|
||||||
|
|
||||||
# Use ${$2EXTRA_CFLAGS} to block EXTRA_CFLAGS to be added to build flags.
|
# Use ${$2EXTRA_CFLAGS} to block EXTRA_CFLAGS to be added to build flags.
|
||||||
# (Currently we don't have any OPENJDK_BUILD_EXTRA_CFLAGS, but that might
|
# (Currently we don't have any OPENJDK_BUILD_EXTRA_CFLAGS, but that might
|
||||||
@@ -805,7 +820,9 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_CPU_DEP],
|
|||||||
|
|
||||||
CFLAGS_JDK_COMMON_CONLY="$TOOLCHAIN_CFLAGS_JDK_CONLY \
|
CFLAGS_JDK_COMMON_CONLY="$TOOLCHAIN_CFLAGS_JDK_CONLY \
|
||||||
$WARNING_CFLAGS_JDK_CONLY ${$2EXTRA_CFLAGS}"
|
$WARNING_CFLAGS_JDK_CONLY ${$2EXTRA_CFLAGS}"
|
||||||
CFLAGS_JDK_COMMON_CXXONLY="$ALWAYS_DEFINES_JDK_CXXONLY $TOOLCHAIN_CFLAGS_JDK_CXXONLY \
|
CFLAGS_JDK_COMMON_CXXONLY="$ALWAYS_DEFINES_JDK_CXXONLY \
|
||||||
|
$TOOLCHAIN_CFLAGS_JDK_CXXONLY \
|
||||||
|
${$1_TOOLCHAIN_CFLAGS_JDK_CXXONLY} \
|
||||||
$WARNING_CFLAGS_JDK_CXXONLY ${$2EXTRA_CXXFLAGS}"
|
$WARNING_CFLAGS_JDK_CXXONLY ${$2EXTRA_CXXFLAGS}"
|
||||||
|
|
||||||
$1_CFLAGS_JVM="${$1_DEFINES_CPU_JVM} ${$1_CFLAGS_CPU} ${$1_CFLAGS_CPU_JVM} ${$1_TOOLCHAIN_CFLAGS} ${$1_WARNING_CFLAGS_JVM}"
|
$1_CFLAGS_JVM="${$1_DEFINES_CPU_JVM} ${$1_CFLAGS_CPU} ${$1_CFLAGS_CPU_JVM} ${$1_TOOLCHAIN_CFLAGS} ${$1_WARNING_CFLAGS_JVM}"
|
||||||
@@ -813,21 +830,40 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_CPU_DEP],
|
|||||||
|
|
||||||
$2JVM_CFLAGS="$CFLAGS_JVM_COMMON ${$1_CFLAGS_JVM} ${$2EXTRA_CXXFLAGS}"
|
$2JVM_CFLAGS="$CFLAGS_JVM_COMMON ${$1_CFLAGS_JVM} ${$2EXTRA_CXXFLAGS}"
|
||||||
|
|
||||||
$2CFLAGS_JDKEXE="$CFLAGS_JDK_COMMON $CFLAGS_JDK_COMMON_CONLY ${$1_CFLAGS_JDK}"
|
$2CFLAGS_JDKEXE="$CFLAGS_JDK_COMMON $CFLAGS_JDK_COMMON_CONLY ${$1_CFLAGS_JDK} $PIEFLAG"
|
||||||
$2CXXFLAGS_JDKEXE="$CFLAGS_JDK_COMMON $CFLAGS_JDK_COMMON_CXXONLY ${$1_CFLAGS_JDK}"
|
$2CXXFLAGS_JDKEXE="$CFLAGS_JDK_COMMON $CFLAGS_JDK_COMMON_CXXONLY ${$1_CFLAGS_JDK} $PIEFLAG"
|
||||||
$2CFLAGS_JDKLIB="${$2CFLAGS_JDKEXE} $JDK_PICFLAG ${$1_CFLAGS_CPU_JDK_LIBONLY}"
|
$2CFLAGS_JDKLIB="$CFLAGS_JDK_COMMON $CFLAGS_JDK_COMMON_CONLY ${$1_CFLAGS_JDK} \
|
||||||
$2CXXFLAGS_JDKLIB="${$2CXXFLAGS_JDKEXE} $JDK_PICFLAG ${$1_CFLAGS_CPU_JDK_LIBONLY}"
|
$JDK_PICFLAG ${$1_CFLAGS_CPU_JDK_LIBONLY}"
|
||||||
|
$2CXXFLAGS_JDKLIB="$CFLAGS_JDK_COMMON $CFLAGS_JDK_COMMON_CXXONLY ${$1_CFLAGS_JDK} \
|
||||||
|
$JDK_PICFLAG ${$1_CFLAGS_CPU_JDK_LIBONLY}"
|
||||||
|
|
||||||
AC_SUBST($2JVM_CFLAGS)
|
AC_SUBST($2JVM_CFLAGS)
|
||||||
AC_SUBST($2CFLAGS_JDKLIB)
|
AC_SUBST($2CFLAGS_JDKLIB)
|
||||||
AC_SUBST($2CFLAGS_JDKEXE)
|
AC_SUBST($2CFLAGS_JDKEXE)
|
||||||
AC_SUBST($2CXXFLAGS_JDKLIB)
|
AC_SUBST($2CXXFLAGS_JDKLIB)
|
||||||
AC_SUBST($2CXXFLAGS_JDKEXE)
|
AC_SUBST($2CXXFLAGS_JDKEXE)
|
||||||
|
AC_SUBST($2ADLC_CXXFLAG)
|
||||||
|
|
||||||
|
COMPILER_FP_CONTRACT_OFF_FLAG="-ffp-contract=off"
|
||||||
|
# Check that the compiler supports -ffp-contract=off flag
|
||||||
|
# Set FDLIBM_CFLAGS to -ffp-contract=off if it does. Empty
|
||||||
|
# otherwise.
|
||||||
|
# These flags are required for GCC-based builds of
|
||||||
|
# fdlibm with optimization without losing precision.
|
||||||
|
# Notably, -ffp-contract=off needs to be added for GCC >= 4.6.
|
||||||
|
if test "x$TOOLCHAIN_TYPE" = xgcc || test "x$TOOLCHAIN_TYPE" = xclang; then
|
||||||
|
FLAGS_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [${COMPILER_FP_CONTRACT_OFF_FLAG}],
|
||||||
|
PREFIX: $3,
|
||||||
|
IF_TRUE: [$2FDLIBM_CFLAGS=${COMPILER_FP_CONTRACT_OFF_FLAG}],
|
||||||
|
IF_FALSE: [$2FDLIBM_CFLAGS=""])
|
||||||
|
fi
|
||||||
|
AC_SUBST($2FDLIBM_CFLAGS)
|
||||||
])
|
])
|
||||||
|
|
||||||
# FLAGS_SETUP_GCC6_COMPILER_FLAGS([PREFIX])
|
# FLAGS_SETUP_GCC6_COMPILER_FLAGS([PREFIX])
|
||||||
# Arguments:
|
# Arguments:
|
||||||
# $1 - Prefix for each variable defined.
|
# $1 - Prefix for each variable defined.
|
||||||
|
# $2 - Prefix for compiler variables (either BUILD_ or nothing).
|
||||||
AC_DEFUN([FLAGS_SETUP_GCC6_COMPILER_FLAGS],
|
AC_DEFUN([FLAGS_SETUP_GCC6_COMPILER_FLAGS],
|
||||||
[
|
[
|
||||||
# These flags are required for GCC 6 builds as undefined behaviour in OpenJDK code
|
# These flags are required for GCC 6 builds as undefined behaviour in OpenJDK code
|
||||||
@@ -835,14 +871,11 @@ AC_DEFUN([FLAGS_SETUP_GCC6_COMPILER_FLAGS],
|
|||||||
# Notably, value range propagation now assumes that the this pointer of C++
|
# Notably, value range propagation now assumes that the this pointer of C++
|
||||||
# member functions is non-null.
|
# member functions is non-null.
|
||||||
NO_DELETE_NULL_POINTER_CHECKS_CFLAG="-fno-delete-null-pointer-checks"
|
NO_DELETE_NULL_POINTER_CHECKS_CFLAG="-fno-delete-null-pointer-checks"
|
||||||
dnl Argument check is disabled until FLAGS_COMPILER_CHECK_ARGUMENTS handles cross-compilation
|
FLAGS_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [$NO_DELETE_NULL_POINTER_CHECKS_CFLAG -Werror],
|
||||||
dnl FLAGS_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [$NO_DELETE_NULL_POINTER_CHECKS_CFLAG -Werror],
|
PREFIX: $2, IF_FALSE: [NO_DELETE_NULL_POINTER_CHECKS_CFLAG=""])
|
||||||
dnl IF_FALSE: [NO_DELETE_NULL_POINTER_CHECKS_CFLAG=""])
|
|
||||||
NO_LIFETIME_DSE_CFLAG="-fno-lifetime-dse"
|
NO_LIFETIME_DSE_CFLAG="-fno-lifetime-dse"
|
||||||
dnl Argument check is disabled until FLAGS_COMPILER_CHECK_ARGUMENTS handles cross-compilation
|
FLAGS_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [$NO_LIFETIME_DSE_CFLAG -Werror],
|
||||||
dnl FLAGS_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [$NO_LIFETIME_DSE_CFLAG -Werror],
|
PREFIX: $2, IF_FALSE: [NO_LIFETIME_DSE_CFLAG=""])
|
||||||
dnl IF_FALSE: [NO_LIFETIME_DSE_CFLAG=""])
|
|
||||||
AC_MSG_NOTICE([GCC >= 6 detected; adding ${NO_DELETE_NULL_POINTER_CHECKS_CFLAG} and ${NO_LIFETIME_DSE_CFLAG}])
|
|
||||||
$1_GCC6_CFLAGS="${NO_DELETE_NULL_POINTER_CHECKS_CFLAG} ${NO_LIFETIME_DSE_CFLAG}"
|
$1_GCC6_CFLAGS="${NO_DELETE_NULL_POINTER_CHECKS_CFLAG} ${NO_LIFETIME_DSE_CFLAG}"
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|||||||
@@ -72,12 +72,14 @@ AC_DEFUN([FLAGS_SETUP_LDFLAGS_HELPER],
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Add -z defs, to forbid undefined symbols in object files.
|
# Add -z defs, to forbid undefined symbols in object files.
|
||||||
BASIC_LDFLAGS="$BASIC_LDFLAGS -Wl,-z,defs"
|
# add relro (mark relocations read only) for all libs
|
||||||
|
BASIC_LDFLAGS="$BASIC_LDFLAGS -Wl,-z,defs -Wl,-z,relro"
|
||||||
|
# s390x : remove unused code+data in link step
|
||||||
|
if test "x$OPENJDK_TARGET_CPU" = xs390x; then
|
||||||
|
BASIC_LDFLAGS="$BASIC_LDFLAGS -Wl,--gc-sections -Wl,--print-gc-sections"
|
||||||
|
fi
|
||||||
|
|
||||||
BASIC_LDFLAGS_JVM_ONLY="-Wl,-z,noexecstack -Wl,-O1 -Wl,-z,relro"
|
BASIC_LDFLAGS_JVM_ONLY="-Wl,-O1"
|
||||||
|
|
||||||
BASIC_LDFLAGS_JDK_LIB_ONLY="-Wl,-z,noexecstack"
|
|
||||||
LIBJSIG_NOEXECSTACK_LDFLAGS="-Wl,-z,noexecstack"
|
|
||||||
|
|
||||||
elif test "x$TOOLCHAIN_TYPE" = xclang; then
|
elif test "x$TOOLCHAIN_TYPE" = xclang; then
|
||||||
BASIC_LDFLAGS_JVM_ONLY="-mno-omit-leaf-frame-pointer -mstack-alignment=16 \
|
BASIC_LDFLAGS_JVM_ONLY="-mno-omit-leaf-frame-pointer -mstack-alignment=16 \
|
||||||
@@ -103,6 +105,12 @@ AC_DEFUN([FLAGS_SETUP_LDFLAGS_HELPER],
|
|||||||
BASIC_LDFLAGS_JVM_ONLY="-opt:icf,8 -subsystem:windows"
|
BASIC_LDFLAGS_JVM_ONLY="-opt:icf,8 -subsystem:windows"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if test "x$TOOLCHAIN_TYPE" = xgcc || test "x$TOOLCHAIN_TYPE" = xclang; then
|
||||||
|
if test -n "$HAS_NOEXECSTACK"; then
|
||||||
|
BASIC_LDFLAGS="$BASIC_LDFLAGS -Wl,-z,noexecstack"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
# Setup OS-dependent LDFLAGS
|
# Setup OS-dependent LDFLAGS
|
||||||
if test "x$TOOLCHAIN_TYPE" = xclang || test "x$TOOLCHAIN_TYPE" = xgcc; then
|
if test "x$TOOLCHAIN_TYPE" = xclang || test "x$TOOLCHAIN_TYPE" = xgcc; then
|
||||||
if test "x$OPENJDK_TARGET_OS" = xmacosx; then
|
if test "x$OPENJDK_TARGET_OS" = xmacosx; then
|
||||||
@@ -118,9 +126,6 @@ AC_DEFUN([FLAGS_SETUP_LDFLAGS_HELPER],
|
|||||||
if test "x$OPENJDK_TARGET_OS" = xlinux; then
|
if test "x$OPENJDK_TARGET_OS" = xlinux; then
|
||||||
if test x$DEBUG_LEVEL = xrelease; then
|
if test x$DEBUG_LEVEL = xrelease; then
|
||||||
DEBUGLEVEL_LDFLAGS_JDK_ONLY="$DEBUGLEVEL_LDFLAGS_JDK_ONLY -Wl,-O1"
|
DEBUGLEVEL_LDFLAGS_JDK_ONLY="$DEBUGLEVEL_LDFLAGS_JDK_ONLY -Wl,-O1"
|
||||||
else
|
|
||||||
# mark relocations read only on (fast/slow) debug builds
|
|
||||||
DEBUGLEVEL_LDFLAGS_JDK_ONLY="-Wl,-z,relro"
|
|
||||||
fi
|
fi
|
||||||
if test x$DEBUG_LEVEL = xslowdebug; then
|
if test x$DEBUG_LEVEL = xslowdebug; then
|
||||||
# do relocations at load
|
# do relocations at load
|
||||||
@@ -140,6 +145,17 @@ AC_DEFUN([FLAGS_SETUP_LDFLAGS_HELPER],
|
|||||||
# Setup LDFLAGS for linking executables
|
# Setup LDFLAGS for linking executables
|
||||||
if test "x$TOOLCHAIN_TYPE" = xgcc; then
|
if test "x$TOOLCHAIN_TYPE" = xgcc; then
|
||||||
EXECUTABLE_LDFLAGS="$EXECUTABLE_LDFLAGS -Wl,--allow-shlib-undefined"
|
EXECUTABLE_LDFLAGS="$EXECUTABLE_LDFLAGS -Wl,--allow-shlib-undefined"
|
||||||
|
# Enabling pie on 32 bit builds prevents the JVM from allocating a continuous
|
||||||
|
# java heap.
|
||||||
|
if test "x$OPENJDK_TARGET_CPU_BITS" != "x32"; then
|
||||||
|
EXECUTABLE_LDFLAGS="$EXECUTABLE_LDFLAGS -pie"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test "x$ALLOW_ABSOLUTE_PATHS_IN_OUTPUT" = "xfalse"; then
|
||||||
|
if test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
|
||||||
|
BASIC_LDFLAGS="$BASIC_LDFLAGS -pdbaltpath:%_PDB%"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Export some intermediate variables for compatibility
|
# Export some intermediate variables for compatibility
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2011, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
@@ -31,9 +31,7 @@
|
|||||||
AC_DEFUN([FLAGS_SETUP_ARFLAGS],
|
AC_DEFUN([FLAGS_SETUP_ARFLAGS],
|
||||||
[
|
[
|
||||||
# FIXME: figure out if we should select AR flags depending on OS or toolchain.
|
# FIXME: figure out if we should select AR flags depending on OS or toolchain.
|
||||||
if test "x$OPENJDK_TARGET_OS" = xmacosx; then
|
if test "x$OPENJDK_TARGET_OS" = xaix; then
|
||||||
ARFLAGS="-r -mmacosx-version-min=$MACOSX_VERSION_MIN"
|
|
||||||
elif test "x$OPENJDK_TARGET_OS" = xaix; then
|
|
||||||
ARFLAGS="-X64"
|
ARFLAGS="-X64"
|
||||||
elif test "x$OPENJDK_TARGET_OS" = xwindows; then
|
elif test "x$OPENJDK_TARGET_OS" = xwindows; then
|
||||||
# lib.exe is used as AR to create static libraries.
|
# lib.exe is used as AR to create static libraries.
|
||||||
@@ -83,10 +81,10 @@ AC_DEFUN([FLAGS_SETUP_RCFLAGS],
|
|||||||
RC_FLAGS="$RC_FLAGS \
|
RC_FLAGS="$RC_FLAGS \
|
||||||
-D\"JDK_VERSION_STRING=\$(VERSION_STRING)\" \
|
-D\"JDK_VERSION_STRING=\$(VERSION_STRING)\" \
|
||||||
-D\"JDK_COMPANY=\$(COMPANY_NAME)\" \
|
-D\"JDK_COMPANY=\$(COMPANY_NAME)\" \
|
||||||
-D\"JDK_COMPONENT=\$(PRODUCT_NAME) \$(JDK_RC_PLATFORM_NAME) binary\" \
|
-D\"JDK_COMPONENT=\$(JDK_RC_NAME) binary\" \
|
||||||
-D\"JDK_VER=\$(VERSION_NUMBER)\" \
|
-D\"JDK_VER=\$(VERSION_NUMBER)\" \
|
||||||
-D\"JDK_COPYRIGHT=Copyright \xA9 $COPYRIGHT_YEAR\" \
|
-D\"JDK_COPYRIGHT=Copyright \xA9 $COPYRIGHT_YEAR\" \
|
||||||
-D\"JDK_NAME=\$(PRODUCT_NAME) \$(JDK_RC_PLATFORM_NAME) \$(VERSION_FEATURE)\" \
|
-D\"JDK_NAME=\$(JDK_RC_NAME) \$(VERSION_FEATURE)\" \
|
||||||
-D\"JDK_FVER=\$(subst .,\$(COMMA),\$(VERSION_NUMBER_FOUR_POSITIONS))\""
|
-D\"JDK_FVER=\$(subst .,\$(COMMA),\$(VERSION_NUMBER_FOUR_POSITIONS))\""
|
||||||
|
|
||||||
JVM_RCFLAGS="$JVM_RCFLAGS \
|
JVM_RCFLAGS="$JVM_RCFLAGS \
|
||||||
|
|||||||
@@ -162,6 +162,10 @@ AC_DEFUN_ONCE([FLAGS_SETUP_USER_SUPPLIED_FLAGS],
|
|||||||
AC_MSG_WARN([Ignoring LDFLAGS($LDFLAGS) found in environment. Use --with-extra-ldflags])
|
AC_MSG_WARN([Ignoring LDFLAGS($LDFLAGS) found in environment. Use --with-extra-ldflags])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if test "x$ASFLAGS" != "x"; then
|
||||||
|
AC_MSG_WARN([Ignoring ASFLAGS($ASFLAGS) found in environment. Use --with-extra-asflags])
|
||||||
|
fi
|
||||||
|
|
||||||
AC_ARG_WITH(extra-cflags, [AS_HELP_STRING([--with-extra-cflags],
|
AC_ARG_WITH(extra-cflags, [AS_HELP_STRING([--with-extra-cflags],
|
||||||
[extra flags to be used when compiling jdk c-files])])
|
[extra flags to be used when compiling jdk c-files])])
|
||||||
|
|
||||||
@@ -171,9 +175,13 @@ AC_DEFUN_ONCE([FLAGS_SETUP_USER_SUPPLIED_FLAGS],
|
|||||||
AC_ARG_WITH(extra-ldflags, [AS_HELP_STRING([--with-extra-ldflags],
|
AC_ARG_WITH(extra-ldflags, [AS_HELP_STRING([--with-extra-ldflags],
|
||||||
[extra flags to be used when linking jdk])])
|
[extra flags to be used when linking jdk])])
|
||||||
|
|
||||||
|
AC_ARG_WITH(extra-asflags, [AS_HELP_STRING([--with-extra-asflags],
|
||||||
|
[extra flags to be passed to the assembler])])
|
||||||
|
|
||||||
USER_CFLAGS="$with_extra_cflags"
|
USER_CFLAGS="$with_extra_cflags"
|
||||||
USER_CXXFLAGS="$with_extra_cxxflags"
|
USER_CXXFLAGS="$with_extra_cxxflags"
|
||||||
USER_LDFLAGS="$with_extra_ldflags"
|
USER_LDFLAGS="$with_extra_ldflags"
|
||||||
|
USER_ASFLAGS="$with_extra_asflags"
|
||||||
])
|
])
|
||||||
|
|
||||||
# Setup the sysroot flags and add them to global CFLAGS and LDFLAGS so
|
# Setup the sysroot flags and add them to global CFLAGS and LDFLAGS so
|
||||||
@@ -265,10 +273,12 @@ AC_DEFUN_ONCE([FLAGS_PRE_TOOLCHAIN],
|
|||||||
EXTRA_CFLAGS="$MACHINE_FLAG $USER_CFLAGS"
|
EXTRA_CFLAGS="$MACHINE_FLAG $USER_CFLAGS"
|
||||||
EXTRA_CXXFLAGS="$MACHINE_FLAG $USER_CXXFLAGS"
|
EXTRA_CXXFLAGS="$MACHINE_FLAG $USER_CXXFLAGS"
|
||||||
EXTRA_LDFLAGS="$MACHINE_FLAG $USER_LDFLAGS"
|
EXTRA_LDFLAGS="$MACHINE_FLAG $USER_LDFLAGS"
|
||||||
|
EXTRA_ASFLAGS="$USER_ASFLAGS"
|
||||||
|
|
||||||
AC_SUBST(EXTRA_CFLAGS)
|
AC_SUBST(EXTRA_CFLAGS)
|
||||||
AC_SUBST(EXTRA_CXXFLAGS)
|
AC_SUBST(EXTRA_CXXFLAGS)
|
||||||
AC_SUBST(EXTRA_LDFLAGS)
|
AC_SUBST(EXTRA_LDFLAGS)
|
||||||
|
AC_SUBST(EXTRA_ASFLAGS)
|
||||||
|
|
||||||
# For autoconf testing to work, the global flags must also be stored in the
|
# For autoconf testing to work, the global flags must also be stored in the
|
||||||
# "unnamed" CFLAGS etc.
|
# "unnamed" CFLAGS etc.
|
||||||
@@ -335,8 +345,12 @@ AC_DEFUN([FLAGS_SETUP_TOOLCHAIN_CONTROL],
|
|||||||
CC_OUT_OPTION='-o$(SPACE)'
|
CC_OUT_OPTION='-o$(SPACE)'
|
||||||
# When linking, how to specify the output
|
# When linking, how to specify the output
|
||||||
LD_OUT_OPTION='-o$(SPACE)'
|
LD_OUT_OPTION='-o$(SPACE)'
|
||||||
# When archiving, how to specify the to be create static archive for object files.
|
# When archiving, how to specify the destination static archive.
|
||||||
AR_OUT_OPTION='rcs$(SPACE)'
|
if test "x$OPENJDK_TARGET_OS" = xmacosx; then
|
||||||
|
AR_OUT_OPTION='-r -cs$(SPACE)'
|
||||||
|
else
|
||||||
|
AR_OUT_OPTION='-rcs$(SPACE)'
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
AC_SUBST(CC_OUT_OPTION)
|
AC_SUBST(CC_OUT_OPTION)
|
||||||
AC_SUBST(LD_OUT_OPTION)
|
AC_SUBST(LD_OUT_OPTION)
|
||||||
@@ -402,17 +416,20 @@ AC_DEFUN([FLAGS_SETUP_FLAGS],
|
|||||||
# ------------------------------------------------------------
|
# ------------------------------------------------------------
|
||||||
# Check that the C compiler supports an argument
|
# Check that the C compiler supports an argument
|
||||||
BASIC_DEFUN_NAMED([FLAGS_C_COMPILER_CHECK_ARGUMENTS],
|
BASIC_DEFUN_NAMED([FLAGS_C_COMPILER_CHECK_ARGUMENTS],
|
||||||
[*ARGUMENT IF_TRUE IF_FALSE], [$@],
|
[*ARGUMENT IF_TRUE IF_FALSE PREFIX], [$@],
|
||||||
[
|
[
|
||||||
AC_MSG_CHECKING([if the C compiler supports "ARG_ARGUMENT"])
|
AC_MSG_CHECKING([if ARG_PREFIX[CC] supports "ARG_ARGUMENT"])
|
||||||
supports=yes
|
supports=yes
|
||||||
|
|
||||||
saved_cflags="$CFLAGS"
|
saved_cflags="$CFLAGS"
|
||||||
|
saved_cc="$CC"
|
||||||
CFLAGS="$CFLAGS ARG_ARGUMENT"
|
CFLAGS="$CFLAGS ARG_ARGUMENT"
|
||||||
|
CC="$ARG_PREFIX[CC]"
|
||||||
AC_LANG_PUSH([C])
|
AC_LANG_PUSH([C])
|
||||||
AC_COMPILE_IFELSE([AC_LANG_SOURCE([[int i;]])], [],
|
AC_COMPILE_IFELSE([AC_LANG_SOURCE([[int i;]])], [],
|
||||||
[supports=no])
|
[supports=no])
|
||||||
AC_LANG_POP([C])
|
AC_LANG_POP([C])
|
||||||
|
CC="$saved_cc"
|
||||||
CFLAGS="$saved_cflags"
|
CFLAGS="$saved_cflags"
|
||||||
|
|
||||||
AC_MSG_RESULT([$supports])
|
AC_MSG_RESULT([$supports])
|
||||||
@@ -430,17 +447,20 @@ BASIC_DEFUN_NAMED([FLAGS_C_COMPILER_CHECK_ARGUMENTS],
|
|||||||
# ------------------------------------------------------------
|
# ------------------------------------------------------------
|
||||||
# Check that the C++ compiler supports an argument
|
# Check that the C++ compiler supports an argument
|
||||||
BASIC_DEFUN_NAMED([FLAGS_CXX_COMPILER_CHECK_ARGUMENTS],
|
BASIC_DEFUN_NAMED([FLAGS_CXX_COMPILER_CHECK_ARGUMENTS],
|
||||||
[*ARGUMENT IF_TRUE IF_FALSE], [$@],
|
[*ARGUMENT IF_TRUE IF_FALSE PREFIX], [$@],
|
||||||
[
|
[
|
||||||
AC_MSG_CHECKING([if the C++ compiler supports "ARG_ARGUMENT"])
|
AC_MSG_CHECKING([if ARG_PREFIX[CXX] supports "ARG_ARGUMENT"])
|
||||||
supports=yes
|
supports=yes
|
||||||
|
|
||||||
saved_cxxflags="$CXXFLAGS"
|
saved_cxxflags="$CXXFLAGS"
|
||||||
|
saved_cxx="$CXX"
|
||||||
CXXFLAGS="$CXXFLAG ARG_ARGUMENT"
|
CXXFLAGS="$CXXFLAG ARG_ARGUMENT"
|
||||||
|
CXX="$ARG_PREFIX[CXX]"
|
||||||
AC_LANG_PUSH([C++])
|
AC_LANG_PUSH([C++])
|
||||||
AC_COMPILE_IFELSE([AC_LANG_SOURCE([[int i;]])], [],
|
AC_COMPILE_IFELSE([AC_LANG_SOURCE([[int i;]])], [],
|
||||||
[supports=no])
|
[supports=no])
|
||||||
AC_LANG_POP([C++])
|
AC_LANG_POP([C++])
|
||||||
|
CXX="$saved_cxx"
|
||||||
CXXFLAGS="$saved_cxxflags"
|
CXXFLAGS="$saved_cxxflags"
|
||||||
|
|
||||||
AC_MSG_RESULT([$supports])
|
AC_MSG_RESULT([$supports])
|
||||||
@@ -458,18 +478,22 @@ BASIC_DEFUN_NAMED([FLAGS_CXX_COMPILER_CHECK_ARGUMENTS],
|
|||||||
# ------------------------------------------------------------
|
# ------------------------------------------------------------
|
||||||
# Check that the C and C++ compilers support an argument
|
# Check that the C and C++ compilers support an argument
|
||||||
BASIC_DEFUN_NAMED([FLAGS_COMPILER_CHECK_ARGUMENTS],
|
BASIC_DEFUN_NAMED([FLAGS_COMPILER_CHECK_ARGUMENTS],
|
||||||
[*ARGUMENT IF_TRUE IF_FALSE], [$@],
|
[*ARGUMENT IF_TRUE IF_FALSE PREFIX], [$@],
|
||||||
[
|
[
|
||||||
FLAGS_C_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [ARG_ARGUMENT],
|
FLAGS_C_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [ARG_ARGUMENT],
|
||||||
IF_TRUE: [C_COMP_SUPPORTS="yes"],
|
IF_TRUE: [C_COMP_SUPPORTS="yes"],
|
||||||
IF_FALSE: [C_COMP_SUPPORTS="no"])
|
IF_FALSE: [C_COMP_SUPPORTS="no"],
|
||||||
|
PREFIX: [ARG_PREFIX])
|
||||||
FLAGS_CXX_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [ARG_ARGUMENT],
|
FLAGS_CXX_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [ARG_ARGUMENT],
|
||||||
IF_TRUE: [CXX_COMP_SUPPORTS="yes"],
|
IF_TRUE: [CXX_COMP_SUPPORTS="yes"],
|
||||||
IF_FALSE: [CXX_COMP_SUPPORTS="no"])
|
IF_FALSE: [CXX_COMP_SUPPORTS="no"],
|
||||||
|
PREFIX: [ARG_PREFIX])
|
||||||
|
|
||||||
AC_MSG_CHECKING([if both compilers support "ARG_ARGUMENT"])
|
AC_MSG_CHECKING([if both ARG_PREFIX[CC] and ARG_PREFIX[CXX] support "ARG_ARGUMENT"])
|
||||||
supports=no
|
supports=no
|
||||||
if test "x$C_COMP_SUPPORTS" = "xyes" -a "x$CXX_COMP_SUPPORTS" = "xyes"; then supports=yes; fi
|
if test "x$C_COMP_SUPPORTS" = "xyes" -a "x$CXX_COMP_SUPPORTS" = "xyes"; then
|
||||||
|
supports=yes;
|
||||||
|
fi
|
||||||
|
|
||||||
AC_MSG_RESULT([$supports])
|
AC_MSG_RESULT([$supports])
|
||||||
if test "x$supports" = "xyes" ; then
|
if test "x$supports" = "xyes" ; then
|
||||||
|
|||||||
@@ -102,7 +102,7 @@ apt_help() {
|
|||||||
ffi)
|
ffi)
|
||||||
PKGHANDLER_COMMAND="sudo apt-get install libffi-dev" ;;
|
PKGHANDLER_COMMAND="sudo apt-get install libffi-dev" ;;
|
||||||
x11)
|
x11)
|
||||||
PKGHANDLER_COMMAND="sudo apt-get install libx11-dev libxext-dev libxrender-dev libxtst-dev libxt-dev" ;;
|
PKGHANDLER_COMMAND="sudo apt-get install libx11-dev libxext-dev libxrender-dev libxrandr-dev libxtst-dev libxt-dev" ;;
|
||||||
ccache)
|
ccache)
|
||||||
PKGHANDLER_COMMAND="sudo apt-get install ccache" ;;
|
PKGHANDLER_COMMAND="sudo apt-get install ccache" ;;
|
||||||
dtrace)
|
dtrace)
|
||||||
@@ -125,7 +125,7 @@ yum_help() {
|
|||||||
freetype)
|
freetype)
|
||||||
PKGHANDLER_COMMAND="sudo yum install freetype-devel" ;;
|
PKGHANDLER_COMMAND="sudo yum install freetype-devel" ;;
|
||||||
x11)
|
x11)
|
||||||
PKGHANDLER_COMMAND="sudo yum install libXtst-devel libXt-devel libXrender-devel libXi-devel" ;;
|
PKGHANDLER_COMMAND="sudo yum install libXtst-devel libXt-devel libXrender-devel libXrandr-devel libXi-devel" ;;
|
||||||
ccache)
|
ccache)
|
||||||
PKGHANDLER_COMMAND="sudo yum install ccache" ;;
|
PKGHANDLER_COMMAND="sudo yum install ccache" ;;
|
||||||
esac
|
esac
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2011, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
@@ -295,15 +295,21 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_DEBUG_SYMBOLS],
|
|||||||
if test "x$withval" = xexternal || test "x$withval" = xzipped; then
|
if test "x$withval" = xexternal || test "x$withval" = xzipped; then
|
||||||
AC_MSG_ERROR([AIX only supports the parameters 'none' and 'internal' for --with-native-debug-symbols])
|
AC_MSG_ERROR([AIX only supports the parameters 'none' and 'internal' for --with-native-debug-symbols])
|
||||||
fi
|
fi
|
||||||
|
else
|
||||||
|
if test "x$OPENJDK_TARGET_OS" = xwindows; then
|
||||||
|
if test "x$withval" = xinternal; then
|
||||||
|
AC_MSG_ERROR([Windows does not support the parameter 'internal' for --with-native-debug-symbols])
|
||||||
|
fi
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
if test "x$OPENJDK_TARGET_OS" = xaix; then
|
if test "x$STATIC_BUILD" = xtrue; then
|
||||||
# AIX doesn't support 'external' so use 'internal' as default
|
with_native_debug_symbols="none"
|
||||||
with_native_debug_symbols="internal"
|
|
||||||
else
|
else
|
||||||
if test "x$STATIC_BUILD" = xtrue; then
|
if test "x$OPENJDK_TARGET_OS" = xaix; then
|
||||||
with_native_debug_symbols="none"
|
# AIX doesn't support 'external' so use 'internal' as default
|
||||||
|
with_native_debug_symbols="internal"
|
||||||
else
|
else
|
||||||
with_native_debug_symbols="external"
|
with_native_debug_symbols="external"
|
||||||
fi
|
fi
|
||||||
@@ -312,20 +318,7 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_DEBUG_SYMBOLS],
|
|||||||
NATIVE_DEBUG_SYMBOLS=$with_native_debug_symbols
|
NATIVE_DEBUG_SYMBOLS=$with_native_debug_symbols
|
||||||
AC_MSG_RESULT([$NATIVE_DEBUG_SYMBOLS])
|
AC_MSG_RESULT([$NATIVE_DEBUG_SYMBOLS])
|
||||||
|
|
||||||
if test "x$NATIVE_DEBUG_SYMBOLS" = xzipped; then
|
if test "x$NATIVE_DEBUG_SYMBOLS" = xnone; then
|
||||||
|
|
||||||
if test "x$OPENJDK_TARGET_OS" = xsolaris || test "x$OPENJDK_TARGET_OS" = xlinux; then
|
|
||||||
if test "x$OBJCOPY" = x; then
|
|
||||||
# enabling of enable-debug-symbols and can't find objcopy
|
|
||||||
# this is an error
|
|
||||||
AC_MSG_ERROR([Unable to find objcopy, cannot enable native debug symbols])
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
COMPILE_WITH_DEBUG_SYMBOLS=true
|
|
||||||
COPY_DEBUG_SYMBOLS=true
|
|
||||||
ZIP_EXTERNAL_DEBUG_SYMBOLS=true
|
|
||||||
elif test "x$NATIVE_DEBUG_SYMBOLS" = xnone; then
|
|
||||||
COMPILE_WITH_DEBUG_SYMBOLS=false
|
COMPILE_WITH_DEBUG_SYMBOLS=false
|
||||||
COPY_DEBUG_SYMBOLS=false
|
COPY_DEBUG_SYMBOLS=false
|
||||||
ZIP_EXTERNAL_DEBUG_SYMBOLS=false
|
ZIP_EXTERNAL_DEBUG_SYMBOLS=false
|
||||||
@@ -346,6 +339,19 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_DEBUG_SYMBOLS],
|
|||||||
COMPILE_WITH_DEBUG_SYMBOLS=true
|
COMPILE_WITH_DEBUG_SYMBOLS=true
|
||||||
COPY_DEBUG_SYMBOLS=true
|
COPY_DEBUG_SYMBOLS=true
|
||||||
ZIP_EXTERNAL_DEBUG_SYMBOLS=false
|
ZIP_EXTERNAL_DEBUG_SYMBOLS=false
|
||||||
|
elif test "x$NATIVE_DEBUG_SYMBOLS" = xzipped; then
|
||||||
|
|
||||||
|
if test "x$OPENJDK_TARGET_OS" = xsolaris || test "x$OPENJDK_TARGET_OS" = xlinux; then
|
||||||
|
if test "x$OBJCOPY" = x; then
|
||||||
|
# enabling of enable-debug-symbols and can't find objcopy
|
||||||
|
# this is an error
|
||||||
|
AC_MSG_ERROR([Unable to find objcopy, cannot enable native debug symbols])
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
COMPILE_WITH_DEBUG_SYMBOLS=true
|
||||||
|
COPY_DEBUG_SYMBOLS=true
|
||||||
|
ZIP_EXTERNAL_DEBUG_SYMBOLS=true
|
||||||
else
|
else
|
||||||
AC_MSG_ERROR([Allowed native debug symbols are: none, internal, external, zipped])
|
AC_MSG_ERROR([Allowed native debug symbols are: none, internal, external, zipped])
|
||||||
fi
|
fi
|
||||||
@@ -630,3 +636,35 @@ AC_DEFUN([JDKOPT_ENABLE_DISABLE_MANPAGES],
|
|||||||
|
|
||||||
AC_SUBST(BUILD_MANPAGES)
|
AC_SUBST(BUILD_MANPAGES)
|
||||||
])
|
])
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
#
|
||||||
|
# Disallow any output from containing absolute paths from the build system.
|
||||||
|
# This setting defaults to allowed on debug builds and not allowed on release
|
||||||
|
# builds.
|
||||||
|
#
|
||||||
|
AC_DEFUN([JDKOPT_ALLOW_ABSOLUTE_PATHS_IN_OUTPUT],
|
||||||
|
[
|
||||||
|
AC_ARG_ENABLE([absolute-paths-in-output],
|
||||||
|
[AS_HELP_STRING([--disable-absolute-paths-in-output],
|
||||||
|
[Set to disable to prevent any absolute paths from the build to end up in
|
||||||
|
any of the build output. @<:@disabled in release builds, otherwise enabled@:>@])
|
||||||
|
])
|
||||||
|
|
||||||
|
AC_MSG_CHECKING([if absolute paths should be allowed in the build output])
|
||||||
|
if test "x$enable_absolute_paths_in_output" = "xno"; then
|
||||||
|
AC_MSG_RESULT([no, forced])
|
||||||
|
ALLOW_ABSOLUTE_PATHS_IN_OUTPUT="false"
|
||||||
|
elif test "x$enable_absolute_paths_in_output" = "xyes"; then
|
||||||
|
AC_MSG_RESULT([yes, forced])
|
||||||
|
ALLOW_ABSOLUTE_PATHS_IN_OUTPUT="true"
|
||||||
|
elif test "x$DEBUG_LEVEL" = "xrelease"; then
|
||||||
|
AC_MSG_RESULT([no, release build])
|
||||||
|
ALLOW_ABSOLUTE_PATHS_IN_OUTPUT="false"
|
||||||
|
else
|
||||||
|
AC_MSG_RESULT([yes, debug build])
|
||||||
|
ALLOW_ABSOLUTE_PATHS_IN_OUTPUT="true"
|
||||||
|
fi
|
||||||
|
|
||||||
|
AC_SUBST(ALLOW_ABSOLUTE_PATHS_IN_OUTPUT)
|
||||||
|
])
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2015, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
@@ -75,9 +75,52 @@ AC_DEFUN_ONCE([JDKVER_SETUP_JDK_VERSION_NUMBERS],
|
|||||||
AC_SUBST(PRODUCT_SUFFIX)
|
AC_SUBST(PRODUCT_SUFFIX)
|
||||||
AC_SUBST(JDK_RC_PLATFORM_NAME)
|
AC_SUBST(JDK_RC_PLATFORM_NAME)
|
||||||
AC_SUBST(HOTSPOT_VM_DISTRO)
|
AC_SUBST(HOTSPOT_VM_DISTRO)
|
||||||
|
|
||||||
|
# Set the MACOSX Bundle Name base
|
||||||
|
AC_ARG_WITH(macosx-bundle-name-base, [AS_HELP_STRING([--with-macosx-bundle-name-base],
|
||||||
|
[Set the MacOSX Bundle Name base. This is the base name for calculating MacOSX Bundle Names.
|
||||||
|
@<:@not specified@:>@])])
|
||||||
|
if test "x$with_macosx_bundle_name_base" = xyes; then
|
||||||
|
AC_MSG_ERROR([--with-macosx-bundle-name-base must have a value])
|
||||||
|
elif [ ! [[ $with_macosx_bundle_name_base =~ ^[[:print:]]*$ ]] ]; then
|
||||||
|
AC_MSG_ERROR([--with-macosx-bundle-name-base contains non-printing characters: $with_macosx_bundle_name_base])
|
||||||
|
elif test "x$with_macosx_bundle_name_base" != x; then
|
||||||
|
# Set MACOSX_BUNDLE_NAME_BASE to the configured value.
|
||||||
|
MACOSX_BUNDLE_NAME_BASE="$with_macosx_bundle_name_base"
|
||||||
|
fi
|
||||||
AC_SUBST(MACOSX_BUNDLE_NAME_BASE)
|
AC_SUBST(MACOSX_BUNDLE_NAME_BASE)
|
||||||
|
|
||||||
|
# Set the MACOSX Bundle ID base
|
||||||
|
AC_ARG_WITH(macosx-bundle-id-base, [AS_HELP_STRING([--with-macosx-bundle-id-base],
|
||||||
|
[Set the MacOSX Bundle ID base. This is the base ID for calculating MacOSX Bundle IDs.
|
||||||
|
@<:@not specified@:>@])])
|
||||||
|
if test "x$with_macosx_bundle_id_base" = xyes; then
|
||||||
|
AC_MSG_ERROR([--with-macosx-bundle-id-base must have a value])
|
||||||
|
elif [ ! [[ $with_macosx_bundle_id_base =~ ^[[:print:]]*$ ]] ]; then
|
||||||
|
AC_MSG_ERROR([--with-macosx-bundle-id-base contains non-printing characters: $with_macosx_bundle_id_base])
|
||||||
|
elif test "x$with_macosx_bundle_id_base" != x; then
|
||||||
|
# Set MACOSX_BUNDLE_ID_BASE to the configured value.
|
||||||
|
MACOSX_BUNDLE_ID_BASE="$with_macosx_bundle_id_base"
|
||||||
|
fi
|
||||||
AC_SUBST(MACOSX_BUNDLE_ID_BASE)
|
AC_SUBST(MACOSX_BUNDLE_ID_BASE)
|
||||||
|
|
||||||
|
# Set the JDK RC name
|
||||||
|
AC_ARG_WITH(jdk-rc-name, [AS_HELP_STRING([--with-jdk-rc-name],
|
||||||
|
[Set JDK RC name. This is used for FileDescription and ProductName properties
|
||||||
|
of MS Windows binaries. @<:@not specified@:>@])])
|
||||||
|
if test "x$with_jdk_rc_name" = xyes; then
|
||||||
|
AC_MSG_ERROR([--with-jdk-rc-name must have a value])
|
||||||
|
elif [ ! [[ $with_jdk_rc_name =~ ^[[:print:]]*$ ]] ]; then
|
||||||
|
AC_MSG_ERROR([--with-jdk-rc-name contains non-printing characters: $with_jdk_rc_name])
|
||||||
|
elif test "x$with_jdk_rc_name" != x; then
|
||||||
|
# Set JDK_RC_NAME to a custom value if '--with-jdk-rc-name' was used and is not empty.
|
||||||
|
JDK_RC_NAME="$with_jdk_rc_name"
|
||||||
|
else
|
||||||
|
# Otherwise calculate from "version-numbers" included above.
|
||||||
|
JDK_RC_NAME="$PRODUCT_NAME $JDK_RC_PLATFORM_NAME"
|
||||||
|
fi
|
||||||
|
AC_SUBST(JDK_RC_NAME)
|
||||||
|
|
||||||
# The vendor name, if any
|
# The vendor name, if any
|
||||||
AC_ARG_WITH(vendor-name, [AS_HELP_STRING([--with-vendor-name],
|
AC_ARG_WITH(vendor-name, [AS_HELP_STRING([--with-vendor-name],
|
||||||
[Set vendor name. Among others, used to set the 'java.vendor'
|
[Set vendor name. Among others, used to set the 'java.vendor'
|
||||||
|
|||||||
@@ -186,6 +186,9 @@ AC_DEFUN_ONCE([LIB_SETUP_FREETYPE],
|
|||||||
FREETYPE_BASE_DIR="$SYSROOT/usr"
|
FREETYPE_BASE_DIR="$SYSROOT/usr"
|
||||||
if (test "x$OPENJDK_TARGET_CPU_BITS" = "x64"); then
|
if (test "x$OPENJDK_TARGET_CPU_BITS" = "x64"); then
|
||||||
LIB_CHECK_POTENTIAL_FREETYPE([$FREETYPE_BASE_DIR/include], [$FREETYPE_BASE_DIR/lib/$OPENJDK_TARGET_CPU-linux-gnu], [well-known location])
|
LIB_CHECK_POTENTIAL_FREETYPE([$FREETYPE_BASE_DIR/include], [$FREETYPE_BASE_DIR/lib/$OPENJDK_TARGET_CPU-linux-gnu], [well-known location])
|
||||||
|
if (test "x$FOUND_FREETYPE" != "xyes"); then
|
||||||
|
LIB_CHECK_POTENTIAL_FREETYPE([$FREETYPE_BASE_DIR/include], [$FREETYPE_BASE_DIR/lib64], [well-known location])
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
LIB_CHECK_POTENTIAL_FREETYPE([$FREETYPE_BASE_DIR/include], [$FREETYPE_BASE_DIR/lib/i386-linux-gnu], [well-known location])
|
LIB_CHECK_POTENTIAL_FREETYPE([$FREETYPE_BASE_DIR/include], [$FREETYPE_BASE_DIR/lib/i386-linux-gnu], [well-known location])
|
||||||
if (test "x$FOUND_FREETYPE" != "xyes"); then
|
if (test "x$FOUND_FREETYPE" != "xyes"); then
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
@@ -99,8 +99,14 @@ AC_DEFUN_ONCE([LIB_SETUP_X11],
|
|||||||
OLD_CFLAGS="$CFLAGS"
|
OLD_CFLAGS="$CFLAGS"
|
||||||
CFLAGS="$CFLAGS $SYSROOT_CFLAGS $X_CFLAGS"
|
CFLAGS="$CFLAGS $SYSROOT_CFLAGS $X_CFLAGS"
|
||||||
|
|
||||||
|
HEADERS_TO_CHECK="X11/extensions/shape.h X11/extensions/Xrender.h X11/extensions/XTest.h X11/Intrinsic.h"
|
||||||
|
# There is no Xrandr extension on AIX
|
||||||
|
if test "x$OPENJDK_TARGET_OS" != xaix; then
|
||||||
|
HEADERS_TO_CHECK="$HEADERS_TO_CHECK X11/extensions/Xrandr.h"
|
||||||
|
fi
|
||||||
|
|
||||||
# Need to include Xlib.h and Xutil.h to avoid "present but cannot be compiled" warnings on Solaris 10
|
# Need to include Xlib.h and Xutil.h to avoid "present but cannot be compiled" warnings on Solaris 10
|
||||||
AC_CHECK_HEADERS([X11/extensions/shape.h X11/extensions/Xrender.h X11/extensions/XTest.h X11/Intrinsic.h],
|
AC_CHECK_HEADERS([$HEADERS_TO_CHECK],
|
||||||
[X11_HEADERS_OK=yes],
|
[X11_HEADERS_OK=yes],
|
||||||
[X11_HEADERS_OK=no; break],
|
[X11_HEADERS_OK=no; break],
|
||||||
[
|
[
|
||||||
@@ -111,7 +117,7 @@ AC_DEFUN_ONCE([LIB_SETUP_X11],
|
|||||||
|
|
||||||
if test "x$X11_HEADERS_OK" = xno; then
|
if test "x$X11_HEADERS_OK" = xno; then
|
||||||
HELP_MSG_MISSING_DEPENDENCY([x11])
|
HELP_MSG_MISSING_DEPENDENCY([x11])
|
||||||
AC_MSG_ERROR([Could not find all X11 headers (shape.h Xrender.h XTest.h Intrinsic.h). $HELP_MSG])
|
AC_MSG_ERROR([Could not find all X11 headers (shape.h Xrender.h Xrandr.h XTest.h Intrinsic.h). $HELP_MSG])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# If XLinearGradient isn't available in Xrender.h, signal that it needs to be
|
# If XLinearGradient isn't available in Xrender.h, signal that it needs to be
|
||||||
|
|||||||
@@ -130,6 +130,11 @@ AC_DEFUN_ONCE([LIB_SETUP_LIBRARIES],
|
|||||||
BASIC_JVM_LIBS="$BASIC_JVM_LIBS -lthread"
|
BASIC_JVM_LIBS="$BASIC_JVM_LIBS -lthread"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# perfstat lib
|
||||||
|
if test "x$OPENJDK_TARGET_OS" = xaix; then
|
||||||
|
BASIC_JVM_LIBS="$BASIC_JVM_LIBS -lperfstat"
|
||||||
|
fi
|
||||||
|
|
||||||
if test "x$OPENJDK_TARGET_OS" = xsolaris; then
|
if test "x$OPENJDK_TARGET_OS" = xsolaris; then
|
||||||
BASIC_JVM_LIBS="$BASIC_JVM_LIBS -lsocket -lsched -ldoor -ldemangle -lnsl \
|
BASIC_JVM_LIBS="$BASIC_JVM_LIBS -lsocket -lsched -ldoor -ldemangle -lnsl \
|
||||||
-lrt -lkstat"
|
-lrt -lkstat"
|
||||||
|
|||||||
@@ -130,8 +130,9 @@ SYSROOT_LDFLAGS := @SYSROOT_LDFLAGS@
|
|||||||
|
|
||||||
# The top-level directory of the source repository
|
# The top-level directory of the source repository
|
||||||
TOPDIR:=@TOPDIR@
|
TOPDIR:=@TOPDIR@
|
||||||
|
# Usually the top level directory, but could be something else if a custom
|
||||||
|
# root is defined.
|
||||||
|
WORKSPACE_ROOT:=@WORKSPACE_ROOT@
|
||||||
IMPORT_MODULES_CLASSES:=@IMPORT_MODULES_CLASSES@
|
IMPORT_MODULES_CLASSES:=@IMPORT_MODULES_CLASSES@
|
||||||
IMPORT_MODULES_CMDS:=@IMPORT_MODULES_CMDS@
|
IMPORT_MODULES_CMDS:=@IMPORT_MODULES_CMDS@
|
||||||
IMPORT_MODULES_LIBS:=@IMPORT_MODULES_LIBS@
|
IMPORT_MODULES_LIBS:=@IMPORT_MODULES_LIBS@
|
||||||
@@ -148,6 +149,7 @@ LAUNCHER_NAME:=@LAUNCHER_NAME@
|
|||||||
PRODUCT_NAME:=@PRODUCT_NAME@
|
PRODUCT_NAME:=@PRODUCT_NAME@
|
||||||
PRODUCT_SUFFIX:=@PRODUCT_SUFFIX@
|
PRODUCT_SUFFIX:=@PRODUCT_SUFFIX@
|
||||||
JDK_RC_PLATFORM_NAME:=@JDK_RC_PLATFORM_NAME@
|
JDK_RC_PLATFORM_NAME:=@JDK_RC_PLATFORM_NAME@
|
||||||
|
JDK_RC_NAME:=@JDK_RC_NAME@
|
||||||
COMPANY_NAME:=@COMPANY_NAME@
|
COMPANY_NAME:=@COMPANY_NAME@
|
||||||
HOTSPOT_VM_DISTRO:=@HOTSPOT_VM_DISTRO@
|
HOTSPOT_VM_DISTRO:=@HOTSPOT_VM_DISTRO@
|
||||||
MACOSX_BUNDLE_NAME_BASE=@MACOSX_BUNDLE_NAME_BASE@
|
MACOSX_BUNDLE_NAME_BASE=@MACOSX_BUNDLE_NAME_BASE@
|
||||||
@@ -313,6 +315,8 @@ EXCLUDE_TRANSLATIONS := @EXCLUDE_TRANSLATIONS@
|
|||||||
|
|
||||||
BUILD_MANPAGES := @BUILD_MANPAGES@
|
BUILD_MANPAGES := @BUILD_MANPAGES@
|
||||||
|
|
||||||
|
ALLOW_ABSOLUTE_PATHS_IN_OUTPUT := @ALLOW_ABSOLUTE_PATHS_IN_OUTPUT@
|
||||||
|
|
||||||
# The boot jdk to use. This is overridden in bootcycle-spec.gmk. Make sure to keep
|
# The boot jdk to use. This is overridden in bootcycle-spec.gmk. Make sure to keep
|
||||||
# it in sync.
|
# it in sync.
|
||||||
BOOT_JDK:=@BOOT_JDK@
|
BOOT_JDK:=@BOOT_JDK@
|
||||||
@@ -356,6 +360,7 @@ LIBFFI_CFLAGS:=@LIBFFI_CFLAGS@
|
|||||||
ENABLE_LIBFFI_BUNDLING:=@ENABLE_LIBFFI_BUNDLING@
|
ENABLE_LIBFFI_BUNDLING:=@ENABLE_LIBFFI_BUNDLING@
|
||||||
LIBFFI_LIB_FILE:=@LIBFFI_LIB_FILE@
|
LIBFFI_LIB_FILE:=@LIBFFI_LIB_FILE@
|
||||||
GRAALUNIT_LIB := @GRAALUNIT_LIB@
|
GRAALUNIT_LIB := @GRAALUNIT_LIB@
|
||||||
|
FILE_MACRO_CFLAGS := @FILE_MACRO_CFLAGS@
|
||||||
|
|
||||||
PACKAGE_PATH=@PACKAGE_PATH@
|
PACKAGE_PATH=@PACKAGE_PATH@
|
||||||
|
|
||||||
@@ -386,6 +391,9 @@ MACOSX_VERSION_MIN=@MACOSX_VERSION_MIN@
|
|||||||
# The highest allowed version of macosx
|
# The highest allowed version of macosx
|
||||||
MACOSX_VERSION_MAX=@MACOSX_VERSION_MAX@
|
MACOSX_VERSION_MAX=@MACOSX_VERSION_MAX@
|
||||||
|
|
||||||
|
# The macosx code signing identity to use
|
||||||
|
MACOSX_CODESIGN_IDENTITY=@MACOSX_CODESIGN_IDENTITY@
|
||||||
|
|
||||||
# Toolchain type: gcc, clang, solstudio, lxc, microsoft...
|
# Toolchain type: gcc, clang, solstudio, lxc, microsoft...
|
||||||
TOOLCHAIN_TYPE:=@TOOLCHAIN_TYPE@
|
TOOLCHAIN_TYPE:=@TOOLCHAIN_TYPE@
|
||||||
TOOLCHAIN_VERSION := @TOOLCHAIN_VERSION@
|
TOOLCHAIN_VERSION := @TOOLCHAIN_VERSION@
|
||||||
@@ -461,6 +469,7 @@ JVM_RCFLAGS := @JVM_RCFLAGS@
|
|||||||
EXTRA_CFLAGS = @EXTRA_CFLAGS@
|
EXTRA_CFLAGS = @EXTRA_CFLAGS@
|
||||||
EXTRA_CXXFLAGS = @EXTRA_CXXFLAGS@
|
EXTRA_CXXFLAGS = @EXTRA_CXXFLAGS@
|
||||||
EXTRA_LDFLAGS = @EXTRA_LDFLAGS@
|
EXTRA_LDFLAGS = @EXTRA_LDFLAGS@
|
||||||
|
EXTRA_ASFLAGS = @EXTRA_ASFLAGS@
|
||||||
|
|
||||||
CXX:=@FIXPATH@ @CCACHE@ @ICECC@ @CXX@
|
CXX:=@FIXPATH@ @CCACHE@ @ICECC@ @CXX@
|
||||||
|
|
||||||
@@ -469,6 +478,9 @@ CPP:=@FIXPATH@ @CPP@
|
|||||||
# The linker can be gcc or ld on unix systems, or link.exe on windows systems.
|
# The linker can be gcc or ld on unix systems, or link.exe on windows systems.
|
||||||
LD:=@FIXPATH@ @LD@
|
LD:=@FIXPATH@ @LD@
|
||||||
|
|
||||||
|
# Linker used by the jaotc tool for AOT compilation.
|
||||||
|
LD_JAOTC:=@LD_JAOTC@
|
||||||
|
|
||||||
# Xcode SDK path
|
# Xcode SDK path
|
||||||
SDKROOT:=@SDKROOT@
|
SDKROOT:=@SDKROOT@
|
||||||
|
|
||||||
@@ -724,12 +736,13 @@ EXPR:=@EXPR@
|
|||||||
FILE:=@FILE@
|
FILE:=@FILE@
|
||||||
DOT:=@DOT@
|
DOT:=@DOT@
|
||||||
HG:=@HG@
|
HG:=@HG@
|
||||||
|
GIT:=@GIT@
|
||||||
OBJCOPY:=@OBJCOPY@
|
OBJCOPY:=@OBJCOPY@
|
||||||
SETFILE:=@SETFILE@
|
SETFILE:=@SETFILE@
|
||||||
XATTR:=@XATTR@
|
XATTR:=@XATTR@
|
||||||
JT_HOME:=@JT_HOME@
|
JT_HOME:=@JT_HOME@
|
||||||
JTREGEXE:=@JTREGEXE@
|
JTREGEXE:=@JTREGEXE@
|
||||||
JIB_JAR:=@JIB_JAR@
|
JIB_HOME:=@JIB_HOME@
|
||||||
XCODEBUILD=@XCODEBUILD@
|
XCODEBUILD=@XCODEBUILD@
|
||||||
DTRACE := @DTRACE@
|
DTRACE := @DTRACE@
|
||||||
FIXPATH:=@FIXPATH@
|
FIXPATH:=@FIXPATH@
|
||||||
@@ -859,10 +872,16 @@ DOCS_OUTPUTDIR := $(DOCS_IMAGE_DIR)
|
|||||||
# Macosx bundles directory definitions
|
# Macosx bundles directory definitions
|
||||||
JDK_MACOSX_BUNDLE_SUBDIR=jdk-bundle
|
JDK_MACOSX_BUNDLE_SUBDIR=jdk-bundle
|
||||||
JRE_MACOSX_BUNDLE_SUBDIR=jre-bundle
|
JRE_MACOSX_BUNDLE_SUBDIR=jre-bundle
|
||||||
|
JDK_MACOSX_BUNDLE_SUBDIR_SIGNED=jdk-bundle-signed
|
||||||
|
JRE_MACOSX_BUNDLE_SUBDIR_SIGNED=jre-bundle-signed
|
||||||
JDK_MACOSX_BUNDLE_DIR=$(IMAGES_OUTPUTDIR)/$(JDK_MACOSX_BUNDLE_SUBDIR)
|
JDK_MACOSX_BUNDLE_DIR=$(IMAGES_OUTPUTDIR)/$(JDK_MACOSX_BUNDLE_SUBDIR)
|
||||||
JRE_MACOSX_BUNDLE_DIR=$(IMAGES_OUTPUTDIR)/$(JRE_MACOSX_BUNDLE_SUBDIR)
|
JRE_MACOSX_BUNDLE_DIR=$(IMAGES_OUTPUTDIR)/$(JRE_MACOSX_BUNDLE_SUBDIR)
|
||||||
JDK_MACOSX_CONTENTS_SUBDIR=jdk-$(VERSION_NUMBER).jdk/Contents
|
JDK_MACOSX_BUNDLE_DIR_SIGNED=$(IMAGES_OUTPUTDIR)/$(JDK_MACOSX_BUNDLE_SUBDIR_SIGNED)
|
||||||
JRE_MACOSX_CONTENTS_SUBDIR=jre-$(VERSION_NUMBER).jre/Contents
|
JRE_MACOSX_BUNDLE_DIR_SIGNED=$(IMAGES_OUTPUTDIR)/$(JRE_MACOSX_BUNDLE_SUBDIR_SIGNED)
|
||||||
|
JDK_MACOSX_BUNDLE_TOP_DIR=jdk-$(VERSION_NUMBER).jdk
|
||||||
|
JRE_MACOSX_BUNDLE_TOP_DIR=jre-$(VERSION_NUMBER).jre
|
||||||
|
JDK_MACOSX_CONTENTS_SUBDIR=$(JDK_MACOSX_BUNDLE_TOP_DIR)/Contents
|
||||||
|
JRE_MACOSX_CONTENTS_SUBDIR=$(JRE_MACOSX_BUNDLE_TOP_DIR)/Contents
|
||||||
JDK_MACOSX_CONTENTS_DIR=$(JDK_MACOSX_BUNDLE_DIR)/$(JDK_MACOSX_CONTENTS_SUBDIR)
|
JDK_MACOSX_CONTENTS_DIR=$(JDK_MACOSX_BUNDLE_DIR)/$(JDK_MACOSX_CONTENTS_SUBDIR)
|
||||||
JRE_MACOSX_CONTENTS_DIR=$(JRE_MACOSX_BUNDLE_DIR)/$(JRE_MACOSX_CONTENTS_SUBDIR)
|
JRE_MACOSX_CONTENTS_DIR=$(JRE_MACOSX_BUNDLE_DIR)/$(JRE_MACOSX_CONTENTS_SUBDIR)
|
||||||
|
|
||||||
@@ -879,12 +898,14 @@ else
|
|||||||
JDK_BUNDLE_EXTENSION := tar.gz
|
JDK_BUNDLE_EXTENSION := tar.gz
|
||||||
endif
|
endif
|
||||||
JDK_BUNDLE_NAME := jdk-$(BASE_NAME)_bin$(DEBUG_PART).$(JDK_BUNDLE_EXTENSION)
|
JDK_BUNDLE_NAME := jdk-$(BASE_NAME)_bin$(DEBUG_PART).$(JDK_BUNDLE_EXTENSION)
|
||||||
|
JRE_BUNDLE_NAME := jre-$(BASE_NAME)_bin$(DEBUG_PART).$(JDK_BUNDLE_EXTENSION)
|
||||||
JDK_SYMBOLS_BUNDLE_NAME := jdk-$(BASE_NAME)_bin$(DEBUG_PART)-symbols.tar.gz
|
JDK_SYMBOLS_BUNDLE_NAME := jdk-$(BASE_NAME)_bin$(DEBUG_PART)-symbols.tar.gz
|
||||||
TEST_DEMOS_BUNDLE_NAME := jdk-$(BASE_NAME)_bin-tests-demos$(DEBUG_PART).tar.gz
|
TEST_DEMOS_BUNDLE_NAME := jdk-$(BASE_NAME)_bin-tests-demos$(DEBUG_PART).tar.gz
|
||||||
TEST_BUNDLE_NAME := jdk-$(BASE_NAME)_bin-tests$(DEBUG_PART).tar.gz
|
TEST_BUNDLE_NAME := jdk-$(BASE_NAME)_bin-tests$(DEBUG_PART).tar.gz
|
||||||
DOCS_BUNDLE_NAME := jdk-$(BASE_NAME)_doc-api-spec$(DEBUG_PART).tar.gz
|
DOCS_BUNDLE_NAME := jdk-$(BASE_NAME)_doc-api-spec$(DEBUG_PART).tar.gz
|
||||||
|
|
||||||
JDK_BUNDLE := $(BUNDLES_OUTPUTDIR)/$(JDK_BUNDLE_NAME)
|
JDK_BUNDLE := $(BUNDLES_OUTPUTDIR)/$(JDK_BUNDLE_NAME)
|
||||||
|
JRE_BUNDLE := $(BUNDLES_OUTPUTDIR)/$(JRE_BUNDLE_NAME)
|
||||||
JDK_SYMBOLS_BUNDLE := $(BUNDLES_OUTPUTDIR)/$(JDK_SYMBOLS_BUNDLE_NAME)
|
JDK_SYMBOLS_BUNDLE := $(BUNDLES_OUTPUTDIR)/$(JDK_SYMBOLS_BUNDLE_NAME)
|
||||||
TEST_DEMOS_BUNDLE := $(BUNDLES_OUTPUTDIR)/$(TEST_DEMOS_BUNDLE_NAME)
|
TEST_DEMOS_BUNDLE := $(BUNDLES_OUTPUTDIR)/$(TEST_DEMOS_BUNDLE_NAME)
|
||||||
TEST_BUNDLE := $(BUNDLES_OUTPUTDIR)/$(TEST_BUNDLE_NAME)
|
TEST_BUNDLE := $(BUNDLES_OUTPUTDIR)/$(TEST_BUNDLE_NAME)
|
||||||
|
|||||||
@@ -589,7 +589,7 @@ AC_DEFUN([TOOLCHAIN_FIND_COMPILER],
|
|||||||
AC_DEFUN([TOOLCHAIN_EXTRACT_LD_VERSION],
|
AC_DEFUN([TOOLCHAIN_EXTRACT_LD_VERSION],
|
||||||
[
|
[
|
||||||
LINKER=[$]$1
|
LINKER=[$]$1
|
||||||
LINKER_NAME=$2
|
LINKER_NAME="$2"
|
||||||
|
|
||||||
if test "x$TOOLCHAIN_TYPE" = xsolstudio; then
|
if test "x$TOOLCHAIN_TYPE" = xsolstudio; then
|
||||||
# cc -Wl,-V output typically looks like
|
# cc -Wl,-V output typically looks like
|
||||||
@@ -709,12 +709,18 @@ AC_DEFUN_ONCE([TOOLCHAIN_DETECT_TOOLCHAIN_CORE],
|
|||||||
AC_MSG_RESULT([yes])
|
AC_MSG_RESULT([yes])
|
||||||
fi
|
fi
|
||||||
LDCXX="$LD"
|
LDCXX="$LD"
|
||||||
|
# jaotc being a windows program expects the linker to be supplied with exe suffix.
|
||||||
|
LD_JAOTC="$LD$EXE_SUFFIX"
|
||||||
else
|
else
|
||||||
# All other toolchains use the compiler to link.
|
# All other toolchains use the compiler to link.
|
||||||
LD="$CC"
|
LD="$CC"
|
||||||
LDCXX="$CXX"
|
LDCXX="$CXX"
|
||||||
|
# jaotc expects 'ld' as the linker rather than the compiler.
|
||||||
|
BASIC_CHECK_TOOLS([LD_JAOTC], ld)
|
||||||
|
BASIC_FIXUP_EXECUTABLE(LD_JAOTC)
|
||||||
fi
|
fi
|
||||||
AC_SUBST(LD)
|
AC_SUBST(LD)
|
||||||
|
AC_SUBST(LD_JAOTC)
|
||||||
# FIXME: it should be CXXLD, according to standard (cf CXXCPP)
|
# FIXME: it should be CXXLD, according to standard (cf CXXCPP)
|
||||||
AC_SUBST(LDCXX)
|
AC_SUBST(LDCXX)
|
||||||
|
|
||||||
@@ -1022,6 +1028,12 @@ AC_DEFUN_ONCE([TOOLCHAIN_MISC_CHECKS],
|
|||||||
# This is later checked when setting flags.
|
# This is later checked when setting flags.
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if test "x$TOOLCHAIN_TYPE" = xgcc || test "x$TOOLCHAIN_TYPE" = xclang; then
|
||||||
|
# Check if linker has -z noexecstack.
|
||||||
|
HAS_NOEXECSTACK=`$CC -Wl,--help 2>/dev/null | $GREP 'z noexecstack'`
|
||||||
|
# This is later checked when setting flags.
|
||||||
|
fi
|
||||||
|
|
||||||
# Setup hotspot lecagy names for toolchains
|
# Setup hotspot lecagy names for toolchains
|
||||||
HOTSPOT_TOOLCHAIN_TYPE=$TOOLCHAIN_TYPE
|
HOTSPOT_TOOLCHAIN_TYPE=$TOOLCHAIN_TYPE
|
||||||
if test "x$TOOLCHAIN_TYPE" = xclang; then
|
if test "x$TOOLCHAIN_TYPE" = xclang; then
|
||||||
@@ -1144,5 +1156,5 @@ AC_DEFUN_ONCE([TOOLCHAIN_SETUP_JIB],
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AC_SUBST(JIB_JAR)
|
AC_SUBST(JIB_HOME)
|
||||||
])
|
])
|
||||||
|
|||||||
@@ -185,6 +185,8 @@ AC_DEFUN([TOOLCHAIN_FIND_VISUAL_STUDIO_BAT_FILE],
|
|||||||
eval SDK_INSTALL_DIR="\${VS_SDK_INSTALLDIR_${VS_VERSION}}"
|
eval SDK_INSTALL_DIR="\${VS_SDK_INSTALLDIR_${VS_VERSION}}"
|
||||||
eval VS_ENV_ARGS="\${VS_ENV_ARGS_${VS_VERSION}}"
|
eval VS_ENV_ARGS="\${VS_ENV_ARGS_${VS_VERSION}}"
|
||||||
|
|
||||||
|
VS_ENV_CMD=""
|
||||||
|
|
||||||
# When using --with-tools-dir, assume it points to the correct and default
|
# When using --with-tools-dir, assume it points to the correct and default
|
||||||
# version of Visual Studio or that --with-toolchain-version was also set.
|
# version of Visual Studio or that --with-toolchain-version was also set.
|
||||||
if test "x$with_tools_dir" != x; then
|
if test "x$with_tools_dir" != x; then
|
||||||
@@ -202,8 +204,6 @@ AC_DEFUN([TOOLCHAIN_FIND_VISUAL_STUDIO_BAT_FILE],
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
VS_ENV_CMD=""
|
|
||||||
|
|
||||||
if test "x$VS_COMNTOOLS" != x; then
|
if test "x$VS_COMNTOOLS" != x; then
|
||||||
TOOLCHAIN_CHECK_POSSIBLE_VISUAL_STUDIO_ROOT([${VS_VERSION}],
|
TOOLCHAIN_CHECK_POSSIBLE_VISUAL_STUDIO_ROOT([${VS_VERSION}],
|
||||||
[$VS_COMNTOOLS/../..], [$VS_COMNTOOLS_VAR variable])
|
[$VS_COMNTOOLS/../..], [$VS_COMNTOOLS_VAR variable])
|
||||||
@@ -693,7 +693,7 @@ AC_DEFUN([TOOLCHAIN_SETUP_VS_RUNTIME_DLLS],
|
|||||||
if test "x$USE_UCRT" = "xtrue"; then
|
if test "x$USE_UCRT" = "xtrue"; then
|
||||||
AC_MSG_CHECKING([for UCRT DLL dir])
|
AC_MSG_CHECKING([for UCRT DLL dir])
|
||||||
if test "x$with_ucrt_dll_dir" != x; then
|
if test "x$with_ucrt_dll_dir" != x; then
|
||||||
if test -z "$(ls -d "$with_ucrt_dll_dir/*.dll" 2> /dev/null)"; then
|
if test -z "$(ls -d "$with_ucrt_dll_dir/"*.dll 2> /dev/null)"; then
|
||||||
AC_MSG_RESULT([no])
|
AC_MSG_RESULT([no])
|
||||||
AC_MSG_ERROR([Could not find any dlls in $with_ucrt_dll_dir])
|
AC_MSG_ERROR([Could not find any dlls in $with_ucrt_dll_dir])
|
||||||
else
|
else
|
||||||
@@ -713,8 +713,16 @@ AC_DEFUN([TOOLCHAIN_SETUP_VS_RUNTIME_DLLS],
|
|||||||
fi
|
fi
|
||||||
UCRT_DLL_DIR="$CYGWIN_WINDOWSSDKDIR/Redist/ucrt/DLLs/$dll_subdir"
|
UCRT_DLL_DIR="$CYGWIN_WINDOWSSDKDIR/Redist/ucrt/DLLs/$dll_subdir"
|
||||||
if test -z "$(ls -d "$UCRT_DLL_DIR/"*.dll 2> /dev/null)"; then
|
if test -z "$(ls -d "$UCRT_DLL_DIR/"*.dll 2> /dev/null)"; then
|
||||||
AC_MSG_RESULT([no])
|
# Try with version subdir
|
||||||
AC_MSG_ERROR([Could not find any dlls in $UCRT_DLL_DIR])
|
UCRT_DLL_DIR="`ls -d $CYGWIN_WINDOWSSDKDIR/Redist/*/ucrt/DLLs/$dll_subdir \
|
||||||
|
2> /dev/null | $SORT -d | $HEAD -n1`"
|
||||||
|
if test -z "$UCRT_DLL_DIR" \
|
||||||
|
|| test -z "$(ls -d "$UCRT_DLL_DIR/"*.dll 2> /dev/null)"; then
|
||||||
|
AC_MSG_RESULT([no])
|
||||||
|
AC_MSG_ERROR([Could not find any dlls in $UCRT_DLL_DIR])
|
||||||
|
else
|
||||||
|
AC_MSG_RESULT($UCRT_DLL_DIR)
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
AC_MSG_RESULT($UCRT_DLL_DIR)
|
AC_MSG_RESULT($UCRT_DLL_DIR)
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -27,15 +27,16 @@
|
|||||||
|
|
||||||
DEFAULT_VERSION_FEATURE=11
|
DEFAULT_VERSION_FEATURE=11
|
||||||
DEFAULT_VERSION_INTERIM=0
|
DEFAULT_VERSION_INTERIM=0
|
||||||
DEFAULT_VERSION_UPDATE=3
|
DEFAULT_VERSION_UPDATE=7
|
||||||
DEFAULT_VERSION_PATCH=0
|
DEFAULT_VERSION_PATCH=0
|
||||||
DEFAULT_VERSION_EXTRA1=0
|
DEFAULT_VERSION_EXTRA1=0
|
||||||
DEFAULT_VERSION_EXTRA2=0
|
DEFAULT_VERSION_EXTRA2=0
|
||||||
DEFAULT_VERSION_EXTRA3=0
|
DEFAULT_VERSION_EXTRA3=0
|
||||||
DEFAULT_VERSION_DATE=2019-04-16
|
DEFAULT_VERSION_DATE=2020-04-14
|
||||||
DEFAULT_VERSION_CLASSFILE_MAJOR=55 # "`$EXPR $DEFAULT_VERSION_FEATURE + 44`"
|
DEFAULT_VERSION_CLASSFILE_MAJOR=55 # "`$EXPR $DEFAULT_VERSION_FEATURE + 44`"
|
||||||
DEFAULT_VERSION_CLASSFILE_MINOR=0
|
DEFAULT_VERSION_CLASSFILE_MINOR=0
|
||||||
DEFAULT_ACCEPTABLE_BOOT_VERSIONS="10 11"
|
DEFAULT_ACCEPTABLE_BOOT_VERSIONS="10 11"
|
||||||
|
DEFAULT_PROMOTED_VERSION_PRE=ea
|
||||||
|
|
||||||
LAUNCHER_NAME=openjdk
|
LAUNCHER_NAME=openjdk
|
||||||
PRODUCT_NAME=OpenJDK
|
PRODUCT_NAME=OpenJDK
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2011, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
@@ -122,9 +122,9 @@ define SetupJarArchiveBody
|
|||||||
ifeq ($$($1_DEPENDENCIES), )
|
ifeq ($$($1_DEPENDENCIES), )
|
||||||
# Add all source roots to the find cache since we are likely going to run find
|
# Add all source roots to the find cache since we are likely going to run find
|
||||||
# on these more than once. The cache will only be updated if necessary.
|
# on these more than once. The cache will only be updated if necessary.
|
||||||
$$(eval $$(call FillCacheFind, $$($1_FIND_LIST)))
|
$$(call FillFindCache, $$($1_FIND_LIST))
|
||||||
$1_DEPENDENCIES:=$$(filter $$(addprefix %,$$($1_SUFFIXES)), \
|
$1_DEPENDENCIES:=$$(filter $$(addprefix %,$$($1_SUFFIXES)), \
|
||||||
$$(call CacheFind,$$($1_SRCS)))
|
$$(call FindFiles,$$($1_SRCS)))
|
||||||
ifneq (,$$($1_GREP_INCLUDE_PATTERNS))
|
ifneq (,$$($1_GREP_INCLUDE_PATTERNS))
|
||||||
$1_DEPENDENCIES:=$$(filter $$(addsuffix %,$$($1_GREP_INCLUDE_PATTERNS)),$$($1_DEPENDENCIES))
|
$1_DEPENDENCIES:=$$(filter $$(addsuffix %,$$($1_GREP_INCLUDE_PATTERNS)),$$($1_DEPENDENCIES))
|
||||||
endif
|
endif
|
||||||
@@ -135,7 +135,7 @@ define SetupJarArchiveBody
|
|||||||
$1_DEPENDENCIES+=$$(wildcard $$(foreach src, $$($1_SRCS), \
|
$1_DEPENDENCIES+=$$(wildcard $$(foreach src, $$($1_SRCS), \
|
||||||
$$(addprefix $$(src)/, $$($1_EXTRA_FILES))) $$($1_EXTRA_FILES))
|
$$(addprefix $$(src)/, $$($1_EXTRA_FILES))) $$($1_EXTRA_FILES))
|
||||||
ifeq (,$$($1_SKIP_METAINF))
|
ifeq (,$$($1_SKIP_METAINF))
|
||||||
$1_DEPENDENCIES+=$$(call CacheFind,$$(wildcard $$(addsuffix /META-INF,$$($1_SRCS))))
|
$1_DEPENDENCIES+=$$(call FindFiles,$$(wildcard $$(addsuffix /META-INF,$$($1_SRCS))))
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
# The dependency list should never be empty
|
# The dependency list should never be empty
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2011, 2017, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2011, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
@@ -221,13 +221,12 @@ define SetupJavaCompilationBody
|
|||||||
) \
|
) \
|
||||||
)
|
)
|
||||||
$$(call MakeDir,$$($1_BIN))
|
$$(call MakeDir,$$($1_BIN))
|
||||||
# Add all source roots to the find cache since we are likely going to run find
|
# Order src files according to the order of the src dirs. Correct ordering is
|
||||||
# on these more than once. The cache will only be updated if necessary.
|
# needed for correct overriding between different source roots.
|
||||||
$$(eval $$(call FillCacheFind, $$($1_SRC)))
|
$1_ALL_SRC_RAW := $$(call FindFiles, $$($1_SRC))
|
||||||
# Find all files in the source trees. Preserve order of source roots so that
|
$1_ALL_SRCS := $$($1_EXTRA_FILES) \
|
||||||
# the first version in case of multiple instances of the same file is selected.
|
$$(foreach d, $$($1_SRC), $$(filter $$d%, $$($1_ALL_SRC_RAW)))
|
||||||
# CacheFind does not preserve order so need to call it for each root.
|
|
||||||
$1_ALL_SRCS += $$($1_EXTRA_FILES) $$(foreach s, $$($1_SRC), $$(call CacheFind, $$s))
|
|
||||||
# Extract the java files.
|
# Extract the java files.
|
||||||
$1_SRCS := $$(filter %.java, $$($1_ALL_SRCS))
|
$1_SRCS := $$(filter %.java, $$($1_ALL_SRCS))
|
||||||
|
|
||||||
|
|||||||
@@ -47,6 +47,29 @@ FindSrcDirsForComponent += \
|
|||||||
$(TOPDIR)/src/$(strip $1)/$(OPENJDK_TARGET_OS_TYPE)/native/$(strip $2) \
|
$(TOPDIR)/src/$(strip $1)/$(OPENJDK_TARGET_OS_TYPE)/native/$(strip $2) \
|
||||||
$(TOPDIR)/src/$(strip $1)/share/native/$(strip $2)))
|
$(TOPDIR)/src/$(strip $1)/share/native/$(strip $2)))
|
||||||
|
|
||||||
|
# Find a library
|
||||||
|
# Param 1 - module name
|
||||||
|
# Param 2 - library name
|
||||||
|
# Param 3 - optional subdir for library
|
||||||
|
FindLib = \
|
||||||
|
$(call FindLibDirForModule, \
|
||||||
|
$(strip $1))$(strip $3)/$(LIBRARY_PREFIX)$(strip $2)$(SHARED_LIBRARY_SUFFIX)
|
||||||
|
|
||||||
|
# Find a static library
|
||||||
|
# Param 1 - module name
|
||||||
|
# Param 2 - library name
|
||||||
|
# Param 3 - optional subdir for library
|
||||||
|
FindStaticLib = \
|
||||||
|
$(addprefix $(SUPPORT_OUTPUTDIR)/native/, \
|
||||||
|
$(strip $1)$(strip $3)/$(LIBRARY_PREFIX)$(strip $2)$(STATIC_LIBRARY_SUFFIX))
|
||||||
|
|
||||||
|
# If only generating compile_commands.json, make these return empty to avoid
|
||||||
|
# declaring dependencies.
|
||||||
|
ifeq ($(GENERATE_COMPILE_COMMANDS_ONLY), true)
|
||||||
|
FindLib =
|
||||||
|
FindStaticLib =
|
||||||
|
endif
|
||||||
|
|
||||||
GetJavaHeaderDir = \
|
GetJavaHeaderDir = \
|
||||||
$(wildcard $(SUPPORT_OUTPUTDIR)/headers/$(strip $1))
|
$(wildcard $(SUPPORT_OUTPUTDIR)/headers/$(strip $1))
|
||||||
|
|
||||||
|
|||||||
@@ -64,10 +64,12 @@ define NEWLINE
|
|||||||
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
# In GNU Make 4.0 and higher, there is a file function for writing to files.
|
# Certain features only work in newer version of GNU Make. The build will still
|
||||||
|
# function in 3.81, but will be less performant.
|
||||||
ifeq (4.0, $(firstword $(sort 4.0 $(MAKE_VERSION))))
|
ifeq (4.0, $(firstword $(sort 4.0 $(MAKE_VERSION))))
|
||||||
HAS_FILE_FUNCTION := true
|
HAS_FILE_FUNCTION := true
|
||||||
CORRECT_FUNCTION_IN_RECIPE_EVALUATION := true
|
CORRECT_FUNCTION_IN_RECIPE_EVALUATION := true
|
||||||
|
RWILDCARD_WORKS := true
|
||||||
endif
|
endif
|
||||||
|
|
||||||
##############################
|
##############################
|
||||||
@@ -347,6 +349,7 @@ SOURCE_REVISION_TRACKER := $(SUPPORT_OUTPUTDIR)/src-rev/source-revision-tracker
|
|||||||
FindAllReposAbs = \
|
FindAllReposAbs = \
|
||||||
$(strip $(sort $(dir $(filter-out $(TOPDIR)/build/%, $(wildcard \
|
$(strip $(sort $(dir $(filter-out $(TOPDIR)/build/%, $(wildcard \
|
||||||
$(addprefix $(TOPDIR)/, .hg */.hg */*/.hg */*/*/.hg */*/*/*/.hg) \
|
$(addprefix $(TOPDIR)/, .hg */.hg */*/.hg */*/*/.hg */*/*/*/.hg) \
|
||||||
|
$(addprefix $(TOPDIR)/, .git */.git */*/.git */*/*/.git */*/*/*/.git) \
|
||||||
)))))
|
)))))
|
||||||
|
|
||||||
# Locate all hg repositories included in the forest, as relative paths
|
# Locate all hg repositories included in the forest, as relative paths
|
||||||
@@ -465,8 +468,8 @@ endef
|
|||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
# Replace question marks with space in string. This macro needs to be called on
|
# Replace question marks with space in string. This macro needs to be called on
|
||||||
# files from CacheFind in case any of them contains space in their file name,
|
# files from FindFiles in case any of them contains space in their file name,
|
||||||
# since CacheFind replaces space with ?.
|
# since FindFiles replaces space with ?.
|
||||||
# Param 1 - String to replace in
|
# Param 1 - String to replace in
|
||||||
DecodeSpace = \
|
DecodeSpace = \
|
||||||
$(subst ?,$(SPACE),$(strip $1))
|
$(subst ?,$(SPACE),$(strip $1))
|
||||||
@@ -610,7 +613,8 @@ DirToDotDot = \
|
|||||||
# $2 - Directory to compute the relative path from
|
# $2 - Directory to compute the relative path from
|
||||||
RelativePath = \
|
RelativePath = \
|
||||||
$(eval $1_prefix := $(call FindCommonPathPrefix, $1, $2)) \
|
$(eval $1_prefix := $(call FindCommonPathPrefix, $1, $2)) \
|
||||||
$(eval $1_dotdots := $(call DirToDotDot, $(patsubst $($(strip $1)_prefix)/%, %, $2))) \
|
$(eval $1_dotdots := $(call DirToDotDot, $(patsubst $($(strip $1)_prefix)%, %, $2))) \
|
||||||
|
$(eval $1_dotdots := $(if $($(strip $1)_dotdots),$($(strip $1)_dotdots),.)) \
|
||||||
$(eval $1_suffix := $(patsubst $($(strip $1)_prefix)/%, %, $1)) \
|
$(eval $1_suffix := $(patsubst $($(strip $1)_prefix)/%, %, $1)) \
|
||||||
$($(strip $1)_dotdots)/$($(strip $1)_suffix)
|
$($(strip $1)_dotdots)/$($(strip $1)_suffix)
|
||||||
|
|
||||||
@@ -684,73 +688,116 @@ uppercase = \
|
|||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
ifneq ($(DISABLE_CACHE_FIND), true)
|
# Recursive wildcard function. Walks down directories recursively and matches
|
||||||
# In Cygwin, finds are very costly, both because of expensive forks and because
|
# files with the search patterns. Patterns use standard file wildcards (* and
|
||||||
# of bad file system caching. Find is used extensively in $(shell) commands to
|
# ?).
|
||||||
# find source files. This makes rerunning make with no or few changes rather
|
#
|
||||||
# expensive. To speed this up, these two macros are used to cache the results
|
# $1 - Directories to start search in
|
||||||
# of simple find commands for reuse.
|
# $2 - Search patterns
|
||||||
#
|
rwildcard = \
|
||||||
# Runs a find and stores both the directories where it was run and the results.
|
$(strip \
|
||||||
# This macro can be called multiple times to add to the cache. Only finds files
|
$(foreach d, \
|
||||||
# with no filters.
|
$(patsubst %/,%,$(sort $(dir $(wildcard $(addsuffix /*/*, $(strip $1)))))), \
|
||||||
#
|
$(call rwildcard,$d,$2) \
|
||||||
# Files containing space will get spaces replaced with ? because GNU Make
|
) \
|
||||||
# cannot handle lists of files with space in them. By using ?, make will match
|
$(call DoubleDollar, $(wildcard $(foreach p, $2, $(addsuffix /$(strip $p), $(strip $1))))) \
|
||||||
# the wildcard to space in many situations so we don't need to replace back
|
|
||||||
# to space on every use. While not a complete solution it does allow some uses
|
|
||||||
# of CacheFind to function with spaces in file names, including for
|
|
||||||
# SetupCopyFiles.
|
|
||||||
#
|
|
||||||
# Needs to be called with $(eval )
|
|
||||||
#
|
|
||||||
# Even if the performance benifit is negligible on other platforms, keep the
|
|
||||||
# functionality active unless explicitly disabled to exercise it more.
|
|
||||||
#
|
|
||||||
# Initialize FIND_CACHE_DIRS with := to make it a non recursively-expanded variable
|
|
||||||
FIND_CACHE_DIRS :=
|
|
||||||
# Param 1 - Dirs to find in
|
|
||||||
# Param 2 - (optional) specialization. Normally "-a \( ... \)" expression.
|
|
||||||
define FillCacheFind
|
|
||||||
# Filter out already cached dirs. The - is needed when FIND_CACHE_DIRS is empty
|
|
||||||
# since filter out will then return empty.
|
|
||||||
FIND_CACHE_NEW_DIRS := $$(filter-out $$(addsuffix /%,\
|
|
||||||
- $(FIND_CACHE_DIRS)) $(FIND_CACHE_DIRS), $1)
|
|
||||||
ifneq ($$(FIND_CACHE_NEW_DIRS), )
|
|
||||||
# Remove any trailing slash from dirs in the cache dir list
|
|
||||||
FIND_CACHE_DIRS += $$(patsubst %/,%, $$(FIND_CACHE_NEW_DIRS))
|
|
||||||
FIND_CACHE := $$(sort $$(FIND_CACHE) \
|
|
||||||
$$(shell $(FIND) $$(wildcard $$(FIND_CACHE_NEW_DIRS)) \
|
|
||||||
\( -type f -o -type l \) $2 | $(TR) ' ' '?'))
|
|
||||||
endif
|
|
||||||
endef
|
|
||||||
|
|
||||||
# Mimics find by looking in the cache if all of the directories have been cached.
|
|
||||||
# Otherwise reverts to shell find. This is safe to call on all platforms, even if
|
|
||||||
# cache is deactivated.
|
|
||||||
#
|
|
||||||
# $1 can be either a directory or a file. If it's a directory, make
|
|
||||||
# sure we have exactly one trailing slash before the wildcard.
|
|
||||||
# The extra - is needed when FIND_CACHE_DIRS is empty but should be harmless.
|
|
||||||
#
|
|
||||||
# Param 1 - Dirs to find in
|
|
||||||
# Param 2 - (optional) specialization. Normally "-a \( ... \)" expression.
|
|
||||||
define CacheFind
|
|
||||||
$(if $(filter-out $(addsuffix /%,- $(FIND_CACHE_DIRS)) $(FIND_CACHE_DIRS),$1), \
|
|
||||||
$(if $(wildcard $1), $(shell $(FIND) $(wildcard $1) \( -type f -o -type l \) $2 \
|
|
||||||
| $(TR) ' ' '?')), \
|
|
||||||
$(filter $(addsuffix /%,$(patsubst %/,%,$1)) $1,$(FIND_CACHE)))
|
|
||||||
endef
|
|
||||||
|
|
||||||
else
|
|
||||||
# If CacheFind is disabled, just run the find command.
|
|
||||||
# Param 1 - Dirs to find in
|
|
||||||
# Param 2 - (optional) specialization. Normally "-a \( ... \)" expression.
|
|
||||||
define CacheFind
|
|
||||||
$(if $(wildcard $1, \
|
|
||||||
$(shell $(FIND) $(wildcard $1) \( -type f -o -type l \) $2 | $(TR) ' ' '?') \
|
|
||||||
)
|
)
|
||||||
endef
|
|
||||||
|
# Find non directories using recursive wildcard function. This function may
|
||||||
|
# be used directly when a small amount of directories is expected to be
|
||||||
|
# searched and caching is not expected to be of use.
|
||||||
|
#
|
||||||
|
# $1 - Directory to start search in
|
||||||
|
# $2 - Optional search patterns, defaults to '*'.
|
||||||
|
WildcardFindFiles = \
|
||||||
|
$(sort $(strip \
|
||||||
|
$(eval WildcardFindFiles_result := $(call rwildcard,$(patsubst %/,%,$1),$(if $(strip $2),$2,*))) \
|
||||||
|
$(filter-out $(patsubst %/,%,$(sort $(dir $(WildcardFindFiles_result)))), \
|
||||||
|
$(WildcardFindFiles_result) \
|
||||||
|
) \
|
||||||
|
))
|
||||||
|
|
||||||
|
# Find non directories using the find utility in the shell. Safe to call for
|
||||||
|
# non existing directories, or directories containing wildcards.
|
||||||
|
#
|
||||||
|
# Files containing space will get spaces replaced with ? because GNU Make
|
||||||
|
# cannot handle lists of files with space in them. By using ?, make will match
|
||||||
|
# the wildcard to space in many situations so we don't need to replace back
|
||||||
|
# to space on every use. While not a complete solution it does allow some uses
|
||||||
|
# of FindFiles to function with spaces in file names, including for
|
||||||
|
# SetupCopyFiles. Unfortunately this does not work for WildcardFindFiles so
|
||||||
|
# if files with spaces are anticipated, use ShellFindFiles directly.
|
||||||
|
#
|
||||||
|
# $1 - Directories to start search in.
|
||||||
|
# $2 - Optional search patterns, empty means find everything. Patterns use
|
||||||
|
# standard file wildcards (* and ?) and should not be quoted.
|
||||||
|
# $3 - Optional options to find.
|
||||||
|
ShellFindFiles = \
|
||||||
|
$(if $(wildcard $1), \
|
||||||
|
$(sort \
|
||||||
|
$(shell $(FIND) $3 $(patsubst %/,%,$(wildcard $1)) \( -type f -o -type l \) \
|
||||||
|
$(if $(strip $2), -a \( -name "$(firstword $2)" \
|
||||||
|
$(foreach p, $(filter-out $(firstword $2), $2), -o -name "$(p)") \)) \
|
||||||
|
| $(TR) ' ' '?' \
|
||||||
|
) \
|
||||||
|
) \
|
||||||
|
)
|
||||||
|
|
||||||
|
# Find non directories using the method most likely to work best for the
|
||||||
|
# current build host
|
||||||
|
#
|
||||||
|
# $1 - Directory to start search in
|
||||||
|
# $2 - Optional search patterns, defaults to '*'.
|
||||||
|
ifeq ($(OPENJDK_BUILD_OS)-$(RWILDCARD_WORKS), windows-true)
|
||||||
|
DirectFindFiles = $(WildcardFindFiles)
|
||||||
|
else
|
||||||
|
DirectFindFiles = $(ShellFindFiles)
|
||||||
|
endif
|
||||||
|
|
||||||
|
# Finds files using a cache that is populated by FillFindCache below. If any of
|
||||||
|
# the directories given have not been cached, DirectFindFiles is used for
|
||||||
|
# everything. Caching is especially useful in Cygwin, where file finds are very
|
||||||
|
# costly.
|
||||||
|
#
|
||||||
|
# $1 - Directories to start search in.
|
||||||
|
# $2 - Optional search patterns. If used, no caching is done.
|
||||||
|
CacheFindFiles_CACHED_DIRS :=
|
||||||
|
CacheFindFiles_CACHED_FILES :=
|
||||||
|
CacheFindFiles = \
|
||||||
|
$(if $2, \
|
||||||
|
$(call DirectFindFiles, $1, $2) \
|
||||||
|
, \
|
||||||
|
$(if $(filter-out $(addsuffix /%, $(CacheFindFiles_CACHED_DIRS)) \
|
||||||
|
$(CacheFindFiles_CACHED_DIRS), $1), \
|
||||||
|
$(call DirectFindFiles, $1) \
|
||||||
|
, \
|
||||||
|
$(filter $(addsuffix /%,$(patsubst %/,%,$1)) $1,$(CacheFindFiles_CACHED_FILES)) \
|
||||||
|
) \
|
||||||
|
)
|
||||||
|
|
||||||
|
# Explicitly adds files to the find cache used by CacheFindFiles.
|
||||||
|
#
|
||||||
|
# $1 - Directories to start search in
|
||||||
|
FillFindCache = \
|
||||||
|
$(eval CacheFindFiles_NEW_DIRS := $$(filter-out $$(addsuffix /%,\
|
||||||
|
$$(CacheFindFiles_CACHED_DIRS)) $$(CacheFindFiles_CACHED_DIRS), $1)) \
|
||||||
|
$(if $(CacheFindFiles_NEW_DIRS), \
|
||||||
|
$(eval CacheFindFiles_CACHED_DIRS += $$(patsubst %/,%,$$(CacheFindFiles_NEW_DIRS))) \
|
||||||
|
$(eval CacheFindFiles_CACHED_FILES := $$(sort $$(CacheFindFiles_CACHED_FILES) \
|
||||||
|
$$(call DirectFindFiles, $$(CacheFindFiles_NEW_DIRS)))) \
|
||||||
|
)
|
||||||
|
|
||||||
|
# Findfiles is the default macro that should be used to find files in the file
|
||||||
|
# system. This function does not always support files with spaces in the names.
|
||||||
|
# If files with spaces are anticipated, use ShellFindFiles directly.
|
||||||
|
#
|
||||||
|
# $1 - Directories to start search in.
|
||||||
|
# $2 - Optional search patterns, empty means find everything. Patterns use
|
||||||
|
# standard file wildcards (* and ?) and should not be quoted.
|
||||||
|
ifeq ($(DISABLE_CACHE_FIND), true)
|
||||||
|
FindFiles = $(DirectFindFiles)
|
||||||
|
else
|
||||||
|
FindFiles = $(CacheFindFiles)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
@@ -841,7 +888,7 @@ endef
|
|||||||
# Parameter 1 is the name of the rule, and is also the name of the variable.
|
# Parameter 1 is the name of the rule, and is also the name of the variable.
|
||||||
#
|
#
|
||||||
# Remaining parameters are named arguments. These include:
|
# Remaining parameters are named arguments. These include:
|
||||||
# KEYWORDS A list of valid keywords
|
# SINGLE_KEYWORDS A list of valid keywords with single string values
|
||||||
# STRING_KEYWORDS A list of valid keywords, processed as string. This means
|
# STRING_KEYWORDS A list of valid keywords, processed as string. This means
|
||||||
# that '%20' will be replaced by ' ' to allow for multi-word strings.
|
# that '%20' will be replaced by ' ' to allow for multi-word strings.
|
||||||
#
|
#
|
||||||
@@ -855,7 +902,7 @@ define ParseKeywordVariableBody
|
|||||||
$$(eval mangled_part_eval := $$(call DoubleDollar, $$(mangled_part))) \
|
$$(eval mangled_part_eval := $$(call DoubleDollar, $$(mangled_part))) \
|
||||||
$$(eval part := $$$$(subst ||||,$$$$(SPACE),$$$$(mangled_part_eval))) \
|
$$(eval part := $$$$(subst ||||,$$$$(SPACE),$$$$(mangled_part_eval))) \
|
||||||
$$(eval $1_NO_MATCH := true) \
|
$$(eval $1_NO_MATCH := true) \
|
||||||
$$(foreach keyword, $$($1_KEYWORDS), \
|
$$(foreach keyword, $$($1_SINGLE_KEYWORDS), \
|
||||||
$$(eval keyword_eval := $$(call DoubleDollar, $$(keyword))) \
|
$$(eval keyword_eval := $$(call DoubleDollar, $$(keyword))) \
|
||||||
$$(if $$(filter $$(keyword)=%, $$(part)), \
|
$$(if $$(filter $$(keyword)=%, $$(part)), \
|
||||||
$$(eval $(strip $1)_$$$$(keyword_eval) := $$$$(strip $$$$(patsubst $$$$(keyword_eval)=%, %, $$$$(part)))) \
|
$$(eval $(strip $1)_$$$$(keyword_eval) := $$$$(strip $$$$(patsubst $$$$(keyword_eval)=%, %, $$$$(part)))) \
|
||||||
@@ -870,11 +917,11 @@ define ParseKeywordVariableBody
|
|||||||
) \
|
) \
|
||||||
) \
|
) \
|
||||||
$$(if $$($1_NO_MATCH), \
|
$$(if $$($1_NO_MATCH), \
|
||||||
$$(if $$(filter $$(part), $$($1_KEYWORDS) $$($1_STRING_KEYWORDS)), \
|
$$(if $$(filter $$(part), $$($1_SINGLE_KEYWORDS) $$($1_STRING_KEYWORDS)), \
|
||||||
$$(info Keyword $$(part) for $1 needs to be assigned a value.) \
|
$$(info Keyword $$(part) for $1 needs to be assigned a value.) \
|
||||||
, \
|
, \
|
||||||
$$(info $$(part) is not a valid keyword for $1.) \
|
$$(info $$(part) is not a valid keyword for $1.) \
|
||||||
$$(info Valid keywords: $$($1_KEYWORDS) $$($1_STRING_KEYWORDS).) \
|
$$(info Valid keywords: $$($1_SINGLE_KEYWORDS) $$($1_STRING_KEYWORDS).) \
|
||||||
) \
|
) \
|
||||||
$$(error Cannot continue) \
|
$$(error Cannot continue) \
|
||||||
) \
|
) \
|
||||||
@@ -936,6 +983,22 @@ else
|
|||||||
$(shell $(PRINTF) "%s" $(call ShellQuote, $1) >> $2)
|
$(shell $(PRINTF) "%s" $(call ShellQuote, $1) >> $2)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# FixPathList
|
||||||
|
#
|
||||||
|
# On Windows, converts a cygwin/unix style path list (colon-separated) into
|
||||||
|
# the native format (mixed mode, semicolon-separated). On other platforms,
|
||||||
|
# return the path list unchanged.
|
||||||
|
################################################################################
|
||||||
|
ifeq ($(OPENJDK_TARGET_OS), windows)
|
||||||
|
FixPathList = \
|
||||||
|
$(subst @,$(SPACE),$(subst $(SPACE),;,$(foreach entry,$(subst :,$(SPACE),\
|
||||||
|
$(subst $(SPACE),@,$(strip $1))),$(call FixPath, $(entry)))))
|
||||||
|
else
|
||||||
|
FixPathList = \
|
||||||
|
$1
|
||||||
|
endif
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
# DependOnVariable
|
# DependOnVariable
|
||||||
#
|
#
|
||||||
@@ -973,15 +1036,16 @@ DependOnVariableFileName = \
|
|||||||
# Param 2 - (optional) name of file to store value in
|
# Param 2 - (optional) name of file to store value in
|
||||||
DependOnVariableHelper = \
|
DependOnVariableHelper = \
|
||||||
$(strip \
|
$(strip \
|
||||||
$(eval -include $(call DependOnVariableFileName, $1, $2)) \
|
$(eval $1_filename := $(call DependOnVariableFileName, $1, $2)) \
|
||||||
|
$(if $(wildcard $($1_filename)), $(eval include $($1_filename))) \
|
||||||
$(if $(call equals, $(strip $($1)), $(strip $($1_old))),,\
|
$(if $(call equals, $(strip $($1)), $(strip $($1_old))),,\
|
||||||
$(call MakeDir, $(dir $(call DependOnVariableFileName, $1, $2))) \
|
$(call MakeDir, $(dir $($1_filename))) \
|
||||||
$(if $(findstring $(LOG_LEVEL), trace), \
|
$(if $(findstring $(LOG_LEVEL), trace), \
|
||||||
$(info NewVariable $1: >$(strip $($1))<) \
|
$(info NewVariable $1: >$(strip $($1))<) \
|
||||||
$(info OldVariable $1: >$(strip $($1_old))<)) \
|
$(info OldVariable $1: >$(strip $($1_old))<)) \
|
||||||
$(call WriteFile, $1_old:=$(call DoubleDollar,$(call EscapeHash,$($1))), \
|
$(call WriteFile, $1_old:=$(call DoubleDollar,$(call EscapeHash,$($1))), \
|
||||||
$(call DependOnVariableFileName, $1, $2))) \
|
$($1_filename))) \
|
||||||
$(call DependOnVariableFileName, $1, $2) \
|
$($1_filename) \
|
||||||
)
|
)
|
||||||
|
|
||||||
# Main macro
|
# Main macro
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2011, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
@@ -59,6 +59,29 @@ define GetSymbols
|
|||||||
fi
|
fi
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Creates a recipe that creates a compile_commands.json fragment. Remove any
|
||||||
|
# occurences of FIXPATH programs from the command to show the actual invocation.
|
||||||
|
#
|
||||||
|
# Param 1: Name of file to create
|
||||||
|
# Param 2: Working directory
|
||||||
|
# Param 3: Source file
|
||||||
|
# Param 4: Compile command
|
||||||
|
# Param 5: Object name
|
||||||
|
################################################################################
|
||||||
|
define WriteCompileCommandsFragment
|
||||||
|
$(call LogInfo, Creating compile commands fragment for $(notdir $3))
|
||||||
|
$(call MakeDir, $(dir $1))
|
||||||
|
$(call WriteFile,{ \
|
||||||
|
"directory": "$(strip $2)"$(COMMA) \
|
||||||
|
"file": "$(strip $3)"$(COMMA) \
|
||||||
|
"command": "$(strip $(subst $(DQUOTE),\$(DQUOTE),$(subst \,\\,\
|
||||||
|
$(subst $(FIXPATH),,$4))))"$(COMMA) \
|
||||||
|
"output": "$(strip $5)" \
|
||||||
|
}$(COMMA), \
|
||||||
|
$1)
|
||||||
|
endef
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
# Define a native toolchain configuration that can be used by
|
# Define a native toolchain configuration that can be used by
|
||||||
# SetupNativeCompilation calls
|
# SetupNativeCompilation calls
|
||||||
@@ -183,6 +206,68 @@ DEPENDENCY_TARGET_SED_PATTERN := \
|
|||||||
-e 's/$$$$/ :/' \
|
-e 's/$$$$/ :/' \
|
||||||
#
|
#
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# When absolute paths are not allowed in the output, and the compiler does not
|
||||||
|
# support any options to avoid it, we need to rewrite compile commands to use
|
||||||
|
# relative paths. By doing this, the __FILE__ macro will resolve to relative
|
||||||
|
# paths. The relevant input paths on the command line are the -I flags and the
|
||||||
|
# path to the source file itself.
|
||||||
|
#
|
||||||
|
# The macro MakeCommandRelative is used to rewrite the command line like this:
|
||||||
|
# 'CD $(WORKSPACE_ROOT) && <cmd>'
|
||||||
|
# and changes all paths in cmd to be relative to the workspace root. This only
|
||||||
|
# works properly if the build dir is inside the workspace root. If it's not,
|
||||||
|
# relative paths are still calculated, but depending on the distance between the
|
||||||
|
# dirs, paths in the build dir may end up as essentially absolute anyway.
|
||||||
|
#
|
||||||
|
# The fix-deps-file macro is used to adjust the contents of the generated make
|
||||||
|
# dependency files to contain paths compatible with make.
|
||||||
|
#
|
||||||
|
ifeq ($(ALLOW_ABSOLUTE_PATHS_IN_OUTPUT)-$(FILE_MACRO_CFLAGS), false-)
|
||||||
|
# Need to handle -I flags as both '-Ifoo' and '-I foo'.
|
||||||
|
MakeCommandRelative = \
|
||||||
|
$(CD) $(WORKSPACE_ROOT) && \
|
||||||
|
$(foreach o, $1, \
|
||||||
|
$(if $(filter $(WORKSPACE_ROOT)/% $(OUTPUTDIR)/%, $o), \
|
||||||
|
$(call RelativePath, $o, $(WORKSPACE_ROOT)) \
|
||||||
|
, \
|
||||||
|
$(if $(filter -I$(WORKSPACE_ROOT)/%, $o), \
|
||||||
|
-I$(call RelativePath, $(patsubst -I%, %, $o), $(WORKSPACE_ROOT)) \
|
||||||
|
, \
|
||||||
|
$o \
|
||||||
|
) \
|
||||||
|
) \
|
||||||
|
)
|
||||||
|
|
||||||
|
# When compiling with relative paths, the deps file comes out with relative
|
||||||
|
# paths.
|
||||||
|
ifeq ($(TOOLCHAIN_TYPE), solstudio)
|
||||||
|
define fix-deps-file
|
||||||
|
$(SED) -e 's|\./|$(WORKSPACE_ROOT)/|g' $1.tmp > $1
|
||||||
|
endef
|
||||||
|
else
|
||||||
|
define fix-deps-file
|
||||||
|
$(SED) -e 's|^\([ ]*\)|\1$(WORKSPACE_ROOT)|' $1.tmp > $1
|
||||||
|
endef
|
||||||
|
endif
|
||||||
|
else
|
||||||
|
# By default the MakeCommandRelative macro does nothing.
|
||||||
|
MakeCommandRelative = $1
|
||||||
|
|
||||||
|
# Even with absolute paths on the command line, the Solaris studio compiler
|
||||||
|
# doesn't output the full path to the object file in the generated deps files.
|
||||||
|
# For other toolchains, no adjustment is needed.
|
||||||
|
ifeq ($(TOOLCHAIN_TYPE), solstudio)
|
||||||
|
define fix-deps-file
|
||||||
|
$(SED) 's|^$$(@F):|$$@:|' $1.tmp > $1
|
||||||
|
endef
|
||||||
|
else
|
||||||
|
define fix-deps-file
|
||||||
|
$(MV) $1.tmp $1
|
||||||
|
endef
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
# Create the recipe needed to compile a single native source file.
|
# Create the recipe needed to compile a single native source file.
|
||||||
#
|
#
|
||||||
@@ -193,7 +278,6 @@ DEPENDENCY_TARGET_SED_PATTERN := \
|
|||||||
# Remaining parameters are named arguments:
|
# Remaining parameters are named arguments:
|
||||||
# FILE - The full path of the source file to compiler
|
# FILE - The full path of the source file to compiler
|
||||||
# BASE - The name of the rule for the entire binary to build ($1)
|
# BASE - The name of the rule for the entire binary to build ($1)
|
||||||
# DISABLE_THIS_FILE_DEFINE - Set to true to disable the THIS_FILE define.
|
|
||||||
#
|
#
|
||||||
SetupCompileNativeFile = $(NamedParamsMacroTemplate)
|
SetupCompileNativeFile = $(NamedParamsMacroTemplate)
|
||||||
define SetupCompileNativeFileBody
|
define SetupCompileNativeFileBody
|
||||||
@@ -203,17 +287,18 @@ define SetupCompileNativeFileBody
|
|||||||
$1_OBJ := $$($$($1_BASE)_OBJECT_DIR)/$$(call replace_with_obj_extension, \
|
$1_OBJ := $$($$($1_BASE)_OBJECT_DIR)/$$(call replace_with_obj_extension, \
|
||||||
$$($1_FILENAME))
|
$$($1_FILENAME))
|
||||||
|
|
||||||
|
# Generate the corresponding compile_commands.json fragment.
|
||||||
|
$1_OBJ_JSON = $$(MAKESUPPORT_OUTPUTDIR)/compile-commands/$$(subst /,_,$$(subst \
|
||||||
|
$$(OUTPUTDIR)/,,$$($1_OBJ))).json
|
||||||
|
$$($1_BASE)_ALL_OBJS_JSON += $$($1_OBJ_JSON)
|
||||||
|
|
||||||
# Only continue if this object file hasn't been processed already. This lets
|
# Only continue if this object file hasn't been processed already. This lets
|
||||||
# the first found source file override any other with the same name.
|
# the first found source file override any other with the same name.
|
||||||
ifeq ($$(findstring $$($1_OBJ), $$($$($1_BASE)_OBJS_SO_FAR)), )
|
ifeq ($$($1_OBJ_PROCESSED), )
|
||||||
$$($1_BASE)_OBJS_SO_FAR += $$($1_OBJ)
|
$1_OBJ_PROCESSED := true
|
||||||
# This is the definite source file to use for $1_FILENAME.
|
# This is the definite source file to use for $1_FILENAME.
|
||||||
$1_SRC_FILE := $$($1_FILE)
|
$1_SRC_FILE := $$($1_FILE)
|
||||||
|
|
||||||
ifneq ($$($1_DISABLE_THIS_FILE_DEFINE), true)
|
|
||||||
$1_THIS_FILE = -DTHIS_FILE='"$$(<F)"'
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ($$($1_OPTIMIZATION), )
|
ifeq ($$($1_OPTIMIZATION), )
|
||||||
$1_OPT_CFLAGS := $$($$($1_BASE)_OPT_CFLAGS)
|
$1_OPT_CFLAGS := $$($$($1_BASE)_OPT_CFLAGS)
|
||||||
$1_OPT_CXXFLAGS := $$($$($1_BASE)_OPT_CXXFLAGS)
|
$1_OPT_CXXFLAGS := $$($$($1_BASE)_OPT_CXXFLAGS)
|
||||||
@@ -256,13 +341,13 @@ define SetupCompileNativeFileBody
|
|||||||
ifneq ($$(filter %.c, $$($1_FILENAME)), )
|
ifneq ($$(filter %.c, $$($1_FILENAME)), )
|
||||||
# Compile as a C file
|
# Compile as a C file
|
||||||
$1_FLAGS := $(CFLAGS_CCACHE) $$($1_USE_PCH_FLAGS) $$($1_BASE_CFLAGS) \
|
$1_FLAGS := $(CFLAGS_CCACHE) $$($1_USE_PCH_FLAGS) $$($1_BASE_CFLAGS) \
|
||||||
$$($1_OPT_CFLAGS) $$($1_CFLAGS) $$($1_THIS_FILE) -c
|
$$($1_OPT_CFLAGS) $$($1_CFLAGS) -c
|
||||||
$1_COMPILER := $$($$($1_BASE)_CC)
|
$1_COMPILER := $$($$($1_BASE)_CC)
|
||||||
$1_DEP_FLAG := $(C_FLAG_DEPS)
|
$1_DEP_FLAG := $(C_FLAG_DEPS)
|
||||||
else ifneq ($$(filter %.m, $$($1_FILENAME)), )
|
else ifneq ($$(filter %.m, $$($1_FILENAME)), )
|
||||||
# Compile as an Objective-C file
|
# Compile as an Objective-C file
|
||||||
$1_FLAGS := -x objective-c $(CFLAGS_CCACHE) $$($1_USE_PCH_FLAGS) \
|
$1_FLAGS := -x objective-c $(CFLAGS_CCACHE) $$($1_USE_PCH_FLAGS) \
|
||||||
$$($1_BASE_CFLAGS) $$($1_OPT_CFLAGS) $$($1_CFLAGS) $$($1_THIS_FILE) -c
|
$$($1_BASE_CFLAGS) $$($1_OPT_CFLAGS) $$($1_CFLAGS) -c
|
||||||
$1_COMPILER := $$($$($1_BASE)_CC)
|
$1_COMPILER := $$($$($1_BASE)_CC)
|
||||||
$1_DEP_FLAG := $(C_FLAG_DEPS)
|
$1_DEP_FLAG := $(C_FLAG_DEPS)
|
||||||
else ifneq ($$(filter %.s %.S, $$($1_FILENAME)), )
|
else ifneq ($$(filter %.s %.S, $$($1_FILENAME)), )
|
||||||
@@ -273,7 +358,7 @@ define SetupCompileNativeFileBody
|
|||||||
else ifneq ($$(filter %.cpp %.cc %.mm, $$($1_FILENAME)), )
|
else ifneq ($$(filter %.cpp %.cc %.mm, $$($1_FILENAME)), )
|
||||||
# Compile as a C++ or Objective-C++ file
|
# Compile as a C++ or Objective-C++ file
|
||||||
$1_FLAGS := $(CFLAGS_CCACHE) $$($1_USE_PCH_FLAGS) $$($1_BASE_CXXFLAGS) \
|
$1_FLAGS := $(CFLAGS_CCACHE) $$($1_USE_PCH_FLAGS) $$($1_BASE_CXXFLAGS) \
|
||||||
$$($1_OPT_CXXFLAGS) $$($1_CXXFLAGS) $$($1_THIS_FILE) -c
|
$$($1_OPT_CXXFLAGS) $$($1_CXXFLAGS) -c
|
||||||
$1_COMPILER := $$($$($1_BASE)_CXX)
|
$1_COMPILER := $$($$($1_BASE)_CXX)
|
||||||
$1_DEP_FLAG := $(CXX_FLAG_DEPS)
|
$1_DEP_FLAG := $(CXX_FLAG_DEPS)
|
||||||
else
|
else
|
||||||
@@ -282,14 +367,18 @@ define SetupCompileNativeFileBody
|
|||||||
|
|
||||||
ifeq ($$(filter %.s %.S, $$($1_FILENAME)), )
|
ifeq ($$(filter %.s %.S, $$($1_FILENAME)), )
|
||||||
# And this is the dependency file for this obj file.
|
# And this is the dependency file for this obj file.
|
||||||
$1_DEP := $$(patsubst %$(OBJ_SUFFIX),%.d,$$($1_OBJ))
|
$1_DEPS_FILE := $$(patsubst %$(OBJ_SUFFIX),%.d,$$($1_OBJ))
|
||||||
# The dependency target file lists all dependencies as empty targets to
|
# The dependency target file lists all dependencies as empty targets to
|
||||||
# avoid make error "No rule to make target" for removed files
|
# avoid make error "No rule to make target" for removed files
|
||||||
$1_DEP_TARGETS := $$(patsubst %$(OBJ_SUFFIX),%.d.targets,$$($1_OBJ))
|
$1_DEPS_TARGETS_FILE := $$(patsubst %$(OBJ_SUFFIX),%.d.targets,$$($1_OBJ))
|
||||||
|
|
||||||
# Include previously generated dependency information. (if it exists)
|
# Only try to load individual dependency information files if the global
|
||||||
-include $$($1_DEP)
|
# file hasn't been loaded (could happen if make was interrupted).
|
||||||
-include $$($1_DEP_TARGETS)
|
ifneq ($$($$($1_BASE)_DEPS_FILE_LOADED), true)
|
||||||
|
# Include previously generated dependency information. (if it exists)
|
||||||
|
-include $$($1_DEPS_FILE)
|
||||||
|
-include $$($1_DEPS_TARGETS_FILE)
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq ($$(strip $$($1_CFLAGS) $$($1_CXXFLAGS) $$($1_OPTIMIZATION)), )
|
ifneq ($$(strip $$($1_CFLAGS) $$($1_CXXFLAGS) $$($1_OPTIMIZATION)), )
|
||||||
@@ -297,28 +386,29 @@ define SetupCompileNativeFileBody
|
|||||||
$1_VARDEPS_FILE := $$(call DependOnVariable, $1_VARDEPS, $$($1_OBJ).vardeps)
|
$1_VARDEPS_FILE := $$(call DependOnVariable, $1_VARDEPS, $$($1_OBJ).vardeps)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
$$($1_OBJ): $$($1_SRC_FILE) $$($$($1_BASE)_COMPILE_VARDEPS_FILE) \
|
$1_OBJ_DEPS := $$($1_SRC_FILE) $$($$($1_BASE)_COMPILE_VARDEPS_FILE) \
|
||||||
$$($$($1_BASE)_EXTRA_DEPS) $$($1_VARDEPS_FILE) | $$($$($1_BASE)_BUILD_INFO)
|
$$($$($1_BASE)_EXTRA_DEPS) $$($1_VARDEPS_FILE)
|
||||||
|
$1_COMPILE_OPTIONS := $$($1_FLAGS) $(CC_OUT_OPTION)$$($1_OBJ) $$($1_SRC_FILE)
|
||||||
|
|
||||||
|
$$($1_OBJ_JSON): $$($1_OBJ_DEPS)
|
||||||
|
$$(call WriteCompileCommandsFragment, $$@, $$(PWD), $$($1_SRC_FILE), \
|
||||||
|
$$($1_COMPILER) $$($1_COMPILE_OPTIONS), $$($1_OBJ))
|
||||||
|
|
||||||
|
$$($1_OBJ): $$($1_OBJ_DEPS) | $$($$($1_BASE)_BUILD_INFO)
|
||||||
$$(call LogInfo, Compiling $$($1_FILENAME) (for $$($$($1_BASE)_BASENAME)))
|
$$(call LogInfo, Compiling $$($1_FILENAME) (for $$($$($1_BASE)_BASENAME)))
|
||||||
$$(call MakeDir, $$(@D))
|
$$(call MakeDir, $$(@D))
|
||||||
ifneq ($(TOOLCHAIN_TYPE), microsoft)
|
ifneq ($(TOOLCHAIN_TYPE), microsoft)
|
||||||
ifeq ($(TOOLCHAIN_TYPE)$$(filter %.s, $$($1_FILENAME)), solstudio)
|
$$(call ExecuteWithLog, $$@, $$(call MakeCommandRelative, \
|
||||||
# The Solaris studio compiler doesn't output the full path to the
|
$$($1_COMPILER) $$($1_DEP_FLAG) \
|
||||||
# object file in the generated deps files. Fixing it with sed. If
|
$$(addsuffix .tmp, $$($1_DEPS_FILE)) \
|
||||||
# compiling assembly, don't try this.
|
$$($1_COMPILE_OPTIONS)))
|
||||||
$$(call ExecuteWithLog, $$@, \
|
ifneq ($$($1_DEPS_FILE), )
|
||||||
$$($1_COMPILER) $$($1_FLAGS) $$($1_DEP_FLAG) $$($1_DEP).tmp \
|
$$(call fix-deps-file, $$($1_DEPS_FILE))
|
||||||
$(CC_OUT_OPTION)$$($1_OBJ) $$($1_SRC_FILE))
|
# Create a dependency target file from the dependency file.
|
||||||
$(SED) 's|^$$(@F):|$$@:|' $$($1_DEP).tmp > $$($1_DEP)
|
# Solution suggested by:
|
||||||
else
|
# http://make.mad-scientist.net/papers/advanced-auto-dependency-generation/
|
||||||
$$(call ExecuteWithLog, $$@, \
|
$(SED) $(DEPENDENCY_TARGET_SED_PATTERN) $$($1_DEPS_FILE) \
|
||||||
$$($1_COMPILER) $$($1_FLAGS) $$($1_DEP_FLAG) $$($1_DEP) \
|
> $$($1_DEPS_TARGETS_FILE)
|
||||||
$(CC_OUT_OPTION)$$($1_OBJ) $$($1_SRC_FILE))
|
|
||||||
endif
|
|
||||||
# Create a dependency target file from the dependency file.
|
|
||||||
# Solution suggested by http://make.mad-scientist.net/papers/advanced-auto-dependency-generation/
|
|
||||||
ifneq ($$($1_DEP), )
|
|
||||||
$(SED) $(DEPENDENCY_TARGET_SED_PATTERN) $$($1_DEP) > $$($1_DEP_TARGETS)
|
|
||||||
endif
|
endif
|
||||||
else
|
else
|
||||||
# The Visual Studio compiler lacks a feature for generating make
|
# The Visual Studio compiler lacks a feature for generating make
|
||||||
@@ -328,15 +418,15 @@ define SetupCompileNativeFileBody
|
|||||||
# Keep as much as possible on one execution line for best performance
|
# Keep as much as possible on one execution line for best performance
|
||||||
# on Windows. No need to save exit code from compilation since
|
# on Windows. No need to save exit code from compilation since
|
||||||
# pipefail is always active on Windows.
|
# pipefail is always active on Windows.
|
||||||
$$(call ExecuteWithLog, $$@, \
|
$$(call ExecuteWithLog, $$@, $$(call MakeCommandRelative, \
|
||||||
$$($1_COMPILER) $$($1_FLAGS) -showIncludes \
|
$$($1_COMPILER) -showIncludes $$($1_COMPILE_OPTIONS))) \
|
||||||
$(CC_OUT_OPTION)$$($1_OBJ) $$($1_SRC_FILE)) \
|
|
||||||
| $(TR) -d '\r' | $(GREP) -v -e "^Note: including file:" \
|
| $(TR) -d '\r' | $(GREP) -v -e "^Note: including file:" \
|
||||||
-e "^$$($1_FILENAME)$$$$" || test "$$$$?" = "1" ; \
|
-e "^$$($1_FILENAME)$$$$" || test "$$$$?" = "1" ; \
|
||||||
$(ECHO) $$@: \\ > $$($1_DEP) ; \
|
$(ECHO) $$@: \\ > $$($1_DEPS_FILE) ; \
|
||||||
$(SED) $(WINDOWS_SHOWINCLUDE_SED_PATTERN) $$($1_OBJ).log \
|
$(SED) $(WINDOWS_SHOWINCLUDE_SED_PATTERN) $$($1_OBJ).log \
|
||||||
| $(SORT) -u >> $$($1_DEP) ; \
|
| $(SORT) -u >> $$($1_DEPS_FILE) ; \
|
||||||
$(SED) $(DEPENDENCY_TARGET_SED_PATTERN) $$($1_DEP) > $$($1_DEP_TARGETS)
|
$(ECHO) >> $$($1_DEPS_FILE) ; \
|
||||||
|
$(SED) $(DEPENDENCY_TARGET_SED_PATTERN) $$($1_DEPS_FILE) > $$($1_DEPS_TARGETS_FILE)
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
endef
|
endef
|
||||||
@@ -456,6 +546,9 @@ define SetupNativeCompilationBody
|
|||||||
$1_NOSUFFIX := $$($1_PREFIX)$$($1_NAME)
|
$1_NOSUFFIX := $$($1_PREFIX)$$($1_NAME)
|
||||||
$1_SAFE_NAME := $$(strip $$(subst /,_, $1))
|
$1_SAFE_NAME := $$(strip $$(subst /,_, $1))
|
||||||
|
|
||||||
|
# Need to make sure TARGET is first on list
|
||||||
|
$1 := $$($1_TARGET)
|
||||||
|
|
||||||
# Setup the toolchain to be used
|
# Setup the toolchain to be used
|
||||||
$$(call SetIfEmpty, $1_TOOLCHAIN, TOOLCHAIN_DEFAULT)
|
$$(call SetIfEmpty, $1_TOOLCHAIN, TOOLCHAIN_DEFAULT)
|
||||||
$$(call SetIfEmpty, $1_CC, $$($$($1_TOOLCHAIN)_CC))
|
$$(call SetIfEmpty, $1_CC, $$($$($1_TOOLCHAIN)_CC))
|
||||||
@@ -476,7 +569,7 @@ define SetupNativeCompilationBody
|
|||||||
$$(error SRC specified to SetupNativeCompilation $1 contains missing directory $$d)))
|
$$(error SRC specified to SetupNativeCompilation $1 contains missing directory $$d)))
|
||||||
|
|
||||||
# Find all files in the source trees. Preserve order.
|
# Find all files in the source trees. Preserve order.
|
||||||
$1_SRCS := $$(foreach s, $$($1_SRC), $$(call CacheFind, $$(s)))
|
$1_SRCS := $$(foreach s, $$($1_SRC), $$(call FindFiles, $$(s)))
|
||||||
$1_SRCS := $$(filter $$(NATIVE_SOURCE_EXTENSIONS), $$($1_SRCS))
|
$1_SRCS := $$(filter $$(NATIVE_SOURCE_EXTENSIONS), $$($1_SRCS))
|
||||||
# Extract the C/C++ files.
|
# Extract the C/C++ files.
|
||||||
ifneq ($$($1_EXCLUDE_PATTERNS), )
|
ifneq ($$($1_EXCLUDE_PATTERNS), )
|
||||||
@@ -660,7 +753,6 @@ define SetupNativeCompilationBody
|
|||||||
FILE := $$($1_GENERATED_PCH_SRC), \
|
FILE := $$($1_GENERATED_PCH_SRC), \
|
||||||
BASE := $1, \
|
BASE := $1, \
|
||||||
EXTRA_CXXFLAGS := -Fp$$($1_PCH_FILE) -Yc$$(notdir $$($1_PRECOMPILED_HEADER)), \
|
EXTRA_CXXFLAGS := -Fp$$($1_PCH_FILE) -Yc$$(notdir $$($1_PRECOMPILED_HEADER)), \
|
||||||
DISABLE_THIS_FILE_DEFINE := true, \
|
|
||||||
))
|
))
|
||||||
|
|
||||||
$1_USE_PCH_FLAGS := \
|
$1_USE_PCH_FLAGS := \
|
||||||
@@ -683,27 +775,65 @@ define SetupNativeCompilationBody
|
|||||||
$1_PCH_FILE := $$($1_OBJECT_DIR)/precompiled/$$(notdir $$($1_PRECOMPILED_HEADER)).pch
|
$1_PCH_FILE := $$($1_OBJECT_DIR)/precompiled/$$(notdir $$($1_PRECOMPILED_HEADER)).pch
|
||||||
$1_USE_PCH_FLAGS := -include-pch $$($1_PCH_FILE)
|
$1_USE_PCH_FLAGS := -include-pch $$($1_PCH_FILE)
|
||||||
endif
|
endif
|
||||||
$1_PCH_DEP := $$($1_PCH_FILE).d
|
$1_PCH_DEPS_FILE := $$($1_PCH_FILE).d
|
||||||
$1_PCH_DEP_TARGETS := $$($1_PCH_FILE).d.targets
|
$1_PCH_DEPS_TARGETS_FILE := $$($1_PCH_FILE).d.targets
|
||||||
|
|
||||||
-include $$($1_PCH_DEP)
|
-include $$($1_PCH_DEPS_FILE)
|
||||||
-include $$($1_PCH_DEP_TARGETS)
|
-include $$($1_PCH_DEPS_TARGETS_FILE)
|
||||||
|
|
||||||
|
$1_PCH_COMMAND := $$($1_CC) $$($1_CFLAGS) $$($1_EXTRA_CFLAGS) $$($1_SYSROOT_CFLAGS) \
|
||||||
|
$$($1_OPT_CFLAGS) -x c++-header -c $(C_FLAG_DEPS) $$($1_PCH_DEPS_FILE)
|
||||||
|
|
||||||
$$($1_PCH_FILE): $$($1_PRECOMPILED_HEADER) $$($1_COMPILE_VARDEPS_FILE)
|
$$($1_PCH_FILE): $$($1_PRECOMPILED_HEADER) $$($1_COMPILE_VARDEPS_FILE)
|
||||||
$$(call LogInfo, Generating precompiled header)
|
$$(call LogInfo, Generating precompiled header)
|
||||||
$$(call MakeDir, $$(@D))
|
$$(call MakeDir, $$(@D))
|
||||||
$$(call ExecuteWithLog, $$@, \
|
$$(call ExecuteWithLog, $$@, $$(call MakeCommandRelative, \
|
||||||
$$($1_CC) $$($1_CFLAGS) $$($1_EXTRA_CFLAGS) $$($1_SYSROOT_CFLAGS) \
|
$$($1_PCH_COMMAND) $$< -o $$@))
|
||||||
$$($1_OPT_CFLAGS) \
|
$(SED) $(DEPENDENCY_TARGET_SED_PATTERN) $$($1_PCH_DEPS_FILE) \
|
||||||
-x c++-header -c $(C_FLAG_DEPS) $$($1_PCH_DEP) $$< -o $$@)
|
> $$($1_PCH_DEPS_TARGETS_FILE)
|
||||||
$(SED) $(DEPENDENCY_TARGET_SED_PATTERN) $$($1_PCH_DEP) > $$($1_PCH_DEP_TARGETS)
|
|
||||||
|
|
||||||
$$($1_ALL_OBJS): $$($1_PCH_FILE)
|
$$($1_ALL_OBJS): $$($1_PCH_FILE)
|
||||||
|
|
||||||
|
# Generate the corresponding compile_commands.json fragment.
|
||||||
|
$1_PCH_FILE_JSON := $$(MAKESUPPORT_OUTPUTDIR)/compile-commands/$$(subst /,_,$$(subst \
|
||||||
|
$$(OUTPUTDIR)/,,$$($1_PCH_FILE))).json
|
||||||
|
$1_ALL_OBJS_JSON += $$($1_PCH_FILE_JSON)
|
||||||
|
|
||||||
|
$$($1_PCH_FILE_JSON): $$($1_PRECOMPILED_HEADER) $$($1_COMPILE_VARDEPS_FILE)
|
||||||
|
$$(call WriteCompileCommandsFragment, $$@, $$(PWD), $$<, \
|
||||||
|
$$($1_PCH_COMMAND) $$< -o $$($1_PCH_FILE), $$($1_PCH_FILE))
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# Create a rule to collect all the individual make dependency files into a
|
||||||
|
# single makefile.
|
||||||
|
$1_DEPS_FILE := $$($1_OBJECT_DIR)/$1.d
|
||||||
|
|
||||||
|
$$($1_DEPS_FILE): $$($1_ALL_OBJS)
|
||||||
|
$(RM) $$@
|
||||||
|
# CD into dir to reduce risk of hitting command length limits, which
|
||||||
|
# could otherwise happen if TOPDIR is a very long path.
|
||||||
|
$(CD) $$($1_OBJECT_DIR) && $(CAT) *.d > $$@.tmp
|
||||||
|
$(CD) $$($1_OBJECT_DIR) && $(CAT) *.d.targets | $(SORT) -u >> $$@.tmp
|
||||||
|
# After generating the file, which happens after all objects have been
|
||||||
|
# compiled, copy it to .old extension. On the next make invocation, this
|
||||||
|
# .old file will be included by make.
|
||||||
|
$(CP) $$@.tmp $$@.old
|
||||||
|
$(MV) $$@.tmp $$@
|
||||||
|
|
||||||
|
$1 += $$($1_DEPS_FILE)
|
||||||
|
|
||||||
|
# The include must be on the .old file, which represents the state from the
|
||||||
|
# previous invocation of make. The file being included must not have a rule
|
||||||
|
# defined for it as otherwise make will think it has to run the rule before
|
||||||
|
# being able to include the file, which would be wrong since we specifically
|
||||||
|
# need the file as it was generated by a previous make invocation.
|
||||||
|
ifneq ($$(wildcard $$($1_DEPS_FILE).old), )
|
||||||
|
$1_DEPS_FILE_LOADED := true
|
||||||
|
-include $$($1_DEPS_FILE).old
|
||||||
|
endif
|
||||||
|
|
||||||
# Now call SetupCompileNativeFile for each source file we are going to compile.
|
# Now call SetupCompileNativeFile for each source file we are going to compile.
|
||||||
$$(foreach file, $$($1_SRCS), \
|
$$(foreach file, $$($1_SRCS), \
|
||||||
$$(eval $$(call SetupCompileNativeFile, $1_$$(notdir $$(file)),\
|
$$(eval $$(call SetupCompileNativeFile, $1_$$(notdir $$(file)),\
|
||||||
@@ -730,10 +860,10 @@ define SetupNativeCompilationBody
|
|||||||
ifeq ($(OPENJDK_TARGET_OS), windows)
|
ifeq ($(OPENJDK_TARGET_OS), windows)
|
||||||
ifneq ($$($1_VERSIONINFO_RESOURCE), )
|
ifneq ($$($1_VERSIONINFO_RESOURCE), )
|
||||||
$1_RES := $$($1_OBJECT_DIR)/$$($1_BASENAME).res
|
$1_RES := $$($1_OBJECT_DIR)/$$($1_BASENAME).res
|
||||||
$1_RES_DEP := $$($1_RES).d
|
$1_RES_DEPS_FILE := $$($1_RES).d
|
||||||
$1_RES_DEP_TARGETS := $$($1_RES).d.targets
|
$1_RES_DEPS_TARGETS_FILE := $$($1_RES).d.targets
|
||||||
-include $$($1_RES_DEP)
|
-include $$($1_RES_DEPS_FILE)
|
||||||
-include $$($1_RES_DEP_TARGETS)
|
-include $$($1_RES_DEPS_TARGETS_FILE)
|
||||||
|
|
||||||
$1_RES_VARDEPS := $$($1_RC) $$($1_RC_FLAGS)
|
$1_RES_VARDEPS := $$($1_RC) $$($1_RC_FLAGS)
|
||||||
$1_RES_VARDEPS_FILE := $$(call DependOnVariable, $1_RES_VARDEPS, \
|
$1_RES_VARDEPS_FILE := $$(call DependOnVariable, $1_RES_VARDEPS, \
|
||||||
@@ -742,24 +872,27 @@ define SetupNativeCompilationBody
|
|||||||
$$($1_RES): $$($1_VERSIONINFO_RESOURCE) $$($1_RES_VARDEPS_FILE)
|
$$($1_RES): $$($1_VERSIONINFO_RESOURCE) $$($1_RES_VARDEPS_FILE)
|
||||||
$$(call LogInfo, Compiling resource $$(notdir $$($1_VERSIONINFO_RESOURCE)) (for $$($1_BASENAME)))
|
$$(call LogInfo, Compiling resource $$(notdir $$($1_VERSIONINFO_RESOURCE)) (for $$($1_BASENAME)))
|
||||||
$$(call MakeDir, $$(@D) $$($1_OBJECT_DIR))
|
$$(call MakeDir, $$(@D) $$($1_OBJECT_DIR))
|
||||||
$$(call ExecuteWithLog, $$@, \
|
$$(call ExecuteWithLog, $$@, $$(call MakeCommandRelative, \
|
||||||
$$($1_RC) $$($1_RC_FLAGS) $$($1_SYSROOT_CFLAGS) $(CC_OUT_OPTION)$$@ \
|
$$($1_RC) $$($1_RC_FLAGS) $$($1_SYSROOT_CFLAGS) $(CC_OUT_OPTION)$$@ \
|
||||||
$$($1_VERSIONINFO_RESOURCE) 2>&1 )
|
$$($1_VERSIONINFO_RESOURCE) 2>&1 ))
|
||||||
# Windows RC compiler does not support -showIncludes, so we mis-use CL
|
# Windows RC compiler does not support -showIncludes, so we mis-use CL
|
||||||
# for this. Filter out RC specific arguments that are unknown to CL.
|
# for this. Filter out RC specific arguments that are unknown to CL.
|
||||||
# For some unknown reason, in this case CL actually outputs the show
|
# For some unknown reason, in this case CL actually outputs the show
|
||||||
# includes to stderr so need to redirect it to hide the output from the
|
# includes to stderr so need to redirect it to hide the output from the
|
||||||
# main log.
|
# main log.
|
||||||
$$(call ExecuteWithLog, $$($1_RES_DEP).obj, \
|
$$(call ExecuteWithLog, $$($1_RES_DEPS_FILE).obj, \
|
||||||
$$($1_CC) $$(filter-out -l%, $$($1_RC_FLAGS)) \
|
$$($1_CC) $$(filter-out -l%, $$($1_RC_FLAGS)) \
|
||||||
$$($1_SYSROOT_CFLAGS) -showIncludes -nologo -TC \
|
$$($1_SYSROOT_CFLAGS) -showIncludes -nologo -TC \
|
||||||
$(CC_OUT_OPTION)$$($1_RES_DEP).obj -P -Fi$$($1_RES_DEP).pp \
|
$(CC_OUT_OPTION)$$($1_RES_DEPS_FILE).obj -P -Fi$$($1_RES_DEPS_FILE).pp \
|
||||||
$$($1_VERSIONINFO_RESOURCE)) 2>&1 \
|
$$($1_VERSIONINFO_RESOURCE)) 2>&1 \
|
||||||
| $(TR) -d '\r' | $(GREP) -v -e "^Note: including file:" \
|
| $(TR) -d '\r' | $(GREP) -v -e "^Note: including file:" \
|
||||||
-e "^$$(notdir $$($1_VERSIONINFO_RESOURCE))$$$$" || test "$$$$?" = "1" ; \
|
-e "^$$(notdir $$($1_VERSIONINFO_RESOURCE))$$$$" || test "$$$$?" = "1" ; \
|
||||||
$(ECHO) $$($1_RES): \\ > $$($1_RES_DEP) ; \
|
$(ECHO) $$($1_RES): \\ > $$($1_RES_DEPS_FILE) ; \
|
||||||
$(SED) $(WINDOWS_SHOWINCLUDE_SED_PATTERN) $$($1_RES_DEP).obj.log >> $$($1_RES_DEP) ; \
|
$(SED) $(WINDOWS_SHOWINCLUDE_SED_PATTERN) $$($1_RES_DEPS_FILE).obj.log \
|
||||||
$(SED) $(DEPENDENCY_TARGET_SED_PATTERN) $$($1_RES_DEP) > $$($1_RES_DEP_TARGETS)
|
>> $$($1_RES_DEPS_FILE) ; \
|
||||||
|
$(ECHO) >> $$($1_RES_DEPS_FILE) ;\
|
||||||
|
$(SED) $(DEPENDENCY_TARGET_SED_PATTERN) $$($1_RES_DEPS_FILE) \
|
||||||
|
> $$($1_RES_DEPS_TARGETS_FILE)
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
@@ -786,9 +919,6 @@ define SetupNativeCompilationBody
|
|||||||
$1_EXTRA_LDFLAGS += $(call SET_SHARED_LIBRARY_MAPFILE,$$($1_REAL_MAPFILE))
|
$1_EXTRA_LDFLAGS += $(call SET_SHARED_LIBRARY_MAPFILE,$$($1_REAL_MAPFILE))
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Need to make sure TARGET is first on list
|
|
||||||
$1 := $$($1_TARGET)
|
|
||||||
|
|
||||||
ifneq ($$($1_COPY_DEBUG_SYMBOLS), false)
|
ifneq ($$($1_COPY_DEBUG_SYMBOLS), false)
|
||||||
$1_COPY_DEBUG_SYMBOLS := $(COPY_DEBUG_SYMBOLS)
|
$1_COPY_DEBUG_SYMBOLS := $(COPY_DEBUG_SYMBOLS)
|
||||||
endif
|
endif
|
||||||
@@ -936,7 +1066,7 @@ define SetupNativeCompilationBody
|
|||||||
|
|
||||||
$1_VARDEPS := $$($1_LD) $$($1_SYSROOT_LDFLAGS) $$($1_LDFLAGS) $$($1_EXTRA_LDFLAGS) \
|
$1_VARDEPS := $$($1_LD) $$($1_SYSROOT_LDFLAGS) $$($1_LDFLAGS) $$($1_EXTRA_LDFLAGS) \
|
||||||
$$(GLOBAL_LIBS) $$($1_LIBS) $$($1_EXTRA_LIBS) $$($1_MT) \
|
$$(GLOBAL_LIBS) $$($1_LIBS) $$($1_EXTRA_LIBS) $$($1_MT) \
|
||||||
$$($1_CODESIGN) $$($1_CREATE_DEBUGINFO_CMDS) $$($1_MANIFEST_VERSION) \
|
$$($1_CREATE_DEBUGINFO_CMDS) $$($1_MANIFEST_VERSION) \
|
||||||
$$($1_STRIP_CMD)
|
$$($1_STRIP_CMD)
|
||||||
$1_VARDEPS_FILE := $$(call DependOnVariable, $1_VARDEPS, \
|
$1_VARDEPS_FILE := $$(call DependOnVariable, $1_VARDEPS, \
|
||||||
$$($1_OBJECT_DIR)/$$($1_NOSUFFIX).vardeps)
|
$$($1_OBJECT_DIR)/$$($1_NOSUFFIX).vardeps)
|
||||||
@@ -1015,11 +1145,14 @@ define SetupNativeCompilationBody
|
|||||||
# This only works if the openjdk_codesign identity is present on the system. Let
|
# This only works if the openjdk_codesign identity is present on the system. Let
|
||||||
# silently fail otherwise.
|
# silently fail otherwise.
|
||||||
ifneq ($(CODESIGN), )
|
ifneq ($(CODESIGN), )
|
||||||
ifneq ($$($1_CODESIGN), )
|
$(CODESIGN) -s "$(MACOSX_CODESIGN_IDENTITY)" --timestamp --options runtime \
|
||||||
$(CODESIGN) -s openjdk_codesign $$@
|
--entitlements $(TOPDIR)/make/data/macosxsigning/entitlements.plist $$@
|
||||||
endif
|
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(GENERATE_COMPILE_COMMANDS_ONLY), true)
|
||||||
|
$1 := $$($1_ALL_OBJS_JSON)
|
||||||
|
endif
|
||||||
endef
|
endef
|
||||||
|
|
||||||
endif # _NATIVE_COMPILATION_GMK
|
endif # _NATIVE_COMPILATION_GMK
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2015, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
@@ -75,7 +75,7 @@ define SetupTestFilesCompilationBody
|
|||||||
|
|
||||||
# Locate all files with the matching prefix
|
# Locate all files with the matching prefix
|
||||||
$1_FILE_LIST := \
|
$1_FILE_LIST := \
|
||||||
$$(shell $$(FIND) $$($1_SOURCE_DIRS) -type f -name "$$($1_PREFIX)*.c")
|
$$(call FindFiles, $$($1_SOURCE_DIRS), $$($1_PREFIX)*.c)
|
||||||
|
|
||||||
$1_EXCLUDE_PATTERN := $$(addprefix %/, $$($1_EXCLUDE))
|
$1_EXCLUDE_PATTERN := $$(addprefix %/, $$($1_EXCLUDE))
|
||||||
$1_FILTERED_FILE_LIST := $$(filter-out $$($1_EXCLUDE_PATTERN), $$($1_FILE_LIST))
|
$1_FILTERED_FILE_LIST := $$(filter-out $$($1_EXCLUDE_PATTERN), $$($1_FILE_LIST))
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2013, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
@@ -103,7 +103,7 @@ define SetupTextFileProcessingBody
|
|||||||
$$(error SOURCE_DIRS contains directory $$(src) outside \
|
$$(error SOURCE_DIRS contains directory $$(src) outside \
|
||||||
SOURCE_BASE_DIR $$($1_SOURCE_BASE_DIR) (in $1))))
|
SOURCE_BASE_DIR $$($1_SOURCE_BASE_DIR) (in $1))))
|
||||||
endif
|
endif
|
||||||
$1_SOURCE_FILES := $$(sort $$(call CacheFind,$$($1_SOURCE_DIRS)))
|
$1_SOURCE_FILES := $$(sort $$(call FindFiles,$$($1_SOURCE_DIRS)))
|
||||||
$1_EXCLUDE_FILES:=$$(foreach i,$$($1_SOURCE_DIRS),$$(addprefix $$i/,$$($1_EXCLUDE_FILES)))
|
$1_EXCLUDE_FILES:=$$(foreach i,$$($1_SOURCE_DIRS),$$(addprefix $$i/,$$($1_EXCLUDE_FILES)))
|
||||||
$1_INCLUDE_FILES:=$$(foreach i,$$($1_SOURCE_DIRS),$$(addprefix $$i/,$$($1_INCLUDE_FILES)))
|
$1_INCLUDE_FILES:=$$(foreach i,$$($1_SOURCE_DIRS),$$(addprefix $$i/,$$($1_INCLUDE_FILES)))
|
||||||
$1_SOURCE_FILES := $$(filter-out $$($1_EXCLUDE_FILES),$$($1_SOURCE_FILES))
|
$1_SOURCE_FILES := $$(filter-out $$($1_EXCLUDE_FILES),$$($1_SOURCE_FILES))
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user