blob: 2a629c9002665d88807af55955fce7f2a9ba9f68 [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.
import("//chromecast/chromecast.gni")
cast_source_set("mojo") {
sources = [
"binder_factory.cc",
"binder_factory.h",
"interface_bundle.cc",
"interface_bundle.h",
"remote_interfaces.cc",
"remote_interfaces.h",
]
deps = [
"//base",
"//chromecast/mojo/mojom",
"//mojo/public/cpp/bindings",
]
}
test("cast_mojo_unittests") {
sources = [
"binder_factory_test.cc",
"interface_bundle_test.cc",
]
deps = [
":mojo",
"//base",
"//base/test:test_support",
"//chromecast/mojo/test:run_all_unittests",
"//chromecast/mojo/test:test_mojom",
"//mojo/public/cpp/bindings",
"//testing/gmock",
"//testing/gtest",
]
}