[webkit-dev] More thoughts on cleaning up the root directory

Adam Barth abarth at webkit.org
Mon Dec 27 00:04:55 PST 2010


Here's a snapshot of my current thinking on where the files and
folders currently in the top-level directory might go.

There are a bunch of build-system related files that are currently in
the root.  I'm not sure whether we should leave them in there or move
them into Sources somewhere.  I'm tempted to put them into Sources so
that Sources is self-contained package of all the stuff you need to
build WebKit.  That said, having a top-level Makefile that kicks off
the whole process also seems reasonable.

Examples/
PerformanceTests/
  PageLoad/ (was PageLoadTests)
  SunSpider/
  HTMLParser/ (was WebCore/benchmarks/parser)
RegressionTests/ (was LayoutTests)
  manual/ (was WebCore/manual-tests)
Sources/
  automake/
  cmake/
  JavaScriptCore/
  JavaScriptGlue/
  Platform/ (was WebCore/platform)
  WebCore/
  WebKit/
  WebKit2/
  WTF/ (was JavaScriptCore/wtf)
  ThirdParty/
    ANGLE/
    + Contents WebKitLibraries
Tools/
Websites/
.gitattributes
.gitignore
ChangeLog
Makefile
Makefile.shared

== UNSURE ==
autogen.sh
Android.mk
common.pri
cmakeconfig.h.cmake
CMakeLists.txt
configure.ac
GNUmakefile.am
wscript
DerivedSources.pro
WebKit.pri
WebKit.pro

In this layout, I haven't merged PerformanceTests and RegressionTests
for two reasons.  First, the natural name, Tests, conflicts with
tab-completing Tools.  Second, folks so commonly access the current
LayoutTests directory that it seems a bit inefficient to place it
another level lower in the directory hierarchy.

Comments welcome, of course.  :)

Adam


More information about the webkit-dev mailing list