clang: Make it possible to add a plugin through GYP_DEFINES

With this CL, one can run

    GYP_DEFINES='clang=1 clang_load=/Users/thakis/src/llvm-svn/tools/clang/examples/PrintFunctionNames/libPrintFunctionNames.dylib clang_plugin=print-fns' gclient runhooks

and then the normal build will run with the clang example plugin.

I'm not sure if this is the best way to run Elliot's plugin, but it's useful for local one-off runs.

BUG=none
TEST=none

Review URL: http://codereview.chromium.org/6355010

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72924 0039d316-1c4b-4281-b951-d872f2087c98
1 file changed