OLD | NEW |
1 # Copyright 2011 The LibYuv Project Authors. All rights reserved. | 1 # Copyright 2011 The LibYuv Project Authors. All rights reserved. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license | 3 # Use of this source code is governed by a BSD-style license |
4 # that can be found in the LICENSE file in the root of the source | 4 # that can be found in the LICENSE file in the root of the source |
5 # tree. An additional intellectual property rights grant can be found | 5 # tree. An additional intellectual property rights grant can be found |
6 # in the file PATENTS. All contributing project authors may | 6 # in the file PATENTS. All contributing project authors may |
7 # be found in the AUTHORS file in the root of the source tree. | 7 # be found in the AUTHORS file in the root of the source tree. |
8 | 8 |
9 { | 9 { |
10 'variables': { | 10 'variables': { |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 'unit_test/scale_test.cc', | 45 'unit_test/scale_test.cc', |
46 'unit_test/unit_test.cc', | 46 'unit_test/unit_test.cc', |
47 'unit_test/video_common_test.cc', | 47 'unit_test/video_common_test.cc', |
48 ], | 48 ], |
49 'conditions': [ | 49 'conditions': [ |
50 ['OS=="linux"', { | 50 ['OS=="linux"', { |
51 'cflags': [ | 51 'cflags': [ |
52 '-fexceptions', | 52 '-fexceptions', |
53 ], | 53 ], |
54 }], | 54 }], |
55 [ 'OS == "ios" and target_subarch == 64', { | |
56 'defines': [ | |
57 'LIBYUV_DISABLE_NEON' | |
58 ], | |
59 }], | |
60 [ 'OS == "ios"', { | 55 [ 'OS == "ios"', { |
61 'xcode_settings': { | 56 'xcode_settings': { |
62 'DEBUGGING_SYMBOLS': 'YES', | 57 'DEBUGGING_SYMBOLS': 'YES', |
63 'DEBUG_INFORMATION_FORMAT' : 'dwarf-with-dsym', | 58 'DEBUG_INFORMATION_FORMAT' : 'dwarf-with-dsym', |
64 # Work around compile issue with isosim.mm, see | 59 # Work around compile issue with isosim.mm, see |
65 # https://code.google.com/p/libyuv/issues/detail?id=548 for details. | 60 # https://code.google.com/p/libyuv/issues/detail?id=548 for details. |
66 'WARNING_CFLAGS': [ | 61 'WARNING_CFLAGS': [ |
67 '-Wno-sometimes-uninitialized', | 62 '-Wno-sometimes-uninitialized', |
68 ], | 63 ], |
69 }, | 64 }, |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 'sources': [ | 139 'sources': [ |
145 # sources | 140 # sources |
146 'util/psnr_main.cc', | 141 'util/psnr_main.cc', |
147 'util/psnr.cc', | 142 'util/psnr.cc', |
148 'util/ssim.cc', | 143 'util/ssim.cc', |
149 ], | 144 ], |
150 'dependencies': [ | 145 'dependencies': [ |
151 'libyuv.gyp:libyuv', | 146 'libyuv.gyp:libyuv', |
152 ], | 147 ], |
153 'conditions': [ | 148 'conditions': [ |
154 [ 'OS == "ios" and target_subarch == 64', { | |
155 'defines': [ | |
156 'LIBYUV_DISABLE_NEON' | |
157 ], | |
158 }], | |
159 | |
160 [ 'OS != "ios" and libyuv_disable_jpeg != 1', { | 149 [ 'OS != "ios" and libyuv_disable_jpeg != 1', { |
161 'defines': [ | 150 'defines': [ |
162 'HAVE_JPEG', | 151 'HAVE_JPEG', |
163 ], | 152 ], |
164 }], | 153 }], |
165 ], # conditions | 154 ], # conditions |
166 }, | 155 }, |
167 | 156 |
168 { | 157 { |
169 'target_name': 'cpuid', | 158 'target_name': 'cpuid', |
(...skipping 27 matching lines...) Expand all Loading... |
197 ], | 186 ], |
198 }], | 187 }], |
199 ], | 188 ], |
200 } | 189 } |
201 | 190 |
202 # Local Variables: | 191 # Local Variables: |
203 # tab-width:2 | 192 # tab-width:2 |
204 # indent-tabs-mode:nil | 193 # indent-tabs-mode:nil |
205 # End: | 194 # End: |
206 # vim: set expandtab tabstop=2 shiftwidth=2: | 195 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |