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

Side by Side Diff: webrtc/modules/rtp_rtcp/BUILD.gn

Issue 2296253002: Enable BWE logging to command line when rtc_enable_bwe_test_logging is set to true (Closed)
Patch Set: adding BWE_TEST_LOGGING_COMPILE_TIME_ENABLE to gn files 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
1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. 1 # Copyright (c) 2014 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("../../build/webrtc.gni") 9 import("../../build/webrtc.gni")
10 10
11 source_set("rtp_rtcp") { 11 source_set("rtp_rtcp") {
12 sources = [ 12 sources = [
13 "../remote_bitrate_estimator/test/bwe_test_logging.h",
kjellander_webrtc 2016/09/01 19:32:35 disallowed include.
13 "include/fec_receiver.h", 14 "include/fec_receiver.h",
14 "include/receive_statistics.h", 15 "include/receive_statistics.h",
15 "include/remote_ntp_time_estimator.h", 16 "include/remote_ntp_time_estimator.h",
16 "include/rtp_header_parser.h", 17 "include/rtp_header_parser.h",
17 "include/rtp_payload_registry.h", 18 "include/rtp_payload_registry.h",
18 "include/rtp_receiver.h", 19 "include/rtp_receiver.h",
19 "include/rtp_rtcp.h", 20 "include/rtp_rtcp.h",
20 "include/rtp_rtcp_defines.h", 21 "include/rtp_rtcp_defines.h",
21 "mocks/mock_rtp_rtcp.h", 22 "mocks/mock_rtp_rtcp.h",
22 "source/byte_io.h", 23 "source/byte_io.h",
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 "source/ssrc_database.h", 148 "source/ssrc_database.h",
148 "source/time_util.cc", 149 "source/time_util.cc",
149 "source/time_util.h", 150 "source/time_util.h",
150 "source/tmmbr_help.cc", 151 "source/tmmbr_help.cc",
151 "source/tmmbr_help.h", 152 "source/tmmbr_help.h",
152 "source/video_codec_information.h", 153 "source/video_codec_information.h",
153 "source/vp8_partition_aggregator.cc", 154 "source/vp8_partition_aggregator.cc",
154 "source/vp8_partition_aggregator.h", 155 "source/vp8_partition_aggregator.h",
155 ] 156 ]
156 157
158 if (rtc_enable_bwe_test_logging) {
159 defines = [ "BWE_TEST_LOGGING_COMPILE_TIME_ENABLE=1" ]
160 } else {
161 defines = [ "BWE_TEST_LOGGING_COMPILE_TIME_ENABLE=0" ]
162 }
163
157 configs += [ "../..:common_config" ] 164 configs += [ "../..:common_config" ]
158 public_configs = [ "../..:common_inherited_config" ] 165 public_configs = [ "../..:common_inherited_config" ]
159 166
160 if (is_clang) { 167 if (is_clang) {
161 # Suppress warnings from Chrome's Clang plugins. 168 # Suppress warnings from Chrome's Clang plugins.
162 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. 169 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
163 configs -= [ "//build/config/clang:find_bad_constructs" ] 170 configs -= [ "//build/config/clang:find_bad_constructs" ]
164 } 171 }
165 172
166 deps = [ 173 deps = [
(...skipping 24 matching lines...) Expand all
191 ] 198 ]
192 199
193 deps = [ 200 deps = [
194 ":rtp_rtcp", 201 ":rtp_rtcp",
195 "//build/config/sanitizers:deps", 202 "//build/config/sanitizers:deps",
196 "//testing/gtest", 203 "//testing/gtest",
197 "//webrtc/test:test_support_main", 204 "//webrtc/test:test_support_main",
198 ] 205 ]
199 } # test_packet_masks_metrics 206 } # test_packet_masks_metrics
200 } 207 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698