diff --git a/HACKING.txt b/HACKING.txt
index 9f45903a76ff565db843bb935d4b975e0034abe7..27e13682739c30d2467d61335e6c45e42951ffb5 100644 (file)
--- a/HACKING.txt
+++ b/HACKING.txt
private/
# These are private header files meant for use within bionic itself.
- 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.
dns/
# Contains the DNS resolver (originates from NetBSD code).
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.