diff --git a/HACKING.txt b/HACKING.txt
index 6c142e13f0d548e081ce61de71e617311f5d46f4..27e13682739c30d2467d61335e6c45e42951ffb5 100644 (file)
--- a/HACKING.txt
+++ b/HACKING.txt
private/
# These are private header files meant for use within bionic itself.
- netbsd/
- stdio/
- stdlib/
- unistd/
- # 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
# current upstream source in one of the upstream directories or by
# switching the file to C++ and cleaning it up.
+ stdio/
+ # These are legacy files of dubious provenance. We're working to clean
+ # this mess up, and this directory should disappear.
+
tools/
# Various tools used to maintain bionic.