blob: 5e79a2aebf767a94077092141418310840c5f397 [file] [log] [blame] [edit]
# Copyright 2019 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.
##########################################
# Though under //zircon, this build file #
# is meant to be used in the Fuchsia GN #
# build. #
# See fxbug.dev/36139. #
##########################################
assert(!defined(zx) || zx != "/",
"This file can only be used in the Fuchsia GN build.")
import("//build/test.gni")
import("//src/sys/build/fuchsia_unittest_package.gni")
test("perftest") {
configs += [ "//build/unification/config:zircon-migrated" ]
output_name = "perf-test"
sources = [
"results-test.cc",
"runner-test.cc",
]
deps = [
"//zircon/public/lib/fbl",
"//zircon/public/lib/zxtest",
"//zircon/system/ulib/perftest",
]
}
fuchsia_unittest_package("perftest-pkg") {
package_name = "perf-test"
executable_path = "test/perf-test"
deps = [ ":perftest" ]
}
group("tests") {
testonly = true
deps = [ ":perftest-pkg" ]
}