Files
platform-external-webrtc/stats/BUILD.gn
Mirko Bonadei 17f4878419 Remove deprecated field_trial_default and metrics_default.
This CL removes some deprecated build targets (and their headers)
from system_wrappers:
- field_trial_api
- field_trial_default
- metrics_api
- metrics_default

It also refreshes all the dependencies on field_trial.h and metrics.h.

A nice side effect is that it is finally possible to remove 'nogncheck'
from the following files (when it was used with field_trial_default
and metrics_default):
- sdk/objc/api/peerconnection/RTCMetricsSampleInfo+Private.h
- sdk/android/src/jni/pc/peerconnectionfactory.cc
- sdk/objc/api/peerconnection/RTCFieldTrials.mm

Bug: webrtc:9631
Change-Id: Ib621f41ef8ad0aba4fe1c1d7e749c044afc956c3
No-Try: True
Reviewed-on: https://webrtc-review.googlesource.com/100524
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24878}
2018-09-28 07:21:07 +00:00

70 lines
1.5 KiB
Plaintext

# 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.
import("../webrtc.gni")
group("stats") {
deps = [
":rtc_stats",
]
}
rtc_static_library("rtc_stats") {
visibility = [ "*" ]
cflags = []
sources = [
"rtcstats.cc",
"rtcstats_objects.cc",
"rtcstatsreport.cc",
]
deps = [
"../api:rtc_stats_api",
"../rtc_base:rtc_base_approved",
]
}
rtc_source_set("rtc_stats_test_utils") {
visibility = [ "*" ]
cflags = []
sources = [
"test/rtcteststats.cc",
"test/rtcteststats.h",
]
deps = [
":rtc_stats",
"../api:rtc_stats_api",
]
}
if (rtc_include_tests) {
rtc_test("rtc_stats_unittests") {
testonly = true
sources = [
"rtcstats_unittest.cc",
"rtcstatsreport_unittest.cc",
]
deps = [
":rtc_stats",
":rtc_stats_test_utils",
"../api:rtc_stats_api",
"../rtc_base:checks",
"../rtc_base:rtc_base_approved",
"../rtc_base:rtc_base_tests_main",
"../rtc_base:rtc_base_tests_utils",
"../rtc_base:rtc_json",
]
if (is_android) {
deps += [ "//testing/android/native_test:native_test_native_code" ]
}
}
}