Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(112)

Issue 2926563004: DevTools: check BUILD.gn file as part of PRESUBMIT (Closed)

Created:
3 years, 6 months ago by chenwilliam
Modified:
3 years, 6 months ago
Reviewers:
dgozman, pfeldman
CC:
chromium-reviews, caseq+blink_chromium.org, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, apavlov+blink_chromium.org, devtools-reviews_chromium.org, blink-reviews, pfeldman, kozyatinskiy+blink_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

DevTools: check BUILD.gn file as part of PRESUBMIT This PRESUBMIT check only takes ~0.12 seconds on my workstation. It actually caught a real issue with our existing BUILD.gn as it accidentally included the generated terminal_module.js (a 104kb file) in the Chrome binary. BUG=729646 Review-Url: https://codereview.chromium.org/2926563004 Cr-Commit-Position: refs/heads/master@{#478125} Committed: https://chromium.googlesource.com/chromium/src/+/ed6ec852ac94bcd64f7a9b7fb279916adb1cf22c

Patch Set 1 #

Total comments: 5

Patch Set 2 : fixup #

Unified diffs Side-by-side diffs Delta from patch set Stats (+94 lines, -4 lines) Patch
M third_party/WebKit/Source/devtools/BUILD.gn View 3 chunks +6 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/devtools/PRESUBMIT.py View 2 chunks +21 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/package.json View 1 chunk +2 lines, -1 line 0 comments Download
A third_party/WebKit/Source/devtools/scripts/check_gn.js View 1 1 chunk +65 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (7 generated)
chenwilliam
ptal
3 years, 6 months ago (2017-06-08 00:52:17 UTC) #4
dgozman
lgtm https://codereview.chromium.org/2926563004/diff/1/third_party/WebKit/Source/devtools/scripts/check_gn.js File third_party/WebKit/Source/devtools/scripts/check_gn.js (right): https://codereview.chromium.org/2926563004/diff/1/third_party/WebKit/Source/devtools/scripts/check_gn.js#newcode8 third_party/WebKit/Source/devtools/scripts/check_gn.js:8: const inspectorManifest = require('../front_end/inspector.json'); Should we check all ...
3 years, 6 months ago (2017-06-08 18:21:38 UTC) #5
chenwilliam
thanks for the review. https://codereview.chromium.org/2926563004/diff/1/third_party/WebKit/Source/devtools/scripts/check_gn.js File third_party/WebKit/Source/devtools/scripts/check_gn.js (right): https://codereview.chromium.org/2926563004/diff/1/third_party/WebKit/Source/devtools/scripts/check_gn.js#newcode8 third_party/WebKit/Source/devtools/scripts/check_gn.js:8: const inspectorManifest = require('../front_end/inspector.json'); On ...
3 years, 6 months ago (2017-06-08 18:49:04 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2926563004/20001
3 years, 6 months ago (2017-06-08 18:50:06 UTC) #9
commit-bot: I haz the power
3 years, 6 months ago (2017-06-08 23:53:38 UTC) #12
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/ed6ec852ac94bcd64f7a9b7fb279...

Powered by Google App Engine
This is Rietveld 408576698