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

Side by Side Diff: gyp/codec.gyp

Issue 1520403003: Prototype of RAW decoding in Skia. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: * Add DNG scaling. * Adress all comments. Created 4 years, 11 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
OLDNEW
1 # Copyright 2015 Google Inc. 1 # Copyright 2015 Google Inc.
2 # 2 #
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 # Copyright 2015 Google Inc. 5 # Copyright 2015 Google Inc.
6 # 6 #
7 # Use of this source code is governed by a BSD-style license that can be 7 # Use of this source code is governed by a BSD-style license that can be
8 # found in the LICENSE file. 8 # found in the LICENSE file.
9 9
10 # GYP file for codec project. 10 # GYP file for codec project.
11 { 11 {
12 'targets': [ 12 'targets': [
13 { 13 {
14 'target_name': 'codec', 14 'target_name': 'codec',
15 'product_name': 'skia_codec', 15 'product_name': 'skia_codec',
16 'type': 'static_library', 16 'type': 'static_library',
17 'standalone_static_library': 1, 17 'standalone_static_library': 1,
18 'dependencies': [ 18 'dependencies': [
19 'core.gyp:*', 19 'core.gyp:*',
20 'raw_codec',
20 'giflib.gyp:giflib', 21 'giflib.gyp:giflib',
21 'libjpeg-turbo-selector.gyp:libjpeg-turbo-selector', 22 'libjpeg-turbo-selector.gyp:libjpeg-turbo-selector',
22 'libpng.gyp:libpng', 23 'libpng.gyp:libpng',
23 'libwebp.gyp:libwebp', 24 'libwebp.gyp:libwebp',
24 ], 25 ],
25 'cflags':[ 26 'cflags':[
26 # FIXME: This gets around a longjmp warning. See 27 # FIXME: This gets around a longjmp warning. See
27 # http://build.chromium.org/p/client.skia.compile/builders/Build-Ubuntu- GCC-x86_64-Release-Trybot/builds/113/steps/build%20most/logs/stdio 28 # http://build.chromium.org/p/client.skia.compile/builders/Build-Ubuntu- GCC-x86_64-Release-Trybot/builds/113/steps/build%20most/logs/stdio
28 '-Wno-clobbered -Wno-error', 29 '-Wno-clobbered -Wno-error',
29 ], 30 ],
(...skipping 26 matching lines...) Expand all
56 '../src/codec/SkWebpCodec.cpp', 57 '../src/codec/SkWebpCodec.cpp',
57 ], 58 ],
58 'direct_dependent_settings': { 59 'direct_dependent_settings': {
59 'include_dirs': [ 60 'include_dirs': [
60 '../include/codec', 61 '../include/codec',
61 ], 62 ],
62 }, 63 },
63 'defines': [ 64 'defines': [
64 'TURBO_HAS_SKIP', 65 'TURBO_HAS_SKIP',
65 ], 66 ],
67 }, {
68 'target_name': 'raw_codec',
69 'product_name': 'raw_codec',
70 'type': 'static_library',
71 'dependencies': [
72 'core.gyp:*',
73 'dng_sdk.gyp:dng_sdk-selector',
74 'libjpeg-turbo-selector.gyp:libjpeg-turbo-selector',
75 'piex.gyp:piex-selector',
76 ],
77 'cflags':[
78 '-fexceptions',
79 ],
80 'include_dirs': [
81 '../include/codec',
82 '../include/private',
83 '../src/codec',
84 '../src/core',
85 ],
86 'sources': [
87 '../src/codec/SkRawAdapterCodec.cpp',
88 '../src/codec/SkRawCodec.cpp',
89 ],
90 'direct_dependent_settings': {
91 'include_dirs': [
92 '../include/codec',
93 ],
94 'defines':[
95 'SK_CODEC_DECODES_RAW',
96 ],
97 },
98 'defines': [
99 'SK_CODEC_DECODES_RAW',
100 'TURBO_HAS_SKIP',
101 ],
102 'conditions': [
103 ['OS == "ios" or OS == "mac"', {
104 'xcode_settings': {
105 'OTHER_CFLAGS': ['-fexceptions'],
106 'OTHER_CPLUSPLUSFLAGS': ['-fexceptions'],
107 },
108 }],
109 ],
66 }, 110 },
67 ], 111 ],
68 } 112 }
OLDNEW
« no previous file with comments | « gyp/android_deps.gyp ('k') | gyp/dng_sdk.gyp » ('j') | src/codec/SkRawAdapterCodec.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698