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

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: Set big endian explicitly for arm 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
« no previous file with comments | « gyp/android_deps.gyp ('k') | gyp/common_variables.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 # FIXME: fix the support for Windows. (Issue with _hypot in DNG SDK).
71 ['skia_codec_decodes_raw and skia_os != "win" and skia_os != "chromeos"' , {
72 'dependencies': [
73 'raw_codec',
74 ],
75 },],
76 ],
77 }, {
78 # RAW codec needs exceptions. Due to that, it is a separate target. Its us age can be
79 # controlled by SK_CODEC_DECODES_RAW flag.
80 'target_name': 'raw_codec',
81 'product_name': 'raw_codec',
82 'type': 'static_library',
83 'dependencies': [
84 'core.gyp:*',
85 'dng_sdk.gyp:dng_sdk-selector',
86 'libjpeg-turbo-selector.gyp:libjpeg-turbo-selector',
87 'piex.gyp:piex-selector',
88 ],
89 'cflags':[
90 '-fexceptions',
91 ],
92 'include_dirs': [
93 '../include/codec',
94 '../include/private',
95 '../src/codec',
96 '../src/core',
97 ],
98 'sources': [
99 '../src/codec/SkRawAdapterCodec.cpp',
100 '../src/codec/SkRawCodec.cpp',
101 ],
102 'direct_dependent_settings': {
103 'include_dirs': [
104 '../include/codec',
105 ],
106 'defines': [
107 'SK_CODEC_DECODES_RAW',
108 ],
109 },
110 'defines': [
111 'SK_CODEC_DECODES_RAW',
112 ],
113 'conditions': [
114 ['skia_arch_type == "x86" or skia_arch_type == "arm"', {
115 'defines': [
116 'qDNGBigEndian=0',
117 ],
118 }],
119 ['skia_os == "ios" or skia_os == "mac"', {
120 'xcode_settings': {
121 'OTHER_CFLAGS': ['-fexceptions'],
122 'OTHER_CPLUSPLUSFLAGS': ['-fexceptions'],
123 },
124 }],
125 ],
69 }, 126 },
70 ], 127 ],
71 } 128 }
OLDNEW
« no previous file with comments | « gyp/android_deps.gyp ('k') | gyp/common_variables.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698