Chromium Code Reviews| Index: gyp/codec.gyp |
| diff --git a/gyp/codec.gyp b/gyp/codec.gyp |
| index 109c21637df5c4d226fc0481cdf1274a7a1e5610..7c06dcbef4032736cfb0592b9250d1d2e74ce25c 100644 |
| --- a/gyp/codec.gyp |
| +++ b/gyp/codec.gyp |
| @@ -17,6 +17,7 @@ |
| 'standalone_static_library': 1, |
| 'dependencies': [ |
| 'core.gyp:*', |
| + 'raw_codec', |
| 'giflib.gyp:giflib', |
| 'libjpeg-turbo-selector.gyp:libjpeg-turbo-selector', |
| 'libpng.gyp:libpng', |
| @@ -63,6 +64,45 @@ |
| 'defines': [ |
| 'TURBO_HAS_SKIP', |
| ], |
| + }, { |
| + 'target_name': 'raw_codec', |
|
scroggo
2016/01/06 22:30:20
Derek, is this what you had in mind for a separate
|
| + 'product_name': 'raw_codec', |
| + 'type': 'static_library', |
| + 'dependencies': [ |
| + 'core.gyp:*', |
| + 'dng_sdk.gyp:dng_sdk-selector', |
| + 'libjpeg-turbo-selector.gyp:libjpeg-turbo-selector', |
|
msarett
2016/01/06 22:50:24
We ought to start building libjpeg-turbo as a shar
adaubert
2016/01/07 08:28:41
What are your thoughts behind that?
I mean if we
msarett
2016/01/07 16:39:11
My mistake. This is best as is.
|
| + 'piex.gyp:piex-selector', |
| + ], |
| + 'cflags':[ |
| + '-fexceptions', |
| + ], |
| + 'include_dirs': [ |
| + '../include/codec', |
| + '../include/private', |
| + '../src/codec', |
| + '../src/core', |
| + ], |
| + 'sources': [ |
| + '../src/codec/SkRawAndroidCodec.cpp', |
| + '../src/codec/SkRawCodec.cpp', |
| + ], |
| + 'direct_dependent_settings': { |
| + 'include_dirs': [ |
| + '../include/codec', |
| + ], |
| + }, |
| + 'defines': [ |
| + 'TURBO_HAS_SKIP', |
| + ], |
| + 'conditions': [ |
| + ['OS == "ios" or OS == "mac"', { |
| + 'xcode_settings': { |
| + 'OTHER_CFLAGS': ['-fexceptions'], |
| + 'OTHER_CPLUSPLUSFLAGS': ['-fexceptions'], |
| + }, |
| + }], |
| + ], |
| }, |
| ], |
| } |