Index: webrtc/stats/stats.gyp |
diff --git a/webrtc/stats/stats.gyp b/webrtc/stats/stats.gyp |
new file mode 100644 |
index 0000000000000000000000000000000000000000..9310aabe99e9c579c338d20c1eaba0b7c8204449 |
--- /dev/null |
+++ b/webrtc/stats/stats.gyp |
@@ -0,0 +1,45 @@ |
+# Copyright (c) 2016 The WebRTC 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. |
+ |
+{ |
+ 'includes': [ '../build/common.gypi', ], |
+ 'targets': [ |
+ { |
+ # GN version: webrtc/stats:rtc_stats |
+ 'target_name': 'rtc_stats', |
+ 'type': 'static_library', |
+ 'dependencies': [ |
+ '<(webrtc_root)/api/api.gyp:libjingle_peerconnection', |
+ ], |
+ 'sources': [ |
+ 'rtcstats.cc', |
+ 'rtcstatsreport.cc', |
+ ], |
+ }, |
+ ], |
+ 'conditions': [ |
+ ['include_tests==1', { |
+ 'targets': [ |
+ { |
+ # GN version: webrtc/stats:rtc_stats_unittests |
+ 'target_name': 'rtc_stats_unittests', |
+ 'type': '<(gtest_target_type)', |
+ 'dependencies': [ |
+ '<(DEPTH)/testing/gmock.gyp:gmock', |
+ '<(webrtc_root)/base/base_tests.gyp:rtc_base_tests_utils', |
+ '<(webrtc_root)/system_wrappers/system_wrappers.gyp:metrics_default', |
+ 'rtc_stats', |
+ ], |
+ 'sources': [ |
+ 'rtcstats_unittest.cc', |
+ ], |
+ }, |
+ ], |
+ }], |
+ ], |
+} |