# Copyright 2019 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
if (is_android) {
import("//build/config/android/rules.gni")
}
source_set("public") {
sources = [
"client_overview.cc",
"client_overview.h",
"display_agent.cc",
"display_agent.h",
"features.cc",
"features.h",
"icon_bundle.cc",
"icon_bundle.h",
"impression_detail.cc",
"impression_detail.h",
"notification_background_task_scheduler.h",
"notification_data.cc",
"notification_data.h",
"notification_params.cc",
"notification_params.h",
"notification_schedule_service.h",
"notification_scheduler_client.h",
"notification_scheduler_client_registrar.cc",
"notification_scheduler_client_registrar.h",
"notification_scheduler_constant.h",
"notification_scheduler_types.cc",
"notification_scheduler_types.h",
"schedule_params.cc",
"schedule_params.h",
"schedule_service_utils.cc",
"schedule_service_utils.h",
"throttle_config.cc",
"throttle_config.h",
"user_action_handler.h",
]
public_deps = [ "//base" ]
deps = [
"//components/keyed_service/core",
"//skia",
]
}
if (is_android) {
java_cpp_enum("jni_enums") {
sources = [ "notification_scheduler_types.h" ]
}
}
source_set("unit_tests") {
testonly = true
sources = [ "schedule_service_utils_unittest.cc" ]
deps = [
"//chrome/browser/notifications/scheduler/public",
"//chrome/browser/notifications/scheduler/test:test_lib",
"//chrome/browser/notifications/scheduler/test:test_support",
"//testing/gtest",
]
}