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 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
264 # Need to add a directory normally exported by libyuv. | 264 # Need to add a directory normally exported by libyuv. |
265 include_dirs += [ "$rtc_libyuv_dir/include" ] | 265 include_dirs += [ "$rtc_libyuv_dir/include" ] |
266 } | 266 } |
267 | 267 |
268 if (!build_with_chromium && is_clang) { | 268 if (!build_with_chromium && is_clang) { |
269 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 269 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
270 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 270 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
271 } | 271 } |
272 | 272 |
273 deps += [ | 273 deps += [ |
274 "../base:rtc_base_tests_utils", | 274 "../base:rtc_base_tests_main", |
275 "//testing/gtest", | 275 "//testing/gtest", |
276 ] | 276 ] |
277 public_deps += [ "//testing/gmock" ] | 277 public_deps += [ "//testing/gmock" ] |
278 } | 278 } |
279 | 279 |
280 config("rtc_media_unittests_config") { | 280 config("rtc_media_unittests_config") { |
281 # GN orders flags on a target before flags from configs. The default config | 281 # GN orders flags on a target before flags from configs. The default config |
282 # adds -Wall, and this flag have to be after -Wall -- so they need to | 282 # adds -Wall, and this flag have to be after -Wall -- so they need to |
283 # come from a config and can"t be on the target directly. | 283 # come from a config and can"t be on the target directly. |
284 # TODO(kjellander): Make the code compile without disabling these flags. | 284 # TODO(kjellander): Make the code compile without disabling these flags. |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
386 # TODO(kjellander): Move as part of work in bugs.webrtc.org/4243. | 386 # TODO(kjellander): Move as part of work in bugs.webrtc.org/4243. |
387 ":rtc_media", | 387 ":rtc_media", |
388 ":rtc_unittest_main", | 388 ":rtc_unittest_main", |
389 "../audio", | 389 "../audio", |
390 "../base:rtc_base_tests_utils", | 390 "../base:rtc_base_tests_utils", |
391 "../modules/audio_device:mock_audio_device", | 391 "../modules/audio_device:mock_audio_device", |
392 "../system_wrappers:metrics_default", | 392 "../system_wrappers:metrics_default", |
393 ] | 393 ] |
394 } | 394 } |
395 } | 395 } |
OLD | NEW |