1 # Copyright 2011 The LibYuv Project Authors. All rights reserved.
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
5 # tree. An additional intellectual property rights grant can be found
6 # in the file PATENTS. All contributing project authors may
7 # be found in the AUTHORS file in the root of the source tree.
11 'libyuv_disable_jpeg%': 0,
12 'libyuv_enable_svn%': 0,
16 'target_name': 'libyuv_unittest',
20 # The tests are based on gtest
21 'testing/gtest.gyp:gtest',
22 'testing/gtest.gyp:gtest_main',
25 # Enable the following 3 macros to turn off assembly for specified CPU.
26 # 'LIBYUV_DISABLE_X86',
27 # 'LIBYUV_DISABLE_NEON',
28 # 'LIBYUV_DISABLE_MIPS',
29 # Enable the following macro to build libyuv as a shared library (dll).
30 # 'LIBYUV_USING_SHARED_LIBRARY',
34 'unit_test/unit_test.h',
37 'unit_test/basictypes_test.cc',
38 'unit_test/compare_test.cc',
39 'unit_test/convert_test.cc',
40 'unit_test/cpu_test.cc',
41 'unit_test/math_test.cc',
42 'unit_test/planar_test.cc',
43 'unit_test/rotate_argb_test.cc',
44 'unit_test/rotate_test.cc',
45 'unit_test/scale_argb_test.cc',
46 'unit_test/scale_test.cc',
47 'unit_test/unit_test.cc',
48 'unit_test/video_common_test.cc',
49 'unit_test/version_test.cc',
52 [ 'libyuv_enable_svn == 1', {
54 'LIBYUV_SVNREVISION="<!(svnversion -n)"',
62 [ 'OS == "ios" and target_subarch == 64', {
69 'DEBUGGING_SYMBOLS': 'YES',
70 'DEBUG_INFORMATION_FORMAT' : 'dwarf-with-dsym',
73 [ 'OS != "ios" and libyuv_disable_jpeg != 1', {
82 'target_name': 'compare',
100 'target_name': 'convert',
101 'type': 'executable',
117 # TODO(fbarchard): Enable SSE2 and OpenMP for better performance.
119 'target_name': 'psnr',
120 'type': 'executable',
131 [ 'OS == "ios" and target_subarch == 64', {
133 'LIBYUV_DISABLE_NEON'
137 [ 'OS != "ios" and libyuv_disable_jpeg != 1', {
146 'target_name': 'cpuid',
147 'type': 'executable',
161 # indent-tabs-mode:nil
163 # vim: set expandtab tabstop=2 shiftwidth=2: