blob: 748cb1e9ad9cbe3b88c800f79bfefb1fad5c6c37 [file] [log] [blame]
# Copyright 2016 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("zx_config") {
include_dirs = [ "include" ]
}
static_library("zx") {
# Don't forget to update rules.mk as well for the Zircon build.
sources = [
"channel.cpp",
"event.cpp",
"eventpair.cpp",
"fifo.cpp",
"include/zx/channel.h",
"include/zx/event.h",
"include/zx/eventpair.h",
"include/zx/fifo.h",
"include/zx/handle.h",
"include/zx/job.h",
"include/zx/log.h",
"include/zx/object.h",
"include/zx/object_traits.h",
"include/zx/port.h",
"include/zx/process.h",
"include/zx/socket.h",
"include/zx/task.h",
"include/zx/thread.h",
"include/zx/time.h",
"include/zx/timer.h",
"include/zx/vmar.h",
"include/zx/vmo.h",
"job.cpp",
"log.cpp",
"port.cpp",
"process.cpp",
"socket.cpp",
"thread.cpp",
"timer.cpp",
"vmar.cpp",
"vmo.cpp",
]
public_configs = [ ":zx_config" ]
libs = [ "zircon" ]
}