blob: 2b1c7f119670a80a5a3da57ecdf17898ca3b47c9 [file] [log] [blame]
# Copyright 2017 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.
config("trace_config") {
include_dirs = [ "include" ]
}
source_set("trace") {
# Don't forget to update rules.mk as well for the Zircon build.
sources = [
"event.cpp",
"handler.cpp",
"include/trace/event.h",
"include/trace/event_internal.h",
"include/trace/handler.h",
"include/trace/observer.h",
"include/trace/pairs_internal.h",
"observer.cpp",
]
libs = [
"zircon",
"trace-engine",
]
public_deps = [
"//zircon/system/ulib/async",
"//zircon/system/ulib/zx",
"//zircon/system/ulib/fbl",
]
public_configs = [ ":trace_config" ]
}