blob: 478d70c6510efb66054d8223a731ff22cc9cca8b [file] [log] [blame]
# Copyright 2018 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/rust/rustc_library.gni")
import("//src/sys/build/fuchsia_unittest_package.gni")
rustc_library("fuchsia-watch") {
name = "fuchsia_watch"
version = "0.1.0"
with_unit_tests = true
edition = "2018"
deps = [
"//garnet/lib/rust/io_util",
"//sdk/fidl/fuchsia.io:fuchsia.io-rustc",
"//src/lib/fuchsia-async",
"//src/lib/storage/fuchsia-vfs-watcher",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:futures",
"//third_party/rust_crates:tempfile",
"//third_party/rust_crates:thiserror",
]
sources = [ "src/lib.rs" ]
}
fuchsia_unittest_package("fuchsia-watch-tests") {
v2 = true
deps = [
":fuchsia-watch_test",
"//src/sys/test_runners:tmp_storage",
]
}
group("tests") {
testonly = true
deps = [ ":fuchsia-watch-tests" ]
}