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

Side by Side Diff: gyp/opts.gyp

Issue 153093003: Gyp file changes for the android framework. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 10 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
« no previous file with comments | « gyp/libwebp.gyp ('k') | gyp/pdf.gyp » ('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
2 { 1 {
3 'targets': [ 2 'targets': [
4 # Due to an unfortunate intersection of lameness between gcc and gyp, 3 # 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 4 # 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 5 # 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 6 # must be passed the -msse2 flag. However, with this flag, it may
8 # emit SSE2 instructions even for scalar code, such as the CPUID 7 # 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 8 # 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 9 # code must be compiled *without* -msse2. The gyp lameness is that it
11 # does not allow file-specific CFLAGS, so we must create this extra 10 # does not allow file-specific CFLAGS, so we must create this extra
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 [ 'skia_os == "ios"', { 91 [ 'skia_os == "ios"', {
93 'sources!': [ 92 'sources!': [
94 # these fail to compile under xcode for ios 93 # these fail to compile under xcode for ios
95 '../src/opts/memset.arm.S', 94 '../src/opts/memset.arm.S',
96 '../src/opts/SkBitmapProcState_opts_arm.cpp', 95 '../src/opts/SkBitmapProcState_opts_arm.cpp',
97 '../src/opts/SkBlitRow_opts_arm.cpp', 96 '../src/opts/SkBlitRow_opts_arm.cpp',
98 ], 97 ],
99 }], 98 }],
100 ], 99 ],
101 }], 100 }],
102 [ '(skia_arch_type == "mips") or (skia_arch_type == "arm" and arm_versio n < 7) \ 101 [ '(skia_arch_type == "mips") or (skia_arch_type == "arm" and arm_versio n < 7) or (skia_os == "ios")', {
103 or (skia_os == "ios") \
104 or (skia_os == "android" and skia_arch_type not in ["x86", "arm", "m ips"])', {
105 'sources': [ 102 'sources': [
106 '../src/opts/SkBitmapProcState_opts_none.cpp', 103 '../src/opts/SkBitmapProcState_opts_none.cpp',
107 '../src/opts/SkBlitMask_opts_none.cpp', 104 '../src/opts/SkBlitMask_opts_none.cpp',
108 '../src/opts/SkBlitRow_opts_none.cpp', 105 '../src/opts/SkBlitRow_opts_none.cpp',
109 '../src/opts/SkBlurImage_opts_none.cpp', 106 '../src/opts/SkBlurImage_opts_none.cpp',
110 '../src/opts/SkMorphology_opts_none.cpp', 107 '../src/opts/SkMorphology_opts_none.cpp',
111 '../src/opts/SkUtils_opts_none.cpp', 108 '../src/opts/SkUtils_opts_none.cpp',
112 '../src/opts/SkXfermode_opts_none.cpp', 109 '../src/opts/SkXfermode_opts_none.cpp',
113 ], 110 ],
114 }], 111 }],
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 '../src/opts/SkBitmapProcState_matrix_neon.h', 180 '../src/opts/SkBitmapProcState_matrix_neon.h',
184 '../src/opts/SkBlitMask_opts_arm_neon.cpp', 181 '../src/opts/SkBlitMask_opts_arm_neon.cpp',
185 '../src/opts/SkBlitRow_opts_arm_neon.cpp', 182 '../src/opts/SkBlitRow_opts_arm_neon.cpp',
186 '../src/opts/SkBlurImage_opts_neon.cpp', 183 '../src/opts/SkBlurImage_opts_neon.cpp',
187 '../src/opts/SkMorphology_opts_neon.cpp', 184 '../src/opts/SkMorphology_opts_neon.cpp',
188 '../src/opts/SkXfermode_opts_arm_neon.cpp', 185 '../src/opts/SkXfermode_opts_arm_neon.cpp',
189 ], 186 ],
190 }, 187 },
191 ], 188 ],
192 } 189 }
OLDNEW
« no previous file with comments | « gyp/libwebp.gyp ('k') | gyp/pdf.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698