blob: 49c6a4bca8cff55ccbfa693d51331b8a6678a844 [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/migrated_targets.gni")
zx_library("zx") {
kernel = true
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 = [ "//src/zircon/lib/zircon" ]
public_deps = [ "//src/zircon/lib/zircon:headers" ]
}