| # 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. |
| |
| zx_library("perftest") { |
| sdk = "source" |
| sdk_headers = [ |
| "perftest/perftest.h", |
| "perftest/results.h", |
| "perftest/runner.h", |
| ] |
| testonly = true |
| sources = [ |
| "results.cc", |
| "runner.cc", |
| ] |
| deps = [ |
| "$zx/system/ulib/async", |
| "$zx/system/ulib/async-loop", |
| "$zx/system/ulib/async-loop:async-loop-cpp", |
| "$zx/system/ulib/async-loop:async-loop-default.static", |
| "$zx/system/ulib/fbl", |
| "$zx/system/ulib/trace", |
| "$zx/system/ulib/trace-engine", |
| "$zx/system/ulib/trace-provider:trace-provider-with-fdio", |
| "$zx/system/ulib/unittest", |
| "$zx/system/ulib/zircon", |
| "$zx/system/ulib/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. |
| public_configs = [ "$zx_build/public/gn/config:temporarily_disable_ubsan_do_not_use" ] |
| } |