| # 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. |
| |
| source_set("dirent") { |
| deps = [ "//zircon/third_party/ulib/musl:musl_internal" ] |
| sources = [ |
| "alphasort.c", |
| "scandir.c", |
| "versionsort.c", |
| ] |
| |
| if (zircon_toolchain != false) { |
| configs -= [ "//build/config:symbol_visibility_hidden" ] |
| } |
| |
| # TODO(https://fxbug.dev/42136089): delete the below and fix compiler warnings |
| configs += [ "//build/config:Wno-conversion" ] |
| } |