| # Copyright 2020 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/components.gni") |
| import("//build/config.gni") |
| import("//build/rust/rustc_binary.gni") |
| |
| rustc_binary("bin") { |
| testonly = true |
| name = "dev_time_source" |
| edition = "2021" |
| |
| deps = [ |
| "//sdk/fidl/fuchsia.time.external:fuchsia.time.external-rustc", |
| "//src/lib/fidl/rust/fidl", |
| "//src/lib/fuchsia", |
| "//src/lib/fuchsia-component", |
| "//src/lib/zircon/rust:fuchsia-zircon", |
| "//src/sys/time/timekeeper_integration:test.time-rustc", |
| "//third_party/rust_crates:futures", |
| "//third_party/rust_crates:tracing", |
| ] |
| |
| sources = [ "src/main.rs" ] |
| } |
| |
| fuchsia_component("dev_time_source") { |
| testonly = true |
| component_name = "dev_time_source" |
| manifest = "meta/service.cmx" |
| deps = [ ":bin" ] |
| } |