chromium/services/screen_ai/public/cpp/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("//services/screen_ai/buildflags/features.gni")

assert(enable_screen_ai_service)

source_set("utilities") {
  sources = [
    "utilities.cc",
    "utilities.h",
  ]

  deps = [
    "//base",
    "//components/component_updater",
    "//services/screen_ai/buildflags",
    "//ui/accessibility:ax_base",
  ]

  configs += [ "//build/config/compiler:wexit_time_destructors" ]
}

source_set("metrics") {
  sources = [
    "metrics.cc",
    "metrics.h",
  ]

  deps = [
    "//base",
    "//components/language/core/common",
    "//ui/accessibility:ax_base",
  ]
}