|
Mojo: Include "path/to/foo.mojom.h"
Given path/to/foo.mojom, change the code generator to output:
<(SHARED_INTERMEDIATE_DIR)/path/to/foo.mojom.cc
<(SHARED_INTERMEDIATE_DIR)/path/to/foo.mojom.h
<(SHARED_INTERMEDIATE_DIR)/path/to/foo.mojom-internal.h
This involves shelling out to a python script to compute "path/to" part as that is not otherwise available from GYP. See build/inverse_depth.py.
DEPTH is now passed to mojom_bindings_generator.py so that it can similarly compute "path/to". With that, we no longer need the include_dir argument, so I dropped it.
R=davemoore@chromium.org, mark@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=253937
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+91 lines, -117 lines) |
Patch |
|
A |
build/inverse_depth.py
|
View
|
1
2
3
4
5
6
|
1 chunk |
+24 lines, -0 lines |
0 comments
|
Download
|
|
M |
mojo/examples/aura_demo/aura_demo.cc
|
View
|
1
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
mojo/examples/aura_demo/window_tree_host_mojo.h
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
mojo/examples/compositor_app/compositor_app.cc
|
View
|
1
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
mojo/examples/launcher/launcher.cc
|
View
|
1
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
mojo/examples/sample_app/gles2_client_impl.h
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
mojo/examples/sample_app/sample_app.cc
|
View
|
1
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
mojo/examples/view_manager/view_manager.cc
|
View
|
1
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
mojo/gles2/command_buffer_client_impl.h
|
View
|
1
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
mojo/mojo_public.gypi
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
A + |
mojo/public/bindings/generators/cpp_templates/module-internal.h.tmpl
|
View
|
1
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
mojo/public/bindings/generators/cpp_templates/module.h.tmpl
|
View
|
1
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
mojo/public/bindings/generators/cpp_templates/module_internal.h.tmpl
|
View
|
1
|
1 chunk |
+0 lines, -37 lines |
0 comments
|
Download
|
|
M |
mojo/public/bindings/generators/mojom_cpp_generator.py
|
View
|
1
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
mojo/public/bindings/mojom_bindings_generator.gypi
|
View
|
1
2
3
|
3 chunks |
+10 lines, -11 lines |
0 comments
|
Download
|
|
M |
mojo/public/bindings/mojom_bindings_generator.py
|
View
|
1
2
3
4
5
|
3 chunks |
+13 lines, -5 lines |
0 comments
|
Download
|
|
M |
mojo/public/bindings/pylib/generate/mojom.py
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
mojo/public/bindings/pylib/generate/mojom_generator.py
|
View
|
1
2
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
mojo/public/bindings/tests/handle_passing_unittest.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
mojo/public/bindings/tests/remote_ptr_unittest.cc
|
View
|
1
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
mojo/public/bindings/tests/sample_service_unittest.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
mojo/public/bindings/tests/type_conversion_unittest.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
mojo/public/shell/application.h
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
D |
mojo/public/shell/lib/shell.mojom
|
View
|
1
2
3
4
5
|
1 chunk |
+0 lines, -19 lines |
0 comments
|
Download
|
|
M |
mojo/public/shell/service.h
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
A + |
mojo/public/shell/shell.mojom
|
View
|
1
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
|
M |
mojo/services/gles2/command_buffer_impl.h
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
mojo/services/gles2/command_buffer_type_conversions.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
mojo/services/native_viewport/geometry_conversions.h
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
mojo/services/native_viewport/native_viewport_service.cc
|
View
|
1
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
mojo/shell/dynamic_service_loader.h
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
mojo/shell/dynamic_service_loader.cc
|
View
|
1
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
mojo/shell/service_manager.h
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
mojo/shell/service_manager.cc
|
View
|
1
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
mojo/shell/service_manager_unittest.cc
|
View
|
1
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
Total messages: 5 (0 generated)
|