blob: 906360c4d472b5eb4068a8fd6d0ad00cdc70f69c [file] [log] [blame]
# Copyright 2024 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("utils") {
visibility = [ "//components/dbus/*" ]
sources = [
"check_for_service_and_start.cc",
"check_for_service_and_start.h",
"name_has_owner.cc",
"name_has_owner.h",
"read_value.h",
"signature.h",
"types.h",
"variant.cc",
"variant.h",
"write_value.h",
]
defines = [ "IS_COMPONENTS_DBUS_IMPL" ]
deps = [
"//base",
"//dbus",
]
}
source_set("unit_tests") {
testonly = true
visibility = [ "//components/dbus:unit_tests" ]
sources = [
"check_for_service_and_start_unittest.cc",
"read_write_value_unittest.cc",
"signature_unittest.cc",
"types_unittest.cc",
"variant_unittest.cc",
]
deps = [
":utils",
"//base",
"//base/test:test_support",
"//dbus",
"//dbus:test_support",
"//testing/gmock",
"//testing/gtest",
]
}