blob: 1448c54908630d12f02e15d5aff50f6d192fe692 [file] [log] [blame] [edit]
# 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("//build/zircon/zircon_cpu.gni")
source_set("string") {
sources = [
"memchr.c",
"memcmp.c",
"memmove.c",
"strcat.c",
"strchr.c",
"strcmp.c",
"strcoll.c",
"strcpy.c",
"strlcat.c",
"strlcpy.c",
"strlen.c",
"strncat.c",
"strncmp.c",
"strncpy.c",
"strnicmp.c",
"strnlen.c",
"strpbrk.c",
"strrchr.c",
"strspn.c",
"strstr.c",
"strtok.c",
"strxfrm.c",
]
deps = [
"arch/$zircon_cpu",
"//zircon/kernel/lib/libc:ctype",
"//zircon/kernel/lib/libc:headers",
]
# TODO(https://fxbug.dev/58162): delete the below and fix compiler warnings
configs += [ "//build/config:Wno-conversion" ]
}