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

Side by Side Diff: gyp/opts.gyp

Issue 294183002: Revert "Temporarily disable NEON on Android framework builds." (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 6 years, 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | src/core/SkUtilsArm.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Gyp file for opts projects 1 # Gyp file for opts projects
2 { 2 {
3 'targets': [ 3 'targets': [
4 # Due to an unfortunate intersection of lameness between gcc and gyp, 4 # Due to an unfortunate intersection of lameness between gcc and gyp,
5 # we have to build the *_SSE2.cpp files in a separate target. The 5 # we have to build the *_SSE2.cpp files in a separate target. The
6 # gcc lameness is that, in order to compile SSE2 intrinsics code, it 6 # gcc lameness is that, in order to compile SSE2 intrinsics code, it
7 # must be passed the -msse2 flag. However, with this flag, it may 7 # must be passed the -msse2 flag. However, with this flag, it may
8 # emit SSE2 instructions even for scalar code, such as the CPUID 8 # emit SSE2 instructions even for scalar code, such as the CPUID
9 # test used to test for the presence of SSE2. So that, and all other 9 # test used to test for the presence of SSE2. So that, and all other
10 # code must be compiled *without* -msse2. The gyp lameness is that it 10 # code must be compiled *without* -msse2. The gyp lameness is that it
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 # these fail to compile under xcode for ios 95 # these fail to compile under xcode for ios
96 '../src/opts/memset.arm.S', 96 '../src/opts/memset.arm.S',
97 '../src/opts/SkBitmapProcState_opts_arm.cpp', 97 '../src/opts/SkBitmapProcState_opts_arm.cpp',
98 '../src/opts/SkBlitRow_opts_arm.cpp', 98 '../src/opts/SkBlitRow_opts_arm.cpp',
99 ], 99 ],
100 }], 100 }],
101 ], 101 ],
102 }], 102 }],
103 [ '(skia_arch_type == "mips") or (skia_arch_type == "arm" and arm_versio n < 7) \ 103 [ '(skia_arch_type == "mips") or (skia_arch_type == "arm" and arm_versio n < 7) \
104 or (skia_os == "ios") \ 104 or (skia_os == "ios") \
105 or (skia_os == "android" and skia_arch_type not in ["x86", "arm", "m ips", "arm64"]) \ 105 or (skia_os == "android" and skia_arch_type not in ["x86", "arm", "m ips", "arm64"])', {
106 or (skia_android_framework and skia_arch_type == "arm64")', {
107 'sources': [ 106 'sources': [
108 '../src/opts/SkBitmapProcState_opts_none.cpp', 107 '../src/opts/SkBitmapProcState_opts_none.cpp',
109 '../src/opts/SkBlitMask_opts_none.cpp', 108 '../src/opts/SkBlitMask_opts_none.cpp',
110 '../src/opts/SkBlitRow_opts_none.cpp', 109 '../src/opts/SkBlitRow_opts_none.cpp',
111 '../src/opts/SkBlurImage_opts_none.cpp', 110 '../src/opts/SkBlurImage_opts_none.cpp',
112 '../src/opts/SkMorphology_opts_none.cpp', 111 '../src/opts/SkMorphology_opts_none.cpp',
113 '../src/opts/SkUtils_opts_none.cpp', 112 '../src/opts/SkUtils_opts_none.cpp',
114 '../src/opts/SkXfermode_opts_none.cpp', 113 '../src/opts/SkXfermode_opts_none.cpp',
115 ], 114 ],
116 }], 115 }],
117 [ 'skia_android_framework', { 116 [ 'skia_android_framework', {
118 'cflags!': [ 117 'cflags!': [
119 '-msse2', 118 '-msse2',
120 '-mfpu=neon', 119 '-mfpu=neon',
121 '-fomit-frame-pointer', 120 '-fomit-frame-pointer',
122 '-mno-apcs-frame', 121 '-mno-apcs-frame',
123 ] 122 ]
124 }], 123 }],
125 [ 'skia_arch_type == "arm64" and skia_android_framework == 0', { 124 [ 'skia_arch_type == "arm64"', {
126 'sources': [ 125 'sources': [
127 '../src/opts/SkBitmapProcState_arm_neon.cpp', 126 '../src/opts/SkBitmapProcState_arm_neon.cpp',
128 '../src/opts/SkBitmapProcState_matrixProcs_neon.cpp', 127 '../src/opts/SkBitmapProcState_matrixProcs_neon.cpp',
129 '../src/opts/SkBitmapProcState_opts_arm.cpp', 128 '../src/opts/SkBitmapProcState_opts_arm.cpp',
130 '../src/opts/SkBlitMask_opts_arm.cpp', 129 '../src/opts/SkBlitMask_opts_arm.cpp',
131 '../src/opts/SkBlitMask_opts_arm_neon.cpp', 130 '../src/opts/SkBlitMask_opts_arm_neon.cpp',
132 '../src/opts/SkBlitRow_opts_none.cpp', 131 '../src/opts/SkBlitRow_opts_none.cpp',
133 '../src/opts/SkBlurImage_opts_arm.cpp', 132 '../src/opts/SkBlurImage_opts_arm.cpp',
134 '../src/opts/SkBlurImage_opts_neon.cpp', 133 '../src/opts/SkBlurImage_opts_neon.cpp',
135 '../src/opts/SkMorphology_opts_arm.cpp', 134 '../src/opts/SkMorphology_opts_arm.cpp',
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 '../src/opts/SkBitmapProcState_matrix_neon.h', 214 '../src/opts/SkBitmapProcState_matrix_neon.h',
216 '../src/opts/SkBlitMask_opts_arm_neon.cpp', 215 '../src/opts/SkBlitMask_opts_arm_neon.cpp',
217 '../src/opts/SkBlitRow_opts_arm_neon.cpp', 216 '../src/opts/SkBlitRow_opts_arm_neon.cpp',
218 '../src/opts/SkBlurImage_opts_neon.cpp', 217 '../src/opts/SkBlurImage_opts_neon.cpp',
219 '../src/opts/SkMorphology_opts_neon.cpp', 218 '../src/opts/SkMorphology_opts_neon.cpp',
220 '../src/opts/SkXfermode_opts_arm_neon.cpp', 219 '../src/opts/SkXfermode_opts_arm_neon.cpp',
221 ], 220 ],
222 }, 221 },
223 ], 222 ],
224 } 223 }
OLDNEW
« no previous file with comments | « no previous file | src/core/SkUtilsArm.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698