mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 23:31:56 +00:00
f024d94b2b
# ignore-this-changeset Differential Revision: https://phabricator.services.mozilla.com/D186092
54 lines
1.9 KiB
Python
54 lines
1.9 KiB
Python
# -*- 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/",
|
|
]
|
|
|
|
if CONFIG["CPU_ARCH"] == "ppc64" and CONFIG["OS_TARGET"] == "Linux":
|
|
DEFINES["TOOLCHAIN_MISS_ASM_HWCAP_H"] = True
|
|
|
|
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/ppc_vsx-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/tuple-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()
|