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 'rtcstatsreport.cc', |
| 22 ], |
| 23 }, |
| 24 ], |
| 25 'conditions': [ |
| 26 ['include_tests==1', { |
| 27 'targets': [ |
| 28 { |
| 29 # GN version: webrtc/stats:rtc_stats_unittests |
| 30 'target_name': 'rtc_stats_unittests', |
| 31 'type': '<(gtest_target_type)', |
| 32 'dependencies': [ |
| 33 '<(DEPTH)/testing/gmock.gyp:gmock', |
| 34 '<(webrtc_root)/base/base_tests.gyp:rtc_base_tests_utils', |
| 35 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:metrics_default'
, |
| 36 'rtc_stats', |
| 37 ], |
| 38 'sources': [ |
| 39 'rtcstats_unittest.cc', |
| 40 ], |
| 41 }, |
| 42 ], |
| 43 }], |
| 44 ], |
| 45 } |
OLD | NEW |