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

# 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.

import("//build/config/chromeos/ui_mode.gni")

assert(is_chromeos_ash)

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

  public_deps = [
    "//base",
    "//mojo/public/cpp/bindings",
    "//services/video_capture/public/mojom",
  ]

  deps = [ "//content/public/browser" ]
}

source_set("unit_tests") {
  testonly = true

  sources = [ "camera_presence_notifier_unittest.cc" ]

  deps = [
    ":camera_presence_notifier",
    "//ash:test_support",
    "//base",
    "//base/test:test_support",
    "//content/public/browser",
    "//content/test:test_support",
    "//mojo/public/cpp/bindings",
    "//services/video_capture/public/mojom",
    "//testing/gmock",
    "//testing/gtest",
  ]
}