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 22 matching lines...) Expand all Loading... |
33 "..:module_api", | 33 "..:module_api", |
34 "../..:webrtc_common", | 34 "../..:webrtc_common", |
35 "../../audio/utility:audio_frame_operations", | 35 "../../audio/utility:audio_frame_operations", |
36 "../../common_audio", | 36 "../../common_audio", |
37 "../../rtc_base:rtc_task_queue", | 37 "../../rtc_base:rtc_task_queue", |
38 "../../system_wrappers", | 38 "../../system_wrappers", |
39 "../media_file", | 39 "../media_file", |
40 ] | 40 ] |
41 } | 41 } |
42 | 42 |
| 43 rtc_source_set("mock_process_thread") { |
| 44 testonly = true |
| 45 sources = [ |
| 46 "include/mock/mock_process_thread.h", |
| 47 ] |
| 48 deps = [ |
| 49 ":utility", |
| 50 "../../rtc_base:rtc_base_approved", |
| 51 "../../test:test_support", |
| 52 ] |
| 53 } |
| 54 |
43 if (rtc_include_tests) { | 55 if (rtc_include_tests) { |
44 rtc_source_set("utility_unittests") { | 56 rtc_source_set("utility_unittests") { |
45 testonly = true | 57 testonly = true |
46 | 58 |
47 # Skip restricting visibility on mobile platforms since the tests on those | 59 # Skip restricting visibility on mobile platforms since the tests on those |
48 # gets additional generated targets which would require many lines here to | 60 # gets additional generated targets which would require many lines here to |
49 # cover (which would be confusing to read and hard to maintain). | 61 # cover (which would be confusing to read and hard to maintain). |
50 if (!is_android && !is_ios) { | 62 if (!is_android && !is_ios) { |
51 visibility = [ "..:modules_unittests" ] | 63 visibility = [ "..:modules_unittests" ] |
52 } | 64 } |
53 sources = [ | 65 sources = [ |
54 "source/process_thread_impl_unittest.cc", | 66 "source/process_thread_impl_unittest.cc", |
55 ] | 67 ] |
56 deps = [ | 68 deps = [ |
57 ":utility", | 69 ":utility", |
58 "..:module_api", | 70 "..:module_api", |
59 "../../rtc_base:rtc_task_queue", | 71 "../../rtc_base:rtc_task_queue", |
60 "../../test:test_support", | 72 "../../test:test_support", |
61 "//testing/gmock", | 73 "//testing/gmock", |
62 ] | 74 ] |
63 } | 75 } |
64 } | 76 } |
OLD | NEW |