Building AOSP JB on OS X 10.7 with XCode 4 takes just a little tweak to your build. Instead of running just make you need to run;
make CC=“gcc” CXX=“g++”
Which will allow the build to complete.