|
Mojom frontend: Start populating |resolved_concrete_value| field in mojom_types.mojom
In struct DeclaredConstant in mojom_types.mojom there is a field |resolved_concrete_value| that has been commented out and thus (obviously) not populated. The corresponding value has always been computed in the frontend Go code but we were not populating it in the intermediate representation because we were not aware of any reason to do so.
But now Vardhan will be able to use this in the new C generator. (Also I think some of the existing generators such as Dart will be able to stop computing this value themselves).
- I also added some additional tests of the existing computation of this value.
- I also fixed the name of an unrelated enum value in user_defined_types.go that I happened to notice was misnamed.
R=azani@chromium.org, vardhan@google.com
Committed: https://chromium.googlesource.com/external/mojo/+/f38d5d7e77ceb6b015d87d2d42bc4606090803df
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+410 lines, -27 lines) |
Patch |
 |
M |
mojo/dart/packages/mojo/lib/mojo/bindings/types/mojom_types.mojom.dart
|
View
|
|
4 chunks |
+16 lines, -2 lines |
0 comments
|
Download
|
 |
M |
mojo/public/interfaces/bindings/mojom_types.mojom
|
View
|
1
|
1 chunk |
+27 lines, -13 lines |
0 comments
|
Download
|
 |
M |
mojo/public/tools/bindings/mojom_tool/bin/linux64/mojom.sha1
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
mojo/public/tools/bindings/mojom_tool/bin/mac64/mojom.sha1
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
mojo/public/tools/bindings/pylib/mojom/generate/generated/mojom_types_mojom.py
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
mojom/generated/mojom_types/mojom_types.mojom.go
|
View
|
|
4 chunks |
+17 lines, -2 lines |
0 comments
|
Download
|
 |
M |
mojom/mojom_tool/integration_tests/computed_data_test.go
|
View
|
|
1 chunk |
+130 lines, -0 lines |
0 comments
|
Download
|
 |
M |
mojom/mojom_tool/integration_tests/resolution_test.go
|
View
|
|
2 chunks |
+58 lines, -0 lines |
0 comments
|
Download
|
 |
M |
mojom/mojom_tool/mojom/user_defined_types.go
|
View
|
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
mojom/mojom_tool/mojom/user_defined_types_test.go
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
mojom/mojom_tool/serialization/serialization.go
|
View
|
|
2 chunks |
+34 lines, -3 lines |
0 comments
|
Download
|
 |
M |
mojom/mojom_tool/serialization/serialization_test.go
|
View
|
|
1 chunk |
+120 lines, -0 lines |
0 comments
|
Download
|
Total messages: 9 (4 generated)
|