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

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

Issue 2848973002: [Mojo Video Capture] Implement a VideoCaptureProvider using the Mojo service (part 1) (Closed)
Patch Set: Incorporated mcasas@'s suggestions from PatchSet 3 Created 3 years, 7 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/in_process_video_capture_provider.h » ('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("//gpu/vulkan/features.gni") 7 import("//gpu/vulkan/features.gni")
8 import("//media/media_options.gni") 8 import("//media/media_options.gni")
9 import("//ppapi/features/features.gni") 9 import("//ppapi/features/features.gni")
10 import("//printing/features/features.gni") 10 import("//printing/features/features.gni")
11 import("//third_party/WebKit/public/public_features.gni") 11 import("//third_party/WebKit/public/public_features.gni")
12 import("//tools/ipc_fuzzer/ipc_fuzzer.gni") 12 import("//tools/ipc_fuzzer/ipc_fuzzer.gni")
13 13
14 declare_args() {
15 # Include code in the build that is only needed when using the video
16 # capture Mojo service, which is currently experimental.
17 enable_mojo_video_capture = false
18 }
19
14 source_set("browser") { 20 source_set("browser") {
15 # Only the public target should depend on this. All other targets (even 21 # Only the public target should depend on this. All other targets (even
16 # internal content ones) should depend on the public one. 22 # internal content ones) should depend on the public one.
17 visibility = [ 23 visibility = [
18 ":for_content_tests", # See top of //content/BUILD.gn for why. 24 ":for_content_tests", # See top of //content/BUILD.gn for why.
19 "//content/app:*", 25 "//content/app:*",
20 "//content/public/browser:browser_sources", 26 "//content/public/browser:browser_sources",
21 ] 27 ]
22 28
23 configs += [ 29 configs += [
(...skipping 1556 matching lines...) Expand 10 before | Expand all | Expand 10 after
1580 1586
1581 deps += [ 1587 deps += [
1582 "//jingle:jingle_glue", 1588 "//jingle:jingle_glue",
1583 "//third_party/webrtc/base:rtc_base", 1589 "//third_party/webrtc/base:rtc_base",
1584 "//third_party/webrtc/media:rtc_media_base", 1590 "//third_party/webrtc/media:rtc_media_base",
1585 "//third_party/webrtc/modules/desktop_capture:primitives", 1591 "//third_party/webrtc/modules/desktop_capture:primitives",
1586 "//third_party/webrtc_overrides:init_webrtc", 1592 "//third_party/webrtc_overrides:init_webrtc",
1587 ] 1593 ]
1588 } 1594 }
1589 1595
1596 if (enable_mojo_video_capture) {
1597 sources += [
1598 "renderer_host/media/service_launched_video_capture_device.cc",
1599 "renderer_host/media/service_launched_video_capture_device.h",
1600 "renderer_host/media/service_video_capture_device_launcher.cc",
1601 "renderer_host/media/service_video_capture_device_launcher.h",
1602 "renderer_host/media/service_video_capture_provider.cc",
1603 "renderer_host/media/service_video_capture_provider.h",
1604 ]
1605
1606 deps += [
1607 "//services/video_capture/public/cpp",
1608 "//services/video_capture/public/interfaces:constants",
1609 ]
1610 }
1611
1590 # Desktop screen capture implementations, conditionally built depending on 1612 # Desktop screen capture implementations, conditionally built depending on
1591 # the available implementations for each platform. 1613 # the available implementations for each platform.
1592 if (is_linux || is_mac || is_win) { 1614 if (is_linux || is_mac || is_win) {
1593 defines += [ "ENABLE_SCREEN_CAPTURE=1" ] 1615 defines += [ "ENABLE_SCREEN_CAPTURE=1" ]
1594 sources += [ 1616 sources += [
1595 "media/capture/cursor_renderer.cc", 1617 "media/capture/cursor_renderer.cc",
1596 "media/capture/cursor_renderer.h", 1618 "media/capture/cursor_renderer.h",
1597 "media/capture/web_contents_video_capture_device.cc", 1619 "media/capture/web_contents_video_capture_device.cc",
1598 "media/capture/web_contents_video_capture_device.h", 1620 "media/capture/web_contents_video_capture_device.h",
1599 "media/capture/window_activity_tracker.cc", 1621 "media/capture/window_activity_tracker.cc",
(...skipping 493 matching lines...) Expand 10 before | Expand all | Expand 10 after
2093 if (!is_component_build) { 2115 if (!is_component_build) {
2094 public_deps = [ 2116 public_deps = [
2095 ":browser", 2117 ":browser",
2096 ] 2118 ]
2097 } else { 2119 } else {
2098 public_deps = [ 2120 public_deps = [
2099 "//third_party/leveldatabase", 2121 "//third_party/leveldatabase",
2100 ] 2122 ]
2101 } 2123 }
2102 } 2124 }
OLDNEW
« no previous file with comments | « no previous file | content/browser/renderer_host/media/in_process_video_capture_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698