OLD | NEW |
---|---|
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//build/config/features.gni") | 5 import("//build/config/features.gni") |
6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
7 import("//media/media_options.gni") | 7 import("//media/media_options.gni") |
8 import("//ppapi/features/features.gni") | 8 import("//ppapi/features/features.gni") |
9 import("//printing/features/features.gni") | 9 import("//printing/features/features.gni") |
10 import("//third_party/WebKit/public/public_features.gni") | 10 import("//third_party/WebKit/public/public_features.gni") |
(...skipping 1493 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1504 if (is_linux || is_mac || is_win) { | 1504 if (is_linux || is_mac || is_win) { |
1505 sources += [ | 1505 sources += [ |
1506 "media/capture/desktop_capture_device.cc", | 1506 "media/capture/desktop_capture_device.cc", |
1507 "media/capture/desktop_capture_device.h", | 1507 "media/capture/desktop_capture_device.h", |
1508 ] | 1508 ] |
1509 deps += [ "//third_party/webrtc/modules/desktop_capture" ] | 1509 deps += [ "//third_party/webrtc/modules/desktop_capture" ] |
1510 } | 1510 } |
1511 } | 1511 } |
1512 | 1512 |
1513 # Desktop screen capture implementations that are not dependent on WebRTC. | 1513 # Desktop screen capture implementations that are not dependent on WebRTC. |
1514 if (is_linux || is_mac || is_win) { | 1514 if ((is_linux && !(is_chromecast && is_cast_audio_only)) || is_mac || is_win) { |
halliwell
2017/01/10 17:45:44
From the CL description, it sounds like any linux
| |
1515 defines += [ "ENABLE_SCREEN_CAPTURE=1" ] | 1515 defines += [ "ENABLE_SCREEN_CAPTURE=1" ] |
1516 sources += [ | 1516 sources += [ |
1517 "media/capture/cursor_renderer.cc", | 1517 "media/capture/cursor_renderer.cc", |
1518 "media/capture/cursor_renderer.h", | 1518 "media/capture/cursor_renderer.h", |
1519 "media/capture/web_contents_video_capture_device.cc", | 1519 "media/capture/web_contents_video_capture_device.cc", |
1520 "media/capture/web_contents_video_capture_device.h", | 1520 "media/capture/web_contents_video_capture_device.h", |
1521 "media/capture/window_activity_tracker.cc", | 1521 "media/capture/window_activity_tracker.cc", |
1522 "media/capture/window_activity_tracker.h", | 1522 "media/capture/window_activity_tracker.h", |
1523 ] | 1523 ] |
1524 if (use_aura) { | 1524 if (use_aura) { |
(...skipping 481 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2006 if (!is_component_build) { | 2006 if (!is_component_build) { |
2007 public_deps = [ | 2007 public_deps = [ |
2008 ":browser", | 2008 ":browser", |
2009 ] | 2009 ] |
2010 } else { | 2010 } else { |
2011 public_deps = [ | 2011 public_deps = [ |
2012 "//third_party/leveldatabase", | 2012 "//third_party/leveldatabase", |
2013 ] | 2013 ] |
2014 } | 2014 } |
2015 } | 2015 } |
OLD | NEW |