| # 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. |
| |
| import("//build/package.gni") |
| import("//build/rust/rustc_library.gni") |
| |
| rustc_library("input-synthesis") { |
| name = "input-synthesis" |
| with_unit_tests = true |
| version = "0.1.0" |
| edition = "2018" |
| deps = [ |
| "//garnet/public/lib/fidl/rust/fidl", |
| "//garnet/public/rust/fuchsia-async", |
| "//garnet/public/rust/fuchsia-component", |
| "//sdk/fidl/fuchsia.ui.input:fuchsia.ui.input-rustc", |
| "//third_party/rust_crates:failure", |
| "//third_party/rust_crates:futures-preview", |
| ] |
| } |
| |
| package("input-synthesis-tests") { |
| testonly = true |
| deps = [ |
| ":input-synthesis_test", |
| ] |
| tests = [ |
| { |
| name = "input_synthesis_lib_test" |
| }, |
| ] |
| } |