1# Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
2#
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.
8
9{
10  'includes': [
11    '../../build/common.gypi',
12  ],
13  'targets': [
14    {
15      'target_name': 'remote_bitrate_estimator',
16      'type': 'static_library',
17      'dependencies': [
18        '<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:system_wrappers',
19        '<(rbe_components_path)/remote_bitrate_estimator_components.gyp:rbe_components',
20      ],
21      'sources': [
22        'include/bwe_defines.h',
23        'include/remote_bitrate_estimator.h',
24        'rate_statistics.cc',
25        'rate_statistics.h',
26      ], # source
27    },
28    {
29      'target_name': 'bwe_tools_util',
30      'type': 'static_library',
31      'dependencies': [
32        '<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:system_wrappers',
33        'rtp_rtcp',
34      ],
35      'sources': [
36        'tools/bwe_rtp.cc',
37        'tools/bwe_rtp.h',
38      ],
39    },
40    {
41      'target_name': 'bwe_rtp_to_text',
42      'type': 'executable',
43      'includes': [
44        '../rtp_rtcp/source/rtp_rtcp.gypi',
45      ],
46      'dependencies': [
47        '<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:system_wrappers',
48        '<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:field_trial_default',
49        'bwe_tools_util',
50        'rtp_rtcp',
51      ],
52      'direct_dependent_settings': {
53        'include_dirs': [
54          'include',
55        ],
56      },
57      'sources': [
58        'tools/rtp_to_text.cc',
59        '<(webrtc_root)/test/rtp_file_reader.cc',
60        '<(webrtc_root)/test/rtp_file_reader.h',
61      ], # source
62    },
63    {
64      'target_name': 'bwe_rtp_play',
65      'type': 'executable',
66      'includes': [
67        '../rtp_rtcp/source/rtp_rtcp.gypi',
68      ],
69      'dependencies': [
70        '<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:system_wrappers',
71        '<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:field_trial_default',
72        'bwe_tools_util',
73        'rtp_rtcp',
74      ],
75      'direct_dependent_settings': {
76        'include_dirs': [
77          'include',
78        ],
79      },
80      'sources': [
81        'tools/bwe_rtp_play.cc',
82        '<(webrtc_root)/test/rtp_file_reader.cc',
83        '<(webrtc_root)/test/rtp_file_reader.h',
84      ], # source
85    },
86  ], # targets
87}
88