Chromium Code Reviews| 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("//testing/test.gni") | 9 import("//testing/test.gni") |
| 10 import("../build/webrtc.gni") | 10 import("../build/webrtc.gni") |
| (...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 167 testonly = true | 167 testonly = true |
| 168 sources = [ | 168 sources = [ |
| 169 "agc/test_utils.cc", | 169 "agc/test_utils.cc", |
| 170 "agc/test_utils.h", | 170 "agc/test_utils.h", |
| 171 ] | 171 ] |
| 172 | 172 |
| 173 configs += [ "..:common_config" ] | 173 configs += [ "..:common_config" ] |
| 174 public_configs = [ "..:common_inherited_config" ] | 174 public_configs = [ "..:common_inherited_config" ] |
| 175 } | 175 } |
| 176 | 176 |
| 177 if (rtc_enable_protobuf) { | |
| 178 source_set("event_log_visualizer_utils") { | |
|
terelius
2016/08/23 02:55:20
Should this be testonly too? The webrtc static lib
kjellander_webrtc
2016/08/23 05:52:06
I guess it's fine leaving it without testonly.
| |
| 179 sources = [ | |
| 180 "event_log_visualizer/analyzer.cc", | |
| 181 "event_log_visualizer/analyzer.h", | |
| 182 "event_log_visualizer/plot_base.cc", | |
| 183 "event_log_visualizer/plot_base.h", | |
| 184 "event_log_visualizer/plot_python.cc", | |
| 185 "event_log_visualizer/plot_python.h", | |
| 186 ] | |
| 187 configs += [ "..:common_config" ] | |
| 188 public_configs = [ "..:common_inherited_config" ] | |
| 189 if (is_clang && !is_nacl) { | |
| 190 # Suppress warnings from the Chromium Clang plugin. | |
| 191 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | |
| 192 configs -= [ "//build/config/clang:find_bad_constructs" ] | |
|
kjellander_webrtc
2016/08/23 05:52:06
I'd be very happy if these warnings could be fixed
| |
| 193 } | |
| 194 defines = [ "ENABLE_RTC_EVENT_LOG" ] | |
| 195 deps = [ | |
| 196 "../:rtc_event_log", | |
| 197 "../:rtc_event_log_parser", | |
| 198 "../modules/congestion_controller:congestion_controller", | |
| 199 "../modules/rtp_rtcp:rtp_rtcp", | |
| 200 "../system_wrappers:system_wrappers_default", | |
| 201 "//build/config/sanitizers:deps", | |
| 202 ] | |
| 203 public_deps = [ | |
| 204 "../:rtc_event_log_parser", | |
| 205 ] | |
| 206 } | |
| 207 } | |
| 208 | |
| 177 # Exclude tools depending on gflags since that's not available in Chromium. | 209 # Exclude tools depending on gflags since that's not available in Chromium. |
| 178 if (rtc_include_tests) { | 210 if (rtc_include_tests) { |
| 179 if (rtc_enable_protobuf) { | 211 if (rtc_enable_protobuf) { |
| 180 executable("event_log_visualizer") { | 212 executable("event_log_visualizer") { |
| 181 testonly = true | 213 testonly = true |
| 182 sources = [ | 214 sources = [ |
| 183 "event_log_visualizer/analyzer.cc", | |
| 184 "event_log_visualizer/analyzer.h", | |
| 185 "event_log_visualizer/main.cc", | 215 "event_log_visualizer/main.cc", |
| 186 "event_log_visualizer/plot_base.cc", | |
| 187 "event_log_visualizer/plot_base.h", | |
| 188 "event_log_visualizer/plot_python.cc", | |
| 189 "event_log_visualizer/plot_python.h", | |
| 190 ] | 216 ] |
| 191 | 217 |
| 192 configs += [ "..:common_config" ] | 218 configs += [ "..:common_config" ] |
| 193 public_configs = [ "..:common_inherited_config" ] | 219 public_configs = [ "..:common_inherited_config" ] |
| 194 | 220 |
| 195 if (is_clang && !is_nacl) { | 221 if (is_clang && !is_nacl) { |
| 196 # Suppress warnings from the Chromium Clang plugin. | 222 # Suppress warnings from the Chromium Clang plugin. |
| 197 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 223 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
| 198 configs -= [ "//build/config/clang:find_bad_constructs" ] | 224 configs -= [ "//build/config/clang:find_bad_constructs" ] |
| 199 } | 225 } |
| 200 | 226 |
| 201 defines = [ "ENABLE_RTC_EVENT_LOG" ] | 227 defines = [ "ENABLE_RTC_EVENT_LOG" ] |
| 202 deps = [ | 228 deps = [ |
| 203 "../:rtc_event_log", | 229 ":event_log_visualizer_utils", |
| 204 "../:rtc_event_log_parser", | |
| 205 "../modules/congestion_controller:congestion_controller", | |
| 206 "../modules/rtp_rtcp:rtp_rtcp", | |
| 207 "../system_wrappers:system_wrappers_default", | |
| 208 "../test:field_trial", | |
| 209 "//build/config/sanitizers:deps", | 230 "//build/config/sanitizers:deps", |
| 210 "//third_party/gflags", | 231 "//third_party/gflags", |
| 211 ] | 232 ] |
| 212 } | 233 } |
| 213 } | 234 } |
| 214 | 235 |
| 215 executable("agc_harness") { | 236 executable("agc_harness") { |
| 216 testonly = true | 237 testonly = true |
| 217 sources = [ | 238 sources = [ |
| 218 "agc/agc_harness.cc", | 239 "agc/agc_harness.cc", |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 337 ] | 358 ] |
| 338 outputs = [ | 359 outputs = [ |
| 339 "$root_build_dir/{{source_file_part}}", | 360 "$root_build_dir/{{source_file_part}}", |
| 340 ] | 361 ] |
| 341 deps = [ | 362 deps = [ |
| 342 "..:rtc_event_log_proto", | 363 "..:rtc_event_log_proto", |
| 343 ] | 364 ] |
| 344 } | 365 } |
| 345 } | 366 } |
| 346 } | 367 } |
| OLD | NEW |