blob: 86468b1b62e71d56b3dec8886d5cfd9e88eb6382 [file] [log] [blame]
# 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.
{
'targets': [
{
'target_name': 'libyuv',
'type': 'static_library',
'include_dirs': [
'include',
'.',
],
'direct_dependent_settings': {
'include_dirs': [
'include',
'.',
],
},
'sources': [
# includes
'include/libyuv/basic_types.h',
'include/libyuv/convert.h',
'include/libyuv/scale.h',
'include/libyuv/planar_functions.h',
'include/video_common.h',
# headers
'source/conversion_tables.h',
'source/rotate_priv.h',
'source/row.h',
# sources
'source/compare.cc',
'source/convert.cc',
'source/convertfrom.cc',
'source/cpu_id.cc',
'source/format_conversion.cc',
'source/planar_functions.cc',
'source/rotate.cc',
'source/row_common.cc',
'source/scale.cc',
'source/video_common.cc',
],
'conditions': [
['OS=="win"', {
'sources': [
'source/row_win.cc',
],
},{ # else
'sources': [
'source/row_posix.cc',
],
}],
['target_arch=="arm"',{
'conditions': [
['arm_neon==1', {
'sources' : [
'source/rotate_neon.cc',
'source/row_neon.cc',
],
}],
],
}],
]
},
], # targets
}
# Local Variables:
# tab-width:2
# indent-tabs-mode:nil
# End:
# vim: set expandtab tabstop=2 shiftwidth=2: