blob: 7b8cbd688fa1246657764d41ccc2eb7da8a327ce [file] [log] [blame]
# Copyright 2013 The Flutter 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" ]
}