123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899 |
- # Copyright 2018 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("//build/config/chromeos/ui_mode.gni")
- assert(is_chromeos_ash)
- static_library("multidevice") {
- sources = [
- "beacon_seed.cc",
- "beacon_seed.h",
- "expiring_remote_device_cache.cc",
- "expiring_remote_device_cache.h",
- "remote_device.cc",
- "remote_device.h",
- "remote_device_cache.cc",
- "remote_device_cache.h",
- "remote_device_ref.cc",
- "remote_device_ref.h",
- "secure_message_delegate.cc",
- "secure_message_delegate.h",
- "secure_message_delegate_impl.cc",
- "secure_message_delegate_impl.h",
- "software_feature.cc",
- "software_feature.h",
- "software_feature_state.cc",
- "software_feature_state.h",
- ]
- deps = [
- "//ash/components/multidevice/logging",
- "//ash/services/device_sync/proto:util",
- "//base",
- "//base:i18n",
- "//chromeos/ash/components/dbus",
- "//chromeos/ash/components/dbus/easy_unlock",
- "//components/prefs",
- ]
- public_deps = [
- "//ash/services/device_sync/proto",
- "//base",
- "//third_party/securemessage/proto",
- ]
- }
- static_library("stub_multidevice_util") {
- sources = [
- "stub_multidevice_util.cc",
- "stub_multidevice_util.h",
- ]
- deps = [
- ":multidevice",
- "//ash/constants",
- "//ash/services/device_sync/proto",
- "//base",
- ]
- }
- static_library("test_support") {
- testonly = true
- sources = [
- "fake_secure_message_delegate.cc",
- "fake_secure_message_delegate.h",
- "remote_device_test_util.cc",
- "remote_device_test_util.h",
- ]
- public_deps = [ ":multidevice" ]
- deps = [
- "//ash/services/device_sync/proto",
- "//base",
- ]
- }
- source_set("unit_tests") {
- testonly = true
- sources = [
- "expiring_remote_device_cache_unittest.cc",
- "fake_secure_message_delegate_unittest.cc",
- "remote_device_cache_unittest.cc",
- "remote_device_ref_unittest.cc",
- ]
- deps = [
- ":multidevice",
- ":test_support",
- "//ash/components/multidevice/logging:unit_tests",
- "//ash/components/multidevice/mojom:unit_tests",
- "//ash/services/device_sync/proto",
- "//base/test:test_support",
- "//testing/gtest",
- ]
- }
|