Will Harris | 29c5ff15 | 2024-01-25 01:54:05 | [diff] [blame] | 1 | # Copyright 2024 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 | assert(is_win) |
| 6 | |
| 7 | source_set("os_crypt") { |
| 8 | sources = [ |
Will Harris | dda71e21 | 2024-03-25 23:56:39 | [diff] [blame] | 9 | "app_bound_encryption_provider_win.cc", |
| 10 | "app_bound_encryption_provider_win.h", |
Will Harris | 29c5ff15 | 2024-01-25 01:54:05 | [diff] [blame] | 11 | ] |
| 12 | |
| 13 | deps = [ |
| 14 | "//base", |
Will Harris | e8e7ff3 | 2024-03-19 22:41:42 | [diff] [blame] | 15 | "//chrome/common:channel_info", |
Will Harris | 29c5ff15 | 2024-01-25 01:54:05 | [diff] [blame] | 16 | "//chrome/install_static:install_static_util", |
Will Harris | dda71e21 | 2024-03-25 23:56:39 | [diff] [blame] | 17 | "//components/os_crypt/async/browser:key_provider_interface", |
Will Harris | 29c5ff15 | 2024-01-25 01:54:05 | [diff] [blame] | 18 | "//components/prefs:prefs", |
| 19 | "//content/public/browser", |
| 20 | ] |
| 21 | |
Will Harris | dda71e21 | 2024-03-25 23:56:39 | [diff] [blame] | 22 | public_deps = [ ":app_bound_api" ] |
| 23 | } |
| 24 | |
| 25 | # The API sources are separated out for the purposes of linking cleanly with the |
| 26 | # test executable, but the public 'os_crypt' target should be depended upon. |
| 27 | source_set("app_bound_api") { |
| 28 | visibility = [ ":*" ] |
| 29 | sources = [ |
| 30 | "app_bound_encryption_win.cc", |
| 31 | "app_bound_encryption_win.h", |
| 32 | ] |
| 33 | |
| 34 | deps = [ |
| 35 | "//base", |
Will Harris | ccb80ba | 2024-04-02 23:07:40 | [diff] [blame] | 36 | "//chrome/common:constants", |
Will Harris | dda71e21 | 2024-03-25 23:56:39 | [diff] [blame] | 37 | "//chrome/elevation_service:public_headers", |
| 38 | "//chrome/install_static:install_static_util", |
Will Harris | ceadf69 | 2024-04-03 20:44:04 | [diff] [blame] | 39 | "//components/prefs:prefs", |
Will Harris | 9850d5d | 2024-07-19 21:15:29 | [diff] [blame] | 40 | "//components/sync/base", |
Will Harris | dda71e21 | 2024-03-25 23:56:39 | [diff] [blame] | 41 | ] |
Will Harris | 29c5ff15 | 2024-01-25 01:54:05 | [diff] [blame] | 42 | } |
| 43 | |
| 44 | source_set("browser_tests") { |
| 45 | testonly = true |
| 46 | sources = [ "app_bound_encryption_win_browsertest.cc" ] |
| 47 | |
| 48 | defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] |
| 49 | |
| 50 | deps = [ |
| 51 | ":os_crypt", |
Will Harris |
|