chromium/chromeos/dbus/BUILD.gn

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

import("//testing/test.gni")

assert(is_chromeos, "Non-Chrome-OS builds must not depend on //chromeos")

source_set("unit_tests") {
  configs += [ "//build/config/linux/dbus" ]
  testonly = true
  deps = [
    "//base",
    "//base/test:test_support",
    "//chromeos/dbus/common",
    "//chromeos/dbus/ip_peripheral:unit_tests",
    "//chromeos/dbus/missive:history_tracker",
    "//chromeos/dbus/power:power_manager_proto",
    "//chromeos/dbus/power:unit_tests",
    "//chromeos/dbus/regmon:unit_tests",
    "//chromeos/dbus/tpm_manager",
    "//chromeos/dbus/tpm_manager:tpm_manager_proto",
    "//chromeos/dbus/u2f",
    "//chromeos/dbus/u2f:u2f_proto",
    "//components/reporting/proto:health_proto",
    "//components/reporting/proto:record_constants",
    "//components/reporting/util:test_callbacks_support",
    "//dbus",
    "//dbus:test_support",
    "//testing/gmock",
    "//testing/gtest",
    "//third_party/icu",
  ]
  sources = [
    "common/blocking_method_caller_unittest.cc",
    "common/dbus_library_error_unittest.cc",
    "common/pipe_reader_unittest.cc",
    "missive/history_tracker_unittest.cc",
    "tpm_manager/tpm_manager_client_unittest.cc",
  ]
}