gpu: Fix command buffer PRESUBMIT script
Current implementation of PRESUBMIT makes it impossible to fix autogen files by running the generator if it wasn't run by accident and missed by PRESUBMIT earlier. New implementation removes this check, and replaces it with a more robust check for running the generator which won't reject changes unless there's an actual mismatch with generator output. TEST=Ran git cl presubmit on CL from running build_gles2_cmd_buffer.py Bug: 974337 Change-Id: Ic812bf44b921fd0718a58b70892b042876e3d357 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1662711 Auto-Submit: Sunny Sachanandani <sunnyps@chromium.org> Reviewed-by:Kenneth Russell <kbr@chromium.org> Commit-Queue: Sunny Sachanandani <sunnyps@chromium.org> Cr-Commit-Position: refs/heads/master@{#669861}
Showing
Please register or sign in to comment