Bug 1850713: remove duplicated setting of early hint preloader id in `ScriptLoader...
[gecko.git] / third_party / jpeg-xl / WORKSPACE
blobba493442aebf32b2148811789cee1e647bf70cc1
1 load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
2 load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository", "new_git_repository")
4 http_archive(
5     name = "bazel_skylib",
6     sha256 = "74d544d96f4a5bb630d465ca8bbcfe231e3594e5aae57e1edbf17a6eb3ca2506",
7     urls = [
8         "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.3.0/bazel-skylib-1.3.0.tar.gz",
9         "https://github.com/bazelbuild/bazel-skylib/releases/download/1.3.0/bazel-skylib-1.3.0.tar.gz",
10     ],
13 load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace")
15 bazel_skylib_workspace()
17 local_repository(
18     name = "highway",
19     path = "third_party/highway",
22 local_repository(
23     name = "brotli",
24     path = "third_party/brotli",
27 new_local_repository(
28     name = "googletest",
29     build_file = "third_party/googletest/BUILD.bazel",
30     path = "third_party/googletest",
33 new_local_repository(
34     name = "skcms",
35     build_file_content = """
36 cc_library(
37     name = "skcms",
38     srcs = [
39         "skcms.cc",
40         "skcms_internal.h",
41         "src/Transform_inl.h",
42     ],
43     hdrs = ["skcms.h"],
44     visibility = ["//visibility:public"],
46     """,
47     path = "third_party/skcms",
50 new_git_repository(
51     name = "zlib",
52     build_file_content = """
53 cc_library(
54     name = "zlib",
55     defines = ["HAVE_UNISTD_H"],
56     srcs = [
57         "adler32.c",
58         "compress.c",
59         "crc32.c",
60         "crc32.h",
61         "deflate.c",
62         "deflate.h",
63         "gzclose.c",
64         "gzguts.h",
65         "gzlib.c",
66         "gzread.c",
67         "gzwrite.c",
68         "infback.c",
69         "inffast.c",
70         "inffast.h",
71         "inffixed.h",
72         "inflate.c",
73         "inflate.h",
74         "inftrees.c",
75         "inftrees.h",
76         "trees.c",
77         "trees.h",
78         "uncompr.c",
79         "zconf.h",
80         "zutil.c",
81         "zutil.h",
82     ],
83     hdrs = ["zlib.h"],
84     includes = ["."],
85     visibility = ["//visibility:public"],
87     """,
88     remote = "https://github.com/madler/zlib",
89     tag = "v1.2.13",
92 new_local_repository(
93     name = "png",
94     build_file_content = """
95 genrule(
96     name = "pnglibconf",
97     srcs = ["scripts/pnglibconf.h.prebuilt"],
98     outs = ["pnglibconf.h"],
99     cmd = "cp -f $< $@",
101 cc_library(
102     name = "png",
103     srcs = [
104         "png.c",
105         "pngconf.h",
106         "pngdebug.h",
107         "pngerror.c",
108         "pngget.c",
109         "pnginfo.h",
110         ":pnglibconf",
111         "pngmem.c",
112         "pngpread.c",
113         "pngpriv.h",
114         "pngread.c",
115         "pngrio.c",
116         "pngrtran.c",
117         "pngrutil.c",
118         "pngset.c",
119         "pngstruct.h",
120         "pngtrans.c",
121         "pngwio.c",
122         "pngwrite.c",
123         "pngwtran.c",
124         "pngwutil.c",
125     ],
126     hdrs = ["png.h"],
127     includes = ["."],
128     linkopts = ["-lm"],
129     visibility = ["//visibility:public"],
130     deps = ["@zlib//:zlib"],
132     """,
133     path = "third_party/libpng",
136 new_git_repository(
137     name = "libjpeg_turbo",
138     build_file_content = """
139 load("@bazel_skylib//rules:expand_template.bzl", "expand_template")
140 SUBSTITUTIONS = {
141     "@BUILD@" : "20230208",
142     "@CMAKE_PROJECT_NAME@" : "libjpeg-turbo",
143     "@COPYRIGHT_YEAR@" : "2023",
144     "@INLINE@" : "__inline__",
145     "@JPEG_LIB_VERSION@" : "62",
146     "@LIBJPEG_TURBO_VERSION_NUMBER@" : "2001091",
147     "@SIZE_T@" : "8",
148     "@THREAD_LOCAL@" : "__thread",
149     "@VERSION@" : "2.1.91",
151 YES_DEFINES = [
152     "C_ARITH_CODING_SUPPORTED", "D_ARITH_CODING_SUPPORTED",
153     "HAVE_BUILTIN_CTZL", "MEM_SRCDST_SUPPORTED"
155 NO_DEFINES = [
156     "WITH_SIMD", "RIGHT_SHIFT_IS_UNSIGNED", "HAVE_INTRIN_H"
158 SUBSTITUTIONS.update({
159     "#cmakedefine " + key : "#define " + key for key in YES_DEFINES
161 SUBSTITUTIONS.update({
162     "#cmakedefine " + key : "// #define " + key for key in NO_DEFINES
165     expand_template(
166         name = "expand_" + src,
167         template = src + ".in",
168         out = src,
169         substitutions = SUBSTITUTIONS,
170         visibility = ["//visibility:public"],
171     ) for src in ["jconfig.h", "jconfigint.h", "jversion.h"]
173 JPEG16_SOURCES = [
174     "jccolor.c",
175     "jcdiffct.c",
176     "jclossls.c",
177     "jcmainct.c",
178     "jcprepct.c",
179     "jcsample.c",
180     "jdcolor.c",
181     "jddiffct.c",
182     "jdlossls.c",
183     "jdmainct.c",
184     "jdmerge.c",
185     "jdpostct.c",
186     "jdsample.c",
187     "jquant1.c",
188     "jquant2.c",
189     "jutils.c",
191 JPEG12_SOURCES = JPEG16_SOURCES + [
192     "jccoefct.c",
193     "jcdctmgr.c",
194     "jdcoefct.c",
195     "jddctmgr.c",
196     "jfdctfst.c",
197     "jfdctint.c",
198     "jidctflt.c",
199     "jidctfst.c",
200     "jidctint.c",
201     "jidctred.c",
203 JPEG_SOURCES = JPEG12_SOURCES + [
204     "jaricom.c",
205     "jcapimin.c",
206     "jcapistd.c",
207     "jcarith.c",
208     "jchuff.c",
209     "jcicc.c",
210     "jcinit.c",
211     "jclhuff.c",
212     "jcmarker.c",
213     "jcmaster.c",
214     "jcomapi.c",
215     "jcparam.c",
216     "jcphuff.c",
217     "jdapimin.c",
218     "jdapistd.c",
219     "jdarith.c",
220     "jdatadst.c",
221     "jdatasrc.c",
222     "jdhuff.c",
223     "jdicc.c",
224     "jdinput.c",
225     "jdlhuff.c",
226     "jdmarker.c",
227     "jdmaster.c",
228     "jdphuff.c",
229     "jdtrans.c",
230     "jerror.c",
231     "jfdctflt.c",
232     "jmemmgr.c",
233     "jmemnobs.c",
235 JPEG_HEADERS = [
236     "jccolext.c",
237     "jchuff.h",
238     "jcmaster.h",
239     "jconfig.h",
240     "jconfigint.h",
241     "jdcoefct.h",
242     "jdcol565.c",
243     "jdcolext.c",
244     "jdct.h",
245     "jdhuff.h",
246     "jdmainct.h",
247     "jdmaster.h",
248     "jdmerge.h",
249     "jdmrg565.c",
250     "jdmrgext.c",
251     "jdsample.h",
252     "jerror.h",
253     "jinclude.h",
254     "jlossls.h",
255     "jmemsys.h",
256     "jmorecfg.h",
257     "jpeg_nbits_table.h",
258     "jpegapicomp.h",
259     "jpegint.h",
260     "jpeglib.h",
261     "jsamplecomp.h",
262     "jsimd.h",
263     "jsimddct.h",
264     "jstdhuff.c",
265     "jversion.h",
267 cc_library(
268     name = "jpeg16",
269     srcs = JPEG16_SOURCES,
270     hdrs = JPEG_HEADERS,
271     local_defines = ["BITS_IN_JSAMPLE=16"],
272     visibility = ["//visibility:public"],
274 cc_library(
275     name = "jpeg12",
276     srcs = JPEG12_SOURCES,
277     hdrs = JPEG_HEADERS,
278     local_defines = ["BITS_IN_JSAMPLE=12"],
279     visibility = ["//visibility:public"],
281 cc_library(
282     name = "jpeg",
283     srcs = JPEG_SOURCES,
284     hdrs = JPEG_HEADERS,
285     deps = [":jpeg16", ":jpeg12"],
286     includes = ["."],
287     visibility = ["//visibility:public"],
289 exports_files([
290     "jmorecfg.h",
291     "jpeglib.h",
293     """,
294     remote = "https://github.com/libjpeg-turbo/libjpeg-turbo.git",
295     tag = "2.1.91",
298 http_archive(
299     name = "gif",
300     build_file_content = """
301 cc_library(
302     name = "gif",
303     srcs = [
304         "dgif_lib.c", "egif_lib.c", "gifalloc.c", "gif_err.c", "gif_font.c",
305         "gif_hash.c", "openbsd-reallocarray.c", "gif_hash.h",
306         "gif_lib_private.h"
307     ],
308     hdrs = ["gif_lib.h"],
309     includes = ["."],
310     visibility = ["//visibility:public"],
312     """,
313     sha256 = "31da5562f44c5f15d63340a09a4fd62b48c45620cd302f77a6d9acf0077879bd",
314     strip_prefix = "giflib-5.2.1",
315     url = "https://netcologne.dl.sourceforge.net/project/giflib/giflib-5.2.1.tar.gz",
318 new_git_repository(
319     name = "imath",
320     build_file_content = """
321 load("@bazel_skylib//rules:expand_template.bzl", "expand_template")
322 SUBSTITUTIONS = {
323     "@IMATH_INTERNAL_NAMESPACE@": "Imath_3_1",
324     "@IMATH_LIB_VERSION@": "3.1.4",
325     "@IMATH_NAMESPACE_CUSTOM@": "0",
326     "@IMATH_NAMESPACE@": "Imath",
327     "@IMATH_PACKAGE_NAME@": "Imath 3.1.4",
328     "@IMATH_VERSION_MAJOR@": "3",
329     "@IMATH_VERSION_MINOR@": "1",
330     "@IMATH_VERSION_PATCH@": "4",
331     "@IMATH_VERSION@": "3.1.4",
333 YES_DEFINES = [
334     "IMATH_HALF_USE_LOOKUP_TABLE", "IMATH_ENABLE_API_VISIBILITY",
336 NO_DEFINES = [
337     "IMATH_HAVE_LARGE_STACK",
339 ONE_DEFINES = [
340     "IMATH_USE_NOEXCEPT",
342 SUBSTITUTIONS.update({
343     "#cmakedefine " + key : "#define " + key for key in YES_DEFINES
345 SUBSTITUTIONS.update({
346     "#cmakedefine " + key : "// #define " + key for key in NO_DEFINES
348 SUBSTITUTIONS.update({
349     "#cmakedefine01 " + key : "#define " + key + " 1" for key in ONE_DEFINES
351 expand_template(
352     name = "expand_ImathConfig",
353     template = "config/ImathConfig.h.in",
354     out = "src/Imath/ImathConfig.h",
355     substitutions = SUBSTITUTIONS,
357 cc_library(
358     name = "Imath",
359     srcs = [
360         "src/Imath/ImathColorAlgo.cpp",
361         ":src/Imath/ImathConfig.h",
362         "src/Imath/ImathFun.cpp",
363         "src/Imath/ImathMatrixAlgo.cpp",
364         "src/Imath/ImathRandom.cpp",
365         "src/Imath/half.cpp",
366         "src/Imath/toFloat.h",
367     ],
368     hdrs = [
369         "src/Imath/ImathBox.h",
370         "src/Imath/ImathBoxAlgo.h",
371         "src/Imath/ImathColor.h",
372         "src/Imath/ImathColorAlgo.h",
373         "src/Imath/ImathEuler.h",
374         "src/Imath/ImathExport.h",
375         "src/Imath/ImathForward.h",
376         "src/Imath/ImathFrame.h",
377         "src/Imath/ImathFrustum.h",
378         "src/Imath/ImathFrustumTest.h",
379         "src/Imath/ImathFun.h",
380         "src/Imath/ImathGL.h",
381         "src/Imath/ImathGLU.h",
382         "src/Imath/ImathInt64.h",
383         "src/Imath/ImathInterval.h",
384         "src/Imath/ImathLine.h",
385         "src/Imath/ImathLineAlgo.h",
386         "src/Imath/ImathMath.h",
387         "src/Imath/ImathMatrix.h",
388         "src/Imath/ImathMatrixAlgo.h",
389         "src/Imath/ImathNamespace.h",
390         "src/Imath/ImathPlane.h",
391         "src/Imath/ImathPlatform.h",
392         "src/Imath/ImathQuat.h",
393         "src/Imath/ImathRandom.h",
394         "src/Imath/ImathRoots.h",
395         "src/Imath/ImathShear.h",
396         "src/Imath/ImathSphere.h",
397         "src/Imath/ImathTypeTraits.h",
398         "src/Imath/ImathVec.h",
399         "src/Imath/ImathVecAlgo.h",
400         "src/Imath/half.h",
401         "src/Imath/halfFunction.h",
402         "src/Imath/halfLimits.h",
403     ],
404     includes = ["src/Imath"],
405     visibility = ["//visibility:public"],
407 """,
408     remote = "https://github.com/AcademySoftwareFoundation/imath",
409     tag = "v3.1.5",
412 new_git_repository(
413     name = "openexr",
414     build_file_content = """
415 load("@bazel_skylib//rules:expand_template.bzl", "expand_template")
416 SUBSTITUTIONS = {
417     "@IEX_INTERNAL_NAMESPACE@": "Iex_3_0",
418     "@IEX_NAMESPACE_CUSTOM@": "0",
419     "@IEX_NAMESPACE@": "Iex",
420     "@ILMTHREAD_INTERNAL_NAMESPACE@": "IlmThread_3_0",
421     "@ILMTHREAD_NAMESPACE_CUSTOM@": "0",
422     "@ILMTHREAD_NAMESPACE@": "IlmThread",
423     "@OPENEXR_IMF_NAMESPACE@": "Imf",
424     "@OPENEXR_INTERNAL_IMF_NAMESPACE@": "Imf_3_0",
425     "@OPENEXR_LIB_VERSION@": "3.0.4",
426     "@OPENEXR_NAMESPACE_CUSTOM@": "0",
427     "@OPENEXR_PACKAGE_NAME@": "OpenEXR 3.0.4",
428     "@OPENEXR_VERSION_EXTRA@": "",
429     "@OPENEXR_VERSION_MAJOR@": "3",
430     "@OPENEXR_VERSION_MINOR@": "0",
431     "@OPENEXR_VERSION_PATCH@": "4",
432     "@OPENEXR_VERSION@": "3.0.4",
434 YES_DEFINES = [
435     "OPENEXR_ENABLE_API_VISIBILITY", "OPENEXR_IMF_HAVE_COMPLETE_IOMANIP",
436     "OPENEXR_HAVE_LARGE_STACK",
438 NO_DEFINES = [
439     "HAVE_UCONTEXT_H", "IEX_HAVE_CONTROL_REGISTER_SUPPORT",
440     "IEX_HAVE_SIGCONTEXT_CONTROL_REGISTER_SUPPORT", "OPENEXR_IMF_HAVE_DARWIN",
441     "OPENEXR_IMF_HAVE_GCC_INLINE_ASM_AVX", "OPENEXR_IMF_HAVE_LINUX_PROCFS",
442     "OPENEXR_IMF_HAVE_SYSCONF_NPROCESSORS_ONLN",
444 ONE_DEFINES = [
445     "ILMTHREAD_THREADING_ENABLED",
447 ZERO_DEFINES = [
448     "ILMTHREAD_HAVE_POSIX_SEMAPHORES",
450 SUBSTITUTIONS.update({
451     "#cmakedefine " + key : "#define " + key for key in YES_DEFINES
453 SUBSTITUTIONS.update({
454     "#cmakedefine " + key : "// #define " + key for key in NO_DEFINES
456 SUBSTITUTIONS.update({
457     "#cmakedefine01 " + key : "#define " + key + " 1" for key in ONE_DEFINES
459 SUBSTITUTIONS.update({
460     "#cmakedefine01 " + key : "#define " + key + " 0" for key in ZERO_DEFINES
463     expand_template(
464         name = "expand_" + item,
465         template = "cmake/" + item + ".h.in",
466         out = "src/lib/Iex/" + item + ".h",
467         substitutions = SUBSTITUTIONS,
468     ) for item in ["IexConfig", "IexConfigInternal"]
471 expand_template(
472         name = "expand_" + item,
473         template = "cmake/" + item + ".h.in",
474         out = "src/lib/IlmThread/" + item + ".h",
475         substitutions = SUBSTITUTIONS,
476     ) for item in ["IlmThreadConfig"]
479 expand_template(
480         name = "expand_" + item,
481         template = "cmake/" + item + ".h.in",
482         out = "src/lib/OpenEXR/" + item + ".h",
483         substitutions = SUBSTITUTIONS,
484     ) for item in ["OpenEXRConfig", "OpenEXRConfigInternal"]
486 cc_library(
487     name = "Iex",
488     srcs = [
489         "src/lib/Iex/IexBaseExc.cpp",
490         "src/lib/Iex/IexMathFloatExc.cpp",
491         "src/lib/Iex/IexMathFpu.cpp",
492         "src/lib/Iex/IexThrowErrnoExc.cpp",
493     ],
494     hdrs = [
495         "src/lib/Iex/Iex.h",
496         "src/lib/Iex/IexBaseExc.h",
497         ":src/lib/Iex/IexConfig.h",
498         ":src/lib/Iex/IexConfigInternal.h",
499         "src/lib/Iex/IexErrnoExc.h",
500         "src/lib/Iex/IexExport.h",
501         "src/lib/Iex/IexForward.h",
502         "src/lib/Iex/IexMacros.h",
503         "src/lib/Iex/IexMathExc.h",
504         "src/lib/Iex/IexMathFloatExc.h",
505         "src/lib/Iex/IexMathFpu.h",
506         "src/lib/Iex/IexMathIeeeExc.h",
507         "src/lib/Iex/IexNamespace.h",
508         "src/lib/Iex/IexThrowErrnoExc.h",
509         ":src/lib/OpenEXR/OpenEXRConfig.h",
510     ],
511     includes = [
512         "src/lib/Iex",
513         "src/lib/OpenEXR",
514     ],
517 cc_library(
518     name = "IlmThread",
519     srcs = [
520         "src/lib/IlmThread/IlmThread.cpp",
521         "src/lib/IlmThread/IlmThreadPool.cpp",
522         "src/lib/IlmThread/IlmThreadSemaphore.cpp",
523         "src/lib/IlmThread/IlmThreadSemaphoreOSX.cpp",
524         "src/lib/IlmThread/IlmThreadSemaphorePosix.cpp",
525         "src/lib/IlmThread/IlmThreadSemaphorePosixCompat.cpp",
526         "src/lib/IlmThread/IlmThreadSemaphoreWin32.cpp",
527     ],
528     hdrs = [
529         "src/lib/IlmThread/IlmThread.h",
530         ":src/lib/IlmThread/IlmThreadConfig.h",
531         "src/lib/IlmThread/IlmThreadExport.h",
532         "src/lib/IlmThread/IlmThreadForward.h",
533         "src/lib/IlmThread/IlmThreadMutex.h",
534         "src/lib/IlmThread/IlmThreadNamespace.h",
535         "src/lib/IlmThread/IlmThreadPool.h",
536         "src/lib/IlmThread/IlmThreadSemaphore.h",
537     ],
538     includes = ["src/lib/IlmThread"],
539     deps = [":Iex"],
541 cc_library(
542     name = "OpenEXR",
543     srcs = [
544         "src/lib/OpenEXR/ImfAcesFile.cpp",
545         "src/lib/OpenEXR/ImfAttribute.cpp",
546         "src/lib/OpenEXR/ImfB44Compressor.cpp",
547         "src/lib/OpenEXR/ImfBoxAttribute.cpp",
548         "src/lib/OpenEXR/ImfCRgbaFile.cpp",
549         "src/lib/OpenEXR/ImfChannelList.cpp",
550         "src/lib/OpenEXR/ImfChannelListAttribute.cpp",
551         "src/lib/OpenEXR/ImfChromaticities.cpp",
552         "src/lib/OpenEXR/ImfChromaticitiesAttribute.cpp",
553         "src/lib/OpenEXR/ImfCompositeDeepScanLine.cpp",
554         "src/lib/OpenEXR/ImfCompressionAttribute.cpp",
555         "src/lib/OpenEXR/ImfCompressor.cpp",
556         "src/lib/OpenEXR/ImfConvert.cpp",
557         "src/lib/OpenEXR/ImfDeepCompositing.cpp",
558         "src/lib/OpenEXR/ImfDeepFrameBuffer.cpp",
559         "src/lib/OpenEXR/ImfDeepImageStateAttribute.cpp",
560         "src/lib/OpenEXR/ImfDeepScanLineInputFile.cpp",
561         "src/lib/OpenEXR/ImfDeepScanLineInputPart.cpp",
562         "src/lib/OpenEXR/ImfDeepScanLineOutputFile.cpp",
563         "src/lib/OpenEXR/ImfDeepScanLineOutputPart.cpp",
564         "src/lib/OpenEXR/ImfDeepTiledInputFile.cpp",
565         "src/lib/OpenEXR/ImfDeepTiledInputPart.cpp",
566         "src/lib/OpenEXR/ImfDeepTiledOutputFile.cpp",
567         "src/lib/OpenEXR/ImfDeepTiledOutputPart.cpp",
568         "src/lib/OpenEXR/ImfDoubleAttribute.cpp",
569         "src/lib/OpenEXR/ImfDwaCompressor.cpp",
570         "src/lib/OpenEXR/ImfEnvmap.cpp",
571         "src/lib/OpenEXR/ImfEnvmapAttribute.cpp",
572         "src/lib/OpenEXR/ImfFastHuf.cpp",
573         "src/lib/OpenEXR/ImfFloatAttribute.cpp",
574         "src/lib/OpenEXR/ImfFloatVectorAttribute.cpp",
575         "src/lib/OpenEXR/ImfFrameBuffer.cpp",
576         "src/lib/OpenEXR/ImfFramesPerSecond.cpp",
577         "src/lib/OpenEXR/ImfGenericInputFile.cpp",
578         "src/lib/OpenEXR/ImfGenericOutputFile.cpp",
579         "src/lib/OpenEXR/ImfHeader.cpp",
580         "src/lib/OpenEXR/ImfHuf.cpp",
581         "src/lib/OpenEXR/ImfIDManifest.cpp",
582         "src/lib/OpenEXR/ImfIDManifestAttribute.cpp",
583         "src/lib/OpenEXR/ImfIO.cpp",
584         "src/lib/OpenEXR/ImfInputFile.cpp",
585         "src/lib/OpenEXR/ImfInputPart.cpp",
586         "src/lib/OpenEXR/ImfInputPartData.cpp",
587         "src/lib/OpenEXR/ImfIntAttribute.cpp",
588         "src/lib/OpenEXR/ImfKeyCode.cpp",
589         "src/lib/OpenEXR/ImfKeyCodeAttribute.cpp",
590         "src/lib/OpenEXR/ImfLineOrderAttribute.cpp",
591         "src/lib/OpenEXR/ImfLut.cpp",
592         "src/lib/OpenEXR/ImfMatrixAttribute.cpp",
593         "src/lib/OpenEXR/ImfMisc.cpp",
594         "src/lib/OpenEXR/ImfMultiPartInputFile.cpp",
595         "src/lib/OpenEXR/ImfMultiPartOutputFile.cpp",
596         "src/lib/OpenEXR/ImfMultiView.cpp",
597         "src/lib/OpenEXR/ImfOpaqueAttribute.cpp",
598         "src/lib/OpenEXR/ImfOutputFile.cpp",
599         "src/lib/OpenEXR/ImfOutputPart.cpp",
600         "src/lib/OpenEXR/ImfOutputPartData.cpp",
601         "src/lib/OpenEXR/ImfPartType.cpp",
602         "src/lib/OpenEXR/ImfPizCompressor.cpp",
603         "src/lib/OpenEXR/ImfPreviewImage.cpp",
604         "src/lib/OpenEXR/ImfPreviewImageAttribute.cpp",
605         "src/lib/OpenEXR/ImfPxr24Compressor.cpp",
606         "src/lib/OpenEXR/ImfRational.cpp",
607         "src/lib/OpenEXR/ImfRationalAttribute.cpp",
608         "src/lib/OpenEXR/ImfRgbaFile.cpp",
609         "src/lib/OpenEXR/ImfRgbaYca.cpp",
610         "src/lib/OpenEXR/ImfRle.cpp",
611         "src/lib/OpenEXR/ImfRleCompressor.cpp",
612         "src/lib/OpenEXR/ImfScanLineInputFile.cpp",
613         "src/lib/OpenEXR/ImfStandardAttributes.cpp",
614         "src/lib/OpenEXR/ImfStdIO.cpp",
615         "src/lib/OpenEXR/ImfStringAttribute.cpp",
616         "src/lib/OpenEXR/ImfStringVectorAttribute.cpp",
617         "src/lib/OpenEXR/ImfSystemSpecific.cpp",
618         "src/lib/OpenEXR/ImfTestFile.cpp",
619         "src/lib/OpenEXR/ImfThreading.cpp",
620         "src/lib/OpenEXR/ImfTileDescriptionAttribute.cpp",
621         "src/lib/OpenEXR/ImfTileOffsets.cpp",
622         "src/lib/OpenEXR/ImfTiledInputFile.cpp",
623         "src/lib/OpenEXR/ImfTiledInputPart.cpp",
624         "src/lib/OpenEXR/ImfTiledMisc.cpp",
625         "src/lib/OpenEXR/ImfTiledOutputFile.cpp",
626         "src/lib/OpenEXR/ImfTiledOutputPart.cpp",
627         "src/lib/OpenEXR/ImfTiledRgbaFile.cpp",
628         "src/lib/OpenEXR/ImfTimeCode.cpp",
629         "src/lib/OpenEXR/ImfTimeCodeAttribute.cpp",
630         "src/lib/OpenEXR/ImfVecAttribute.cpp",
631         "src/lib/OpenEXR/ImfVersion.cpp",
632         "src/lib/OpenEXR/ImfWav.cpp",
633         "src/lib/OpenEXR/ImfZip.cpp",
634         "src/lib/OpenEXR/ImfZipCompressor.cpp",
635         "src/lib/OpenEXR/b44ExpLogTable.h",
636         "src/lib/OpenEXR/dwaLookups.h",
637     ],
638     hdrs = [
639         ":src/lib/Iex/IexConfig.h",
640         ":src/lib/Iex/IexConfigInternal.h",
641         ":src/lib/IlmThread/IlmThreadConfig.h",
642         "src/lib/OpenEXR/ImfAcesFile.h",
643         "src/lib/OpenEXR/ImfArray.h",
644         "src/lib/OpenEXR/ImfAttribute.h",
645         "src/lib/OpenEXR/ImfAutoArray.h",
646         "src/lib/OpenEXR/ImfB44Compressor.h",
647         "src/lib/OpenEXR/ImfBoxAttribute.h",
648         "src/lib/OpenEXR/ImfCRgbaFile.h",
649         "src/lib/OpenEXR/ImfChannelList.h",
650         "src/lib/OpenEXR/ImfChannelListAttribute.h",
651         "src/lib/OpenEXR/ImfCheckedArithmetic.h",
652         "src/lib/OpenEXR/ImfChromaticities.h",
653         "src/lib/OpenEXR/ImfChromaticitiesAttribute.h",
654         "src/lib/OpenEXR/ImfCompositeDeepScanLine.h",
655         "src/lib/OpenEXR/ImfCompression.h",
656         "src/lib/OpenEXR/ImfCompressionAttribute.h",
657         "src/lib/OpenEXR/ImfCompressor.h",
658         "src/lib/OpenEXR/ImfConvert.h",
659         "src/lib/OpenEXR/ImfDeepCompositing.h",
660         "src/lib/OpenEXR/ImfDeepFrameBuffer.h",
661         "src/lib/OpenEXR/ImfDeepImageState.h",
662         "src/lib/OpenEXR/ImfDeepImageStateAttribute.h",
663         "src/lib/OpenEXR/ImfDeepScanLineInputFile.h",
664         "src/lib/OpenEXR/ImfDeepScanLineInputPart.h",
665         "src/lib/OpenEXR/ImfDeepScanLineOutputFile.h",
666         "src/lib/OpenEXR/ImfDeepScanLineOutputPart.h",
667         "src/lib/OpenEXR/ImfDeepTiledInputFile.h",
668         "src/lib/OpenEXR/ImfDeepTiledInputPart.h",
669         "src/lib/OpenEXR/ImfDeepTiledOutputFile.h",
670         "src/lib/OpenEXR/ImfDeepTiledOutputPart.h",
671         "src/lib/OpenEXR/ImfDoubleAttribute.h",
672         "src/lib/OpenEXR/ImfDwaCompressor.h",
673         "src/lib/OpenEXR/ImfDwaCompressorSimd.h",
674         "src/lib/OpenEXR/ImfEnvmap.h",
675         "src/lib/OpenEXR/ImfEnvmapAttribute.h",
676         "src/lib/OpenEXR/ImfExport.h",
677         "src/lib/OpenEXR/ImfFastHuf.h",
678         "src/lib/OpenEXR/ImfFloatAttribute.h",
679         "src/lib/OpenEXR/ImfFloatVectorAttribute.h",
680         "src/lib/OpenEXR/ImfForward.h",
681         "src/lib/OpenEXR/ImfFrameBuffer.h",
682         "src/lib/OpenEXR/ImfFramesPerSecond.h",
683         "src/lib/OpenEXR/ImfGenericInputFile.h",
684         "src/lib/OpenEXR/ImfGenericOutputFile.h",
685         "src/lib/OpenEXR/ImfHeader.h",
686         "src/lib/OpenEXR/ImfHuf.h",
687         "src/lib/OpenEXR/ImfIDManifest.h",
688         "src/lib/OpenEXR/ImfIDManifestAttribute.h",
689         "src/lib/OpenEXR/ImfIO.h",
690         "src/lib/OpenEXR/ImfInputFile.h",
691         "src/lib/OpenEXR/ImfInputPart.h",
692         "src/lib/OpenEXR/ImfInputPartData.h",
693         "src/lib/OpenEXR/ImfInputStreamMutex.h",
694         "src/lib/OpenEXR/ImfInt64.h",
695         "src/lib/OpenEXR/ImfIntAttribute.h",
696         "src/lib/OpenEXR/ImfKeyCode.h",
697         "src/lib/OpenEXR/ImfKeyCodeAttribute.h",
698         "src/lib/OpenEXR/ImfLineOrder.h",
699         "src/lib/OpenEXR/ImfLineOrderAttribute.h",
700         "src/lib/OpenEXR/ImfLut.h",
701         "src/lib/OpenEXR/ImfMatrixAttribute.h",
702         "src/lib/OpenEXR/ImfMisc.h",
703         "src/lib/OpenEXR/ImfMultiPartInputFile.h",
704         "src/lib/OpenEXR/ImfMultiPartOutputFile.h",
705         "src/lib/OpenEXR/ImfMultiView.h",
706         "src/lib/OpenEXR/ImfName.h",
707         "src/lib/OpenEXR/ImfNamespace.h",
708         "src/lib/OpenEXR/ImfOpaqueAttribute.h",
709         "src/lib/OpenEXR/ImfOptimizedPixelReading.h",
710         "src/lib/OpenEXR/ImfOutputFile.h",
711         "src/lib/OpenEXR/ImfOutputPart.h",
712         "src/lib/OpenEXR/ImfOutputPartData.h",
713         "src/lib/OpenEXR/ImfOutputStreamMutex.h",
714         "src/lib/OpenEXR/ImfPartHelper.h",
715         "src/lib/OpenEXR/ImfPartType.h",
716         "src/lib/OpenEXR/ImfPixelType.h",
717         "src/lib/OpenEXR/ImfPizCompressor.h",
718         "src/lib/OpenEXR/ImfPreviewImage.h",
719         "src/lib/OpenEXR/ImfPreviewImageAttribute.h",
720         "src/lib/OpenEXR/ImfPxr24Compressor.h",
721         "src/lib/OpenEXR/ImfRational.h",
722         "src/lib/OpenEXR/ImfRationalAttribute.h",
723         "src/lib/OpenEXR/ImfRgba.h",
724         "src/lib/OpenEXR/ImfRgbaFile.h",
725         "src/lib/OpenEXR/ImfRgbaYca.h",
726         "src/lib/OpenEXR/ImfRle.h",
727         "src/lib/OpenEXR/ImfRleCompressor.h",
728         "src/lib/OpenEXR/ImfScanLineInputFile.h",
729         "src/lib/OpenEXR/ImfSimd.h",
730         "src/lib/OpenEXR/ImfStandardAttributes.h",
731         "src/lib/OpenEXR/ImfStdIO.h",
732         "src/lib/OpenEXR/ImfStringAttribute.h",
733         "src/lib/OpenEXR/ImfStringVectorAttribute.h",
734         "src/lib/OpenEXR/ImfSystemSpecific.h",
735         "src/lib/OpenEXR/ImfTestFile.h",
736         "src/lib/OpenEXR/ImfThreading.h",
737         "src/lib/OpenEXR/ImfTileDescription.h",
738         "src/lib/OpenEXR/ImfTileDescriptionAttribute.h",
739         "src/lib/OpenEXR/ImfTileOffsets.h",
740         "src/lib/OpenEXR/ImfTiledInputFile.h",
741         "src/lib/OpenEXR/ImfTiledInputPart.h",
742         "src/lib/OpenEXR/ImfTiledMisc.h",
743         "src/lib/OpenEXR/ImfTiledOutputFile.h",
744         "src/lib/OpenEXR/ImfTiledOutputPart.h",
745         "src/lib/OpenEXR/ImfTiledRgbaFile.h",
746         "src/lib/OpenEXR/ImfTimeCode.h",
747         "src/lib/OpenEXR/ImfTimeCodeAttribute.h",
748         "src/lib/OpenEXR/ImfVecAttribute.h",
749         "src/lib/OpenEXR/ImfVersion.h",
750         "src/lib/OpenEXR/ImfWav.h",
751         "src/lib/OpenEXR/ImfXdr.h",
752         "src/lib/OpenEXR/ImfZip.h",
753         "src/lib/OpenEXR/ImfZipCompressor.h",
754         ":src/lib/OpenEXR/OpenEXRConfig.h",
755         ":src/lib/OpenEXR/OpenEXRConfigInternal.h",
756     ],
757     includes = ["src/lib/OpenEXR"],
758     deps = [
759         ":IlmThread",
760         "@imath//:Imath",
761         "@zlib//:zlib",
762     ],
763     visibility = ["//visibility:public"],
765 """,
766     remote = "https://github.com/AcademySoftwareFoundation/openexr",
767     tag = "v3.1.5",