blob: 7c0f500d7045d075f8ce013c8024f105d727e42a [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("//build/zircon/migrated_targets.gni")
zx_library("fit") {
host = true
static = true
kernel = true
sdk = "source"
sdk_publishable = true
sdk_headers = [
"lib/fit/constructors_internal.h",
"lib/fit/defer.h",
"lib/fit/function.h",
"lib/fit/function_internal.h",
"lib/fit/function_traits.h",
"lib/fit/nullable.h",
"lib/fit/storage_internal.h",
"lib/fit/thread_checker.h",
"lib/fit/thread_safety.h",
"lib/fit/traits.h",
"lib/fit/utility_internal.h",
]
sources = []
public_deps = [ "//sdk/lib/stdcompat" ]
# TODO(https://fxbug.dev/58162): delete the below and fix compiler warnings
configs += [ "//build/config:Wno-conversion" ]
}
group("tests") {
testonly = true
deps = [ "test:tests" ]
}