File: BUILD.gn

package info (click to toggle)
chromium 138.0.7204.183-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 6,071,908 kB
  • sloc: cpp: 34,937,088; ansic: 7,176,967; javascript: 4,110,704; python: 1,419,953; asm: 946,768; xml: 739,971; pascal: 187,324; sh: 89,623; perl: 88,663; objc: 79,944; sql: 50,304; cs: 41,786; fortran: 24,137; makefile: 21,806; php: 13,980; tcl: 13,166; yacc: 8,925; ruby: 7,485; awk: 3,720; lisp: 3,096; lex: 1,327; ada: 727; jsp: 228; sed: 36
file content (108 lines) | stat: -rw-r--r-- 3,712 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
# 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.

assert(is_chromeos,
       "Non-ChromeOS builds cannot depend on //chromeos/ash/components/osauth")

component("impl") {
  defines = [ "IS_CHROMEOS_ASH_COMPONENTS_OSAUTH_IMPL" ]
  public_deps = [ "//chromeos/ash/components/osauth/public" ]

  deps = [
    "//ash/constants",
    "//ash/strings",
    "//base",
    "//chromeos/ash/components/cryptohome",
    "//chromeos/ash/components/cryptohome:public",
    "//chromeos/ash/components/dbus/userdataauth",
    "//chromeos/ash/components/early_prefs:reader",
    "//chromeos/ash/components/login/auth",
    "//chromeos/ash/components/login/auth/public:authpublic",
    "//components/prefs:prefs",
    "//components/user_manager",
    "//ui/base",
  ]
  sources = [
    "auth_engine_api_impl.cc",
    "auth_factor_presence_cache.cc",
    "auth_factor_presence_cache.h",
    "auth_hub_attempt_handler.cc",
    "auth_hub_attempt_handler.h",
    "auth_hub_common.h",
    "auth_hub_impl.cc",
    "auth_hub_impl.h",
    "auth_hub_mode_lifecycle.cc",
    "auth_hub_mode_lifecycle.h",
    "auth_hub_vector_lifecycle.cc",
    "auth_hub_vector_lifecycle.h",
    "auth_parts_impl.cc",
    "auth_parts_impl.h",
    "auth_session_storage_impl.cc",
    "auth_session_storage_impl.h",
    "auth_surface_registry.cc",
    "auth_surface_registry.h",
    "cryptohome_core_impl.cc",
    "cryptohome_core_impl.h",
    "early_login_auth_policy_connector.cc",
    "early_login_auth_policy_connector.h",
    "engines/cryptohome_based_engine.cc",
    "engines/cryptohome_based_engine.h",
    "engines/cryptohome_fingerprint_engine.cc",
    "engines/cryptohome_fingerprint_engine.h",
    "engines/cryptohome_password_engine.cc",
    "engines/cryptohome_password_engine.h",
    "engines/cryptohome_pin_engine.cc",
    "engines/cryptohome_pin_engine.h",
    "engines/cryptohome_smart_card_engine.cc",
    "engines/cryptohome_smart_card_engine.h",
    "engines/prefs_pin_engine.cc",
    "engines/prefs_pin_engine.h",
    "legacy_auth_surface_registry.cc",
    "legacy_auth_surface_registry.h",
    "login_screen_auth_policy_connector.cc",
    "login_screen_auth_policy_connector.h",
    "prefs.cc",
    "prefs.h",
    "request/password_manager_auth_request.cc",
    "request/password_manager_auth_request.h",
    "request/settings_auth_request.cc",
    "request/settings_auth_request.h",
    "request/token_based_auth_request.cc",
    "request/token_based_auth_request.h",
    "request/webauthn_auth_request.cc",
    "request/webauthn_auth_request.h",
  ]
}

source_set("unit_tests") {
  testonly = true
  deps = [
    ":impl",
    "//ash/constants",
    "//base",
    "//base/test:test_support",
    "//chromeos/ash/components/dbus/userdataauth",
    "//chromeos/ash/components/dbus/userdataauth:test_support",
    "//chromeos/ash/components/dbus/userdataauth:userdataauth_proto",
    "//chromeos/ash/components/install_attributes:test_support",
    "//chromeos/ash/components/login/auth/public:authpublic",
    "//chromeos/ash/components/osauth/test_support",
    "//components/prefs:test_support",
    "//components/user_manager:test_support",
    "//testing/gmock",
    "//testing/gtest",
    "//third_party/abseil-cpp:absl",
  ]
  sources = [
    "auth_hub_attempt_handler_unittest.cc",
    "auth_hub_impl_test.cc",
    "auth_hub_mode_lifecycle_unittest.cc",
    "auth_hub_vector_lifecycle_unittest.cc",
    "auth_session_storage_impl_unittest.cc",
    "cryptohome_core_impl_unittest.cc",
    "engines/cryptohome_fingerprint_engine_unittest.cc",
    "engines/cryptohome_pin_engine_unittest.cc",
    "engines/prefs_pin_engine_unittest.cc",
  ]
}