| # 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/go/go_library.gni") |
| import("//build/go/go_test.gni") |
| import("//build/package.gni") |
| import("//build/test/test_package.gni") |
| |
| go_library("benchmarking") { |
| sources = [ |
| "results.go", |
| "results_test.go", |
| ] |
| } |
| |
| go_test("go_benchmarking_test") { |
| gopackages = [ "go.fuchsia.dev/fuchsia/garnet/go/src/benchmarking" ] |
| |
| deps = [ ":benchmarking" ] |
| } |
| |
| unittest_package("go_benchmarking_tests") { |
| deps = [ ":go_benchmarking_test" ] |
| |
| tests = [ |
| { |
| name = "go_benchmarking_test" |
| }, |
| ] |
| } |