summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhclam@chromium.org <hclam@chromium.org>2014-09-06 03:05:21 +0000
committerhclam@chromium.org <hclam@chromium.org>2014-09-06 03:05:21 +0000
commit0f393e92b0e220eeaa6acb0ad31e696fa5c67ccd (patch)
treeecdf02e895c2bb9e4ddad3dbc9cdb419194391a4
parent7206f88b2fe2826d3e741fc4ff25f027cfa72bec (diff)
downloadlibvpx-0f393e92b0e220eeaa6acb0ad31e696fa5c67ccd.tar.gz
GN: Build libvpx on ARM
My previous patch didn't work. Shouldn't use media_use_libvpx because it's in third_party. Instead I just commented out the entire target for NEON intrinsics. TBR=tomfinegan@chromium.org Review URL: https://codereview.chromium.org/547883002 git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libvpx@291844 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
-rw-r--r--BUILD.gn14
1 files changed, 7 insertions, 7 deletions
diff --git a/BUILD.gn b/BUILD.gn
index 0364007..3f39f7a 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -171,13 +171,13 @@ static_library("libvpx_intrinsics_sse4_1") {
}
# TOOD(hclam): NEON intrinsics are not building on GN yet.
-if (cpu_arch_full == "arm-neon-cpu-detect" && media_use_libvpx) {
- 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") {
if (!is_debug && is_win && is_official_build) {