| OLD | NEW |
| (Empty) |
| 1 # Copyright (c) 2016 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': [ '../build/common.gypi', ], | |
| 11 'targets': [ | |
| 12 { | |
| 13 # GN version: webrtc/stats:rtc_stats | |
| 14 'target_name': 'rtc_stats', | |
| 15 'type': 'static_library', | |
| 16 'dependencies': [ | |
| 17 '<(webrtc_root)/api/api.gyp:libjingle_peerconnection', | |
| 18 ], | |
| 19 'sources': [ | |
| 20 'rtcstats.cc', | |
| 21 'rtcstats_objects.cc', | |
| 22 'rtcstatscollector.cc', | |
| 23 'rtcstatscollector.h', | |
| 24 'rtcstatsreport.cc', | |
| 25 ], | |
| 26 }, | |
| 27 ], | |
| 28 'conditions': [ | |
| 29 ['include_tests==1', { | |
| 30 'targets': [ | |
| 31 { | |
| 32 # GN version: webrtc/stats:rtc_stats_unittests | |
| 33 'target_name': 'rtc_stats_unittests', | |
| 34 'type': '<(gtest_target_type)', | |
| 35 'dependencies': [ | |
| 36 '<(DEPTH)/testing/gmock.gyp:gmock', | |
| 37 '<(webrtc_root)/base/base_tests.gyp:rtc_base_tests_utils', | |
| 38 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:metrics_default'
, | |
| 39 'rtc_stats', | |
| 40 ], | |
| 41 'sources': [ | |
| 42 'rtcstats_unittest.cc', | |
| 43 'rtcstatscollector_unittest.cc', | |
| 44 'rtcstatsreport_unittest.cc', | |
| 45 ], | |
| 46 }, | |
| 47 ], | |
| 48 }], | |
| 49 ], | |
| 50 } | |
| OLD | NEW |