# 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.
import("//build/config/chromeos/ui_mode.gni")
import("//third_party/protobuf/proto_library.gni")
assert(is_chromeos_ash, "Non-ChromeOS builds cannot depend on //chromeos/ash")
component("human_presence") {
defines = [ "IS_HPS_IMPL" ]
public_deps = [ ":hps_proto" ]
deps = [
"//base",
"//dbus",
]
sources = [
"fake_human_presence_dbus_client.cc",
"fake_human_presence_dbus_client.h",
"human_presence_dbus_client.cc",
"human_presence_dbus_client.h",
]
}
proto_library("hps_proto") {
sources = [ "//third_party/cros_system_api/dbus/hps/hps_service.proto" ]
proto_out_dir = "chromeos/ash/components/dbus/hps"
}