blob: 6259fe34ea42fa0d2b4cba29a1b879e47014c19f [file] [log] [blame]
# Copyright 2021 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.
import("//build/sdk/sdk_host_tool.gni")
import("//build/test.gni")
static_library("common") {
public = [ "blobfs-compression.h" ]
sources = [ "common.cc" ]
deps = [ "//src/storage/blobfs" ]
public_deps = [ "//src/lib/chunked-compression" ]
}
executable("blobfs-compression") {
sources = [ "main.cc" ]
deps = [
":common",
"//src/lib/digest",
"//src/lib/fxl",
"//src/storage/blobfs/compression/configs",
]
}
sdk_host_tool("blobfs-compression_sdk") {
category = "partner"
output_name = "blobfs-compression"
deps = [ ":blobfs-compression" ]
}
# This group of tests is run in CQ/CI.
# [It is referenced by ../BUILD.gn's "tests".]
group("tests") {
testonly = true
deps = [ "test:tests" ]
}