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

Unified Diff: skia/skia.gyp

Issue 353016: Enable NEON support in skia when building for armv7 (Closed)
Patch Set: Created 11 years, 1 month 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: skia/skia.gyp
diff --git a/skia/skia.gyp b/skia/skia.gyp
index 0d4fb91c4b34e7929ea741b1d250c7093b78dfee..151f47902377d52bcb29edbb250aadbdd0260422 100644
--- a/skia/skia.gyp
+++ b/skia/skia.gyp
@@ -576,6 +576,11 @@
[ 'OS != "win"', {
'sources/': [ ['exclude', '_win\\.(cc|cpp)$'] ],
}],
+ [ 'target_arch == "arm" and armv7 == 1', {
+ 'defines': [
+ '__ARM_HAVE_NEON',
+ ],
+ }],
[ 'OS == "linux" or OS == "freebsd"', {
'dependencies': [
'../build/linux/system.gyp:gdk',
« 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