Refactor gyp_chromium to ease reuse.