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

Side by Side Diff: gyp/codec.gyp

Issue 1612113002: Update SK_IMAGE_VERSION to test RAW (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Reland, with fixes Created 4 years, 10 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 ], 61 ],
62 'direct_dependent_settings': { 62 'direct_dependent_settings': {
63 'include_dirs': [ 63 'include_dirs': [
64 '../include/codec', 64 '../include/codec',
65 ], 65 ],
66 }, 66 },
67 'defines': [ 67 'defines': [
68 'TURBO_HAS_SKIP', 68 'TURBO_HAS_SKIP',
69 ], 69 ],
70 'conditions': [ 70 'conditions': [
71 # FIXME: fix the support for ChromeOS [DNG SDK issue with clock_gettime( )]. 71 ['skia_codec_decodes_raw', {
72 ['skia_codec_decodes_raw and skia_os != "chromeos"', {
73 'dependencies': [ 72 'dependencies': [
74 'raw_codec', 73 'raw_codec',
75 ], 74 ],
76 },], 75 },],
77 ], 76 ],
78 }, { 77 }, {
79 # RAW codec needs exceptions. Due to that, it is a separate target. Its us age can be 78 # RAW codec needs exceptions. Due to that, it is a separate target. Its us age can be
80 # controlled by SK_CODEC_DECODES_RAW flag. 79 # controlled by skia_codec_decodes_raw flag.
81 'target_name': 'raw_codec', 80 'target_name': 'raw_codec',
82 'product_name': 'raw_codec', 81 'product_name': 'raw_codec',
83 'type': 'static_library', 82 'type': 'static_library',
84 'dependencies': [ 83 'dependencies': [
85 'core.gyp:*', 84 'core.gyp:*',
86 'dng_sdk.gyp:dng_sdk-selector', 85 'dng_sdk.gyp:dng_sdk-selector',
87 'libjpeg-turbo-selector.gyp:libjpeg-turbo-selector', 86 'libjpeg-turbo-selector.gyp:libjpeg-turbo-selector',
88 'piex.gyp:piex-selector', 87 'piex.gyp:piex-selector',
89 ], 88 ],
90 'cflags':[ 89 'cflags':[
(...skipping 13 matching lines...) Expand all
104 '../src/core', 103 '../src/core',
105 ], 104 ],
106 'sources': [ 105 'sources': [
107 '../src/codec/SkRawAdapterCodec.cpp', 106 '../src/codec/SkRawAdapterCodec.cpp',
108 '../src/codec/SkRawCodec.cpp', 107 '../src/codec/SkRawCodec.cpp',
109 ], 108 ],
110 'direct_dependent_settings': { 109 'direct_dependent_settings': {
111 'include_dirs': [ 110 'include_dirs': [
112 '../include/codec', 111 '../include/codec',
113 ], 112 ],
114 'defines': [
115 'SK_CODEC_DECODES_RAW',
116 ],
117 }, 113 },
118 'defines': [
119 'SK_CODEC_DECODES_RAW',
120 ],
121 'conditions': [ 114 'conditions': [
122 ['skia_arch_type == "x86" or skia_arch_type == "arm"', { 115 ['skia_arch_type == "x86" or skia_arch_type == "arm"', {
123 'defines': [ 116 'defines': [
124 'qDNGBigEndian=0', 117 'qDNGBigEndian=0',
125 ], 118 ],
126 }], 119 }],
127 ['skia_os == "ios" or skia_os == "mac"', { 120 ['skia_os == "ios" or skia_os == "mac"', {
128 'xcode_settings': { 121 'xcode_settings': {
129 'OTHER_CFLAGS': ['-fexceptions'], 122 'OTHER_CFLAGS': ['-fexceptions'],
130 'OTHER_CPLUSPLUSFLAGS': ['-fexceptions'], 123 'OTHER_CPLUSPLUSFLAGS': ['-fexceptions'],
131 }, 124 },
132 }], 125 }],
133 ], 126 ],
134 }, 127 },
135 ], 128 ],
136 } 129 }
OLDNEW
« no previous file with comments | « dm/DM.cpp ('k') | gyp/common_conditions.gypi » ('j') | tools/dm_flags.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698