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

Side by Side Diff: webrtc/modules/bitrate_controller/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("bitrate_controller") { 11 source_set("bitrate_controller") {
12 sources = [ 12 sources = [
13 "../remote_bitrate_estimator/test/bwe_test_logging.h",
kjellander_webrtc 2016/09/01 19:32:35 Referencing sources above the target itself is dis
Gaetano Carlucci 2016/09/02 10:37:21 Should we move this file above the target?
kjellander_webrtc 2016/09/02 12:05:42 Not sure what you mean here. If you depend on a he
13 "bitrate_controller_impl.cc", 14 "bitrate_controller_impl.cc",
14 "bitrate_controller_impl.h", 15 "bitrate_controller_impl.h",
15 "include/bitrate_allocator.h", 16 "include/bitrate_allocator.h",
16 "include/bitrate_controller.h", 17 "include/bitrate_controller.h",
17 "send_side_bandwidth_estimation.cc", 18 "send_side_bandwidth_estimation.cc",
18 "send_side_bandwidth_estimation.h", 19 "send_side_bandwidth_estimation.h",
19 ] 20 ]
20 21
22 if (rtc_enable_bwe_test_logging) {
23 defines = [ "BWE_TEST_LOGGING_COMPILE_TIME_ENABLE=1" ]
24 } else {
25 defines = [ "BWE_TEST_LOGGING_COMPILE_TIME_ENABLE=0" ]
26 }
27
21 configs += [ "../..:common_config" ] 28 configs += [ "../..:common_config" ]
22 public_configs = [ "../..:common_inherited_config" ] 29 public_configs = [ "../..:common_inherited_config" ]
23 30
24 # TODO(jschuh): Bug 1348: fix this warning. 31 # TODO(jschuh): Bug 1348: fix this warning.
25 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 32 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
26 33
27 if (is_clang) { 34 if (is_clang) {
28 # Suppress warnings from Chrome's Clang plugins. 35 # Suppress warnings from Chrome's Clang plugins.
29 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. 36 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
30 configs -= [ "//build/config/clang:find_bad_constructs" ] 37 configs -= [ "//build/config/clang:find_bad_constructs" ]
31 } 38 }
32 39
33 deps = [ 40 deps = [
34 "../../system_wrappers", 41 "../../system_wrappers",
35 ] 42 ]
36 } 43 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698