GYP: prevent code generator from being directly added to All.

BUG=http://code.google.com/p/chromium/issues/detail?id=435434
R=thakis@chromium.org

Review URL: https://codereview.chromium.org/747253002