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

Unified Diff: gyp/core.gyp

Issue 21120006: ARM Skia NEON patches - 14bis - Fix optional NEON on Linux (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years, 5 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: gyp/core.gyp
diff --git a/gyp/core.gyp b/gyp/core.gyp
index bebcad6f98d0d861ab7c4c575e5ac8a38b6e8819..4185f2ca0efbd4ee56d99f346e1b90cfa6003ac3 100644
--- a/gyp/core.gyp
+++ b/gyp/core.gyp
@@ -81,12 +81,19 @@
'../src/core/SkPaintOptionsAndroid.cpp',
],
}],
- [ 'skia_os == "android" and skia_arch_type == "arm" and armv7 == 1', {
- # The code in SkUtilsArm.cpp can be used on an ARM-based Linux system, not only Android.
- 'sources': [
- '../src/core/SkPaintOptionsAndroid.cpp',
- '../src/core/SkUtilsArm.cpp',
- '../src/core/SkUtilsArm.h',
+ [ 'skia_arch_type == "arm" and armv7 == 1', {
+ 'conditions': [
+ ['skia_os in ["android", "linux"]', {
+ 'sources': [
+ '../src/core/SkUtilsArm.cpp',
+ '../src/core/SkUtilsArm.h',
+ ],
+ }],
+ ['skia_os == "android"', {
+ 'sources': [
+ '../src/core/SkPaintOptionsAndroid.cpp',
+ ],
+ }],
],
}],
['skia_gpu == 1', {
« 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