|
[Extensions] Generate all schema resources
Some schema resources weren't being generated (presumably because
resource generation was previously linked to function registration).
However, generated schema resources are a lot better, because they strip
out comments and whitespace, making parsing them into JSON significantly
faster.
Generate all schema resources, and remove the grit files containing the
JSON.
Note: because inline enums are disallowed (see crbug.com/472279), some
schemas had to be updated. Since they weren't previously compiled, this
wasn't caught.
This also eliminates a 100k resource file (extensions_api_resources.pak).
BUG= 638758
Committed: https://crrev.com/2d823a6736d032aa3215d1ee0994031bb0245e5b
Cr-Commit-Position: refs/heads/master@{#413200}
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+123 lines, -116 lines) |
Patch |
|
M |
build/json_schema_api.gni
|
View
|
1
|
3 chunks |
+12 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/BUILD.gn
|
View
|
|
2 chunks |
+1 line, -9 lines |
0 comments
|
Download
|
|
M |
chrome/chrome_repack_resources.gypi
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/chrome_resources.gyp
|
View
|
|
1 chunk |
+0 lines, -12 lines |
0 comments
|
Download
|
|
M |
chrome/common/BUILD.gn
|
View
|
|
1 chunk |
+0 lines, -13 lines |
0 comments
|
Download
|
|
M |
chrome/common/extensions/api/app.json
|
View
|
|
3 chunks |
+13 lines, -5 lines |
0 comments
|
Download
|
|
M |
chrome/common/extensions/api/declarative_content.json
|
View
|
|
5 chunks |
+24 lines, -4 lines |
0 comments
|
Download
|
|
M |
chrome/common/extensions/api/proxy.json
|
View
|
|
2 chunks |
+12 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/common/extensions/api/schemas.gni
|
View
|
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/common/extensions/api/schemas.gypi
|
View
|
|
1 chunk |
+24 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/common/extensions/api/tts.json
|
View
|
|
3 chunks |
+15 lines, -8 lines |
0 comments
|
Download
|
|
M |
chrome/common/extensions/api/tts_engine.json
|
View
|
|
2 chunks |
+9 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/common/extensions/api/types_private.json
|
View
|
|
3 chunks |
+7 lines, -4 lines |
0 comments
|
Download
|
|
M |
chrome/common/extensions/chrome_extensions_client.cc
|
View
|
|
2 chunks |
+0 lines, -22 lines |
0 comments
|
Download
|
|
D |
chrome/common/extensions_api_resources.grd
|
View
|
|
1 chunk |
+0 lines, -28 lines |
0 comments
|
Download
|
|
M |
tools/gritsettings/resource_ids
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
Total messages: 46 (37 generated)
|