Chromium Code Reviews| 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 12 matching lines...) Expand all Loading... | |
| 23 "desktop_region.h", | 23 "desktop_region.h", |
| 24 "shared_desktop_frame.cc", | 24 "shared_desktop_frame.cc", |
| 25 "shared_desktop_frame.h", | 25 "shared_desktop_frame.h", |
| 26 ] | 26 ] |
| 27 | 27 |
| 28 deps = [ | 28 deps = [ |
| 29 "../../base:rtc_base", # TODO(kjellander): Cleanup in bugs.webrtc.org/3806. | 29 "../../base:rtc_base", # TODO(kjellander): Cleanup in bugs.webrtc.org/3806. |
| 30 ] | 30 ] |
| 31 } | 31 } |
| 32 | 32 |
| 33 source_set("desktop_capture_test_tools") { | |
| 34 public_deps = [ | |
|
kjellander_webrtc
2016/10/25 19:08:41
please add
testonly = true
to this target, and put
Hzj_jie
2016/10/25 19:41:46
Done.
| |
| 35 ":desktop_capture", | |
| 36 ] | |
| 37 sources = [ | |
| 38 "rgba_color.cc", | |
| 39 "rgba_color.h", | |
| 40 "screen_drawer.cc", | |
| 41 "screen_drawer.h", | |
| 42 "screen_drawer_linux.cc", | |
| 43 "screen_drawer_mac.cc", | |
| 44 "screen_drawer_win.cc", | |
| 45 ] | |
| 46 } | |
| 47 | |
| 33 rtc_static_library("desktop_capture") { | 48 rtc_static_library("desktop_capture") { |
| 34 sources = [ | 49 sources = [ |
| 35 "cropped_desktop_frame.cc", | 50 "cropped_desktop_frame.cc", |
| 36 "cropped_desktop_frame.h", | 51 "cropped_desktop_frame.h", |
| 37 "cropping_window_capturer.cc", | 52 "cropping_window_capturer.cc", |
| 38 "cropping_window_capturer.h", | 53 "cropping_window_capturer.h", |
| 39 "cropping_window_capturer_win.cc", | 54 "cropping_window_capturer_win.cc", |
| 40 "desktop_and_cursor_composer.cc", | 55 "desktop_and_cursor_composer.cc", |
| 41 "desktop_and_cursor_composer.h", | 56 "desktop_and_cursor_composer.h", |
| 42 "desktop_capture_options.cc", | 57 "desktop_capture_options.cc", |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 174 sources = [ | 189 sources = [ |
| 175 "differ_vector_sse2.cc", | 190 "differ_vector_sse2.cc", |
| 176 "differ_vector_sse2.h", | 191 "differ_vector_sse2.h", |
| 177 ] | 192 ] |
| 178 | 193 |
| 179 if (is_posix) { | 194 if (is_posix) { |
| 180 cflags = [ "-msse2" ] | 195 cflags = [ "-msse2" ] |
| 181 } | 196 } |
| 182 } | 197 } |
| 183 } | 198 } |
| OLD | NEW |