# Copyright 2021 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, "Non ChromeOS builds must not depend on //chromeos/ash")
# The structures used by the mojom API.
component("structs") {
defines = [ "IS_LIBASSISTANT_PUBLIC_STRUCTS_IMPL" ]
sources = [
"android_app_info.cc",
"android_app_info.h",
"assistant_feedback.cc",
"assistant_feedback.h",
"assistant_interaction_metadata.cc",
"assistant_interaction_metadata.h",
"assistant_notification.cc",
"assistant_notification.h",
"assistant_suggestion.cc",
"assistant_suggestion.h",
"assistant_timer.cc",
"assistant_timer.h",
]
deps = [
"//base:base",
"//url",
]
}
source_set("loader") {
defines = [ "IS_LIBASSISTANT_PUBLIC_LOADER_IMPL" ]
sources = [ "libassistant_loader.h" ]
deps = [ "//base:base" ]
}