Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2034)

Side by Side Diff: webrtc/stats/BUILD.gn

Issue 2335553006: Moving webrtc/stats/ into webrtc/api/ to resolve a circular dependency (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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 import("../build/webrtc.gni")
10
11 group("stats") {
12 deps = [
13 ":rtc_stats",
14 ]
15 }
16
17 # GYP version: webrtc/stats/stats.gyp:rtc_stats
18 rtc_source_set("rtc_stats") {
19 cflags = []
20 sources = [
21 "rtcstats.cc",
22 "rtcstats_objects.cc",
23 "rtcstatscollector.cc",
24 "rtcstatscollector.h",
25 "rtcstatsreport.cc",
26 ]
27
28 if (is_clang) {
29 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
30 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
31 }
32
33 deps = [
34 "../api:libjingle_peerconnection",
35 ]
36 }
37
38 if (rtc_include_tests) {
39 # GYP version: webrtc/stats/stats.gyp:rtc_stats_unittests
40 rtc_test("rtc_stats_unittests") {
41 testonly = true
42 sources = [
43 "rtcstats_unittest.cc",
44 "rtcstatscollector_unittest.cc",
45 "rtcstatsreport_unittest.cc",
46 ]
47
48 if (is_clang) {
49 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
50 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
51 }
52
53 deps = [
54 ":rtc_stats",
55 "../base:rtc_base_tests_utils",
56 "../system_wrappers:metrics_default",
57 "//testing/gmock",
58 ]
59
60 if (is_android) {
61 deps += [ "//testing/android/native_test:native_test_native_code" ]
62 }
63 }
64 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698