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/config/ui.gni") | 9 import("//build/config/ui.gni") |
10 import("../../webrtc.gni") | 10 import("../../webrtc.gni") |
(...skipping 22 matching lines...) Expand all Loading... |
33 } | 33 } |
34 | 34 |
35 if (rtc_include_tests) { | 35 if (rtc_include_tests) { |
36 rtc_source_set("desktop_capture_modules_tests") { | 36 rtc_source_set("desktop_capture_modules_tests") { |
37 testonly = true | 37 testonly = true |
38 | 38 |
39 # Skip restricting visibility on mobile platforms since the tests on those | 39 # Skip restricting visibility on mobile platforms since the tests on those |
40 # gets additional generated targets which would require many lines here to | 40 # gets additional generated targets which would require many lines here to |
41 # cover (which would be confusing to read and hard to maintain). | 41 # cover (which would be confusing to read and hard to maintain). |
42 if (!is_android && !is_ios) { | 42 if (!is_android && !is_ios) { |
43 visibility = [ "//webrtc/modules:modules_tests" ] | 43 visibility = [ "..:modules_tests" ] |
44 } | 44 } |
45 sources = [] | 45 sources = [] |
46 deps = [] | 46 deps = [] |
47 if (rtc_desktop_capture_supported) { | 47 if (rtc_desktop_capture_supported) { |
48 deps += [ | 48 deps += [ |
49 ":desktop_capture_mock", | 49 ":desktop_capture_mock", |
50 ":primitives", | 50 ":primitives", |
51 ":screen_drawer", | 51 ":screen_drawer", |
52 "../../base:rtc_base", | 52 "../../base:rtc_base", |
53 "../../base:rtc_base_approved", | 53 "../../base:rtc_base_approved", |
54 "../../system_wrappers", | 54 "../../system_wrappers", |
55 "../../test:test_support", | 55 "../../test:test_support", |
56 "../../test:video_test_support", | 56 "../../test:video_test_support", |
57 ] | 57 ] |
58 sources += [ | 58 sources += [ |
59 "screen_capturer_integration_test.cc", | 59 "screen_capturer_integration_test.cc", |
60 "screen_drawer_unittest.cc", | 60 "screen_drawer_unittest.cc", |
61 ] | 61 ] |
62 } | 62 } |
63 } | 63 } |
64 | 64 |
65 rtc_source_set("desktop_capture_unittests") { | 65 rtc_source_set("desktop_capture_unittests") { |
66 testonly = true | 66 testonly = true |
67 | 67 |
68 # Skip restricting visibility on mobile platforms since the tests on those | 68 # Skip restricting visibility on mobile platforms since the tests on those |
69 # gets additional generated targets which would require many lines here to | 69 # gets additional generated targets which would require many lines here to |
70 # cover (which would be confusing to read and hard to maintain). | 70 # cover (which would be confusing to read and hard to maintain). |
71 if (!is_android && !is_ios) { | 71 if (!is_android && !is_ios) { |
72 visibility = [ "//webrtc/modules:modules_unittests" ] | 72 visibility = [ "..:modules_unittests" ] |
73 } | 73 } |
74 sources = [ | 74 sources = [ |
75 "blank_detector_desktop_capturer_wrapper_unittest.cc", | 75 "blank_detector_desktop_capturer_wrapper_unittest.cc", |
76 "desktop_and_cursor_composer_unittest.cc", | 76 "desktop_and_cursor_composer_unittest.cc", |
77 "desktop_capturer_differ_wrapper_unittest.cc", | 77 "desktop_capturer_differ_wrapper_unittest.cc", |
78 "desktop_frame_rotation_unittest.cc", | 78 "desktop_frame_rotation_unittest.cc", |
79 "desktop_geometry_unittest.cc", | 79 "desktop_geometry_unittest.cc", |
80 "desktop_region_unittest.cc", | 80 "desktop_region_unittest.cc", |
81 "differ_block_unittest.cc", | 81 "differ_block_unittest.cc", |
82 "fallback_desktop_capturer_wrapper_unittest.cc", | 82 "fallback_desktop_capturer_wrapper_unittest.cc", |
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
308 sources = [ | 308 sources = [ |
309 "differ_vector_sse2.cc", | 309 "differ_vector_sse2.cc", |
310 "differ_vector_sse2.h", | 310 "differ_vector_sse2.h", |
311 ] | 311 ] |
312 | 312 |
313 if (is_posix) { | 313 if (is_posix) { |
314 cflags = [ "-msse2" ] | 314 cflags = [ "-msse2" ] |
315 } | 315 } |
316 } | 316 } |
317 } | 317 } |
OLD | NEW |