Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Unified Diff: BUILD.gn

Issue 550533002: libvpx: exclude NEON target on x86 for GN build (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: BUILD.gn
===================================================================
--- BUILD.gn (revision 291834)
+++ BUILD.gn (working copy)
@@ -170,10 +170,12 @@
}
}
-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") {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698