chromium/chromeos/components/quick_answers/public/cpp/BUILD.gn

# Copyright 2020 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

# TODO(b/340628526): Make this component to avoid having multiple QuickAnswersState.
source_set("cpp") {
  sources = [
    "controller/quick_answers_controller.cc",
    "controller/quick_answers_controller.h",
    "quick_answers_state.cc",
    "quick_answers_state.h",
    "service/spell_check_dictionary.cc",
    "service/spell_check_dictionary.h",
    "service/spell_check_service.cc",
    "service/spell_check_service.h",
  ]

  deps = [
    ":constants",
    "//base",
    "//chromeos/components/kiosk",
    "//chromeos/components/magic_boost/public/cpp",
    "//chromeos/components/quick_answers/public/cpp:prefs",
    "//chromeos/components/quick_answers/public/mojom",
    "//chromeos/constants:constants",
    "//components/language/core/browser:browser",
    "//components/pref_registry",
    "//components/prefs",
    "//third_party/hunspell",
    "//ui/base",
    "//ui/gfx",
  ]
}

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

  deps = [ "//components/prefs" ]
}

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

  deps = [ "//ui/views" ]
}