1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
   23
   24
   25
   26
   27
   28
   29
   30
   31
   32
   33
   34
   35
   36
   37
   38
   39
   40
   41
   42
   43
   44
   45
   46
   47
   48
   49
   50
   51
   52
   53
   54
   55
   56

ash / assistant / model / BUILD.gn [blame]

# Copyright 2018 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)

component("model") {
  output_name = "assistant_model"

  defines = [ "IS_ASSISTANT_MODEL_IMPL" ]

  sources = [
    "assistant_alarm_timer_model.cc",
    "assistant_alarm_timer_model.h",
    "assistant_alarm_timer_model_observer.h",
    "assistant_interaction_model.cc",
    "assistant_interaction_model.h",
    "assistant_interaction_model_observer.h",
    "assistant_notification_model.cc",
    "assistant_notification_model.h",
    "assistant_notification_model_observer.h",
    "assistant_query.cc",
    "assistant_query.h",
    "assistant_query_history.cc",
    "assistant_query_history.h",
    "assistant_response.cc",
    "assistant_response.h",
    "assistant_response_observer.h",
    "assistant_suggestions_model.cc",
    "assistant_suggestions_model.h",
    "assistant_suggestions_model_observer.h",
    "assistant_ui_model.cc",
    "assistant_ui_model.h",
    "assistant_ui_model_observer.h",
    "ui/assistant_card_element.cc",
    "ui/assistant_card_element.h",
    "ui/assistant_error_element.cc",
    "ui/assistant_error_element.h",
    "ui/assistant_text_element.cc",
    "ui/assistant_text_element.h",
    "ui/assistant_ui_element.cc",
    "ui/assistant_ui_element.h",
  ]

  deps = [
    "//ash/assistant/ui:constants",
    "//ash/public/cpp",
    "//chromeos/ash/services/assistant/public/cpp",
    "//chromeos/ash/services/assistant/public/mojom",
    "//chromeos/ash/services/libassistant/public/cpp:structs",
    "//ui/accessibility/mojom:ax_assistant_mojom",
    "//ui/gfx/geometry",
  ]
}