| # 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/testing/environments.gni") |
| import("//src/sys/build/components.gni") |
| |
| executable("bin") { |
| output_name = "c_time_example" |
| |
| sources = [ "main.c" ] |
| } |
| |
| fuchsia_component("c-time-example-component") { |
| deps = [ ":bin" ] |
| component_name = "c-time-example" |
| manifest = "meta/c-time-example.cmx" |
| } |
| |
| fuchsia_package("c-time-example") { |
| deps = [ ":c-time-example-component" ] |
| } |
| |
| group("c") { |
| testonly = true |
| public_deps = [ ":c-time-example" ] |
| } |