blob: e4879e7da9be2bd8bc01fe82768bac48323645a0 [file] [log] [blame]
Will Harris29c5ff152024-01-25 01:54:051# 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
5assert(is_win)
6
7source_set("os_crypt") {
8 sources = [
Will Harrisdda71e212024-03-25 23:56:399 "app_bound_encryption_provider_win.cc",
10 "app_bound_encryption_provider_win.h",
Will Harris29c5ff152024-01-25 01:54:0511 ]
12
13 deps = [
14 "//base",
Will Harrise8e7ff32024-03-19 22:41:4215 "//chrome/common:channel_info",
Will Harris29c5ff152024-01-25 01:54:0516 "//chrome/install_static:install_static_util",
Will Harrisdda71e212024-03-25 23:56:3917 "//components/os_crypt/async/browser:key_provider_interface",
Will Harris29c5ff152024-01-25 01:54:0518 "//components/prefs:prefs",
19 "//content/public/browser",
20 ]
21
Will Harrisdda71e212024-03-25 23:56:3922 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.
27source_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 Harrisccb80ba2024-04-02 23:07:4036 "//chrome/common:constants",
Will Harrisdda71e212024-03-25 23:56:3937 "//chrome/elevation_service:public_headers",
38 "//chrome/install_static:install_static_util",
Will Harrisceadf692024-04-03 20:44:0439 "//components/prefs:prefs",
Will Harris9850d5d2024-07-19 21:15:2940 "//components/sync/base",
Will Harrisdda71e212024-03-25 23:56:3941 ]
Will Harris29c5ff152024-01-25 01:54:0542}
43
44source_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