blob: 3b93a45a3aa182ca1522dd67631dc93e8eb0a6f1 [file] [log] [blame]
# Copyright 2021 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
import("//build/cpp/library_headers.gni")
library_headers("headers") {
headers = [
"lib/kconcurrent/copy.h",
"lib/kconcurrent/seqlock.h",
]
public_deps = [
"//zircon/system/ulib/concurrent:headers",
"//zircon/system/ulib/lockdep:headers",
]
}
source_set("kconcurrent") {
sources = [ "seqlock.cc" ]
public_deps = [ ":headers" ]
deps = [
"//zircon/kernel/lib/arch",
"//zircon/system/ulib/concurrent",
"//zircon/system/ulib/lockdep",
]
}