This is an example directory structure that compiles some simple targets using gcc. It is intended to show how to set up a simple GN build. It is deliberately simplistic so the structure is more clear, and doesn't support everything on every platform.
It is recommended that you take this and add on as your requirements indicate. You may also want to see the Chromium and Fuchsia build configurations for the maximal functionality (the root README has links to these).
Don't miss the “.gn” file in this directory which may be hidden on your system!