diff options
Diffstat (limited to 'chromium/chromecast/browser/BUILD.gn')
-rw-r--r-- | chromium/chromecast/browser/BUILD.gn | 58 |
1 files changed, 53 insertions, 5 deletions
diff --git a/chromium/chromecast/browser/BUILD.gn b/chromium/chromecast/browser/BUILD.gn index bf06a5b9249..8417d9f95b7 100644 --- a/chromium/chromecast/browser/BUILD.gn +++ b/chromium/chromecast/browser/BUILD.gn @@ -40,6 +40,21 @@ cast_source_set("prefs") { } } +cast_source_set("feature_list") { + sources = [ + "cast_feature_list_creator.cc", + "cast_feature_list_creator.h", + ] + deps = [ + ":prefs", + "//base", + "//chromecast/base", + "//chromecast/browser/metrics", + "//components/prefs", + "//components/proxy_config", + ] +} + cast_source_set("browser") { sources = [ "application_media_capabilities.cc", @@ -56,12 +71,11 @@ cast_source_set("browser") { "cast_browser_process.h", "cast_content_browser_client.cc", "cast_content_browser_client.h", + "cast_content_browser_client_receiver_bindings.cc", "cast_content_gesture_handler.cc", "cast_content_gesture_handler.h", "cast_download_manager_delegate.cc", "cast_download_manager_delegate.h", - "cast_feature_list_creator.cc", - "cast_feature_list_creator.h", "cast_http_user_agent_settings.cc", "cast_http_user_agent_settings.h", "cast_media_blocker.cc", @@ -88,8 +102,8 @@ cast_source_set("browser") { "cast_system_memory_pressure_evaluator_adjuster.h", "cast_web_contents_impl.cc", "cast_web_contents_impl.h", - "cast_web_contents_manager.cc", - "cast_web_contents_manager.h", + "cast_web_service.cc", + "cast_web_service.h", "cast_web_view_default.cc", "cast_web_view_default.h", "cast_web_view_factory.cc", @@ -136,6 +150,7 @@ cast_source_set("browser") { } public_deps = [ + ":feature_list", ":prefs", ":public", "//chromecast/browser/metrics", @@ -167,6 +182,7 @@ cast_source_set("browser") { "//chromecast/media:libcast_media", "//chromecast/media/base:video_plane_controller", "//chromecast/media/service", + "//chromecast/media/service/mojom", "//chromecast/net", "//chromecast/service", "//components/download/public/common:public", @@ -210,6 +226,7 @@ cast_source_set("browser") { "android/cast_content_window_android.cc", "android/cast_content_window_android.h", "android/cast_metrics_helper_android.cc", + "android/cast_web_service_android.cc", ] deps += [ ":jni_headers", @@ -245,9 +262,13 @@ cast_source_set("browser") { sources += [ "cast_content_window_aura.cc", "cast_content_window_aura.h", + "cast_web_service_aura.cc", ] - deps += [ "//ui/views:views" ] + deps += [ + "//chromecast/ui:media_control_ui", + "//ui/views:views", + ] } if (!is_fuchsia) { @@ -382,6 +403,18 @@ cast_source_set("browser") { "exo/cast_wm_helper.h", "exo/wayland_server_controller.cc", "exo/wayland_server_controller.h", + "webview/cast_app_controller.cc", + "webview/cast_app_controller.h", + "webview/cast_app_rpc_instance.cc", + "webview/cast_app_rpc_instance.h", + "webview/js_channel_service.cc", + "webview/js_channel_service.h", + "webview/platform_views_grpc_service.cc", + "webview/platform_views_grpc_service.h", + "webview/platform_views_rpc_instance.cc", + "webview/platform_views_rpc_instance.h", + "webview/web_content_controller.cc", + "webview/web_content_controller.h", "webview/webview_controller.cc", "webview/webview_controller.h", "webview/webview_grpc_service.cc", @@ -390,14 +423,18 @@ cast_source_set("browser") { "webview/webview_layout_manager.h", "webview/webview_navigation_throttle.cc", "webview/webview_navigation_throttle.h", + "webview/webview_rpc_instance.cc", + "webview/webview_rpc_instance.h", "webview/webview_window_manager.cc", "webview/webview_window_manager.h", ] configs += [ "//third_party/grpc:grpc_config" ] deps += [ + ":web_contents_provider", "//chromecast/browser/webview/proto", "//components/exo", "//components/exo/wayland", + "//content/public/browser", "//services/viz/privileged/mojom/compositing", "//ui/display/manager", ] @@ -437,6 +474,7 @@ cast_source_set("public") { deps = [ "//base", "//chromecast/graphics", + "//chromecast/ui/mojom", "//content/public/common", "//ui/events", "//url", @@ -561,3 +599,13 @@ if (is_android) { ] } } + +cast_source_set("web_contents_provider") { + sources = [ + "webview/web_contents_provider.h", + ] + + deps = [ + "//content/public/browser", + ] +} |