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

Unified Diff: mojo/public/python/BUILD.gn

Issue 1413343006: Break the circular dependency in the new mojom bindings generation pipeline. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Rename the file that is broken in the index. Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | mojo/public/tools/bindings/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/python/BUILD.gn
diff --git a/mojo/public/python/BUILD.gn b/mojo/public/python/BUILD.gn
index 5fe296cea696941cfa563cad6e6172e6ec4f4372..01de7f45dbcbdc396dc6b96d72fe27878879f084 100644
--- a/mojo/public/python/BUILD.gn
+++ b/mojo/public/python/BUILD.gn
@@ -115,7 +115,16 @@ action("import_interface_bindings") {
deps = mojom_deps
}
-copy("bindings") {
+group("bindings") {
+ deps = [
+ ":import_interface_bindings",
+ ":serialization_bindings",
+ ]
+}
+
+# This target lists dependencies needed to use generated mojom files for
+# serialization/deserialization only, but not the full mojo application stack.
+copy("serialization_bindings") {
sources = [
"mojo_bindings/__init__.py",
"mojo_bindings/descriptor.py",
@@ -129,7 +138,6 @@ copy("bindings") {
"$root_out_dir/python/mojo_bindings/{{source_file_part}}",
]
deps = [
- ":import_interface_bindings",
":mojo_system",
]
}
« no previous file with comments | « no previous file | mojo/public/tools/bindings/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698