blob: 1fd704f58244b66ad2236ed17e31e1b4af93e99e [file] [log] [blame]
# Copyright 2018 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.
config("filesystem_config") {
visibility = [ ":*" ]
# We want callers to refer to headers in this folders using the "files"
# prefix.
include_dirs = [ ".." ]
}
source_set("filesystem") {
visibility = [ "../*" ]
configs += [ "../../:config" ]
sources = [
"eintr_wrapper.h",
"file.cc",
"file.h",
"path.h",
"portable_unistd.h",
]
if (is_win) {
sources += [ "path_win.cc" ]
} else {
sources += [ "path_posix.cc" ]
}
deps = [
"../../common",
]
public_configs = [ ":filesystem_config" ]
}