aboutsummaryrefslogtreecommitdiff
path: root/files/libyuv.gyp
blob: d5abab73cfc655fde27cbdb0e158d7c9b75e6520 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# 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': [
        'common',
        'include',
      ],
      'direct_dependent_settings': {
        'include_dirs': [
          'common',
          'include',
        ],
      },
      '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/rotate.h'
        'source/row.h',
        'source/video_common.h',

        # sources
        'source/convert.cc',
        'source/cpu_id.cc',
        'source/format_conversion.cc',
        'source/general.cc',
        'source/planar_functions.cc',
        'source/rotate.cc',
        'source/row_table.cc',
        'source/scale.cc',
        'source/video_common.cc',
      ],
      'conditions': [
        ['OS=="win"', {
         'sources': [
           'source/row_win.cc',
         ],
        },{ # else
         'sources': [
            'source/row_posix.cc',
          ],
        }],
      ]
    },
  ], # targets
}

# Local Variables:
# tab-width:2
# indent-tabs-mode:nil
# End:
# vim: set expandtab tabstop=2 shiftwidth=2: