|
Add global presubmit that JSON and IDL files can be parsed.
Sometimes, changes to JSON/IDL files make them invalid. It's easier to check these at presubmit time than discovering they can't be parsed at runtime.
This just moves the check from chrome/common/extensions/api to top-level.
This presubmit check excludes files in test/data directories.
BUG= 366395
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=274432
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+325 lines, -344 lines) |
Patch |
|
M |
PRESUBMIT.py
|
View
|
1
2
3
4
|
2 chunks |
+101 lines, -0 lines |
0 comments
|
Download
|
|
M |
PRESUBMIT_test.py
|
View
|
1
2
3
|
2 chunks |
+216 lines, -0 lines |
0 comments
|
Download
|
|
D |
chrome/common/extensions/api/PRESUBMIT.py
|
View
|
|
1 chunk |
+0 lines, -72 lines |
0 comments
|
Download
|
|
D |
chrome/common/extensions/api/PRESUBMIT_test.py
|
View
|
|
1 chunk |
+0 lines, -82 lines |
0 comments
|
Download
|
|
D |
chrome/common/extensions/api/test_presubmit/invalid_idl_1.idl
|
View
|
|
1 chunk |
+0 lines, -12 lines |
0 comments
|
Download
|
|
D |
chrome/common/extensions/api/test_presubmit/invalid_idl_2.idl
|
View
|
|
1 chunk |
+0 lines, -13 lines |
0 comments
|
Download
|
|
D |
chrome/common/extensions/api/test_presubmit/invalid_idl_3.idl
|
View
|
|
1 chunk |
+0 lines, -13 lines |
0 comments
|
Download
|
|
D |
chrome/common/extensions/api/test_presubmit/invalid_idl_4.idl
|
View
|
|
1 chunk |
+0 lines, -13 lines |
0 comments
|
Download
|
|
D |
chrome/common/extensions/api/test_presubmit/invalid_idl_5.idl
|
View
|
|
1 chunk |
+0 lines, -10 lines |
0 comments
|
Download
|
|
D |
chrome/common/extensions/api/test_presubmit/invalid_idl_6.idl
|
View
|
|
1 chunk |
+0 lines, -10 lines |
0 comments
|
Download
|
|
D |
chrome/common/extensions/api/test_presubmit/invalid_idl_7.idl
|
View
|
|
1 chunk |
+0 lines, -12 lines |
0 comments
|
Download
|
|
D |
chrome/common/extensions/api/test_presubmit/invalid_idl_8.idl
|
View
|
|
1 chunk |
+0 lines, -12 lines |
0 comments
|
Download
|
|
D |
chrome/common/extensions/api/test_presubmit/invalid_idl_9.idl
|
View
|
|
1 chunk |
+0 lines, -12 lines |
0 comments
|
Download
|
|
D |
chrome/common/extensions/api/test_presubmit/invalid_json_1.json
|
View
|
|
1 chunk |
+0 lines, -8 lines |
0 comments
|
Download
|
|
D |
chrome/common/extensions/api/test_presubmit/invalid_json_2.json
|
View
|
|
1 chunk |
+0 lines, -8 lines |
0 comments
|
Download
|
|
D |
chrome/common/extensions/api/test_presubmit/invalid_json_3.json
|
View
|
|
1 chunk |
+0 lines, -8 lines |
0 comments
|
Download
|
|
D |
chrome/common/extensions/api/test_presubmit/invalid_json_4.json
|
View
|
|
1 chunk |
+0 lines, -8 lines |
0 comments
|
Download
|
|
D |
chrome/common/extensions/api/test_presubmit/valid_idl_basics.idl
|
View
|
|
1 chunk |
+0 lines, -38 lines |
0 comments
|
Download
|
|
D |
chrome/common/extensions/api/test_presubmit/valid_json.json
|
View
|
|
1 chunk |
+0 lines, -11 lines |
0 comments
|
Download
|
|
M |
tools/json_schema_compiler/idl_schema.py
|
View
|
1
2
3
4
|
1 chunk |
+8 lines, -2 lines |
0 comments
|
Download
|
Total messages: 26 (0 generated)
|