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

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

Issue 2867213004: [Mojo Video Capture] Hook up video capture service behind a feature flag (Closed)
Patch Set: Rebase to May 19th 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/media_stream_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("//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
20 source_set("browser") { 14 source_set("browser") {
21 # Only the public target should depend on this. All other targets (even 15 # Only the public target should depend on this. All other targets (even
22 # internal content ones) should depend on the public one. 16 # internal content ones) should depend on the public one.
23 visibility = [ 17 visibility = [
24 ":for_content_tests", # See top of //content/BUILD.gn for why. 18 ":for_content_tests", # See top of //content/BUILD.gn for why.
25 "//content/app:*", 19 "//content/app:*",
26 "//content/public/browser:browser_sources", 20 "//content/public/browser:browser_sources",
27 ] 21 ]
28 22
29 configs += [ 23 configs += [
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 "//services/service_manager", 117 "//services/service_manager",
124 "//services/service_manager/embedder", 118 "//services/service_manager/embedder",
125 "//services/service_manager/public/cpp", 119 "//services/service_manager/public/cpp",
126 "//services/service_manager/public/interfaces", 120 "//services/service_manager/public/interfaces",
127 "//services/service_manager/runner/common", 121 "//services/service_manager/runner/common",
128 "//services/service_manager/runner/host:lib", 122 "//services/service_manager/runner/host:lib",
129 "//services/shape_detection:lib", 123 "//services/shape_detection:lib",
130 "//services/shape_detection/public/interfaces", 124 "//services/shape_detection/public/interfaces",
131 "//services/ui/gpu/interfaces", 125 "//services/ui/gpu/interfaces",
132 "//services/ui/public/cpp/gpu", 126 "//services/ui/public/cpp/gpu",
127 "//services/video_capture/public/cpp",
128 "//services/video_capture/public/interfaces:constants",
133 "//skia", 129 "//skia",
134 "//sql", 130 "//sql",
135 "//storage/browser", 131 "//storage/browser",
136 "//storage/common", 132 "//storage/common",
137 "//third_party/WebKit/public:blink_headers", 133 "//third_party/WebKit/public:blink_headers",
138 "//third_party/WebKit/public:features", 134 "//third_party/WebKit/public:features",
139 "//third_party/WebKit/public:image_resources", 135 "//third_party/WebKit/public:image_resources",
140 "//third_party/WebKit/public:mojo_bindings", 136 "//third_party/WebKit/public:mojo_bindings",
141 "//third_party/WebKit/public:resources", 137 "//third_party/WebKit/public:resources",
142 "//third_party/angle:angle_common", 138 "//third_party/angle:angle_common",
(...skipping 1082 matching lines...) Expand 10 before | Expand all | Expand 10 after
1225 "renderer_host/media/media_stream_requester.h", 1221 "renderer_host/media/media_stream_requester.h",
1226 "renderer_host/media/media_stream_track_metrics_host.cc", 1222 "renderer_host/media/media_stream_track_metrics_host.cc",
1227 "renderer_host/media/media_stream_track_metrics_host.h", 1223 "renderer_host/media/media_stream_track_metrics_host.h",
1228 "renderer_host/media/media_stream_ui_proxy.cc", 1224 "renderer_host/media/media_stream_ui_proxy.cc",
1229 "renderer_host/media/media_stream_ui_proxy.h", 1225 "renderer_host/media/media_stream_ui_proxy.h",
1230 "renderer_host/media/render_frame_audio_output_stream_factory.cc", 1226 "renderer_host/media/render_frame_audio_output_stream_factory.cc",
1231 "renderer_host/media/render_frame_audio_output_stream_factory.h", 1227 "renderer_host/media/render_frame_audio_output_stream_factory.h",
1232 "renderer_host/media/renderer_audio_output_stream_factory_context.h", 1228 "renderer_host/media/renderer_audio_output_stream_factory_context.h",
1233 "renderer_host/media/renderer_audio_output_stream_factory_context_impl.cc", 1229 "renderer_host/media/renderer_audio_output_stream_factory_context_impl.cc",
1234 "renderer_host/media/renderer_audio_output_stream_factory_context_impl.h", 1230 "renderer_host/media/renderer_audio_output_stream_factory_context_impl.h",
1231 "renderer_host/media/service_launched_video_capture_device.cc",
1232 "renderer_host/media/service_launched_video_capture_device.h",
1233 "renderer_host/media/service_video_capture_device_launcher.cc",
1234 "renderer_host/media/service_video_capture_device_launcher.h",
1235 "renderer_host/media/service_video_capture_provider.cc",
1236 "renderer_host/media/service_video_capture_provider.h",
1235 "renderer_host/media/video_capture_controller.cc", 1237 "renderer_host/media/video_capture_controller.cc",
1236 "renderer_host/media/video_capture_controller.h", 1238 "renderer_host/media/video_capture_controller.h",
1237 "renderer_host/media/video_capture_controller_event_handler.h", 1239 "renderer_host/media/video_capture_controller_event_handler.h",
1238 "renderer_host/media/video_capture_device_launch_observer.h", 1240 "renderer_host/media/video_capture_device_launch_observer.h",
1239 "renderer_host/media/video_capture_gpu_jpeg_decoder.cc", 1241 "renderer_host/media/video_capture_gpu_jpeg_decoder.cc",
1240 "renderer_host/media/video_capture_gpu_jpeg_decoder.h", 1242 "renderer_host/media/video_capture_gpu_jpeg_decoder.h",
1241 "renderer_host/media/video_capture_host.cc", 1243 "renderer_host/media/video_capture_host.cc",
1242 "renderer_host/media/video_capture_host.h", 1244 "renderer_host/media/video_capture_host.h",
1243 "renderer_host/media/video_capture_manager.cc", 1245 "renderer_host/media/video_capture_manager.cc",
1244 "renderer_host/media/video_capture_manager.h", 1246 "renderer_host/media/video_capture_manager.h",
1245 "renderer_host/media/video_capture_provider.h", 1247 "renderer_host/media/video_capture_provider.h",
1248 "renderer_host/media/video_capture_provider_switcher.cc",
1249 "renderer_host/media/video_capture_provider_switcher.h",
1246 "renderer_host/native_web_keyboard_event_aura.cc", 1250 "renderer_host/native_web_keyboard_event_aura.cc",
1247 "renderer_host/native_web_keyboard_event_mac.mm", 1251 "renderer_host/native_web_keyboard_event_mac.mm",
1248 "renderer_host/offscreen_canvas_provider_impl.cc", 1252 "renderer_host/offscreen_canvas_provider_impl.cc",
1249 "renderer_host/offscreen_canvas_provider_impl.h", 1253 "renderer_host/offscreen_canvas_provider_impl.h",
1250 "renderer_host/offscreen_canvas_surface_impl.cc", 1254 "renderer_host/offscreen_canvas_surface_impl.cc",
1251 "renderer_host/offscreen_canvas_surface_impl.h", 1255 "renderer_host/offscreen_canvas_surface_impl.h",
1252 "renderer_host/overscroll_configuration.cc", 1256 "renderer_host/overscroll_configuration.cc",
1253 "renderer_host/overscroll_controller.cc", 1257 "renderer_host/overscroll_controller.cc",
1254 "renderer_host/overscroll_controller.h", 1258 "renderer_host/overscroll_controller.h",
1255 "renderer_host/overscroll_controller_delegate.h", 1259 "renderer_host/overscroll_controller_delegate.h",
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after
1621 1625
1622 deps += [ 1626 deps += [
1623 "//jingle:jingle_glue", 1627 "//jingle:jingle_glue",
1624 "//third_party/webrtc/base:rtc_base", 1628 "//third_party/webrtc/base:rtc_base",
1625 "//third_party/webrtc/media:rtc_media_base", 1629 "//third_party/webrtc/media:rtc_media_base",
1626 "//third_party/webrtc/modules/desktop_capture:primitives", 1630 "//third_party/webrtc/modules/desktop_capture:primitives",
1627 "//third_party/webrtc_overrides:init_webrtc", 1631 "//third_party/webrtc_overrides:init_webrtc",
1628 ] 1632 ]
1629 } 1633 }
1630 1634
1631 if (enable_mojo_video_capture) {
1632 sources += [
1633 "renderer_host/media/service_launched_video_capture_device.cc",
1634 "renderer_host/media/service_launched_video_capture_device.h",
1635 "renderer_host/media/service_video_capture_device_launcher.cc",
1636 "renderer_host/media/service_video_capture_device_launcher.h",
1637 "renderer_host/media/service_video_capture_provider.cc",
1638 "renderer_host/media/service_video_capture_provider.h",
1639 ]
1640
1641 deps += [
1642 "//services/video_capture/public/cpp",
1643 "//services/video_capture/public/interfaces:constants",
1644 ]
1645 }
1646
1647 # Desktop screen capture implementations, conditionally built depending on 1635 # Desktop screen capture implementations, conditionally built depending on
1648 # the available implementations for each platform. 1636 # the available implementations for each platform.
1649 if (is_linux || is_mac || is_win) { 1637 if (is_linux || is_mac || is_win) {
1650 defines += [ "ENABLE_SCREEN_CAPTURE=1" ] 1638 defines += [ "ENABLE_SCREEN_CAPTURE=1" ]
1651 sources += [ 1639 sources += [
1652 "media/capture/cursor_renderer.cc", 1640 "media/capture/cursor_renderer.cc",
1653 "media/capture/cursor_renderer.h", 1641 "media/capture/cursor_renderer.h",
1654 "media/capture/web_contents_video_capture_device.cc", 1642 "media/capture/web_contents_video_capture_device.cc",
1655 "media/capture/web_contents_video_capture_device.h", 1643 "media/capture/web_contents_video_capture_device.h",
1656 "media/capture/window_activity_tracker.cc", 1644 "media/capture/window_activity_tracker.cc",
(...skipping 495 matching lines...) Expand 10 before | Expand all | Expand 10 after
2152 if (!is_component_build) { 2140 if (!is_component_build) {
2153 public_deps = [ 2141 public_deps = [
2154 ":browser", 2142 ":browser",
2155 ] 2143 ]
2156 } else { 2144 } else {
2157 public_deps = [ 2145 public_deps = [
2158 "//third_party/leveldatabase", 2146 "//third_party/leveldatabase",
2159 ] 2147 ]
2160 } 2148 }
2161 } 2149 }
OLDNEW
« no previous file with comments | « no previous file | content/browser/renderer_host/media/media_stream_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698