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

Side by Side Diff: content/browser/BUILD.gn

Issue 2625553003: DesktopCaptureDevice is available when webrtc is enabled. (Closed)
Patch Set: Remove unnecessary defines Created 3 years, 11 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 | content/browser/renderer_host/media/video_capture_manager.cc » ('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 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
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
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 }
OLDNEW
« no previous file with comments | « no previous file | content/browser/renderer_host/media/video_capture_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698