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,
15 'target_name': 'libyuv_unittest',
19 # The tests are based on gtest
20 'testing/gtest.gyp:gtest',
21 'testing/gtest.gyp:gtest_main',
24 'LIBYUV_SVNREVISION="<!(svnversion -n)"',
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',
57 [ 'OS == "ios" and target_subarch == 64', {
64 'DEBUGGING_SYMBOLS': 'YES',
65 'DEBUG_INFORMATION_FORMAT' : 'dwarf-with-dsym',
68 [ 'OS != "ios" and libyuv_disable_jpeg != 1', {
77 'target_name': 'compare',
95 'target_name': 'convert',
112 # TODO(fbarchard): Enable SSE2 and OpenMP for better performance.
114 'target_name': 'psnr',
115 'type': 'executable',
126 [ 'OS == "ios" and target_subarch == 64', {
128 'LIBYUV_DISABLE_NEON'
132 [ 'OS != "ios" and libyuv_disable_jpeg != 1', {
141 'target_name': 'cpuid',
142 'type': 'executable',
156 # indent-tabs-mode:nil
158 # vim: set expandtab tabstop=2 shiftwidth=2: