Alex Ilin | a06c3fa | 2023-01-09 11:39:50 | [diff] [blame] | 1 | # Copyright 2023 The Chromium Authors |
| 2 | # Use of this source code is governed by a BSD-style license that can be |
| 3 | # found in the LICENSE file. |
| 4 | |
| 5 | static_library("unexportable_keys") { |
| 6 | sources = [ |
Alex Ilin | 1dbf5a8f | 2023-01-12 12:45:28 | [diff] [blame] | 7 | "background_long_task_scheduler.cc", |
| 8 | "background_long_task_scheduler.h", |
| 9 | "background_task.h", |
| 10 | "background_task_impl.h", |
Alex Ilin | 94cbe751 | 2023-09-01 09:56:39 | [diff] [blame] | 11 | "background_task_priority.cc", |
Alex Ilin | a06c3fa | 2023-01-09 11:39:50 | [diff] [blame] | 12 | "background_task_priority.h", |
Alex Ilin | 94cbe751 | 2023-09-01 09:56:39 | [diff] [blame] | 13 | "background_task_type.cc", |
| 14 | "background_task_type.h", |
Monica Basta | 2ecfe218 | 2023-12-18 16:05:58 | [diff] [blame^] | 15 | "features.cc", |
| 16 | "features.h", |
Alex Ilin | a06c3fa | 2023-01-09 11:39:50 | [diff] [blame] | 17 | "ref_counted_unexportable_signing_key.cc", |
| 18 | "ref_counted_unexportable_signing_key.h", |
Alex Ilin | daff115 | 2023-03-08 11:36:00 | [diff] [blame] | 19 | "service_error.h", |
Alex Ilin | 54ce0a85 | 2023-02-17 17:18:45 | [diff] [blame] | 20 | "unexportable_key_id.h", |
Alex Ilin | 933326f0 | 2023-05-15 10:26:43 | [diff] [blame] | 21 | "unexportable_key_loader.cc", |
| 22 | "unexportable_key_loader.h", |
Alex Ilin | 55afd1d6 | 2023-03-06 15:12:02 | [diff] [blame] | 23 | "unexportable_key_service.h", |
Alex Ilin | 4592cba | 2023-03-30 13:42:27 | [diff] [blame] | 24 | "unexportable_key_service_impl.cc", |
| 25 | "unexportable_key_service_impl.h", |
Alex Ilin | a06c3fa | 2023-01-09 11:39:50 | [diff] [blame] | 26 | "unexportable_key_task_manager.cc", |
| 27 | "unexportable_key_task_manager.h", |
Alex Ilin | 3979f991 | 2023-01-20 22:57:33 | [diff] [blame] | 28 | "unexportable_key_tasks.cc", |
| 29 | "unexportable_key_tasks.h", |
Alex Ilin | a06c3fa | 2023-01-09 11:39:50 | [diff] [blame] | 30 | ] |
| 31 | |
Lei Zhang | 810f744 | 2023-09-29 14:55:02 | [diff] [blame] | 32 | configs += [ "//build/config/compiler:wexit_time_destructors" ] |
| 33 | |
Alex Ilin | a06c3fa | 2023-01-09 11:39:50 | [diff] [blame] | 34 | public_deps = [ |
| 35 | "//base", |
Alex Ilin | 55afd1d6 | 2023-03-06 15:12:02 | [diff] [blame] | 36 | "//components/keyed_service/core", |
Alex Ilin | a06c3fa | 2023-01-09 11:39:50 | [diff] [blame] | 37 | "//crypto", |
| 38 | "//third_party/abseil-cpp:absl", |
| 39 | ] |
| 40 | } |
| 41 | |
Alex Ilin | 4592cba | 2023-03-30 13:42:27 | [diff] [blame] | 42 | source_set("test_support") { |
| 43 | testonly = true |
| 44 | |
| 45 | sources = [ |
| 46 | "fake_unexportable_key_service.cc", |
| 47 | "fake_unexportable_key_service.h", |
| 48 | ] |
| 49 | |
| 50 | deps = [ ":unexportable_keys" ] |
| 51 | } |
| 52 | |
Alex Ilin | a06c3fa | 2023-01-09 11:39:50 | [diff] [blame] | 53 | source_set("unit_tests") { |
| 54 | testonly = true |
| 55 | |
Alex Ilin | 1dbf5a8f | 2023-01-12 12:45:28 | [diff] [blame] | 56 | sources = [ |
| 57 | "background_long_task_scheduler_unittest.cc", |
Alex Ilin | 933326f0 | 2023-05-15 10:26:43 | [diff] [blame] | 58 | "unexportable_key_loader_unittest.cc", |
Alex Ilin | 4592cba | 2023-03-30 13:42:27 | [diff] [blame] | 59 | "unexportable_key_service_impl_unittest.cc", |
Alex Ilin | 1dbf5a8f | 2023-01-12 12:45:28 | [diff] [blame] | 60 | "unexportable_key_task_manager_unittest.cc", |
| 61 | ] |
Alex Ilin | a06c3fa | 2023-01-09 11:39:50 | [diff] [blame] | 62 | |
| 63 | deps = [ |
Alex Ilin | 4592cba | 2023-03-30 13:42:27 | [diff] [blame] | 64 | ":test_support", |
Alex Ilin | a06c3fa | 2023-01-09 11:39:50 | [diff] [blame] | 65 | ":unexportable_keys", |
| 66 | "//base/test:test_support", |
| 67 | "//crypto:test_support", |
| 68 | "//testing/gtest", |
| 69 | ] |
| 70 | } |