blob: 64a31a19b37996b6dc941c877774b2733b428396 [file] [log] [blame]
# Copyright 2020 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
config("eigen_includes") {
include_dirs = [ "src" ]
cflags = [
"-Wno-deprecated-copy",
"-Wno-extra-semi",
"-Wno-unused-function",
"-Wno-unused-result",
]
defines = [
"EIGEN_MPL2_ONLY",
"EIGEN_MAX_ALIGN_BYTES=64",
"EIGEN_HAS_TYPE_TRAITS=0",
]
if (target_os == "win" && target_cpu == "arm64") {
# https://crbug.com/1182242 - Neon extensions are temporarily disabled
# for this component on Windows on Arm due to compilation errors.
defines += [ "EIGEN_DONT_VECTORIZE" ]
}
}