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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « no previous file | webrtc/webrtc.gni » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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("../../webrtc.gni") 10 import("../../webrtc.gni")
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 ] 50 ]
51 sources += [ 51 sources += [
52 "screen_capturer_integration_test.cc", 52 "screen_capturer_integration_test.cc",
53 "screen_drawer_unittest.cc", 53 "screen_drawer_unittest.cc",
54 ] 54 ]
55 } 55 }
56 } 56 }
57 57
58 rtc_source_set("desktop_capture_unittests") { 58 rtc_source_set("desktop_capture_unittests") {
59 testonly = true 59 testonly = true
60 sources = [] 60 sources = [
61 deps = [] 61 "desktop_and_cursor_composer_unittest.cc",
62 if (rtc_desktop_capture_supported || is_android) { 62 "desktop_capturer_differ_wrapper_unittest.cc",
63 deps += [ 63 "desktop_frame_rotation_unittest.cc",
64 ":desktop_capture", 64 "desktop_region_unittest.cc",
65 ":primitives", 65 "differ_block_unittest.cc",
66 "../..:webrtc_common", 66 "mouse_cursor_monitor_unittest.cc",
67 "../../base:rtc_base_approved", 67 "rgba_color_unittest.cc",
68 "../../system_wrappers:system_wrappers", 68 "test_utils.cc",
69 "../../test:test_support", 69 "test_utils.h",
70 "//testing/gmock", 70 "test_utils_unittest.cc",
71 ] 71 "win/cursor_unittest.cc",
72 sources += [ 72 "win/cursor_unittest_resources.h",
73 "desktop_region_unittest.cc", 73 "win/cursor_unittest_resources.rc",
74 "differ_block_unittest.cc", 74 ]
75 ] 75 deps = [
76 } 76 ":desktop_capture",
77 ":desktop_capture_mock",
78 ":primitives",
79 ":rgba_color",
80 "../..:webrtc_common",
81 "../../base:rtc_base_approved",
82 "../../system_wrappers:system_wrappers",
83 "../../test:test_support",
84 "//testing/gmock",
85 ]
77 if (rtc_desktop_capture_supported) { 86 if (rtc_desktop_capture_supported) {
78 sources += [ 87 sources += [
79 "desktop_and_cursor_composer_unittest.cc",
80 "desktop_capturer_differ_wrapper_unittest.cc",
81 "desktop_frame_rotation_unittest.cc",
82 "mouse_cursor_monitor_unittest.cc",
83 "rgba_color_unittest.cc",
84 "screen_capturer_helper_unittest.cc", 88 "screen_capturer_helper_unittest.cc",
85 "screen_capturer_mac_unittest.cc", 89 "screen_capturer_mac_unittest.cc",
86 "screen_capturer_unittest.cc", 90 "screen_capturer_unittest.cc",
87 "test_utils.cc",
88 "test_utils.h",
89 "test_utils_unittest.cc",
90 "win/cursor_unittest.cc",
91 "win/cursor_unittest_resources.h",
92 "win/cursor_unittest_resources.rc",
93 "window_capturer_unittest.cc", 91 "window_capturer_unittest.cc",
94 ] 92 ]
95 deps += [ ":desktop_capture_mock" ] 93 deps += [ ":desktop_capture_mock" ]
96 } 94 }
97 if (!build_with_chromium && is_clang) { 95 if (!build_with_chromium && is_clang) {
98 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 96 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
99 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 97 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
100 } 98 }
101 } 99 }
102 100
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 sources = [ 299 sources = [
302 "differ_vector_sse2.cc", 300 "differ_vector_sse2.cc",
303 "differ_vector_sse2.h", 301 "differ_vector_sse2.h",
304 ] 302 ]
305 303
306 if (is_posix) { 304 if (is_posix) {
307 cflags = [ "-msse2" ] 305 cflags = [ "-msse2" ]
308 } 306 }
309 } 307 }
310 } 308 }
OLDNEW
« 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