blob: 064ecf1ca4871cc305047252b0cae4ca5e6262a8 [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.
import("//build/zircon/zx_library.gni")
zx_library("profile") {
sources = [
"config.cc",
"config.h",
"profile.cc",
]
sdk = "source"
sdk_headers = [ "lib/profile/profile.h" ]
public_deps = [ "//zircon/system/ulib/svc" ]
deps = [
"//sdk/fidl/fuchsia.scheduler:fuchsia.scheduler_c",
"//sdk/lib/fdio",
"//src/lib/files",
"//third_party/rapidjson",
"//third_party/re2",
"//zircon/system/ulib/async",
"//zircon/system/ulib/fbl",
"//zircon/system/ulib/fidl-async",
"//zircon/system/ulib/svc",
"//zircon/system/ulib/syslog",
"//zircon/system/ulib/zx",
"//zircon/system/ulib/zxc",
]
# TODO(fxbug.dev/95833): This target uses the deprecated C bindings.
# Consider switching to the C++ bindings. See linked bug for details.
configs += [ "//build/c:fidl-deprecated-c-bindings" ]
}
source_set("config-test") {
sources = [
"config.cc",
"config.h",
]
public_deps = [
"//sdk/lib/fdio",
"//src/lib/files",
"//third_party/rapidjson",
"//third_party/re2",
"//zircon/system/ulib/syslog",
"//zircon/system/ulib/zx",
"//zircon/system/ulib/zxc",
]
}