| # 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. |
| |
| zx_library("disk-inspector") { |
| sdk = "source" |
| sdk_headers = [ |
| "lib/disk-inspector/inspector-transaction-handler.h", |
| "lib/disk-inspector/common-types.h", |
| "lib/disk-inspector/disk-inspector.h", |
| ] |
| static = true |
| sources = [ "disk-inspector.cc" ] |
| public_deps = [ "$zx/system/ulib/fbl:headers" ] |
| deps = [ "$zx/system/ulib/fbl" ] |
| |
| if (is_fuchsia) { |
| sources += [ "inspector-transaction-handler.cc" ] |
| |
| public_deps += [ |
| "$zx/system/ulib/block-client:headers", |
| "$zx/system/ulib/fit:headers", |
| "$zx/system/ulib/fs:headers", |
| "$zx/system/ulib/fs/transaction:headers", |
| "$zx/system/ulib/storage/buffer:headers", |
| ] |
| |
| deps += [ |
| "$zx/system/ulib/fdio", |
| "$zx/system/ulib/fit", |
| "$zx/system/ulib/storage/operation", |
| "$zx/system/ulib/zircon", |
| "$zx/third_party/ulib/safemath", |
| ] |
| } |
| } |