Merge autoland to mozilla-central. a=merge
[gecko.git] / media / highway / moz.build
blob71e750077bee4d3aa544ec13b4f9b0501c88f94b
1 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
2 # vim: set filetype=python:
3 # This Source Code Form is subject to the terms of the Mozilla Public
4 # License, v. 2.0. If a copy of the MPL was not distributed with this
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
7 LOCAL_INCLUDES += [
8     "/third_party/highway/",
11 # CMake has check_include_file() but for now we disable this.
12 # See bug 1839363 and bug 1903190.
13 if CONFIG["TARGET_CPU"] in ("ppc64", "s390x") and CONFIG["OS_TARGET"] == "Linux":
14     DEFINES["TOOLCHAIN_MISS_ASM_HWCAP_H"] = True
16 SOURCES += [
17     "/third_party/highway/hwy/aligned_allocator.cc",
18     "/third_party/highway/hwy/contrib/image/image.cc",
19     "/third_party/highway/hwy/per_target.cc",
20     "/third_party/highway/hwy/targets.cc",
23 EXPORTS.hwy += [
24     "/third_party/highway/hwy/aligned_allocator.h",
25     "/third_party/highway/hwy/base.h",
26     "/third_party/highway/hwy/cache_control.h",
27     "/third_party/highway/hwy/detect_compiler_arch.h",
28     "/third_party/highway/hwy/detect_targets.h",
29     "/third_party/highway/hwy/foreach_target.h",
30     "/third_party/highway/hwy/highway.h",
31     "/third_party/highway/hwy/highway_export.h",
32     "/third_party/highway/hwy/per_target.h",
33     "/third_party/highway/hwy/targets.h",
36 EXPORTS.hwy.ops += [
37     "/third_party/highway/hwy/ops/arm_neon-inl.h",
38     "/third_party/highway/hwy/ops/arm_sve-inl.h",
39     "/third_party/highway/hwy/ops/emu128-inl.h",
40     "/third_party/highway/hwy/ops/generic_ops-inl.h",
41     "/third_party/highway/hwy/ops/ppc_vsx-inl.h",
42     "/third_party/highway/hwy/ops/rvv-inl.h",
43     "/third_party/highway/hwy/ops/scalar-inl.h",
44     "/third_party/highway/hwy/ops/set_macros-inl.h",
45     "/third_party/highway/hwy/ops/shared-inl.h",
46     "/third_party/highway/hwy/ops/tuple-inl.h",
47     "/third_party/highway/hwy/ops/wasm_128-inl.h",
48     "/third_party/highway/hwy/ops/x86_128-inl.h",
49     "/third_party/highway/hwy/ops/x86_256-inl.h",
50     "/third_party/highway/hwy/ops/x86_512-inl.h",
53 FINAL_LIBRARY = "xul"
55 # We allow warnings for third-party code that can be updated from upstream.
56 AllowCompilerWarnings()