forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
//chromeos/tpm has DBus dependencies which means it needs to be a separate component in order to remove DBus dependencies form //chromeos. For extracting explicit DEPS file: TBR=sky@chromium.org Bug: 863439 Change-Id: I40838f9d62a6aef329375ed782a1c22a6e7708d8 Reviewed-on: https://chromium-review.googlesource.com/c/1399305 Reviewed-by: Toni Baržić <tbarzic@chromium.org> Commit-Queue: Steven Bennetts <stevenjb@chromium.org> Cr-Commit-Position: refs/heads/master@{#620853}
- Loading branch information
Showing
8 changed files
with
66 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# Copyright 2019 The Chromium Authors. All rights reserved. | ||
# Use of this source code is governed by a BSD-style license that can be | ||
# found in the LICENSE file. | ||
|
||
import("//testing/test.gni") | ||
|
||
assert(is_chromeos, "Non-Chrome-OS builds must not depend on //chromeos") | ||
|
||
component("tpm") { | ||
defines = [ "IS_CHROMEOS_TPM_IMPL" ] | ||
deps = [ | ||
"//base", | ||
"//chromeos/cryptohome", | ||
"//chromeos/dbus", | ||
"//chromeos/dbus:cryptohome_proto", | ||
"//chromeos/login/login_state", | ||
"//components/account_id", | ||
"//crypto", | ||
] | ||
sources = [ | ||
"tpm_password_fetcher.cc", | ||
"tpm_password_fetcher.h", | ||
"tpm_token_info_getter.cc", | ||
"tpm_token_info_getter.h", | ||
"tpm_token_loader.cc", | ||
"tpm_token_loader.h", | ||
] | ||
} | ||
|
||
source_set("unit_tests") { | ||
testonly = true | ||
deps = [ | ||
":tpm", | ||
"//base/test:test_support", | ||
"//chromeos:chromeos_constants", | ||
"//chromeos/cryptohome", | ||
"//chromeos/dbus", | ||
"//chromeos/dbus:cryptohome_proto", | ||
"//testing/gtest", | ||
] | ||
sources = [ | ||
"tpm_token_info_getter_unittest.cc", | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
noparent = True | ||
|
||
include_rules = [ | ||
"+base", | ||
"+crypto", | ||
"+chromeos/cryptohome", | ||
"+chromeos/login/login_state", | ||
"+chromeos/dbus", | ||
"+components/account_id", | ||
"+testing", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters