gyp: apply https://codereview.chromium.org/12725005/