chromium/chrome/services/sharing/nearby/test_support/BUILD.gn

# Copyright 2020 The Chromium Authors
# 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)

source_set("test_support") {
  testonly = true

  sources = [
    "fake_adapter.cc",
    "fake_adapter.h",
    "fake_device.cc",
    "fake_device.h",
    "fake_gatt_service.cc",
    "fake_gatt_service.h",
    "fake_nearby_presence_credential_storage.cc",
    "fake_nearby_presence_credential_storage.h",
    "mock_webrtc_dependencies.cc",
    "mock_webrtc_dependencies.h",
  ]

  deps = [
    "//base/test:test_support",
    "//chromeos/ash/services/nearby/public/mojom",
    "//testing/gmock",
    "//testing/gtest",
  ]
}