blob: 027e25bd2b614772c6b1f29435a5c3af4c749862 [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
import("$zx_build/public/gn/migrated_targets.gni")
zx_library("cmdline") {
sdk = "source"
sdk_headers = [ "lib/cmdline.h" ]
sdk_migrated = true
# For use only in the kernel and its own unit tests.
visibility = [
"$zx/kernel/*",
"$zx/system/ulib",
"//src/zircon/tests/kernel-cmdline/*",
]
kernel = true
static = true
sources = [ "cmdline.cc" ]
deps = [ "$zx/system/ulib/fbl" ]
# TODO(fxbug.dev/58162): delete the below and fix compiler warnings
configs += [ "$zx_build_config:Wno-conversion" ]
}