Commit 7ed2bb12 authored by fbarchard@google.com's avatar fbarchard@google.com

Add Neon source files to libyuv GN build

BUG=none
TESTED=untested
R=bcornell@google.com

Review URL: https://webrtc-codereview.appspot.com/42149004

git-svn-id: http://libyuv.googlecode.com/svn/trunk@1303 16f28f9a-4ce2-e073-06de-1de4eb20be90
parent 933bd40c
......@@ -6,6 +6,8 @@
# in the file PATENTS. All contributing project authors may
# be found in the AUTHORS file in the root of the source tree.
import("//build/config/arm.gni")
config("libyuv_config") {
include_dirs = [
".",
......@@ -88,5 +90,25 @@ source_set("libyuv") {
"//third_party:jpeg",
]
# TODO(GYP) Neon build.
if (current_cpu == "arm" && (arm_use_neon || arm_optionally_use_neon)) {
deps += [ ":libyuv_neon" ]
}
}
static_library("libyuv_neon") {
sources = [
"source/compare_neon.cc",
"source/compare_neon64.cc",
"source/rotate_neon.cc",
"source/rotate_neon64.cc",
"source/row_neon.cc",
"source/row_neon64.cc",
"source/scale_neon.cc",
"source/scale_neon64.cc",
]
public_configs = [ ":libyuv_config" ]
configs -= [ "//build/config/compiler:compiler_arm_fpu" ]
cflags = [ "-mfpu=neon" ]
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment