blob: 3820c5eaa624239d21ffb84c173c480f5565a1ea [file] [log] [blame]
# Copyright 2019 The Fuchsia Authors
#
# Use of this source code is governed by a MIT-style
# license that can be found in the LICENSE file or at
# https://opensource.org/licenses/MIT
zx_library("user_copy") {
kernel = true
sources = [
"internal.cc",
]
deps = [ ":tests" ]
public_deps = [
# <lib/user_copy/user_ptr.h> has #include <ktl/type_traits.h>.
"$zx/kernel/lib/ktl:headers",
]
}
source_set("tests") {
#TODO: testonly = true
visibility = [ ":*" ]
sources = [ "user_copy_tests.cc" ]
deps = [
":headers",
"$zx/kernel/lib/unittest",
]
}