| 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("//build/config/linux/pkg_config.gni") | 9 import("//build/config/linux/pkg_config.gni") |
| 10 import("../build/webrtc.gni") | 10 import("../build/webrtc.gni") |
| (...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 281 } | 281 } |
| 282 if (!is_win) { | 282 if (!is_win) { |
| 283 cflags = [ "-Wno-sign-compare" ] | 283 cflags = [ "-Wno-sign-compare" ] |
| 284 cflags_cc = [ "-Wno-overloaded-virtual" ] | 284 cflags_cc = [ "-Wno-overloaded-virtual" ] |
| 285 } | 285 } |
| 286 } | 286 } |
| 287 | 287 |
| 288 test("rtc_media_unittests") { | 288 test("rtc_media_unittests") { |
| 289 testonly = true | 289 testonly = true |
| 290 | 290 |
| 291 defines = [] |
| 291 deps = [] | 292 deps = [] |
| 292 sources = [ | 293 sources = [ |
| 293 "base/codec_unittest.cc", | 294 "base/codec_unittest.cc", |
| 294 "base/rtpdataengine_unittest.cc", | 295 "base/rtpdataengine_unittest.cc", |
| 295 "base/rtpdump_unittest.cc", | 296 "base/rtpdump_unittest.cc", |
| 296 "base/rtputils_unittest.cc", | 297 "base/rtputils_unittest.cc", |
| 297 "base/streamparams_unittest.cc", | 298 "base/streamparams_unittest.cc", |
| 298 "base/turnutils_unittest.cc", | 299 "base/turnutils_unittest.cc", |
| 299 "base/videoadapter_unittest.cc", | 300 "base/videoadapter_unittest.cc", |
| 300 "base/videobroadcaster_unittest.cc", | 301 "base/videobroadcaster_unittest.cc", |
| (...skipping 11 matching lines...) Expand all Loading... |
| 312 "engine/webrtcvoiceengine_unittest.cc", | 313 "engine/webrtcvoiceengine_unittest.cc", |
| 313 "sctp/sctpdataengine_unittest.cc", | 314 "sctp/sctpdataengine_unittest.cc", |
| 314 ] | 315 ] |
| 315 | 316 |
| 316 configs += [ | 317 configs += [ |
| 317 "..:common_config", | 318 "..:common_config", |
| 318 ":rtc_media_unittests_config", | 319 ":rtc_media_unittests_config", |
| 319 ] | 320 ] |
| 320 public_configs = [ "..:common_inherited_config" ] | 321 public_configs = [ "..:common_inherited_config" ] |
| 321 | 322 |
| 323 if (rtc_use_h264) { |
| 324 defines += [ "WEBRTC_USE_H264" ] |
| 325 } |
| 322 if (is_win) { | 326 if (is_win) { |
| 323 cflags = [ | 327 cflags = [ |
| 324 "/wd4245", # conversion from int to size_t, signed/unsigned mismatch. | 328 "/wd4245", # conversion from int to size_t, signed/unsigned mismatch. |
| 325 "/wd4373", # virtual function override. | 329 "/wd4373", # virtual function override. |
| 326 "/wd4389", # signed/unsigned mismatch. | 330 "/wd4389", # signed/unsigned mismatch. |
| 327 ] | 331 ] |
| 328 } | 332 } |
| 329 | 333 |
| 330 if (is_clang) { | 334 if (is_clang) { |
| 331 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 335 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| (...skipping 22 matching lines...) Expand all Loading... |
| 354 deps += [ | 358 deps += [ |
| 355 # TODO(kjellander): Move as part of work in bugs.webrtc.org/4243. | 359 # TODO(kjellander): Move as part of work in bugs.webrtc.org/4243. |
| 356 ":rtc_media", | 360 ":rtc_media", |
| 357 ":rtc_unittest_main", | 361 ":rtc_unittest_main", |
| 358 "../audio", | 362 "../audio", |
| 359 "../base:rtc_base_tests_utils", | 363 "../base:rtc_base_tests_utils", |
| 360 "../system_wrappers:metrics_default", | 364 "../system_wrappers:metrics_default", |
| 361 ] | 365 ] |
| 362 } | 366 } |
| 363 } | 367 } |
| OLD | NEW |