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

Unified Diff: libvpx.gyp

Issue 148963005: Specify -mfpu=neon for neon files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 6 years, 11 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 | « generate_gypi.sh ('k') | libvpx_srcs_arm_neon_cpu_detect.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: libvpx.gyp
===================================================================
--- libvpx.gyp (revision 247557)
+++ libvpx.gyp (working copy)
@@ -49,6 +49,11 @@
['target_arch=="x64"', {
'includes': ['libvpx_srcs_x86_64_intrinsics.gypi', ],
}],
+ [ '(target_arch=="arm" or target_arch=="armv7") and arm_neon==0 and OS=="android"', {
+ # When building for targets which may not have NEON (but may!), include
+ # support for neon and hide it behind Android cpu-features.
+ 'includes': ['libvpx_srcs_arm_neon_cpu_detect_intrinsics.gypi', ],
+ }],
[ '(target_arch != "arm" and target_arch != "armv7") and target_arch != "mipsel"', {
'targets': [
{
@@ -286,6 +291,9 @@
'includes': [
'libvpx_srcs_arm_neon_cpu_detect.gypi',
],
+ 'dependencies': [
+ 'libvpx_intrinsics_neon',
+ ],
'cflags': [
'-Wa,-mfpu=neon',
],
« no previous file with comments | « generate_gypi.sh ('k') | libvpx_srcs_arm_neon_cpu_detect.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698