blob: d56e8f570a868c72d43f0d693f2f829949739d7a [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.
import("$zx_build/public/gn/migrated_targets.gni")
assert(is_fuchsia)
zx_library("zx") {
sdk = "source"
sdk_publishable = true
sdk_headers = [
"lib/zx/bti.h",
"lib/zx/channel.h",
"lib/zx/clock.h",
"lib/zx/debuglog.h",
"lib/zx/event.h",
"lib/zx/eventpair.h",
"lib/zx/exception.h",
"lib/zx/fifo.h",
"lib/zx/guest.h",
"lib/zx/handle.h",
"lib/zx/interrupt.h",
"lib/zx/iommu.h",
"lib/zx/job.h",
"lib/zx/msi.h",
"lib/zx/object.h",
"lib/zx/object_traits.h",
"lib/zx/pager.h",
"lib/zx/pmt.h",
"lib/zx/port.h",
"lib/zx/process.h",
"lib/zx/profile.h",
"lib/zx/resource.h",
"lib/zx/socket.h",
"lib/zx/stream.h",
"lib/zx/suspend_token.h",
"lib/zx/task.h",
"lib/zx/thread.h",
"lib/zx/time.h",
"lib/zx/timer.h",
"lib/zx/vcpu.h",
"lib/zx/vmar.h",
"lib/zx/vmo.h",
]
sdk_migrated = true
sources = [
"bti.cc",
"channel.cc",
"debuglog.cc",
"event.cc",
"eventpair.cc",
"fifo.cc",
"guest.cc",
"interrupt.cc",
"iommu.cc",
"job.cc",
"msi.cc",
"pager.cc",
"port.cc",
"process.cc",
"profile.cc",
"resource.cc",
"socket.cc",
"stream.cc",
"thread.cc",
"timer.cc",
"vcpu.cc",
"vmar.cc",
"vmo.cc",
]
deps = [ "$zx/system/ulib/zircon" ]
public_deps = [ "$zx/system/ulib/zircon:headers" ]
}