Kaydet (Commit) 73b7792f authored tarafından Andras Timar's avatar Andras Timar

excludeDirectory became obsolete, because dmake was killed

Change-Id: Id9f3d2435530ff9c797eca5e86aa568f921017b1
üst 2057218f
......@@ -388,32 +388,6 @@ bool includeProject(OString const & project) {
return false;
}
bool excludeDirectory(OString const & directory) {
// Cf. OUTPATH=* in configure.in:
static OString const excluded[] = {
"callcatcher",
"unxaig",
"unxand",
"unxdfly",
"unxfbsd",
"unxios",
"unxkfg",
"unxlng",
"unxmac",
"unxnbsd",
"unxobsd",
"unxsog",
"unxsol",
"unxubt",
"wntmsc" };
for (size_t i = 0; i != SAL_N_ELEMENTS(excluded); ++i) {
if (directory.startsWith(excluded[i])) {
return true;
}
}
return false;
}
/// Handle one directory in the hierarchy.
///
/// Ignores symlinks and instead explicitly descends into clone/* or src/*,
......@@ -487,7 +461,7 @@ void handleDirectory(
break;
default:
if (stat.getFileType() == osl::FileStatus::Directory) {
if (level == 2 || !excludeDirectory(sFileName)) {
if (level == 2) {
OString pr(projectRoot);
if (!pr.isEmpty()) {
pr += OString('/');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment