blob: 4a579a2f4403a52fbf1fe803d8edd2282b9c1e2b [file] [log] [blame]
# 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 fxb/36548. #
##########################################
assert(!defined(zx) || zx != "/",
"This file can only be used in the Fuchsia GN build.")
import("//build/unification/zx_library.gni")
zx_library("perftest") {
sdk = "source"
sdk_headers = [
"perftest/perftest.h",
"perftest/results.h",
"perftest/runner.h",
]
testonly = true
sources = [
"results.cc",
"runner.cc",
]
deps = [
"//zircon/public/lib/async",
"//zircon/public/lib/async-loop",
"//zircon/public/lib/async-loop-cpp",
"//zircon/public/lib/async-loop-default",
"//zircon/public/lib/fbl",
"//zircon/public/lib/trace",
"//zircon/public/lib/trace-engine",
"//zircon/public/lib/trace-provider-with-fdio",
"//zircon/public/lib/zx",
]
# TODO(46944): UBSan has found an instance of undefined behavior in this target.
# Disable UBSan for this target temporarily until it is migrated into CI/CQ.
# Add to public_configs since the UB is found in a public header.
configs +=
[ "//build/config:temporarily_disable_ubsan_do_not_use" ]
}