chromium/chromeos/ash/components/human_presence/BUILD.gn

# Copyright 2022 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/buildflag_header.gni")
import("//build/config/chromeos/ui_mode.gni")

assert(is_chromeos_ash)

static_library("human_presence") {
  sources = [
    "human_presence_configuration.cc",
    "human_presence_configuration.h",
  ]

  deps = [ "//ash/constants:constants" ]

  public_deps = [
    "//base",
    "//chromeos/ash/components/dbus/human_presence",
    "//chromeos/ash/components/dbus/human_presence:hps_proto",
  ]
}

source_set("unit_tests") {
  testonly = true
  sources = [ "human_presence_configuration_unittest.cc" ]
  deps = [
    ":human_presence",
    "//ash/constants:constants",
    "//base/test:test_support",
    "//testing/gtest",
  ]
}