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

Side by Side Diff: gyp/opts.gyp

Issue 19335002: Production quality fast image up/downsampler (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Changes from mike to remove dependencies on std C++ library 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 { 1 {
2 'targets': [ 2 'targets': [
3 # Due to an unfortunate intersection of lameness between gcc and gyp, 3 # Due to an unfortunate intersection of lameness between gcc and gyp,
4 # 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
5 # 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
6 # 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
7 # emit SSE2 instructions even for scalar code, such as the CPUID 7 # emit SSE2 instructions even for scalar code, such as the CPUID
8 # 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
9 # 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
10 # 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 17 matching lines...) Expand all
28 '../include/core', 28 '../include/core',
29 '../src/core', 29 '../src/core',
30 '../src/opts', 30 '../src/opts',
31 ], 31 ],
32 'conditions': [ 32 'conditions': [
33 [ 'skia_arch_type == "x86" and skia_os != "ios"', { 33 [ 'skia_arch_type == "x86" and skia_os != "ios"', {
34 'conditions': [ 34 'conditions': [
35 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "nacl", "ch romeos"]', { 35 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "nacl", "ch romeos"]', {
36 'cflags': [ 36 'cflags': [
37 '-msse2', 37 '-msse2',
38 '-DSKIA_SSE',
38 ], 39 ],
39 }], 40 }],
40 [ 'skia_os != "android"', { 41 [ 'skia_os != "android"', {
41 'dependencies': [ 42 'dependencies': [
42 'opts_ssse3', 43 'opts_ssse3',
43 ], 44 ],
44 }], 45 }],
45 ], 46 ],
46 'include_dirs': [ 47 'include_dirs': [
47 '../include/utils', 48 '../include/utils',
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 ], 178 ],
178 }, 179 },
179 ], 180 ],
180 } 181 }
181 182
182 # Local Variables: 183 # Local Variables:
183 # tab-width:2 184 # tab-width:2
184 # indent-tabs-mode:nil 185 # indent-tabs-mode:nil
185 # End: 186 # End:
186 # vim: set expandtab tabstop=2 shiftwidth=2: 187 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « gyp/core.gypi ('k') | include/core/SkBitmap.h » ('j') | include/core/SkBitmap.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698