# Copyright 2023 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")
import("//third_party/protobuf/proto_library.gni")
assert(is_chromeos_ash)
component("featured") {
defines = [ "IS_CHROMEOS_ASH_COMPONENTS_DBUS_FEATURED_IMPL" ]
deps = [
":proto",
"//base",
"//dbus",
]
sources = [
"fake_featured_client.cc",
"fake_featured_client.h",
"featured_client.cc",
"featured_client.h",
]
}
source_set("unit_tests") {
testonly = true
deps = [
":featured",
":proto",
"//base",
"//base/test:test_support",
"//dbus",
"//dbus:test_support",
"//testing/gmock",
"//testing/gtest",
]
sources = [ "featured_client_unittest.cc" ]
}
proto_library("proto") {
sources = [ "//third_party/cros_system_api/dbus/featured/featured.proto" ]
proto_out_dir = "chromeos/ash/components/dbus/featured"
}