diff --git a/HACKING.txt b/HACKING.txt
index f614b6904c5a6cd5522c9e4965318084a26654cf..fb93b5a105c8af162de48f6a9a7825f3f9aecea6 100644 (file)
--- a/HACKING.txt
+++ b/HACKING.txt
private/
# These are private header files meant for use within bionic itself.
- netbsd/
stdio/
stdlib/
- string/
unistd/
- wchar/
# These are legacy files of unknown provenance. In the past, bionic was a
# mess of random versions of random files from all three of FreeBSD, NetBSD,
# and OpenBSD! We've been working to clean that up, but these directories
# are basically where all the stuff we haven't got to yet lives.
- # The 'netbsd' directory misleadingly contains the DNS resolver (which will
- # probably be forked sometime soon, and that directory simply renamed).
- # The other directories contain stuff that still needs to be sorted.
+ dns/
+ # Contains the DNS resolver (originates from NetBSD code).
upstream-dlmalloc/
upstream-freebsd/
upstream-openbsd/
# These directories contain unmolested upstream source. Any time we can
# just use a BSD implementation of something unmodified, we should.
- # See files like netbsd-compat.h for various ways in which we manage to
- # build BSD source in bionic.
+ # The structure under these directories mimics the upstream tree,
+ # but there's also...
+ android/
+ include/
+ # This is where we keep the hacks necessary to build BSD source
+ # in our world. The *-compat.h files are automatically included
+ # using -include, but we also provide equivalents for missing
+ # header/source files needed by the BSD implementation.
bionic/
# This is the biggest mess. The C++ files are files we own, typically