blob: 1efa3d0c41a7fe3c1fa2f57dfcba1056f5f4f9d5 [file] [log] [blame]
# Copyright 2020 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.
assert(is_chromeos, "Non-ChromeOS builds cannot depend on //chromeos")
component("cdm_factory_daemon_browser") {
sources = [
"cdm_factory_daemon_proxy.cc",
"cdm_factory_daemon_proxy.h",
]
public_deps = [ "//chromeos/components/cdm_factory_daemon/mojom" ]
deps = [
"//base",
"//chromeos/dbus/cdm_factory_daemon",
"//content/public/browser",
"//mojo/public/cpp/bindings",
]
defines = [ "IS_CDM_FACTORY_DAEMON_IMPL" ]
}
component("cdm_factory_daemon_gpu") {
sources = [
"cdm_storage_adapter.cc",
"cdm_storage_adapter.h",
]
public_deps = [
"//chromeos/components/cdm_factory_daemon/mojom",
"//media/mojo/mojom",
]
deps = [
"//base",
"//mojo/public/cpp/bindings",
]
defines = [ "IS_CDM_FACTORY_DAEMON_IMPL" ]
}
source_set("unit_tests") {
testonly = true
sources = [ "cdm_storage_adapter_unittest.cc" ]
deps = [
":cdm_factory_daemon_gpu",
"//base",
"//base/test:test_support",
"//chromeos/components/cdm_factory_daemon/mojom",
"//mojo/public/cpp/bindings",
"//testing/gmock",
"//testing/gtest",
]
}