# 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")
import("//chromeos/ash/components/assistant/assistant.gni")
assert(is_chromeos_ash)
source_set("constants") {
defines = [ "IS_ASSISTANT_UI_CONSTANTS_IMPL" ]
sources = [
"assistant_ui_constants.cc",
"assistant_ui_constants.h",
"assistant_view_ids.h",
]
deps = [
"//ash/constants",
"//base",
"//skia",
"//ui/aura",
"//ui/base",
"//ui/gfx",
]
}
source_set("ui") {
defines = [ "IS_ASSISTANT_UI_IMPL" ]
sources = [
"assistant_view_delegate.h",
"assistant_web_container_view.cc",
"assistant_web_container_view.h",
"assistant_web_view_delegate.h",
"base/assistant_button.cc",
"base/assistant_button.h",
"base/assistant_button_listener.h",
"base/assistant_scroll_view.cc",
"base/assistant_scroll_view.h",
"base/stack_layout.cc",
"base/stack_layout.h",
"dialog_plate/mic_view.cc",
"dialog_plate/mic_view.h",
"logo_view/logo_view.cc",
"logo_view/logo_view.h",
"main_stage/animated_container_view.cc",
"main_stage/animated_container_view.h",
"main_stage/assistant_card_element_view.cc",
"main_stage/assistant_card_element_view.h",
"main_stage/assistant_error_element_view.cc",
"main_stage/assistant_error_element_view.h",
"main_stage/assistant_footer_view.cc",
"main_stage/assistant_footer_view.h",
"main_stage/assistant_onboarding_suggestion_view.cc",
"main_stage/assistant_onboarding_suggestion_view.h",
"main_stage/assistant_onboarding_view.cc",
"main_stage/assistant_onboarding_view.h",
"main_stage/assistant_opt_in_view.cc",
"main_stage/assistant_opt_in_view.h",
"main_stage/assistant_progress_indicator.cc",
"main_stage/assistant_progress_indicator.h",
"main_stage/assistant_query_view.cc",
"main_stage/assistant_query_view.h",
"main_stage/assistant_text_element_view.cc",
"main_stage/assistant_text_element_view.h",
"main_stage/assistant_ui_element_view.cc",
"main_stage/assistant_ui_element_view.h",
"main_stage/assistant_ui_element_view_animator.cc",
"main_stage/assistant_ui_element_view_animator.h",
"main_stage/assistant_ui_element_view_factory.cc",
"main_stage/assistant_ui_element_view_factory.h",
"main_stage/assistant_zero_state_view.cc",
"main_stage/assistant_zero_state_view.h",
"main_stage/chip_view.cc",
"main_stage/chip_view.h",
"main_stage/element_animator.cc",
"main_stage/element_animator.h",
"main_stage/launcher_search_iph_view.cc",
"main_stage/launcher_search_iph_view.h",
"main_stage/suggestion_chip_view.cc",
"main_stage/suggestion_chip_view.h",
"main_stage/suggestion_container_view.cc",
"main_stage/suggestion_container_view.h",
"main_stage/ui_element_container_view.cc",
"main_stage/ui_element_container_view.h",
]
deps = [
"//ash/assistant/model",
"//ash/assistant/ui:constants",
"//ash/assistant/ui/colors:assistant_colors_views",
"//ash/assistant/util",
"//ash/keyboard/ui",
"//ash/public/cpp",
"//ash/resources/vector_icons",
"//ash/strings",
"//ash/style",
"//base",
"//chromeos/ash/components/assistant:buildflags",
"//chromeos/ash/services/assistant/public/cpp",
"//chromeos/ash/services/assistant/public/mojom",
"//chromeos/ash/services/libassistant/public/cpp:structs",
"//chromeos/ui/frame",
"//chromeos/ui/vector_icons",
"//components/feature_engagement/public",
"//components/vector_icons",
"//ui/aura",
"//ui/chromeos/styles:cros_styles_views",
"//ui/compositor",
"//ui/gfx",
"//ui/views",
"//ui/views/window/vector_icons",
"//ui/wm",
]
if (enable_cros_libassistant) {
sources += [
"logo_view/logo_view_impl.cc",
"logo_view/logo_view_impl.h",
"logo_view/shape/mic_part_shape.cc",
"logo_view/shape/mic_part_shape.h",
"logo_view/shape/shape.cc",
"logo_view/shape/shape.h",
]
deps += [ "//chromeos/assistant/internal/logo_view" ]
}
}