| # Copyright 2018 The Chromium OS 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("//common-mk/pkg_config.gni") |
| |
| group("all") { |
| deps = [ |
| ":cryptohome-test-tool", |
| ":cryptohome-tpm-live-test", |
| ] |
| } |
| |
| executable("cryptohome-test-tool") { |
| sources = [ |
| "../cryptohome-test-tool.cc", |
| "../cryptorecovery/fake_recovery_mediator_crypto.cc", |
| "../cryptorecovery/recovery_crypto_hsm_cbor_serialization.cc", |
| ] |
| install_path = "sbin" |
| libs = [ "cbor" ] |
| deps = [ |
| "//cryptohome/libs:libcrosplatform", |
| "//cryptohome/libs:libcrostpm", |
| ] |
| } |
| |
| executable("cryptohome-tpm-live-test") { |
| sources = [ |
| "../cryptohome-tpm-live-test.cc", |
| "../tpm_live_test.cc", |
| ] |
| install_path = "sbin" |
| deps = [ "//cryptohome/libs:libcrostpm" ] |
| |
| pkg_deps = [ "libmetrics" ] |
| } |