# 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, "OnTask is only supported in Ash")
static_library("on_task") {
sources = [
"on_task_blocklist.cc",
"on_task_blocklist.h",
"on_task_session_manager.cc",
"on_task_session_manager.h",
"on_task_system_web_app_manager.h",
]
deps = [
"//ash/constants:constants",
"//base",
"//chromeos/ash/components/boca",
"//chromeos/ash/components/boca/proto",
"//components/google/core/common",
"//components/policy/core/browser",
"//components/sessions",
"//components/sessions:session_id",
"//content/public/browser",
]
}
source_set("unit_tests") {
testonly = true
sources = [ "on_task_session_manager_unittest.cc" ]
deps = [
":on_task",
"//base",
"//chrome/test:test_support",
"//chromeos/ash/components/boca/proto",
"//components/sessions:session_id",
]
}