| # 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("lazy_init") { |
| sdk = "source" |
| sdk_headers = [ |
| "lib/lazy_init/internal.h", |
| "lib/lazy_init/lazy_init.h", |
| "lib/lazy_init/options.h", |
| ] |
| |
| sources = [] |
| kernel = true |
| static = true |
| host = true |
| if (is_fuchsia && !is_kernel) { |
| deps = [ "//zircon/system/ulib/zx" ] |
| } |
| |
| # TODO(https://fxbug.dev/58162): delete the below and fix compiler warnings |
| configs += [ "//build/config:Wno-conversion" ] |
| } |
| |
| group("tests") { |
| testonly = true |
| deps = [ "test:tests" ] |
| } |