| OLD | NEW |
| 1 # Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. |
| 2 # | 2 # |
| 3 # Use of this source code is governed by a BSD-style license | 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 | 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 | 5 # tree. An additional intellectual property rights grant can be found |
| 6 # in the file PATENTS. All contributing project authors may | 6 # in the file PATENTS. All contributing project authors may |
| 7 # be found in the AUTHORS file in the root of the source tree. | 7 # be found in the AUTHORS file in the root of the source tree. |
| 8 | 8 |
| 9 import("../webrtc.gni") | 9 import("../webrtc.gni") |
| 10 import("//third_party/protobuf/proto_library.gni") | 10 import("//third_party/protobuf/proto_library.gni") |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 "..:webrtc_common", | 53 "..:webrtc_common", |
| 54 "../base:rtc_base_approved", | 54 "../base:rtc_base_approved", |
| 55 "../call:call_interfaces", | 55 "../call:call_interfaces", |
| 56 "../modules/audio_coding:audio_network_adaptor", | 56 "../modules/audio_coding:audio_network_adaptor", |
| 57 "../modules/rtp_rtcp", | 57 "../modules/rtp_rtcp", |
| 58 "../system_wrappers", | 58 "../system_wrappers", |
| 59 ] | 59 ] |
| 60 | 60 |
| 61 if (rtc_enable_protobuf) { | 61 if (rtc_enable_protobuf) { |
| 62 defines += [ "ENABLE_RTC_EVENT_LOG" ] | 62 defines += [ "ENABLE_RTC_EVENT_LOG" ] |
| 63 deps += [ ":rtc_event_log_proto" ] | 63 deps += [ |
| 64 ":rtc_event_log_proto", |
| 65 "../base:protobuf_utils", |
| 66 ] |
| 64 } | 67 } |
| 65 if (!build_with_chromium && is_clang) { | 68 if (!build_with_chromium && is_clang) { |
| 66 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 69 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 67 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 70 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 68 } | 71 } |
| 69 } | 72 } |
| 70 | 73 |
| 71 if (rtc_enable_protobuf) { | 74 if (rtc_enable_protobuf) { |
| 72 proto_library("rtc_event_log_proto") { | 75 proto_library("rtc_event_log_proto") { |
| 73 sources = [ | 76 sources = [ |
| (...skipping 15 matching lines...) Expand all Loading... |
| 89 "../call:call_interfaces", | 92 "../call:call_interfaces", |
| 90 "../modules/rtp_rtcp:rtp_rtcp", | 93 "../modules/rtp_rtcp:rtp_rtcp", |
| 91 "../system_wrappers", | 94 "../system_wrappers", |
| 92 ] | 95 ] |
| 93 | 96 |
| 94 if (!build_with_chromium && is_clang) { | 97 if (!build_with_chromium && is_clang) { |
| 95 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 98 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 96 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 99 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 97 } | 100 } |
| 98 deps = [ | 101 deps = [ |
| 102 "../base:protobuf_utils", |
| 99 "../base:rtc_base_approved", | 103 "../base:rtc_base_approved", |
| 100 ] | 104 ] |
| 101 } | 105 } |
| 102 | 106 |
| 103 if (rtc_include_tests) { | 107 if (rtc_include_tests) { |
| 104 rtc_source_set("rtc_event_log_tests") { | 108 rtc_source_set("rtc_event_log_tests") { |
| 105 testonly = true | 109 testonly = true |
| 106 sources = [ | 110 sources = [ |
| 107 "rtc_event_log/ringbuffer_unittest.cc", | 111 "rtc_event_log/ringbuffer_unittest.cc", |
| 108 "rtc_event_log/rtc_event_log_unittest.cc", | 112 "rtc_event_log/rtc_event_log_unittest.cc", |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 166 "../modules/rtp_rtcp:rtp_rtcp", | 170 "../modules/rtp_rtcp:rtp_rtcp", |
| 167 "//third_party/gflags", | 171 "//third_party/gflags", |
| 168 ] | 172 ] |
| 169 if (!build_with_chromium && is_clang) { | 173 if (!build_with_chromium && is_clang) { |
| 170 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163)
. | 174 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163)
. |
| 171 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 175 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 172 } | 176 } |
| 173 } | 177 } |
| 174 } | 178 } |
| 175 } | 179 } |
| OLD | NEW |