| OLD | NEW |
| 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 |
| (...skipping 28 matching lines...) Expand all Loading... |
| 39 "transport_feedback_adapter.h", | 39 "transport_feedback_adapter.h", |
| 40 ] | 40 ] |
| 41 | 41 |
| 42 if (rtc_enable_bwe_test_logging) { | 42 if (rtc_enable_bwe_test_logging) { |
| 43 defines = [ "BWE_TEST_LOGGING_COMPILE_TIME_ENABLE=1" ] | 43 defines = [ "BWE_TEST_LOGGING_COMPILE_TIME_ENABLE=1" ] |
| 44 sources += [ "test/bwe_test_logging.cc" ] | 44 sources += [ "test/bwe_test_logging.cc" ] |
| 45 } else { | 45 } else { |
| 46 defines = [ "BWE_TEST_LOGGING_COMPILE_TIME_ENABLE=0" ] | 46 defines = [ "BWE_TEST_LOGGING_COMPILE_TIME_ENABLE=0" ] |
| 47 } | 47 } |
| 48 | 48 |
| 49 public_configs = [ "../..:common_inherited_config" ] | |
| 50 | |
| 51 if (is_clang) { | 49 if (is_clang) { |
| 52 # Suppress warnings from the Chromium Clang plugins (bugs.webrtc.org/163). | 50 # Suppress warnings from the Chromium Clang plugins (bugs.webrtc.org/163). |
| 53 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 51 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 54 } | 52 } |
| 55 | 53 |
| 56 deps = [ | 54 deps = [ |
| 57 "../..:webrtc_common", | 55 "../..:webrtc_common", |
| 58 "../../base:rtc_base_approved", | 56 "../../base:rtc_base_approved", |
| 59 "../../system_wrappers", | 57 "../../system_wrappers", |
| 60 ] | 58 ] |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 "test/packet_sender.h", | 90 "test/packet_sender.h", |
| 93 ] | 91 ] |
| 94 | 92 |
| 95 if (rtc_enable_bwe_test_logging) { | 93 if (rtc_enable_bwe_test_logging) { |
| 96 defines = [ "BWE_TEST_LOGGING_COMPILE_TIME_ENABLE=1" ] | 94 defines = [ "BWE_TEST_LOGGING_COMPILE_TIME_ENABLE=1" ] |
| 97 sources += [ "test/bwe_test_logging.cc" ] | 95 sources += [ "test/bwe_test_logging.cc" ] |
| 98 } else { | 96 } else { |
| 99 defines = [ "BWE_TEST_LOGGING_COMPILE_TIME_ENABLE=0" ] | 97 defines = [ "BWE_TEST_LOGGING_COMPILE_TIME_ENABLE=0" ] |
| 100 } | 98 } |
| 101 | 99 |
| 102 public_configs = [ "../..:common_inherited_config" ] | |
| 103 | |
| 104 if (is_clang) { | 100 if (is_clang) { |
| 105 # Suppress warnings from the Chromium Clang plugins (bugs.webrtc.org/163). | 101 # Suppress warnings from the Chromium Clang plugins (bugs.webrtc.org/163). |
| 106 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 102 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 107 } | 103 } |
| 108 | 104 |
| 109 if (is_win) { | 105 if (is_win) { |
| 110 cflags = [ | 106 cflags = [ |
| 111 # TODO(kjellander): Bug 261: fix this warning. | 107 # TODO(kjellander): Bug 261: fix this warning. |
| 112 "/wd4373", # virtual function override. | 108 "/wd4373", # virtual function override. |
| 113 ] | 109 ] |
| 114 } | 110 } |
| 115 | 111 |
| 116 deps = [ | 112 deps = [ |
| 117 "../../test:test_support", | 113 "../../test:test_support", |
| 118 "../pacing", | 114 "../pacing", |
| 119 "//testing/gmock", | 115 "//testing/gmock", |
| 120 "//testing/gtest", | 116 "//testing/gtest", |
| 121 ] | 117 ] |
| 122 } | 118 } |
| 123 } | 119 } |
| OLD | NEW |