| # Copyright 2019 The Fuchsia Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| assert(current_cpu == "x64") |
| |
| driver("tpm") { |
| sources = [ |
| "i2c-cr50.cc", |
| "tpm-commands.cc", |
| "tpm-proto.cc", |
| "tpm-tests.cc", |
| "tpm.cc", |
| ] |
| deps = [ |
| "$zx/system/banjo/ddk.protocol.i2c", |
| "$zx/system/dev/lib/device-protocol-i2c", |
| "$zx/system/ulib/ddk", |
| "$zx/system/ulib/ddktl", |
| "$zx/system/ulib/driver-unit-test", |
| "$zx/system/ulib/explicit-memory", |
| "$zx/system/ulib/fbl", |
| "$zx/system/ulib/sync", |
| "$zx/system/ulib/zircon", |
| "$zx/system/ulib/zircon-internal", |
| "$zx/system/ulib/zx", |
| "$zx/system/ulib/zxtest", |
| ] |
| } |