summaryrefslogtreecommitdiffstats
path: root/media/highway
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
commit36d22d82aa202bb199967e9512281e9a53db42c9 (patch)
tree105e8c98ddea1c1e4784a60a5a6410fa416be2de /media/highway
parentInitial commit. (diff)
downloadfirefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.tar.xz
firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.zip
Adding upstream version 115.7.0esr.upstream/115.7.0esr
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'media/highway')
-rw-r--r--media/highway/moz.build48
-rw-r--r--media/highway/moz.yaml44
2 files changed, 92 insertions, 0 deletions
diff --git a/media/highway/moz.build b/media/highway/moz.build
new file mode 100644
index 0000000000..11810e4062
--- /dev/null
+++ b/media/highway/moz.build
@@ -0,0 +1,48 @@
+# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
+# vim: set filetype=python:
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+LOCAL_INCLUDES += [
+ "/third_party/highway/",
+]
+
+SOURCES += [
+ "/third_party/highway/hwy/aligned_allocator.cc",
+ "/third_party/highway/hwy/contrib/image/image.cc",
+ "/third_party/highway/hwy/per_target.cc",
+ "/third_party/highway/hwy/targets.cc",
+]
+
+EXPORTS.hwy += [
+ "/third_party/highway/hwy/aligned_allocator.h",
+ "/third_party/highway/hwy/base.h",
+ "/third_party/highway/hwy/cache_control.h",
+ "/third_party/highway/hwy/detect_compiler_arch.h",
+ "/third_party/highway/hwy/detect_targets.h",
+ "/third_party/highway/hwy/foreach_target.h",
+ "/third_party/highway/hwy/highway.h",
+ "/third_party/highway/hwy/highway_export.h",
+ "/third_party/highway/hwy/targets.h",
+]
+
+EXPORTS.hwy.ops += [
+ "/third_party/highway/hwy/ops/arm_neon-inl.h",
+ "/third_party/highway/hwy/ops/arm_sve-inl.h",
+ "/third_party/highway/hwy/ops/emu128-inl.h",
+ "/third_party/highway/hwy/ops/generic_ops-inl.h",
+ "/third_party/highway/hwy/ops/rvv-inl.h",
+ "/third_party/highway/hwy/ops/scalar-inl.h",
+ "/third_party/highway/hwy/ops/set_macros-inl.h",
+ "/third_party/highway/hwy/ops/shared-inl.h",
+ "/third_party/highway/hwy/ops/wasm_128-inl.h",
+ "/third_party/highway/hwy/ops/x86_128-inl.h",
+ "/third_party/highway/hwy/ops/x86_256-inl.h",
+ "/third_party/highway/hwy/ops/x86_512-inl.h",
+]
+
+FINAL_LIBRARY = "gkmedias"
+
+# We allow warnings for third-party code that can be updated from upstream.
+AllowCompilerWarnings()
diff --git a/media/highway/moz.yaml b/media/highway/moz.yaml
new file mode 100644
index 0000000000..cc8700cc33
--- /dev/null
+++ b/media/highway/moz.yaml
@@ -0,0 +1,44 @@
+# Version of this schema
+schema: 1
+
+bugzilla:
+ # Bugzilla product and component for this directory and subdirectories
+ product: Core
+ component: "Graphics: ImageLib"
+
+# Document the source of externally hosted code
+origin:
+
+ # Short name of the package/library
+ name: highway
+
+ description: Performance-portable, length-agnostic SIMD with runtime dispatch
+
+ # Full URL for the package's homepage/etc
+ # Usually different from repository url
+ url: https://github.com/google/highway
+
+ # Human-readable identifier for this version/release
+ # Generally "version NNN", "tag SSS", "bookmark SSS"
+ release: 58746ca5b9f9444a2a3549704602ecc6239f8f41 (2023-01-19T12:13:59Z).
+
+ # Revision to pull in
+ # Must be a long or short commit SHA (long preferred)
+ revision: 58746ca5b9f9444a2a3549704602ecc6239f8f41
+
+ # The package's license, where possible using the mnemonic from
+ # https://spdx.org/licenses/
+ # Multiple licenses can be specified (as a YAML list)
+ # A "LICENSE" file must exist containing the full license text
+ license: Apache-2.0
+
+ license-file: LICENSE
+
+vendoring:
+ url: https://github.com/google/highway
+ source-hosting: github
+ vendor-directory: third_party/highway
+
+ exclude:
+ - g3doc/
+