summaryrefslogtreecommitdiff
path: root/Toolchain
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-05-08 21:57:44 +0200
committerAndreas Kling <kling@serenityos.org>2020-05-08 21:57:44 +0200
commitcf3b58fbe8f836c13e44d6152d78960aff6089ef (patch)
treedcc7664f0004ee9c495f9d948cfb16d12f8a70bf /Toolchain
parent042b1f68145ad3754fd98429b405c5c1a173d3fc (diff)
downloadserenity-cf3b58fbe8f836c13e44d6152d78960aff6089ef.zip
Services: Renamed from Servers
It didn't feel right to have a "DHCPClient" in a "Servers" directory. Rename this to Services to better reflect the type of programs we'll be putting in there.
Diffstat (limited to 'Toolchain')
-rwxr-xr-xToolchain/ComputeDependenciesHash.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/Toolchain/ComputeDependenciesHash.sh b/Toolchain/ComputeDependenciesHash.sh
index abb9a99b22..0da2cf2a76 100755
--- a/Toolchain/ComputeDependenciesHash.sh
+++ b/Toolchain/ComputeDependenciesHash.sh
@@ -27,7 +27,7 @@ trap finish EXIT
# on *all* of their implementation and recursive dependencies.
# Scan all files for potential dependencies.
# Thinking in graphs, this computes the edge list:
-cat <(find AK/ Libraries/ Servers/ Kernel/ -name '*.h') \
+cat <(find AK/ Libraries/ Services/ Kernel/ -name '*.h') \
<(find Libraries/LibC/ Libraries/LibM/ -name '*.cpp' ! -name 'Test*.cpp' ) | \
xargs grep -F '#include ' | \
sed -r \
@@ -38,7 +38,7 @@ cat <(find AK/ Libraries/ Servers/ Kernel/ -name '*.h') \
-e 's^#include <((bits|netinet|sys|arpa|net)/.*)>^Libraries/LibC/\1^' \
-e 's^#include <fd_set.h>^Libraries/LibC/fd_set.h^' \
-e 's^#include <([a-z]{3,10}(_numbers)?\.h)>^Libraries/LibC/\1^' \
- -e 's^#include <([A-Z][a-z]+Server/.*)>^Servers/\1^' \
+ -e 's^#include <([A-Z][a-z]+Server/.*)>^Services/\1^' \
-e 's^#include <(.*)>^UNRESOLVED_I/\1^' \
-e 's^#include "(.*)"^UNRESOLVED_L/\1^' > "${DEPLIST_FILE}"
# Some #include's cannot be resolved, like <chrono>. However, these are only