diff options
author | hclam@chromium.org <hclam@chromium.org> | 2014-09-05 23:48:29 +0000 |
---|---|---|
committer | hclam@chromium.org <hclam@chromium.org> | 2014-09-05 23:48:29 +0000 |
commit | 71513d8f2786d36e1e7bd3357dff8ce03361c19e (patch) | |
tree | c6ffbf7eab4ae8a012c762a9f16591b35984499c | |
parent | bd09f762630df926103d21373961ced61ca0a653 (diff) | |
download | libvpx-71513d8f2786d36e1e7bd3357dff8ce03361c19e.tar.gz |
libvpx: exclude NEON target on x86 for GN build
Exclude NEON targets such that GN can build for all targets.
TBR=tomfinegan
Review URL: https://codereview.chromium.org/550533002
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libvpx@291837 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
-rw-r--r-- | BUILD.gn | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -170,10 +170,12 @@ static_library("libvpx_intrinsics_sse4_1") { } } -static_library("libvpx_intrinsics_neon") { - configs += [ ":libvpx_config" ] - cflags = [ "-mfpu=neon", "-mfloat-abi=softfp" ] - sources = libvpx_srcs_arm_neon_cpu_detect_neon +if (cpu_arch_full == "arm-neon-cpu-detect") { + static_library("libvpx_intrinsics_neon") { + configs += [ ":libvpx_config" ] + cflags = [ "-mfpu=neon", "-mfloat-abi=softfp" ] + sources = libvpx_srcs_arm_neon_cpu_detect_neon + } } static_library("libvpx") { |