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 21 matching lines...) Expand all Loading... |
32 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 32 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
33 } | 33 } |
34 | 34 |
35 deps = [ | 35 deps = [ |
36 "../..:webrtc_common", | 36 "../..:webrtc_common", |
37 "../../base:rtc_base_approved", | 37 "../../base:rtc_base_approved", |
38 "../../common_audio", | 38 "../../common_audio", |
39 "../../system_wrappers", | 39 "../../system_wrappers", |
40 ] | 40 ] |
41 } | 41 } |
| 42 |
| 43 if (rtc_include_tests) { |
| 44 rtc_source_set("media_file_unittests") { |
| 45 testonly = true |
| 46 sources = [ |
| 47 "media_file_unittest.cc", |
| 48 ] |
| 49 deps = [ |
| 50 ":media_file", |
| 51 "../../system_wrappers:system_wrappers", |
| 52 "../../test:test_support", |
| 53 ] |
| 54 if (is_win) { |
| 55 cflags = [ |
| 56 # TODO(kjellander): bugs.webrtc.org/261: Fix this warning. |
| 57 "/wd4373", # virtual function override. |
| 58 ] |
| 59 } |
| 60 if (!build_with_chromium && is_clang) { |
| 61 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 62 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 63 } |
| 64 } |
| 65 } |
OLD | NEW |