Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(407)

Unified Diff: webrtc/modules/BUILD.gn

Issue 2444583002: Move ScreenCapturer 'real' tests out of screen_capturer_unittest.cc. (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | webrtc/modules/desktop_capture/screen_capturer_integration_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/BUILD.gn
diff --git a/webrtc/modules/BUILD.gn b/webrtc/modules/BUILD.gn
index 6c472a399f0dae5fd090e7a4a7343591978367b8..4c018168be55471070143896a5f81ba8cf6967c4 100644
--- a/webrtc/modules/BUILD.gn
+++ b/webrtc/modules/BUILD.gn
@@ -70,6 +70,7 @@ if (rtc_include_tests) {
"../system_wrappers",
"../test:test_support",
"../test:test_support_main",
+ "//testing/gmock",
"//testing/gtest",
]
@@ -95,6 +96,20 @@ if (rtc_include_tests) {
"video_coding/codecs/vp8/test/vp8_impl_unittest.cc",
]
+ if (rtc_desktop_capture_supported) {
+ deps += [ "desktop_capture" ]
+ sources += [
+ "desktop_capture/rgba_color.cc",
kjellander_webrtc 2016/10/24 07:30:20 Please, can we avoid adding duplicated code here.
Hzj_jie 2016/10/24 20:50:54 Done.
kjellander_webrtc 2016/10/25 07:01:48 Please move the target into webrtc/modules/desktop
+ "desktop_capture/rgba_color.h",
+ "desktop_capture/screen_capturer_integration_test.cc",
+ "desktop_capture/screen_drawer.cc",
+ "desktop_capture/screen_drawer.h",
+ "desktop_capture/screen_drawer_linux.cc",
+ "desktop_capture/screen_drawer_mac.cc",
+ "desktop_capture/screen_drawer_win.cc",
+ ]
+ }
+
data = modules_tests_resources
if (is_android) {
« no previous file with comments | « no previous file | webrtc/modules/desktop_capture/screen_capturer_integration_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698