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

Unified Diff: webrtc/modules/desktop_capture/BUILD.gn

Issue 2684683003: Check for use_x11 before runnig desktop_capture_modules_tests on linux. (Closed)
Patch Set: Addressed comments. Created 3 years, 10 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/webrtc.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/desktop_capture/BUILD.gn
diff --git a/webrtc/modules/desktop_capture/BUILD.gn b/webrtc/modules/desktop_capture/BUILD.gn
index bbf9ac57bbb6a7516f73ffae543cf468d54e59a0..6e7e9bcf3971c946b4383a23db01848ae35678ae 100644
--- a/webrtc/modules/desktop_capture/BUILD.gn
+++ b/webrtc/modules/desktop_capture/BUILD.gn
@@ -57,39 +57,37 @@ if (rtc_include_tests) {
rtc_source_set("desktop_capture_unittests") {
testonly = true
- sources = []
- deps = []
- if (rtc_desktop_capture_supported || is_android) {
- deps += [
- ":desktop_capture",
- ":primitives",
- "../..:webrtc_common",
- "../../base:rtc_base_approved",
- "../../system_wrappers:system_wrappers",
- "../../test:test_support",
- "//testing/gmock",
- ]
- sources += [
- "desktop_region_unittest.cc",
- "differ_block_unittest.cc",
- ]
- }
+ sources = [
+ "desktop_and_cursor_composer_unittest.cc",
+ "desktop_capturer_differ_wrapper_unittest.cc",
+ "desktop_frame_rotation_unittest.cc",
+ "desktop_region_unittest.cc",
+ "differ_block_unittest.cc",
+ "mouse_cursor_monitor_unittest.cc",
+ "rgba_color_unittest.cc",
+ "test_utils.cc",
+ "test_utils.h",
+ "test_utils_unittest.cc",
+ "win/cursor_unittest.cc",
+ "win/cursor_unittest_resources.h",
+ "win/cursor_unittest_resources.rc",
+ ]
+ deps = [
+ ":desktop_capture",
+ ":desktop_capture_mock",
+ ":primitives",
+ ":rgba_color",
+ "../..:webrtc_common",
+ "../../base:rtc_base_approved",
+ "../../system_wrappers:system_wrappers",
+ "../../test:test_support",
+ "//testing/gmock",
+ ]
if (rtc_desktop_capture_supported) {
sources += [
- "desktop_and_cursor_composer_unittest.cc",
- "desktop_capturer_differ_wrapper_unittest.cc",
- "desktop_frame_rotation_unittest.cc",
- "mouse_cursor_monitor_unittest.cc",
- "rgba_color_unittest.cc",
"screen_capturer_helper_unittest.cc",
"screen_capturer_mac_unittest.cc",
"screen_capturer_unittest.cc",
- "test_utils.cc",
- "test_utils.h",
- "test_utils_unittest.cc",
- "win/cursor_unittest.cc",
- "win/cursor_unittest_resources.h",
- "win/cursor_unittest_resources.rc",
"window_capturer_unittest.cc",
]
deps += [ ":desktop_capture_mock" ]
« no previous file with comments | « no previous file | webrtc/webrtc.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698