Chromium Code Reviews| 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 1482 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1493 "webrtc/webrtc_internals_ui_observer.h", | 1493 "webrtc/webrtc_internals_ui_observer.h", |
| 1494 ] | 1494 ] |
| 1495 | 1495 |
| 1496 deps += [ | 1496 deps += [ |
| 1497 "//jingle:jingle_glue", | 1497 "//jingle:jingle_glue", |
| 1498 "//third_party/libjingle/webrtc:libjingle_webrtc", | 1498 "//third_party/libjingle/webrtc:libjingle_webrtc", |
| 1499 "//third_party/webrtc/base:rtc_base", | 1499 "//third_party/webrtc/base:rtc_base", |
| 1500 "//third_party/webrtc/media:rtc_media_base", | 1500 "//third_party/webrtc/media:rtc_media_base", |
| 1501 "//third_party/webrtc/modules/desktop_capture:primitives", | 1501 "//third_party/webrtc/modules/desktop_capture:primitives", |
| 1502 ] | 1502 ] |
| 1503 | |
| 1504 if (is_linux || is_mac || is_win) { | |
| 1505 sources += [ | |
| 1506 "media/capture/desktop_capture_device.cc", | |
| 1507 "media/capture/desktop_capture_device.h", | |
| 1508 ] | |
| 1509 deps += [ "//third_party/webrtc/modules/desktop_capture" ] | |
| 1510 } | |
| 1511 } | 1503 } |
| 1512 | 1504 |
| 1513 # Desktop screen capture implementations that are not dependent on WebRTC. | 1505 # Desktop screen capture implementations that are not dependent on WebRTC. |
|
miu
2017/01/10 23:58:15
This comment needs a little adjusting now. Maybe i
byungchul
2017/01/11 17:13:04
Done.
| |
| 1514 if (is_linux || is_mac || is_win) { | 1506 if (is_linux || is_mac || is_win) { |
| 1515 defines += [ "ENABLE_SCREEN_CAPTURE=1" ] | 1507 defines += [ "ENABLE_SCREEN_CAPTURE=1" ] |
| 1516 sources += [ | 1508 sources += [ |
| 1517 "media/capture/cursor_renderer.cc", | 1509 "media/capture/cursor_renderer.cc", |
| 1518 "media/capture/cursor_renderer.h", | 1510 "media/capture/cursor_renderer.h", |
| 1519 "media/capture/web_contents_video_capture_device.cc", | 1511 "media/capture/web_contents_video_capture_device.cc", |
| 1520 "media/capture/web_contents_video_capture_device.h", | 1512 "media/capture/web_contents_video_capture_device.h", |
| 1521 "media/capture/window_activity_tracker.cc", | 1513 "media/capture/window_activity_tracker.cc", |
| 1522 "media/capture/window_activity_tracker.h", | 1514 "media/capture/window_activity_tracker.h", |
| 1523 ] | 1515 ] |
| (...skipping 10 matching lines...) Expand all Loading... | |
| 1534 ] | 1526 ] |
| 1535 } | 1527 } |
| 1536 if (is_mac) { | 1528 if (is_mac) { |
| 1537 sources += [ | 1529 sources += [ |
| 1538 "media/capture/cursor_renderer_mac.h", | 1530 "media/capture/cursor_renderer_mac.h", |
| 1539 "media/capture/cursor_renderer_mac.mm", | 1531 "media/capture/cursor_renderer_mac.mm", |
| 1540 "media/capture/window_activity_tracker_mac.h", | 1532 "media/capture/window_activity_tracker_mac.h", |
| 1541 "media/capture/window_activity_tracker_mac.mm", | 1533 "media/capture/window_activity_tracker_mac.mm", |
| 1542 ] | 1534 ] |
| 1543 } | 1535 } |
| 1536 if (enable_webrtc) { | |
| 1537 sources += [ | |
| 1538 "media/capture/desktop_capture_device.cc", | |
| 1539 "media/capture/desktop_capture_device.h", | |
| 1540 ] | |
| 1541 deps += [ "//third_party/webrtc/modules/desktop_capture" ] | |
| 1542 } | |
| 1544 } | 1543 } |
| 1545 | 1544 |
| 1546 if (is_win) { | 1545 if (is_win) { |
| 1547 sources -= [ "device_sensors/data_fetcher_shared_memory_default.cc" ] | 1546 sources -= [ "device_sensors/data_fetcher_shared_memory_default.cc" ] |
| 1548 defines += [ | 1547 defines += [ |
| 1549 # This prevents the inclusion of atlhost.h which paired | 1548 # This prevents the inclusion of atlhost.h which paired |
| 1550 # with the windows 8 sdk it does the wrong thing. | 1549 # with the windows 8 sdk it does the wrong thing. |
| 1551 "__ATLHOST_H__", | 1550 "__ATLHOST_H__", |
| 1552 ] | 1551 ] |
| 1553 deps += [ | 1552 deps += [ |
| (...skipping 452 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2006 if (!is_component_build) { | 2005 if (!is_component_build) { |
| 2007 public_deps = [ | 2006 public_deps = [ |
| 2008 ":browser", | 2007 ":browser", |
| 2009 ] | 2008 ] |
| 2010 } else { | 2009 } else { |
| 2011 public_deps = [ | 2010 public_deps = [ |
| 2012 "//third_party/leveldatabase", | 2011 "//third_party/leveldatabase", |
| 2013 ] | 2012 ] |
| 2014 } | 2013 } |
| 2015 } | 2014 } |
| OLD | NEW |