| # Copyright 2023 The Chromium Authors |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| static_library("unexportable_keys") { |
| sources = [ |
| "background_long_task_scheduler.cc", |
| "background_long_task_scheduler.h", |
| "background_task.h", |
| "background_task_impl.h", |
| "background_task_priority.h", |
| "ref_counted_unexportable_signing_key.cc", |
| "ref_counted_unexportable_signing_key.h", |
| "service_error.h", |
| "unexportable_key_id.h", |
| "unexportable_key_service.cc", |
| "unexportable_key_service.h", |
| "unexportable_key_task_manager.cc", |
| "unexportable_key_task_manager.h", |
| "unexportable_key_tasks.cc", |
| "unexportable_key_tasks.h", |
| ] |
| |
| public_deps = [ |
| "//base", |
| "//components/keyed_service/core", |
| "//crypto", |
| "//third_party/abseil-cpp:absl", |
| ] |
| } |
| |
| source_set("unit_tests") { |
| testonly = true |
| |
| sources = [ |
| "background_long_task_scheduler_unittest.cc", |
| "unexportable_key_service_unittest.cc", |
| "unexportable_key_task_manager_unittest.cc", |
| ] |
| |
| deps = [ |
| ":unexportable_keys", |
| "//base/test:test_support", |
| "//crypto:test_support", |
| "//testing/gtest", |
| ] |
| } |