# 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("//services/service_manager/public/cpp/service.gni") import("//services/service_manager/public/service_manifest.gni") import("//services/service_manager/public/tools/test/service_test.gni") assert(is_chromeos, "Non-ChromeOS builds cannot depend on //chromeos") static_library("multidevice_setup") { sources = [ "multidevice_setup_impl.cc", "multidevice_setup_impl.h", "multidevice_setup_service.cc", "multidevice_setup_service.h", ] deps = [ "//base", "//chromeos/components/proximity_auth/logging", "//chromeos/services/multidevice_setup/public/mojom", "//services/service_manager/public/cpp", ] } service_manifest("manifest") { name = "multidevice_setup" source = "manifest.json" } static_library("test_support") { testonly = true sources = [ "fake_multidevice_setup_observer.cc", "fake_multidevice_setup_observer.h", ] public_deps = [ ":multidevice_setup", ] deps = [ ":multidevice_setup", "//base", "//chromeos/services/multidevice_setup/public/mojom", "//testing/gmock", "//testing/gtest", ] } source_set("unit_tests") { testonly = true sources = [ "multidevice_setup_service_unittest.cc", ] deps = [ ":multidevice_setup", ":test_support", "//base/test:test_support", "//chromeos/services/multidevice_setup/public/mojom", "//services/service_manager/public/cpp/test:test_support", "//testing/gmock", "//testing/gtest", ] }