summaryrefslogtreecommitdiffstats
path: root/third_party/jpeg-xl/lib/jxl_vars.bzl
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:32:43 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:32:43 +0000
commit6bf0a5cb5034a7e684dcc3500e841785237ce2dd (patch)
treea68f146d7fa01f0134297619fbe7e33db084e0aa /third_party/jpeg-xl/lib/jxl_vars.bzl
parentInitial commit. (diff)
downloadthunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.tar.xz
thunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.zip
Adding upstream version 1:115.7.0.upstream/1%115.7.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'third_party/jpeg-xl/lib/jxl_vars.bzl')
-rw-r--r--third_party/jpeg-xl/lib/jxl_vars.bzl46
1 files changed, 46 insertions, 0 deletions
diff --git a/third_party/jpeg-xl/lib/jxl_vars.bzl b/third_party/jpeg-xl/lib/jxl_vars.bzl
new file mode 100644
index 0000000000..7efa84cc44
--- /dev/null
+++ b/third_party/jpeg-xl/lib/jxl_vars.bzl
@@ -0,0 +1,46 @@
+# Copyright (c) the JPEG XL Project Authors. All rights reserved.
+#
+# Use of this source code is governed by a BSD-style
+# license that can be found in the LICENSE file.
+
+# Extra build variables.
+
+libjxl_root_package = "__main__"
+
+libjxl_deps_brotli = ["@brotli//:brotlidec", "@brotli//:brotlienc"]
+libjxl_deps_gif = ["@gif//:gif"]
+libjxl_deps_gtest = ["@googletest//:gtest_main"]
+libjxl_deps_hwy = ["@highway//:hwy"]
+libjxl_deps_hwy_nanobenchmark = ["@highway//:nanobenchmark"]
+libjxl_deps_hwy_test_util = ["@highway//:hwy_test_util"]
+libjxl_deps_jpeg = ["@libjpeg_turbo//:jpeg"]
+libjxl_deps_jxl_box = ["//tools:box"]
+libjxl_deps_exr = ["@openexr//:OpenEXR"]
+libjxl_deps_png = ["@png//:png"]
+libjxl_deps_runfiles = ["@bazel_tools//tools/cpp/runfiles"]
+libjxl_deps_skcms = ["@skcms//:skcms"]
+libjxl_deps_testdata = ["//:testdata"]
+
+libjxl_test_shards = {
+ "jpegli/decode_api_test": 10,
+ "jpegli/encode_api_test": 4,
+ "jpegli/input_suspension_test": 6,
+ "jpegli/output_suspension_test": 2,
+ "jxl/ans_test": 2,
+ "jxl/linalg_test": 2,
+ "jxl/modular_test": 4,
+ "jxl/roundtrip_test": 4,
+ "jxl/xorshift128plus_test": 2,
+ "jxl/ac_strategy_test": 10, # TODO(eustas): separate heavy shard
+ "jxl/dct_test": 32,
+ "jxl/decode_test": 10, # TODO(eustas): separate heavy shard
+ "jxl/fast_dct_test": 8, # TODO(eustas): separate ultra-heavy shard
+ "jxl/fast_math_test": 10, # TODO(eustas): separate heavy shard
+ "jxl/jxl_test": 10, # TODO(eustas): separate heavy shard
+ "jxl/render_pipeline/render_pipeline_test": 10,
+}
+
+libjxl_test_timeouts = {
+ "jxl/fast_dct_test": "long",
+ "jxl/dct_test": "long",
+}