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

Unified Diff: content/test/BUILD.gn

Issue 2605973002: WebContentsVideoCapture Cleanup: Gut-out dead code, and tighten BUILDs. (Closed)
Patch Set: REBASE Created 3 years, 12 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 | « content/browser/renderer_host/media/video_capture_manager.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/BUILD.gn
diff --git a/content/test/BUILD.gn b/content/test/BUILD.gn
index f8bfe0d02aaeca529ca1f0dee4e59e878a922ba3..f406a28803bd1f524c797db1089108900a3f05bf 100644
--- a/content/test/BUILD.gn
+++ b/content/test/BUILD.gn
@@ -1127,9 +1127,7 @@ test("content_unittests") {
"../browser/media/audible_metrics_unittest.cc",
"../browser/media/audio_stream_monitor_unittest.cc",
"../browser/media/capture/audio_mirroring_manager_unittest.cc",
- "../browser/media/capture/cursor_renderer_aura_unittest.cc",
"../browser/media/capture/web_contents_audio_input_stream_unittest.cc",
- "../browser/media/capture/web_contents_video_capture_device_unittest.cc",
"../browser/media/cdm_registry_impl_unittest.cc",
"../browser/media/media_internals_unittest.cc",
"../browser/media/midi_host_unittest.cc",
@@ -1586,11 +1584,6 @@ test("content_unittests") {
deps += [ "//third_party/webrtc/modules/desktop_capture" ]
}
- if (is_chromeos) {
- sources +=
- [ "../browser/media/capture/desktop_capture_device_aura_unittest.cc" ]
- }
-
if (is_chromecast) {
sources -= [
"../renderer/media/audio_track_recorder_unittest.cc",
@@ -1607,6 +1600,18 @@ test("content_unittests") {
]
}
+ # Screen capture unit tests.
+ if (is_linux || is_mac || is_win) {
+ sources += [ "../browser/media/capture/web_contents_video_capture_device_unittest.cc" ]
+ if (use_aura) {
+ sources += [ "../browser/media/capture/cursor_renderer_aura_unittest.cc" ]
+ }
+ if (is_chromeos) {
+ sources +=
+ [ "../browser/media/capture/desktop_capture_device_aura_unittest.cc" ]
+ }
+ }
+
if (is_linux) {
if (use_dbus) {
deps += [ "//dbus:test_support" ]
@@ -1684,7 +1689,7 @@ test("content_unittests") {
}
# Avoid windows due to non-availability of cursor resources in test.
- if (!use_aura || is_win) {
+ if (is_win) {
sources -= [ "../browser/media/capture/cursor_renderer_aura_unittest.cc" ]
}
if (use_aura || toolkit_views) {
« no previous file with comments | « content/browser/renderer_host/media/video_capture_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698