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

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: Rebase 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.
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 '../src/codec/SkCodecImageGenerator.cpp', 59 '../src/codec/SkCodecImageGenerator.cpp',
60 ], 60 ],
61 'direct_dependent_settings': { 61 'direct_dependent_settings': {
62 'include_dirs': [ 62 'include_dirs': [
63 '../include/codec', 63 '../include/codec',
64 ], 64 ],
65 }, 65 },
66 'defines': [ 66 'defines': [
67 'TURBO_HAS_SKIP', 67 'TURBO_HAS_SKIP',
68 ], 68 ],
69 'conditions': [
70 ['skia_codec_decodes_raw', {
71 'dependencies': [
72 'raw_codec',
73 ],
74 },],
75 ],
76 }, {
77 # RAW codec needs exceptions. Due to that, it is a separate target. Its us age can be
78 # controlled by SK_CODEC_DECODES_RAW flag.
79 'target_name': 'raw_codec',
80 'product_name': 'raw_codec',
81 'type': 'static_library',
82 'dependencies': [
83 'core.gyp:*',
84 'dng_sdk.gyp:dng_sdk-selector',
85 'libjpeg-turbo-selector.gyp:libjpeg-turbo-selector',
86 'piex.gyp:piex-selector',
87 ],
88 'cflags':[
89 '-fexceptions',
90 ],
91 'include_dirs': [
92 '../include/codec',
93 '../include/private',
94 '../src/codec',
95 '../src/core',
96 ],
97 'sources': [
98 '../src/codec/SkRawAdapterCodec.cpp',
99 '../src/codec/SkRawCodec.cpp',
100 ],
101 'direct_dependent_settings': {
102 'include_dirs': [
103 '../include/codec',
104 ],
105 'defines': [
106 'SK_CODEC_DECODES_RAW',
107 ],
108 },
109 'defines': [
110 'SK_CODEC_DECODES_RAW',
111 ],
112 'conditions': [
113 ['skia_os == "ios" or skia_os == "mac"', {
114 'xcode_settings': {
115 'OTHER_CFLAGS': ['-fexceptions'],
116 'OTHER_CPLUSPLUSFLAGS': ['-fexceptions'],
117 },
118 }],
119 ],
69 }, 120 },
70 ], 121 ],
71 } 122 }
OLDNEW
« dm/DM.cpp ('K') | « gyp/android_deps.gyp ('k') | gyp/common_variables.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698