blob: ad1ddc93e864f0a641fc012f2c16687a2e918afe [file] [log] [blame] [edit]
# 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/dart/dart_test_component.gni")
dart_library("lib") {
package_name = "echo_server"
null_safe = true
sources = [ "main.dart" ]
deps = [
"//examples/fidl/fuchsia.examples",
"//sdk/dart/fidl",
"//sdk/dart/fuchsia_logger",
"//sdk/dart/fuchsia_services",
]
}
dart_component("echo-server") {
component_name = "echo_server"
manifest = "meta/server.cml"
null_safe = true
deps = [ ":lib" ]
}
# Declare a package that contains a single component, our server.
fuchsia_package("echo-dart-server") {
deps = [ ":echo-server" ]
}