tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
angle: init at 7258
Jess
6 months ago
e77bf38e
9855b727
+697
3 changed files
expand all
collapse all
unified
split
pkgs
by-name
an
angle
fix-uninitialized-const-pointer-error-001.patch
info.json
package.nix
+16
pkgs/by-name/an/angle/fix-uninitialized-const-pointer-error-001.patch
···
1
1
+
diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn
2
2
+
index 0c04c9036..1f32ec562 100644
3
3
+
--- a/build/config/compiler/BUILD.gn
4
4
+
+++ b/build/config/compiler/BUILD.gn
5
5
+
@@ -1992,6 +1992,11 @@ config("tot_warnings") {
6
6
+
"-Wno-character-conversion",
7
7
+
]
8
8
+
}
9
9
+
+
10
10
+
+ cflags += [
11
11
+
+ # TODO(crbug.com/432275627): Fix and re-enable.
12
12
+
+ "-Wno-uninitialized-const-pointer"
13
13
+
+ ]
14
14
+
}
15
15
+
16
16
+
# default_warnings ------------------------------------------------------------
+522
pkgs/by-name/an/angle/info.json
···
1
1
+
{
2
2
+
"src/build": {
3
3
+
"args": {
4
4
+
"hash": "sha256-dF/oqsbgJ+rqu+4G5s5/h77tByKaejj0DD+Yj3HG9r0=",
5
5
+
"rev": "169fcf699b64d2d5e75a391beaec8a7ad6e41a7f",
6
6
+
"url": "https://chromium.googlesource.com/chromium/src/build.git"
7
7
+
},
8
8
+
"fetcher": "fetchFromGitiles"
9
9
+
},
10
10
+
"src/buildtools": {
11
11
+
"args": {
12
12
+
"hash": "sha256-Oc3PLsNSY5feY+qGZgXWv6GlW07tk3S64xwkErueY6Y=",
13
13
+
"rev": "5b7491dfe58d387aaf1391749afdfbaa19dcbb89",
14
14
+
"url": "https://chromium.googlesource.com/chromium/src/buildtools.git"
15
15
+
},
16
16
+
"fetcher": "fetchFromGitiles"
17
17
+
},
18
18
+
"src": {
19
19
+
"args": {
20
20
+
"hash": "sha256-2KV5vzBbn27PfxwtVCLgoEdxGrd3GiDiiqffWGv16MM=",
21
21
+
"rev": "7ab02e1d49a649adaba62b8a7fdfabf8144b313f",
22
22
+
"url": "https://chromium.googlesource.com/angle/angle"
23
23
+
},
24
24
+
"fetcher": "fetchFromGitiles"
25
25
+
},
26
26
+
"src/testing": {
27
27
+
"args": {
28
28
+
"hash": "sha256-q2eSRf9vO+MoQorl4ybMKcFLiE6qCklmO+63jdr1TV0=",
29
29
+
"rev": "0d5210a4b1978e7e2c6b8623c719dff0a0994a8f",
30
30
+
"url": "https://chromium.googlesource.com/chromium/src/testing"
31
31
+
},
32
32
+
"fetcher": "fetchFromGitiles"
33
33
+
},
34
34
+
"src/third_party/EGL-Registry/src": {
35
35
+
"args": {
36
36
+
"hash": "sha256-Z6DwLfgQ1wsJXz0KKJyVieOatnDmx3cs0qJ6IEgSq1A=",
37
37
+
"rev": "7dea2ed79187cd13f76183c4b9100159b9e3e071",
38
38
+
"url": "https://chromium.googlesource.com/external/github.com/KhronosGroup/EGL-Registry"
39
39
+
},
40
40
+
"fetcher": "fetchFromGitiles"
41
41
+
},
42
42
+
"src/third_party/OpenCL-CTS/src": {
43
43
+
"args": {
44
44
+
"hash": "sha256-/YmLOW0kcLWaJcUnX+x//R8pgy05YihZykkhKnbp25o=",
45
45
+
"rev": "e0a31a03fc8f816d59fd8b3051ac6a61d3fa50c6",
46
46
+
"url": "https://chromium.googlesource.com/external/github.com/KhronosGroup/OpenCL-CTS"
47
47
+
},
48
48
+
"fetcher": "fetchFromGitiles"
49
49
+
},
50
50
+
"src/third_party/OpenCL-Docs/src": {
51
51
+
"args": {
52
52
+
"hash": "sha256-RnukrtXh8mAbskzNx99OjDzcFfQHl+Lq2OmPEZlu1Vo=",
53
53
+
"rev": "774114e8761920b976d538d47fad8178d05984ec",
54
54
+
"url": "https://chromium.googlesource.com/external/github.com/KhronosGroup/OpenCL-Docs"
55
55
+
},
56
56
+
"fetcher": "fetchFromGitiles"
57
57
+
},
58
58
+
"src/third_party/OpenCL-ICD-Loader/src": {
59
59
+
"args": {
60
60
+
"hash": "sha256-JJgTD8fD3TNCIq16bfg+nTaVs17vKFNShCn6F4ermCA=",
61
61
+
"rev": "9b5e3849b49a1448996c8b96ba086cd774d987db",
62
62
+
"url": "https://chromium.googlesource.com/external/github.com/KhronosGroup/OpenCL-ICD-Loader"
63
63
+
},
64
64
+
"fetcher": "fetchFromGitiles"
65
65
+
},
66
66
+
"src/third_party/OpenGL-Registry/src": {
67
67
+
"args": {
68
68
+
"hash": "sha256-RdGIm0thB10DvyFYnYgTkUU8LgTLPfIgyfEgua4FJYE=",
69
69
+
"rev": "200cea4030cb49d3e40677379e6368a5f0e8c27b",
70
70
+
"url": "https://chromium.googlesource.com/external/github.com/KhronosGroup/OpenGL-Registry"
71
71
+
},
72
72
+
"fetcher": "fetchFromGitiles"
73
73
+
},
74
74
+
"src/third_party/Python-Markdown": {
75
75
+
"args": {
76
76
+
"hash": "sha256-qvtPcNJ0Pz1oCqZqrdm/TCQ+QBwDZjuWWvEGftXAPW8=",
77
77
+
"rev": "0f4473546172a64636f5d841410c564c0edad625",
78
78
+
"url": "https://chromium.googlesource.com/chromium/src/third_party/Python-Markdown"
79
79
+
},
80
80
+
"fetcher": "fetchFromGitiles"
81
81
+
},
82
82
+
"src/third_party/SwiftShader": {
83
83
+
"args": {
84
84
+
"hash": "sha256-kfY/I2V3t52wWrT8CU9TK3EhZP/Cw5sd/wF9dMGpHBI=",
85
85
+
"rev": "0ce9bc68d3fc995f76dcab4771c26471100ce759",
86
86
+
"url": "https://swiftshader.googlesource.com/SwiftShader"
87
87
+
},
88
88
+
"fetcher": "fetchFromGitiles"
89
89
+
},
90
90
+
"src/third_party/VK-GL-CTS/src": {
91
91
+
"args": {
92
92
+
"hash": "sha256-fl3yXkdi1KqrrmHB9k+l/eaINuFHgruUL6MB/9QXvhE=",
93
93
+
"rev": "4c617fa74b67a177c7bde5f48c73f5a5509121ed",
94
94
+
"url": "https://chromium.googlesource.com/external/github.com/KhronosGroup/VK-GL-CTS"
95
95
+
},
96
96
+
"fetcher": "fetchFromGitiles"
97
97
+
},
98
98
+
"src/third_party/abseil-cpp": {
99
99
+
"args": {
100
100
+
"hash": "sha256-0ztP0QhEnChkGOXbSP3T4epbzzf/T6POfohe58sFTwE=",
101
101
+
"rev": "e3d58ba1a2a04f85225c3c04fa4603bb64399b2c",
102
102
+
"url": "https://chromium.googlesource.com/chromium/src/third_party/abseil-cpp"
103
103
+
},
104
104
+
"fetcher": "fetchFromGitiles"
105
105
+
},
106
106
+
"src/third_party/astc-encoder/src": {
107
107
+
"args": {
108
108
+
"hash": "sha256-rCyi5Nla2IXsLD+rLMTN1h3B9umlNN0epZmPi/IFHPQ=",
109
109
+
"rev": "2319d9c4d4af53a7fc7c52985e264ce6e8a02a9b",
110
110
+
"url": "https://chromium.googlesource.com/external/github.com/ARM-software/astc-encoder"
111
111
+
},
112
112
+
"fetcher": "fetchFromGitiles"
113
113
+
},
114
114
+
"src/third_party/catapult": {
115
115
+
"args": {
116
116
+
"hash": "sha256-GlcGCmcQrA/YawQDFs8QB4GKZIPyBNiSgwm45LFg+go=",
117
117
+
"rev": "a03b70978cc52840b549947f0fb165f03764c700",
118
118
+
"url": "https://chromium.googlesource.com/catapult.git"
119
119
+
},
120
120
+
"fetcher": "fetchFromGitiles"
121
121
+
},
122
122
+
"src/third_party/cherry": {
123
123
+
"args": {
124
124
+
"hash": "sha256-x41m6HooD57wTDne58/sRK5QJvvOYfRWgdrwuw9tQyM=",
125
125
+
"rev": "4f8fb08d33ca5ff05a1c638f04c85bbb8d8b52cc",
126
126
+
"url": "https://android.googlesource.com/platform/external/cherry"
127
127
+
},
128
128
+
"fetcher": "fetchFromGitiles"
129
129
+
},
130
130
+
"src/third_party/clang-format/script": {
131
131
+
"args": {
132
132
+
"hash": "sha256-d9uweklBffiuCWEb03ti1eFLnMac2qRtvggzXY1n/RU=",
133
133
+
"rev": "37f6e68a107df43b7d7e044fd36a13cbae3413f2",
134
134
+
"url": "https://chromium.googlesource.com/external/github.com/llvm/llvm-project/clang/tools/clang-format.git"
135
135
+
},
136
136
+
"fetcher": "fetchFromGitiles"
137
137
+
},
138
138
+
"src/third_party/clspv/src": {
139
139
+
"args": {
140
140
+
"hash": "sha256-OYD/74HVwg5o910luPVB0Benj1nNZ1eGXijoqHy/OH8=",
141
141
+
"rev": "60f822e8123ca414dddc0e0f944440c99cb3c04d",
142
142
+
"url": "https://chromium.googlesource.com/external/github.com/google/clspv"
143
143
+
},
144
144
+
"fetcher": "fetchFromGitiles"
145
145
+
},
146
146
+
"src/third_party/dawn": {
147
147
+
"args": {
148
148
+
"hash": "sha256-Xc86K5H4kNe9vtqQAW6y/iBGgdrK9qxT1Z8/gGkSEvQ=",
149
149
+
"rev": "7a8946456d4957dedd0137278f2198e02066b319",
150
150
+
"url": "https://dawn.googlesource.com/dawn.git"
151
151
+
},
152
152
+
"fetcher": "fetchFromGitiles"
153
153
+
},
154
154
+
"src/third_party/dawn/third_party/dxc": {
155
155
+
"args": {
156
156
+
"hash": "sha256-sUSQTOi0EuIHX9h27RXb5HnbcdfkG/U1K6EbBdjSto8=",
157
157
+
"rev": "0a1143572d107c8b6980df092b84a79190ec1fbd",
158
158
+
"url": "https://chromium.googlesource.com/external/github.com/microsoft/DirectXShaderCompiler"
159
159
+
},
160
160
+
"fetcher": "fetchFromGitiles"
161
161
+
},
162
162
+
"src/third_party/dawn/third_party/dxheaders": {
163
163
+
"args": {
164
164
+
"hash": "sha256-0Miw1Cy/jmOo7bLFBOHuTRDV04cSeyvUEyPkpVsX9DA=",
165
165
+
"rev": "980971e835876dc0cde415e8f9bc646e64667bf7",
166
166
+
"url": "https://chromium.googlesource.com/external/github.com/microsoft/DirectX-Headers"
167
167
+
},
168
168
+
"fetcher": "fetchFromGitiles"
169
169
+
},
170
170
+
"src/third_party/dawn/third_party/glfw": {
171
171
+
"args": {
172
172
+
"hash": "sha256-E1zXIDiw87badrLOZTvV+Wh9NZHu51nb70ZK9vlAlqE=",
173
173
+
"rev": "b35641f4a3c62aa86a0b3c983d163bc0fe36026d",
174
174
+
"url": "https://chromium.googlesource.com/external/github.com/glfw/glfw"
175
175
+
},
176
176
+
"fetcher": "fetchFromGitiles"
177
177
+
},
178
178
+
"src/third_party/dawn/third_party/khronos/EGL-Registry": {
179
179
+
"args": {
180
180
+
"hash": "sha256-Z6DwLfgQ1wsJXz0KKJyVieOatnDmx3cs0qJ6IEgSq1A=",
181
181
+
"rev": "7dea2ed79187cd13f76183c4b9100159b9e3e071",
182
182
+
"url": "https://chromium.googlesource.com/external/github.com/KhronosGroup/EGL-Registry"
183
183
+
},
184
184
+
"fetcher": "fetchFromGitiles"
185
185
+
},
186
186
+
"src/third_party/dawn/third_party/khronos/OpenGL-Registry": {
187
187
+
"args": {
188
188
+
"hash": "sha256-K3PcRIiD3AmnbiSm5TwaLs4Gu9hxaN8Y91WMKK8pOXE=",
189
189
+
"rev": "5bae8738b23d06968e7c3a41308568120943ae77",
190
190
+
"url": "https://chromium.googlesource.com/external/github.com/KhronosGroup/OpenGL-Registry"
191
191
+
},
192
192
+
"fetcher": "fetchFromGitiles"
193
193
+
},
194
194
+
"src/third_party/depot_tools": {
195
195
+
"args": {
196
196
+
"hash": "sha256-GcBMHMvjSpKPoE8RK5xatfWT5BWPkFFUEkZpSeAcqWA=",
197
197
+
"rev": "8f878438075a8d5d76f57bd10ab866d58d706319",
198
198
+
"url": "https://chromium.googlesource.com/chromium/tools/depot_tools.git"
199
199
+
},
200
200
+
"fetcher": "fetchFromGitiles"
201
201
+
},
202
202
+
"src/third_party/glmark2/src": {
203
203
+
"args": {
204
204
+
"hash": "sha256-VebUALLFKwEa4+oE+jF8mBSzhJd6aflphPmcK1Em8bw=",
205
205
+
"rev": "6edcf02205fd1e8979dc3f3964257a81959b80c8",
206
206
+
"url": "https://chromium.googlesource.com/external/github.com/glmark2/glmark2"
207
207
+
},
208
208
+
"fetcher": "fetchFromGitiles"
209
209
+
},
210
210
+
"src/third_party/glslang/src": {
211
211
+
"args": {
212
212
+
"hash": "sha256-kfboAzNtplxcedYVt2F10Iqfp404amk/JkFt76gtuk0=",
213
213
+
"rev": "21b4e37133868b3a50ef15fc027ecd6d3a52c875",
214
214
+
"url": "https://chromium.googlesource.com/external/github.com/KhronosGroup/glslang"
215
215
+
},
216
216
+
"fetcher": "fetchFromGitiles"
217
217
+
},
218
218
+
"src/third_party/googletest": {
219
219
+
"args": {
220
220
+
"hash": "sha256-88lAwz2c3HgFdO1tmPrp/StXfSSAZnvUAUgaTcwdFQA=",
221
221
+
"rev": "17bbed2084d3127bd7bcd27283f18d7a5861bea8",
222
222
+
"url": "https://chromium.googlesource.com/chromium/src/third_party/googletest"
223
223
+
},
224
224
+
"fetcher": "fetchFromGitiles"
225
225
+
},
226
226
+
"src/third_party/googletest/src": {
227
227
+
"args": {
228
228
+
"hash": "sha256-VuOfUPwl3QHtxjGfWq2tjObutncRoOjEJoY1ET+4pNI=",
229
229
+
"rev": "2d924d7a971e9667d76ad09727fb2402b4f8a1e3",
230
230
+
"url": "https://chromium.googlesource.com/external/github.com/google/googletest.git"
231
231
+
},
232
232
+
"fetcher": "fetchFromGitiles"
233
233
+
},
234
234
+
"src/third_party/jinja2": {
235
235
+
"args": {
236
236
+
"hash": "sha256-RhNDCE9d9ik/YNF0CSrSoBvpeGi04y3ChIY2c66lJpo=",
237
237
+
"rev": "c3027d884967773057bf74b957e3fea87e5df4d7",
238
238
+
"url": "https://chromium.googlesource.com/chromium/src/third_party/jinja2"
239
239
+
},
240
240
+
"fetcher": "fetchFromGitiles"
241
241
+
},
242
242
+
"src/third_party/jsoncpp": {
243
243
+
"args": {
244
244
+
"hash": "sha256-QdWSlzvgtOkr2dRRhkDz64InkDsVOXx43q9ABzrdFMo=",
245
245
+
"rev": "f62d44704b4da6014aa231cfc116e7fd29617d2a",
246
246
+
"url": "https://chromium.googlesource.com/chromium/src/third_party/jsoncpp"
247
247
+
},
248
248
+
"fetcher": "fetchFromGitiles"
249
249
+
},
250
250
+
"src/third_party/jsoncpp/source": {
251
251
+
"args": {
252
252
+
"hash": "sha256-bSLNcoYBz3QCt5VuTR056V9mU2PmBuYBa0W6hFg2m8Q=",
253
253
+
"rev": "42e892d96e47b1f6e29844cc705e148ec4856448",
254
254
+
"url": "https://chromium.googlesource.com/external/github.com/open-source-parsers/jsoncpp.git"
255
255
+
},
256
256
+
"fetcher": "fetchFromGitiles"
257
257
+
},
258
258
+
"src/third_party/libc++/src": {
259
259
+
"args": {
260
260
+
"hash": "sha256-WbEMS4wowBw1j7UT/5G5DSmgy5ldmdjxMszYtobr9UI=",
261
261
+
"rev": "2c359c239b138a20a03f798e47889448ef131c22",
262
262
+
"url": "https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxx.git"
263
263
+
},
264
264
+
"fetcher": "fetchFromGitiles"
265
265
+
},
266
266
+
"src/third_party/libc++abi/src": {
267
267
+
"args": {
268
268
+
"hash": "sha256-WIJAAHO+n6C5N7nyw8m8xGXr/OXvRGfsScBBdUyjxyg=",
269
269
+
"rev": "e44c3c4560f1742744ef3f9fb4217a5f26ebca1b",
270
270
+
"url": "https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxxabi.git"
271
271
+
},
272
272
+
"fetcher": "fetchFromGitiles"
273
273
+
},
274
274
+
"src/third_party/libdrm/src": {
275
275
+
"args": {
276
276
+
"hash": "sha256-woSYEDUfcEBpYOYnli13wLMt754A7KnUbmTEcFQdFGw=",
277
277
+
"rev": "ad78bb591d02162d3b90890aa4d0a238b2a37cde",
278
278
+
"url": "https://chromium.googlesource.com/chromiumos/third_party/libdrm.git"
279
279
+
},
280
280
+
"fetcher": "fetchFromGitiles"
281
281
+
},
282
282
+
"src/third_party/libjpeg_turbo": {
283
283
+
"args": {
284
284
+
"hash": "sha256-Ig+tmprZDvlf/M72/DTar2pbxat9ZElgSqdXdoM0lPs=",
285
285
+
"rev": "e14cbfaa85529d47f9f55b0f104a579c1061f9ad",
286
286
+
"url": "https://chromium.googlesource.com/chromium/deps/libjpeg_turbo.git"
287
287
+
},
288
288
+
"fetcher": "fetchFromGitiles"
289
289
+
},
290
290
+
"src/third_party/libpng/src": {
291
291
+
"args": {
292
292
+
"hash": "sha256-ATde609XPHqSrT3www6M+pA1qd69hVhhW6wSMCIrJnM=",
293
293
+
"rev": "8cc222cd3e79fa5190f3aa039a03a4cbea6cfbe7",
294
294
+
"url": "https://android.googlesource.com/platform/external/libpng"
295
295
+
},
296
296
+
"fetcher": "fetchFromGitiles"
297
297
+
},
298
298
+
"src/third_party/libunwind/src": {
299
299
+
"args": {
300
300
+
"hash": "sha256-hpOxKXZkZEWNptp31B1DZ8V9E7LsRbbYdPdUD7EYA+8=",
301
301
+
"rev": "5bbf35ae6801f579c523893176789774c0726e22",
302
302
+
"url": "https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libunwind.git"
303
303
+
},
304
304
+
"fetcher": "fetchFromGitiles"
305
305
+
},
306
306
+
"src/third_party/llvm-libc/src": {
307
307
+
"args": {
308
308
+
"hash": "sha256-tZDU/6mtjT8ZVIzahA4q9fqs5a2IYAGw/m9jO99tDcI=",
309
309
+
"rev": "3dc83eebbdc6adf43831985d410fb451d385a5b1",
310
310
+
"url": "https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libc.git"
311
311
+
},
312
312
+
"fetcher": "fetchFromGitiles"
313
313
+
},
314
314
+
"src/third_party/llvm/src": {
315
315
+
"args": {
316
316
+
"hash": "sha256-Oc8TvPj4hRrA7Dj8s7qx2bscLeKxZ8wpWtFfB9C6XF4=",
317
317
+
"rev": "1fd8d3fea53e6e4573cdce55bd38ef0a7813a442",
318
318
+
"url": "https://chromium.googlesource.com/external/github.com/llvm/llvm-project"
319
319
+
},
320
320
+
"fetcher": "fetchFromGitiles"
321
321
+
},
322
322
+
"src/third_party/lunarg-vulkantools/src": {
323
323
+
"args": {
324
324
+
"hash": "sha256-eYqBAet7SnTjouzEkJNr/eaMg+PxRAz9arZpAyeItM0=",
325
325
+
"rev": "da60ac4327af194dfa773a07db6cd5d5aaa6848d",
326
326
+
"url": "https://chromium.googlesource.com/external/github.com/LunarG/VulkanTools"
327
327
+
},
328
328
+
"fetcher": "fetchFromGitiles"
329
329
+
},
330
330
+
"src/third_party/markupsafe": {
331
331
+
"args": {
332
332
+
"hash": "sha256-mYsC/xZHpAbP/US2VRAfCYm0JeJ03is38S9s2KuA9PI=",
333
333
+
"rev": "4256084ae14175d38a3ff7d739dca83ae49ccec6",
334
334
+
"url": "https://chromium.googlesource.com/chromium/src/third_party/markupsafe"
335
335
+
},
336
336
+
"fetcher": "fetchFromGitiles"
337
337
+
},
338
338
+
"src/third_party/nasm": {
339
339
+
"args": {
340
340
+
"hash": "sha256-TxzAcp+CoKnnM0lCGjm+L3h6M30vYHjM07vW6zUe/vY=",
341
341
+
"rev": "e2c93c34982b286b27ce8b56dd7159e0b90869a2",
342
342
+
"url": "https://chromium.googlesource.com/chromium/deps/nasm.git"
343
343
+
},
344
344
+
"fetcher": "fetchFromGitiles"
345
345
+
},
346
346
+
"src/third_party/protobuf": {
347
347
+
"args": {
348
348
+
"hash": "sha256-JZU7ZqE8eE2M1urS4H6HM/jwEmjqp0XLEqPmbzE7dO4=",
349
349
+
"rev": "e0f7527112a9310b608afa49affe72e810697dce",
350
350
+
"url": "https://chromium.googlesource.com/chromium/src/third_party/protobuf"
351
351
+
},
352
352
+
"fetcher": "fetchFromGitiles"
353
353
+
},
354
354
+
"src/third_party/rapidjson/src": {
355
355
+
"args": {
356
356
+
"hash": "sha256-btUl1a/B0sXwf/+hyvCvVJjWqIkXfVYCpHm3TeBuOxk=",
357
357
+
"rev": "781a4e667d84aeedbeb8184b7b62425ea66ec59f",
358
358
+
"url": "https://chromium.googlesource.com/external/github.com/Tencent/rapidjson"
359
359
+
},
360
360
+
"fetcher": "fetchFromGitiles"
361
361
+
},
362
362
+
"src/third_party/rust": {
363
363
+
"args": {
364
364
+
"hash": "sha256-VXXPaj8XiSKbGa7eU5daq1AvwfjN7hhbpnHx/WL8OZk=",
365
365
+
"rev": "274de19b1d9b411b98b81672d1e300c86aaa2601",
366
366
+
"url": "https://chromium.googlesource.com/chromium/src/third_party/rust"
367
367
+
},
368
368
+
"fetcher": "fetchFromGitiles"
369
369
+
},
370
370
+
"src/third_party/spirv-cross/src": {
371
371
+
"args": {
372
372
+
"hash": "sha256-H43M9DXfEuyKuvo6rjb5k0KEbYOSFodbPJh8ZKY4PQg=",
373
373
+
"rev": "b8fcf307f1f347089e3c46eb4451d27f32ebc8d3",
374
374
+
"url": "https://chromium.googlesource.com/external/github.com/KhronosGroup/SPIRV-Cross"
375
375
+
},
376
376
+
"fetcher": "fetchFromGitiles"
377
377
+
},
378
378
+
"src/third_party/spirv-headers/src": {
379
379
+
"args": {
380
380
+
"hash": "sha256-LRjMy9xtOErbJbMh+g2IKXfmo/hWpegZM72F8E122oY=",
381
381
+
"rev": "2a611a970fdbc41ac2e3e328802aed9985352dca",
382
382
+
"url": "https://chromium.googlesource.com/external/github.com/KhronosGroup/SPIRV-Headers"
383
383
+
},
384
384
+
"fetcher": "fetchFromGitiles"
385
385
+
},
386
386
+
"src/third_party/spirv-tools/src": {
387
387
+
"args": {
388
388
+
"hash": "sha256-EPD+1RX4lCulEua4WfLTIqlDGCnxDRnRcH2a+pSI6mk=",
389
389
+
"rev": "108b19e5c6979f496deffad4acbe354237afa7d3",
390
390
+
"url": "https://chromium.googlesource.com/external/github.com/KhronosGroup/SPIRV-Tools"
391
391
+
},
392
392
+
"fetcher": "fetchFromGitiles"
393
393
+
},
394
394
+
"src/third_party/vulkan-deps": {
395
395
+
"args": {
396
396
+
"hash": "sha256-hXZs4L+XaHog/CyjX5WYP+2dl9WL3e/A8ql4xWEtwtI=",
397
397
+
"rev": "317a1e4780ef130e7b92fc287cf390ac2aff0c22",
398
398
+
"url": "https://chromium.googlesource.com/vulkan-deps"
399
399
+
},
400
400
+
"fetcher": "fetchFromGitiles"
401
401
+
},
402
402
+
"src/third_party/vulkan-headers/src": {
403
403
+
"args": {
404
404
+
"hash": "sha256-OorBl9vIN4DqVgT8ae+05yCLon7m0ixQczEzDlpwFRI=",
405
405
+
"rev": "10739e8e00a7b6f74d22dd0a547f1406ff1f5eb9",
406
406
+
"url": "https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Headers"
407
407
+
},
408
408
+
"fetcher": "fetchFromGitiles"
409
409
+
},
410
410
+
"src/third_party/vulkan-loader/src": {
411
411
+
"args": {
412
412
+
"hash": "sha256-j9LAqdwI3+D6CY6a6CcFK85Cd3xxdjnhLSycuqZDGN0=",
413
413
+
"rev": "c8a2c8c9164a58ce71c1c77104e28e8de724539e",
414
414
+
"url": "https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Loader"
415
415
+
},
416
416
+
"fetcher": "fetchFromGitiles"
417
417
+
},
418
418
+
"src/third_party/vulkan-tools/src": {
419
419
+
"args": {
420
420
+
"hash": "sha256-EqLG8kMQx6nHX9iZMrsu0fn1z4nY6TEQ/feTINNbUzQ=",
421
421
+
"rev": "e3fc64396755191b3c51e5c57d0454872e7fa487",
422
422
+
"url": "https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Tools"
423
423
+
},
424
424
+
"fetcher": "fetchFromGitiles"
425
425
+
},
426
426
+
"src/third_party/vulkan-utility-libraries/src": {
427
427
+
"args": {
428
428
+
"hash": "sha256-pQJln43t4U1VXJ2mpdRoUhOKyBTH0QePIMOy5f/0GXU=",
429
429
+
"rev": "0f0babb553a60da5971d9f4d40cf720ce01602f1",
430
430
+
"url": "https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Utility-Libraries"
431
431
+
},
432
432
+
"fetcher": "fetchFromGitiles"
433
433
+
},
434
434
+
"src/third_party/vulkan-validation-layers/src": {
435
435
+
"args": {
436
436
+
"hash": "sha256-yGciJW5vKvxdybz5jDo7LSw9K0d+oKr7/Yg/fBRTd4A=",
437
437
+
"rev": "89c6a9b6500e2e0bda127113bbfe1d70f1ab2d20",
438
438
+
"url": "https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-ValidationLayers"
439
439
+
},
440
440
+
"fetcher": "fetchFromGitiles"
441
441
+
},
442
442
+
"src/third_party/vulkan_memory_allocator": {
443
443
+
"args": {
444
444
+
"hash": "sha256-YzxHZagz/M8Y54UnI4h1wu5jSTuaOgv0ifC9d3fJZlQ=",
445
445
+
"rev": "56300b29fbfcc693ee6609ddad3fdd5b7a449a21",
446
446
+
"url": "https://chromium.googlesource.com/external/github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator"
447
447
+
},
448
448
+
"fetcher": "fetchFromGitiles"
449
449
+
},
450
450
+
"src/third_party/zlib": {
451
451
+
"args": {
452
452
+
"hash": "sha256-MEUIIrlH4gBebO58sPhPLbRX+BeXo1SelJqhZAQk+wQ=",
453
453
+
"rev": "4028ebf8710ee39d2286cb0f847f9b95c59f84d8",
454
454
+
"url": "https://chromium.googlesource.com/chromium/src/third_party/zlib"
455
455
+
},
456
456
+
"fetcher": "fetchFromGitiles"
457
457
+
},
458
458
+
"src/tools/clang": {
459
459
+
"args": {
460
460
+
"hash": "sha256-3wLCPt0tqVVcojJWy7c1Z6a+b026kW6fha4Jg3ulScc=",
461
461
+
"rev": "ae0ff7090810342e6c7c378521bd78e79ed63bad",
462
462
+
"url": "https://chromium.googlesource.com/chromium/src/tools/clang.git"
463
463
+
},
464
464
+
"fetcher": "fetchFromGitiles"
465
465
+
},
466
466
+
"src/tools/mb": {
467
467
+
"args": {
468
468
+
"hash": "sha256-/hBZV38mn6/lj28AsJ0/SzcgaTJGH5IxoNXtJ8XhQVE=",
469
469
+
"rev": "1c0b50128bb1eee3d40731733ecae62f0e3ee40a",
470
470
+
"url": "https://chromium.googlesource.com/chromium/src/tools/mb"
471
471
+
},
472
472
+
"fetcher": "fetchFromGitiles"
473
473
+
},
474
474
+
"src/tools/md_browser": {
475
475
+
"args": {
476
476
+
"hash": "sha256-QJC7tI2CHE1Y9F42dgblPirUhS69s2P6qULrfDm2f7M=",
477
477
+
"rev": "6cc8e58a83412dc31de6fb7614fadb0b51748d4b",
478
478
+
"url": "https://chromium.googlesource.com/chromium/src/tools/md_browser"
479
479
+
},
480
480
+
"fetcher": "fetchFromGitiles"
481
481
+
},
482
482
+
"src/tools/memory": {
483
483
+
"args": {
484
484
+
"hash": "sha256-i5VVlfkKvymItH5S0d4eER+I6A4omMk3XrDNoGwnzmo=",
485
485
+
"rev": "cc38b4b04fbf942926366f420c43afb9e9ab364b",
486
486
+
"url": "https://chromium.googlesource.com/chromium/src/tools/memory"
487
487
+
},
488
488
+
"fetcher": "fetchFromGitiles"
489
489
+
},
490
490
+
"src/tools/perf": {
491
491
+
"args": {
492
492
+
"hash": "sha256-4qQcqlY1QcNk+wSL7on9Lc8101txQv3Usanprw/oVv4=",
493
493
+
"rev": "bd0baf9e31a384c4ff99b8911be4c07772ad513c",
494
494
+
"url": "https://chromium.googlesource.com/chromium/src/tools/perf"
495
495
+
},
496
496
+
"fetcher": "fetchFromGitiles"
497
497
+
},
498
498
+
"src/tools/protoc_wrapper": {
499
499
+
"args": {
500
500
+
"hash": "sha256-f8lpjbB7VnQQcDBSzxFbOroYjxprX+fU6fpl2Z3B3l8=",
501
501
+
"rev": "502dcad5230ec1da544e7720b15d91782f040d9f",
502
502
+
"url": "https://chromium.googlesource.com/chromium/src/tools/protoc_wrapper"
503
503
+
},
504
504
+
"fetcher": "fetchFromGitiles"
505
505
+
},
506
506
+
"src/tools/rust": {
507
507
+
"args": {
508
508
+
"hash": "sha256-ejYbEIlLpgdRedFVmZ9K8x3B//23BATw6w/n68mGBaI=",
509
509
+
"rev": "6c0ba3465b64d460de7426b707dcc73939a2226f",
510
510
+
"url": "https://chromium.googlesource.com/chromium/src/tools/rust.git"
511
511
+
},
512
512
+
"fetcher": "fetchFromGitiles"
513
513
+
},
514
514
+
"src/tools/valgrind": {
515
515
+
"args": {
516
516
+
"hash": "sha256-EBcH7f6lRPBYKX9NeaLShWPL1eeJhBDxJkR61OrFydU=",
517
517
+
"rev": "5ba62550b2f3d4d97974ebcdb4f8462e4ba14af2",
518
518
+
"url": "https://chromium.googlesource.com/chromium/src/tools/valgrind"
519
519
+
},
520
520
+
"fetcher": "fetchFromGitiles"
521
521
+
}
522
522
+
}
+159
pkgs/by-name/an/angle/package.nix
···
1
1
+
{
2
2
+
stdenv,
3
3
+
gn,
4
4
+
ninja,
5
5
+
llvmPackages_21,
6
6
+
gclient2nix,
7
7
+
pkg-config,
8
8
+
glib,
9
9
+
python3,
10
10
+
symlinkJoin,
11
11
+
lib,
12
12
+
xorg,
13
13
+
wayland,
14
14
+
pciutils,
15
15
+
libGL,
16
16
+
}:
17
17
+
let
18
18
+
llvmPackages = llvmPackages_21;
19
19
+
llvmMajorVersion = lib.versions.major llvmPackages.llvm.version;
20
20
+
arch = stdenv.hostPlatform.parsed.cpu.name;
21
21
+
triplet = lib.getAttr arch {
22
22
+
"x86_64" = "x86_64-unknown-linux-gnu";
23
23
+
"aarch64" = "aarch64-unknown-linux-gnu";
24
24
+
};
25
25
+
26
26
+
clang = symlinkJoin {
27
27
+
name = "angle-clang-llvm-join";
28
28
+
paths = [
29
29
+
llvmPackages.llvm
30
30
+
llvmPackages.clang
31
31
+
];
32
32
+
postBuild = ''
33
33
+
mkdir -p $out/lib/clang/${llvmMajorVersion}/lib/
34
34
+
ln -s $out/resource-root/lib/linux \
35
35
+
$out/lib/clang/${llvmMajorVersion}/lib/${triplet}
36
36
+
'';
37
37
+
};
38
38
+
in
39
39
+
stdenv.mkDerivation (finalAttrs: {
40
40
+
pname = "angle";
41
41
+
version = "7258";
42
42
+
43
43
+
gclientDeps = gclient2nix.importGclientDeps ./info.json;
44
44
+
sourceRoot = "src";
45
45
+
strictDeps = true;
46
46
+
47
47
+
nativeBuildInputs = [
48
48
+
gn
49
49
+
ninja
50
50
+
gclient2nix.gclientUnpackHook
51
51
+
pkg-config
52
52
+
python3
53
53
+
llvmPackages.bintools
54
54
+
];
55
55
+
56
56
+
buildInputs = [
57
57
+
glib
58
58
+
xorg.libxcb.dev
59
59
+
xorg.libX11.dev
60
60
+
xorg.libXext.dev
61
61
+
xorg.libXi
62
62
+
wayland.dev
63
63
+
pciutils
64
64
+
libGL
65
65
+
];
66
66
+
67
67
+
gnFlags = [
68
68
+
"is_debug=false"
69
69
+
"use_sysroot=false"
70
70
+
"clang_base_path=\"${clang}\""
71
71
+
"angle_build_tests=false"
72
72
+
"concurrent_links=1"
73
73
+
"use_custom_libcxx=true"
74
74
+
"angle_enable_swiftshader=false"
75
75
+
"angle_enable_wgpu=false"
76
76
+
];
77
77
+
78
78
+
patches = [
79
79
+
# https://issues.chromium.org/issues/432275627
80
80
+
# https://chromium-review.googlesource.com/c/chromium/src/+/6761936/2/build/config/compiler/BUILD.gn
81
81
+
./fix-uninitialized-const-pointer-error-001.patch
82
82
+
];
83
83
+
84
84
+
postPatch = ''
85
85
+
substituteInPlace build/config/clang/BUILD.gn \
86
86
+
--replace-fail \
87
87
+
"_dir = \"${triplet}\"" \
88
88
+
"_dir = \"${triplet}\"
89
89
+
_suffix = \"-${arch}\""
90
90
+
91
91
+
cat > build/config/gclient_args.gni <<EOF
92
92
+
# Generated from 'DEPS'
93
93
+
checkout_angle_internal = false
94
94
+
checkout_angle_mesa = false
95
95
+
checkout_angle_restricted_traces = false
96
96
+
generate_location_tags = false
97
97
+
EOF
98
98
+
'';
99
99
+
100
100
+
installPhase = ''
101
101
+
runHook preInstallPhase
102
102
+
103
103
+
install -v -m755 -D *.so *.so.1 -t "$out/lib"
104
104
+
install -v -m755 -D \
105
105
+
angle_shader_translator \
106
106
+
gaussian_distribution_gentables \
107
107
+
-t "$out/bin"
108
108
+
109
109
+
cp -rv ../../include "$out"
110
110
+
111
111
+
mkdir -p $out/lib/pkgconfig
112
112
+
113
113
+
cat > $out/lib/pkgconfig/angle.pc <<EOF
114
114
+
prefix=${placeholder "out"}
115
115
+
exec_prefix=''${prefix}
116
116
+
libdir=''${prefix}/lib
117
117
+
includedir=''${prefix}/include
118
118
+
119
119
+
Name: angle
120
120
+
Description: ${finalAttrs.meta.description}
121
121
+
122
122
+
URL: ${finalAttrs.meta.homepage}
123
123
+
Version: ${lib.versions.major finalAttrs.version}
124
124
+
Libs: -L''${libdir} -l${
125
125
+
lib.concatStringsSep " -l" [
126
126
+
"EGL"
127
127
+
"EGL_vulkan_secondaries"
128
128
+
"GLESv1_CM"
129
129
+
"GLESv2"
130
130
+
"GLESv2_vulkan_secondaries"
131
131
+
"GLESv2_with_capture"
132
132
+
"VkICD_mock_icd"
133
133
+
"feature_support"
134
134
+
]
135
135
+
}
136
136
+
Cflags: -I''${includedir}
137
137
+
EOF
138
138
+
139
139
+
runHook postInstallPhase
140
140
+
'';
141
141
+
142
142
+
meta = {
143
143
+
description = "Conformant OpenGL ES implementation for Windows, Mac, Linux, iOS and Android";
144
144
+
longDescription = ''
145
145
+
The goal of ANGLE is to allow users of multiple operating systems
146
146
+
to seamlessly run WebGL and other OpenGL ES content by translating
147
147
+
OpenGL ES API calls to one of the hardware-supported APIs available
148
148
+
for that platform.
149
149
+
'';
150
150
+
homepage = "https://angleproject.org";
151
151
+
maintainers = with lib.maintainers; [
152
152
+
jess
153
153
+
jk
154
154
+
];
155
155
+
license = lib.licenses.bsd3;
156
156
+
platforms = lib.platforms.linux ++ lib.platforms.darwin;
157
157
+
broken = stdenv.hostPlatform.isDarwin;
158
158
+
};
159
159
+
})