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': { |
11 'libyuv_disable_jpeg%': 0, | 11 'libyuv_disable_jpeg%': 0, |
12 'libyuv_enable_svn%': 0, | |
13 }, | 12 }, |
14 'targets': [ | 13 'targets': [ |
15 { | 14 { |
16 'target_name': 'libyuv_unittest', | 15 'target_name': 'libyuv_unittest', |
17 'type': '<(gtest_target_type)', | 16 'type': '<(gtest_target_type)', |
18 'dependencies': [ | 17 'dependencies': [ |
19 'libyuv.gyp:libyuv', | 18 'libyuv.gyp:libyuv', |
20 'testing/gtest.gyp:gtest', | 19 'testing/gtest.gyp:gtest', |
21 'third_party/gflags/gflags.gyp:gflags', | 20 'third_party/gflags/gflags.gyp:gflags', |
22 ], | 21 ], |
(...skipping 24 matching lines...) Expand all Loading... |
47 'unit_test/convert_test.cc', | 46 'unit_test/convert_test.cc', |
48 'unit_test/cpu_test.cc', | 47 'unit_test/cpu_test.cc', |
49 'unit_test/math_test.cc', | 48 'unit_test/math_test.cc', |
50 'unit_test/planar_test.cc', | 49 'unit_test/planar_test.cc', |
51 'unit_test/rotate_argb_test.cc', | 50 'unit_test/rotate_argb_test.cc', |
52 'unit_test/rotate_test.cc', | 51 'unit_test/rotate_test.cc', |
53 'unit_test/scale_argb_test.cc', | 52 'unit_test/scale_argb_test.cc', |
54 'unit_test/scale_test.cc', | 53 'unit_test/scale_test.cc', |
55 'unit_test/unit_test.cc', | 54 'unit_test/unit_test.cc', |
56 'unit_test/video_common_test.cc', | 55 'unit_test/video_common_test.cc', |
57 'unit_test/version_test.cc', | |
58 ], | 56 ], |
59 'conditions': [ | 57 'conditions': [ |
60 [ 'libyuv_enable_svn == 1', { | |
61 'defines': [ | |
62 'LIBYUV_SVNREVISION="<!(svnversion -n)"', | |
63 ], | |
64 }], | |
65 ['OS=="linux"', { | 58 ['OS=="linux"', { |
66 'cflags': [ | 59 'cflags': [ |
67 '-fexceptions', | 60 '-fexceptions', |
68 ], | 61 ], |
69 }], | 62 }], |
70 [ 'OS == "ios" and target_subarch == 64', { | 63 [ 'OS == "ios" and target_subarch == 64', { |
71 'defines': [ | 64 'defines': [ |
72 'LIBYUV_DISABLE_NEON' | 65 'LIBYUV_DISABLE_NEON' |
73 ], | 66 ], |
74 }], | 67 }], |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
219 ], | 212 ], |
220 }], | 213 }], |
221 ], | 214 ], |
222 } | 215 } |
223 | 216 |
224 # Local Variables: | 217 # Local Variables: |
225 # tab-width:2 | 218 # tab-width:2 |
226 # indent-tabs-mode:nil | 219 # indent-tabs-mode:nil |
227 # End: | 220 # End: |
228 # vim: set expandtab tabstop=2 shiftwidth=2: | 221 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |