| # 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 = [ |
| "bind.c", |
| "i2c-cr50.cpp", |
| "tpm-commands.cpp", |
| "tpm-proto.cpp", |
| "tpm.cpp", |
| ] |
| deps = [ |
| "$zx/system/banjo/ddk-protocol-i2c", |
| "$zx/system/ulib/ddk", |
| "$zx/system/ulib/ddktl", |
| "$zx/system/ulib/explicit-memory", |
| "$zx/system/ulib/fbl", |
| "$zx/system/ulib/sync", |
| "$zx/system/ulib/zircon", |
| "$zx/system/ulib/zx", |
| "$zx/system/ulib/zxcpp", |
| ] |
| } |