|  | # 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/go/go_library.gni") | 
|  | import("//build/go/go_test.gni") | 
|  | import("//build/go/toolchain.gni") | 
|  |  | 
|  | go_library("concurrency_test") { | 
|  | deps = [ | 
|  | "//examples/components/routing/fidl:echo_go($go_toolchain)", | 
|  | "//src/lib/component", | 
|  | ] | 
|  | sources = [ "concurrency_test.go" ] | 
|  | } | 
|  |  | 
|  | go_test("concurrency_test_driver_golang") { | 
|  | library = ":concurrency_test" | 
|  | } | 
|  |  | 
|  | fuchsia_component("concurrency_test_driver_component") { | 
|  | testonly = true | 
|  | manifest = "meta/concurrency-test-driver.cml" | 
|  | component_name = "concurrency-test-driver" | 
|  | deps = [ ":concurrency_test_driver_golang" ] | 
|  | } | 
|  |  | 
|  | fuchsia_component("concurrency_test_component") { | 
|  | testonly = true | 
|  | component_name = "concurrency-test" | 
|  | manifest = "meta/concurrency-test.cml" | 
|  | } | 
|  |  | 
|  | group("concurrency-test") { | 
|  | testonly = true | 
|  | public_deps = [ | 
|  | ":concurrency_test_component", | 
|  | ":concurrency_test_driver_component", | 
|  | "//src/sys/test_runners:echo_server_for_concurrency_test", | 
|  | ] | 
|  | } |