blob: dac6096cc84e9ec18aac750b3234c5c017030690 [file] [log] [blame]
# Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//chromecast/chromecast.gni")
import("//mojo/public/tools/bindings/mojom.gni")
cast_source_set("common") {
sources = [
"cast_content_client.cc",
"cast_content_client.h",
"cast_resource_delegate.cc",
"cast_resource_delegate.h",
"global_descriptors.h",
]
deps = [
"//base",
"//chromecast:chromecast_buildflags",
"//chromecast/base",
"//chromecast/base:cast_version",
"//chromecast/common/media",
"//content/public/common",
"//ui/base",
"//ui/gfx",
"//url:url",
]
if (enable_chromecast_extensions) {
sources += [
"cast_extensions_api_provider.cc",
"cast_extensions_api_provider.h",
"cast_extensions_client.cc",
"cast_extensions_client.h",
"cast_redirect_manifest_handler.cc",
"cast_redirect_manifest_handler.h",
"extensions_api/cast_api_permissions.cc",
"extensions_api/cast_api_permissions.h",
"extensions_api/cast_extension_messages.cc",
"extensions_api/cast_extension_messages.h",
]
deps += [
"//chromecast/common/extensions_api:api",
"//chromecast/common/extensions_api:extensions_features",
"//components/version_info",
"//extensions:extensions_resources_grd_grit",
"//extensions/common",
"//extensions/common:core_api_provider",
"//extensions/common/api",
"//extensions/shell:resources",
"//extensions/shell:resources_grit",
]
}
}