| 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) {
|
|
|