mirror of
https://chromium.googlesource.com/libyuv/libyuv
synced 2025-12-06 16:56:55 +08:00
Placeholder for unit tests. No tests currently defined. Review URL: http://webrtc-codereview.appspot.com/197001 git-svn-id: http://libyuv.googlecode.com/svn/trunk@11 16f28f9a-4ce2-e073-06de-1de4eb20be90
89 lines
1.9 KiB
Python
89 lines
1.9 KiB
Python
# Copyright (c) 2011 The LibYuv project authors. All Rights Reserved.
|
|
#
|
|
# Use of this source code is governed by a BSD-style license
|
|
# that can be found in the LICENSE file in the root of the source
|
|
# tree. An additional intellectual property rights grant can be found
|
|
# in the file PATENTS. All contributing project authors may
|
|
# be found in the AUTHORS file in the root of the source tree.
|
|
|
|
{
|
|
'includes': [
|
|
'build/common.gypi',
|
|
],
|
|
'targets': [
|
|
{
|
|
'target_name': 'libyuv',
|
|
'type': 'static_library',
|
|
'dependencies': [
|
|
],
|
|
'include_dirs': [
|
|
'include',
|
|
'common',
|
|
|
|
],
|
|
'sources': [
|
|
# includes
|
|
'include/convert.h',
|
|
'include/general.h',
|
|
'include/scale.h',
|
|
'include/planar_functions.h',
|
|
|
|
# headers
|
|
'common/basic_types.h',
|
|
'common/common.h',
|
|
'common/constructor_magic.h',
|
|
'source/cpu_id.h',
|
|
'source/row.h',
|
|
'source/video_common.h',
|
|
|
|
# sources
|
|
'source/convert.cc',
|
|
'source/general.cc',
|
|
'source/scale.cc',
|
|
'source/cpu_id.cc',
|
|
'source/format_conversion.cc',
|
|
'source/planar_functions.cc',
|
|
'source/row_posix.cc',
|
|
'source/row_table.cc',
|
|
'source/video_common.cc',
|
|
|
|
],
|
|
},
|
|
{
|
|
'target_name': 'libyuvUnitTest',
|
|
'type': 'executable',
|
|
'dependencies': [
|
|
'libyuv',
|
|
# The tests are based on gtest
|
|
'testing/gtest.gyp:gtest',
|
|
'testing/gtest.gyp:gtest_main',
|
|
],
|
|
'sources': [
|
|
|
|
# headers
|
|
'unit_test/unit_test.h',
|
|
|
|
# sources
|
|
'unit_test/unit_test.cc',
|
|
|
|
], # source
|
|
|
|
'conditions': [
|
|
|
|
['OS=="linux"', {
|
|
'cflags': [
|
|
'-fexceptions',
|
|
],
|
|
}],
|
|
|
|
], # conditions
|
|
},
|
|
], # targets
|
|
}
|
|
|
|
# Local Variables:
|
|
# tab-width:2
|
|
# indent-tabs-mode:nil
|
|
# End:
|
|
# vim: set expandtab tabstop=2 shiftwidth=2:
|