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

Side by Side Diff: webrtc/modules/utility/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/rtp_rtcp/BUILD.gn ('k') | webrtc/modules/video_coding/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 24 matching lines...) Expand all
35 "../../base:rtc_task_queue", 35 "../../base:rtc_task_queue",
36 "../../common_audio", 36 "../../common_audio",
37 "../../system_wrappers", 37 "../../system_wrappers",
38 "../media_file", 38 "../media_file",
39 ] 39 ]
40 } 40 }
41 41
42 if (rtc_include_tests) { 42 if (rtc_include_tests) {
43 rtc_source_set("utility_unittests") { 43 rtc_source_set("utility_unittests") {
44 testonly = true 44 testonly = true
45
46 # Skip restricting visibility on mobile platforms since the tests on those
47 # gets additional generated targets which would require many lines here to
48 # cover (which would be confusing to read and hard to maintain).
49 if (!is_android && !is_ios) {
50 visibility = [ "//webrtc/modules:modules_unittests" ]
51 }
45 sources = [ 52 sources = [
46 "source/process_thread_impl_unittest.cc", 53 "source/process_thread_impl_unittest.cc",
47 ] 54 ]
48 deps = [ 55 deps = [
49 ":utility", 56 ":utility",
50 "../../base:rtc_task_queue", 57 "../../base:rtc_task_queue",
51 "../../test:test_support", 58 "../../test:test_support",
52 "//testing/gmock", 59 "//testing/gmock",
53 ] 60 ]
54 } 61 }
55 } 62 }
OLDNEW
« no previous file with comments | « webrtc/modules/rtp_rtcp/BUILD.gn ('k') | webrtc/modules/video_coding/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698