chromium/chrome/browser/enterprise/connectors/device_trust/BUILD.gn

# Copyright 2021 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

source_set("features") {
  sources = [ "device_trust_features.cc" ]

  public = [ "device_trust_features.h" ]

  public_deps = [ "//base" ]
}

source_set("test_support") {
  testonly = true
  sources = [
    "fake_device_trust_connector_service.cc",
    "mock_device_trust_service.cc",
  ]

  public = [
    "fake_device_trust_connector_service.h",
    "mock_device_trust_service.h",
  ]

  public_deps = [
    "//base",
    "//chrome/browser",
    "//chrome/browser/enterprise/connectors/device_trust/common",
    "//testing/gmock",
  ]

  deps = [
    ":features",
    "//components/enterprise/connectors/core",
    "//components/enterprise/device_trust",
    "//components/pref_registry",
    "//components/prefs:test_support",
    "//components/sync_preferences:test_support",
  ]
}