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

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

Powered by Google App Engine
This is Rietveld 408576698