| # Copyright 2024 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) |
| |
| static_library("sparky") { |
| sources = [ |
| "keyboard_util.cc", |
| "keyboard_util.h", |
| "sparky_delegate_impl.cc", |
| "sparky_delegate_impl.h", |
| "sparky_manager_impl.cc", |
| "sparky_manager_impl.h", |
| "sparky_manager_service_factory.cc", |
| "sparky_manager_service_factory.h", |
| ] |
| |
| public_deps = [ "//chrome/browser:browser_public_dependencies" ] |
| |
| deps = [ |
| "//ash", |
| "//ash/constants", |
| "//base", |
| "//chrome/browser/apps/app_service", |
| "//chrome/browser/ash/file_manager", |
| "//chrome/browser/ash/login/session", |
| "//chrome/browser/ash/mahi", |
| "//chrome/browser/ash/profiles", |
| "//chrome/browser/ash/sparky/storage", |
| "//chrome/browser/extensions", |
| "//chrome/browser/profiles:profile", |
| "//chromeos/ash/components/sparky", |
| "//chromeos/components/mahi/public/cpp", |
| "//chromeos/strings:strings_grit", |
| "//components/manta", |
| "//components/prefs", |
| "//components/services/app_service/public/cpp:app_types", |
| "//ui/aura", |
| "//ui/display", |
| "//ui/display/types", |
| "//ui/events:event_constants", |
| "//ui/events:events_base", |
| "//ui/gfx/geometry", |
| "//ui/wm", |
| ] |
| |
| allow_circular_includes_from = [ "//chrome/browser/ash/login/session" ] |
| } |
| |
| source_set("unit_tests") { |
| testonly = true |
| |
| sources = [ "sparky_delegate_impl_unittest.cc" ] |
| |
| deps = [ |
| ":sparky", |
| "//ash:test_support", |
| "//ash/constants", |
| "//base/test:test_support", |
| "//chrome/browser/profiles:profile", |
| "//chrome/test:test_support", |
| "//chromeos/ash/components/dbus/spaced:spaced", |
| "//chromeos/ash/components/disks:test_support", |
| "//chromeos/ash/components/sparky", |
| "//components/manta", |
| "//components/prefs", |
| "//content/test:test_support", |
| ] |
| } |