| OLD | NEW |
| 1 # Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. |
| 2 # | 2 # |
| 3 # Use of this source code is governed by a BSD-style license | 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 | 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 | 5 # tree. An additional intellectual property rights grant can be found |
| 6 # in the file PATENTS. All contributing project authors may | 6 # in the file PATENTS. All contributing project authors may |
| 7 # be found in the AUTHORS file in the root of the source tree. | 7 # be found in the AUTHORS file in the root of the source tree. |
| 8 | 8 |
| 9 { | 9 { |
| 10 'includes': [ '../build/common.gypi', ], | 10 'includes': [ '../build/common.gypi', ], |
| 11 'targets': [ | 11 'targets': [ |
| 12 { | 12 { |
| 13 # GN version: webrtc/stats:rtc_stats | 13 # GN version: webrtc/stats:rtc_stats |
| 14 'target_name': 'rtc_stats', | 14 'target_name': 'rtc_stats', |
| 15 'type': 'static_library', | 15 'type': 'static_library', |
| 16 'dependencies': [ | 16 'dependencies': [ |
| 17 '<(webrtc_root)/api/api.gyp:libjingle_peerconnection', | 17 '<(webrtc_root)/api/api.gyp:libjingle_peerconnection', |
| 18 ], | 18 ], |
| 19 'sources': [ | 19 'sources': [ |
| 20 'rtcstats.cc', | 20 'rtcstats.cc', |
| 21 'rtcstats_objects.cc', |
| 22 'rtcstatscollector.cc', |
| 23 'rtcstatscollector.h', |
| 21 'rtcstatsreport.cc', | 24 'rtcstatsreport.cc', |
| 22 ], | 25 ], |
| 23 }, | 26 }, |
| 24 ], | 27 ], |
| 25 'conditions': [ | 28 'conditions': [ |
| 26 ['include_tests==1', { | 29 ['include_tests==1', { |
| 27 'targets': [ | 30 'targets': [ |
| 28 { | 31 { |
| 29 # GN version: webrtc/stats:rtc_stats_unittests | 32 # GN version: webrtc/stats:rtc_stats_unittests |
| 30 'target_name': 'rtc_stats_unittests', | 33 'target_name': 'rtc_stats_unittests', |
| 31 'type': '<(gtest_target_type)', | 34 'type': '<(gtest_target_type)', |
| 32 'dependencies': [ | 35 'dependencies': [ |
| 33 '<(DEPTH)/testing/gmock.gyp:gmock', | 36 '<(DEPTH)/testing/gmock.gyp:gmock', |
| 34 '<(webrtc_root)/base/base_tests.gyp:rtc_base_tests_utils', | 37 '<(webrtc_root)/base/base_tests.gyp:rtc_base_tests_utils', |
| 35 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:metrics_default'
, | 38 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:metrics_default'
, |
| 36 'rtc_stats', | 39 'rtc_stats', |
| 37 ], | 40 ], |
| 38 'sources': [ | 41 'sources': [ |
| 39 'rtcstats_unittest.cc', | 42 'rtcstats_unittest.cc', |
| 43 'rtcstatscollector_unittest.cc', |
| 40 'rtcstatsreport_unittest.cc', | 44 'rtcstatsreport_unittest.cc', |
| 41 ], | 45 ], |
| 42 }, | 46 }, |
| 43 ], | 47 ], |
| 44 }], | 48 }], |
| 45 ], | 49 ], |
| 46 } | 50 } |
| OLD | NEW |