| 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 |
| 36 rtc_source_set("desktop_capture_unittests") { | 57 rtc_source_set("desktop_capture_unittests") { |
| 37 testonly = true | 58 testonly = true |
| 38 sources = [] | 59 sources = [] |
| 39 deps = [] | 60 deps = [] |
| 40 if (rtc_desktop_capture_supported || is_android) { | 61 if (rtc_desktop_capture_supported || is_android) { |
| 41 deps += [ | 62 deps += [ |
| 42 ":desktop_capture", | 63 ":desktop_capture", |
| 43 ":primitives", | 64 ":primitives", |
| 44 "../..:webrtc_common", | 65 "../..:webrtc_common", |
| 45 "../../base:rtc_base_approved", | 66 "../../base:rtc_base_approved", |
| (...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 279 sources = [ | 300 sources = [ |
| 280 "differ_vector_sse2.cc", | 301 "differ_vector_sse2.cc", |
| 281 "differ_vector_sse2.h", | 302 "differ_vector_sse2.h", |
| 282 ] | 303 ] |
| 283 | 304 |
| 284 if (is_posix) { | 305 if (is_posix) { |
| 285 cflags = [ "-msse2" ] | 306 cflags = [ "-msse2" ] |
| 286 } | 307 } |
| 287 } | 308 } |
| 288 } | 309 } |
| OLD | NEW |