1 # Copyright (c) 2016 The WebRTC project authors. All Rights Reserved.
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.
9 import("../webrtc.gni")
12 deps = [ ":rtc_stats" ]
15 rtc_library("rtc_stats") {
20 "rtc_stats_report.cc",
21 "rtcstats_objects.cc",
25 "../api:rtc_stats_api",
27 "../rtc_base:macromagic",
28 "../rtc_base:stringutils",
32 rtc_library("rtc_stats_test_utils") {
36 "test/rtc_test_stats.cc",
37 "test/rtc_test_stats.h",
42 "../api:rtc_stats_api",
44 "../rtc_base/system:rtc_export",
48 if (rtc_include_tests && !build_with_chromium) {
49 rtc_test("rtc_stats_unittests") {
52 "rtc_stats_report_unittest.cc",
53 "rtc_stats_unittest.cc",
58 ":rtc_stats_test_utils",
59 "../api:rtc_stats_api",
61 "../rtc_base:gunit_helpers",
62 "../rtc_base:rtc_json",
64 "../test:test_support",
68 use_default_launcher = false
70 "//build/android/gtest_apk:native_test_instrumentation_test_runner_java",
71 "//testing/android/native_test:native_test_java",
72 "//testing/android/native_test:native_test_support",