| 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("../../webrtc.gni") | 9 import("../../webrtc.gni") | 
| 10 | 10 | 
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 42 } | 42 } | 
| 43 | 43 | 
| 44 if (rtc_include_tests) { | 44 if (rtc_include_tests) { | 
| 45   rtc_source_set("media_file_unittests") { | 45   rtc_source_set("media_file_unittests") { | 
| 46     testonly = true | 46     testonly = true | 
| 47 | 47 | 
| 48     # Skip restricting visibility on mobile platforms since the tests on those | 48     # Skip restricting visibility on mobile platforms since the tests on those | 
| 49     # gets additional generated targets which would require many lines here to | 49     # gets additional generated targets which would require many lines here to | 
| 50     # cover (which would be confusing to read and hard to maintain). | 50     # cover (which would be confusing to read and hard to maintain). | 
| 51     if (!is_android && !is_ios) { | 51     if (!is_android && !is_ios) { | 
| 52       visibility = [ "//webrtc/modules:modules_unittests" ] | 52       visibility = [ "..:modules_unittests" ] | 
| 53     } | 53     } | 
| 54     sources = [ | 54     sources = [ | 
| 55       "media_file_unittest.cc", | 55       "media_file_unittest.cc", | 
| 56     ] | 56     ] | 
| 57     deps = [ | 57     deps = [ | 
| 58       ":media_file", | 58       ":media_file", | 
| 59       "../../system_wrappers:system_wrappers", | 59       "../../system_wrappers:system_wrappers", | 
| 60       "../../test:test_support", | 60       "../../test:test_support", | 
| 61     ] | 61     ] | 
| 62     if (is_win) { | 62     if (is_win) { | 
| 63       cflags = [ | 63       cflags = [ | 
| 64         # TODO(kjellander): bugs.webrtc.org/261: Fix this warning. | 64         # TODO(kjellander): bugs.webrtc.org/261: Fix this warning. | 
| 65         "/wd4373",  # virtual function override. | 65         "/wd4373",  # virtual function override. | 
| 66       ] | 66       ] | 
| 67     } | 67     } | 
| 68     if (!build_with_chromium && is_clang) { | 68     if (!build_with_chromium && is_clang) { | 
| 69       # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 69       # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 
| 70       suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 70       suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 
| 71     } | 71     } | 
| 72   } | 72   } | 
| 73 } | 73 } | 
| OLD | NEW | 
|---|