blob: a0c1133d5a576be145a181c3b71c12588e5b8005 [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("neon_2_sse_include") {
include_dirs = [ "src" ]
}
# Keep as a public config since TFLite's BUILD references it directly.
config("neon_2_sse_flags") {
if (target_cpu == "x64") {
cflags = [ "-Wno-deprecated-declarations" ]
}
}
source_set("neon_2_sse") {
public = [ "src/NEON_2_SSE.h" ]
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ "//build/config/compiler:no_chromium_code" ]
public_configs = [
":neon_2_sse_include",
":neon_2_sse_flags",
]
}