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

assert(is_chromeos)

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

  public_deps = [ "//chrome/browser:browser_public_dependencies" ]

  deps = [
    "//base",
    "//chrome/browser/ash/hats",
    "//chrome/browser/profiles:profile_manager",
    "//media/capture:capture_lib",
    "//media/capture/video/chromeos/mojom:cros_camera",
  ]
}

source_set("unit_tests") {
  testonly = true
  sources = [ "camera_general_survey_handler_unittest.cc" ]

  deps = [
    ":camera",
    "//base",
    "//base/test:test_support",
    "//testing/gmock",
    "//testing/gtest",
  ]
}
