blob: ef29878c6a96ee0cd0bb23f124c78e25435571a7 [file] [log] [blame]
# 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.
##########################################
# Though under //zircon, this build file #
# is meant to be used in the Fuchsia GN #
# build. #
# See fxbug.dev/36548. #
##########################################
assert(!defined(zx) || zx != "/",
"This file can only be used in the Fuchsia GN build.")
import("//build/unification/zx_library.gni")
zx_library("digest") {
sdk = "source"
sdk_headers = [
"digest/digest.h",
"digest/hash-list.h",
"digest/merkle-tree.h",
"digest/node-digest.h",
]
host = true
sources = [
"digest.cc",
"hash-list.cc",
"merkle-tree.cc",
"node-digest.cc",
]
deps = [ "//third_party/boringssl" ]
public_deps = [ "//zircon/public/lib/fbl" ]
}
group("tests") {
testonly = true
deps = [ "test:tests" ]
}