OLD | NEW |
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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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': [ | 69 'conditions': [ |
70 # FIXME: fix the support for ChromeOS [DNG SDK issue with clock_gettime(
)]. | 70 ['skia_codec_decodes_raw', { |
71 ['skia_codec_decodes_raw and skia_os != "chromeos"', { | |
72 'dependencies': [ | 71 'dependencies': [ |
73 'raw_codec', | 72 'raw_codec', |
74 ], | 73 ], |
75 },], | 74 },], |
76 ], | 75 ], |
77 }, { | 76 }, { |
78 # RAW codec needs exceptions. Due to that, it is a separate target. Its us
age can be | 77 # 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. | 78 # controlled by SK_CODEC_DECODES_RAW flag. |
80 'target_name': 'raw_codec', | 79 'target_name': 'raw_codec', |
81 'product_name': 'raw_codec', | 80 'product_name': 'raw_codec', |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 ['skia_os == "ios" or skia_os == "mac"', { | 125 ['skia_os == "ios" or skia_os == "mac"', { |
127 'xcode_settings': { | 126 'xcode_settings': { |
128 'OTHER_CFLAGS': ['-fexceptions'], | 127 'OTHER_CFLAGS': ['-fexceptions'], |
129 'OTHER_CPLUSPLUSFLAGS': ['-fexceptions'], | 128 'OTHER_CPLUSPLUSFLAGS': ['-fexceptions'], |
130 }, | 129 }, |
131 }], | 130 }], |
132 ], | 131 ], |
133 }, | 132 }, |
134 ], | 133 ], |
135 } | 134 } |
OLD | NEW |