Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Side by Side Diff: webrtc/modules/media_file/BUILD.gn

Issue 2828793003: GN: Tighten up test target visibility + refactorings (Closed)
Patch Set: Move out fec_test_helper from rtc_include_tests Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/modules/desktop_capture/BUILD.gn ('k') | webrtc/modules/pacing/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 25 matching lines...) Expand all
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 42
43 if (rtc_include_tests) { 43 if (rtc_include_tests) {
44 rtc_source_set("media_file_unittests") { 44 rtc_source_set("media_file_unittests") {
45 testonly = true 45 testonly = true
46
47 # Skip restricting visibility on mobile platforms since the tests on those
48 # gets additional generated targets which would require many lines here to
49 # cover (which would be confusing to read and hard to maintain).
50 if (!is_android && !is_ios) {
51 visibility = [ "//webrtc/modules:modules_unittests" ]
52 }
46 sources = [ 53 sources = [
47 "media_file_unittest.cc", 54 "media_file_unittest.cc",
48 ] 55 ]
49 deps = [ 56 deps = [
50 ":media_file", 57 ":media_file",
51 "../../system_wrappers:system_wrappers", 58 "../../system_wrappers:system_wrappers",
52 "../../test:test_support", 59 "../../test:test_support",
53 ] 60 ]
54 if (is_win) { 61 if (is_win) {
55 cflags = [ 62 cflags = [
56 # TODO(kjellander): bugs.webrtc.org/261: Fix this warning. 63 # TODO(kjellander): bugs.webrtc.org/261: Fix this warning.
57 "/wd4373", # virtual function override. 64 "/wd4373", # virtual function override.
58 ] 65 ]
59 } 66 }
60 if (!build_with_chromium && is_clang) { 67 if (!build_with_chromium && is_clang) {
61 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 68 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
62 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 69 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
63 } 70 }
64 } 71 }
65 } 72 }
OLDNEW
« no previous file with comments | « webrtc/modules/desktop_capture/BUILD.gn ('k') | webrtc/modules/pacing/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698