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("../../build/webrtc.gni") | 10 import("../../build/webrtc.gni") |
(...skipping 15 matching lines...) Expand all Loading... |
26 "shared_memory.h", | 26 "shared_memory.h", |
27 ] | 27 ] |
28 | 28 |
29 deps = [ | 29 deps = [ |
30 "../..:webrtc_common", | 30 "../..:webrtc_common", |
31 "../../base:rtc_base", # TODO(kjellander): Cleanup in bugs.webrtc.org/3806. | 31 "../../base:rtc_base", # TODO(kjellander): Cleanup in bugs.webrtc.org/3806. |
32 ] | 32 ] |
33 } | 33 } |
34 | 34 |
35 if (rtc_include_tests) { | 35 if (rtc_include_tests) { |
36 rtc_source_set("desktop_capture_modules_tests") { | |
37 testonly = true | |
38 sources = [] | |
39 deps = [] | |
40 if (rtc_desktop_capture_supported) { | |
41 deps += [ | |
42 ":desktop_capture_mock", | |
43 ":primitives", | |
44 ":screen_drawer", | |
45 "../../base:rtc_base", | |
46 "../../base:rtc_base_approved", | |
47 "../../system_wrappers:system_wrappers", | |
48 "../../test:test_support", | |
49 ] | |
50 sources += [ | |
51 "screen_capturer_integration_test.cc", | |
52 "screen_drawer_unittest.cc", | |
53 ] | |
54 } | |
55 } | |
56 | |
57 rtc_source_set("desktop_capture_unittests") { | 36 rtc_source_set("desktop_capture_unittests") { |
58 testonly = true | 37 testonly = true |
59 sources = [] | 38 sources = [] |
60 deps = [] | 39 deps = [] |
61 if (rtc_desktop_capture_supported || is_android) { | 40 if (rtc_desktop_capture_supported || is_android) { |
62 deps += [ | 41 deps += [ |
63 ":desktop_capture", | 42 ":desktop_capture", |
64 ":primitives", | 43 ":primitives", |
65 "../..:webrtc_common", | 44 "../..:webrtc_common", |
66 "../../base:rtc_base_approved", | 45 "../../base:rtc_base_approved", |
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
300 sources = [ | 279 sources = [ |
301 "differ_vector_sse2.cc", | 280 "differ_vector_sse2.cc", |
302 "differ_vector_sse2.h", | 281 "differ_vector_sse2.h", |
303 ] | 282 ] |
304 | 283 |
305 if (is_posix) { | 284 if (is_posix) { |
306 cflags = [ "-msse2" ] | 285 cflags = [ "-msse2" ] |
307 } | 286 } |
308 } | 287 } |
309 } | 288 } |
OLD | NEW |