Index: mojo/python/BUILD.gn |
diff --git a/mojo/python/BUILD.gn b/mojo/python/BUILD.gn |
index 7b07f4f2e5d1e0400c2055fab17f84323164dfa8..f96c2ccfab70dcc9529d732c1a402ab89b52cbc0 100644 |
--- a/mojo/python/BUILD.gn |
+++ b/mojo/python/BUILD.gn |
@@ -8,6 +8,7 @@ import("//third_party/cython/rules.gni") |
group("python") { |
deps = [ |
":embedder", |
+ ":validation_util", |
"//mojo/public/python", |
] |
} |
@@ -25,3 +26,25 @@ python_binary_module("embedder") { |
"//mojo/public/python:system", |
] |
} |
+ |
+copy("tests_module") { |
+ sources = [ |
+ "system/mojo/tests/__init__.py", |
+ ] |
+ outputs = [ |
+ "$root_out_dir/python/mojo/tests/{{source_file_part}}", |
+ ] |
+} |
+ |
+python_binary_module("validation_util") { |
+ python_base_module = "mojo/tests" |
+ sources = [ |
+ "system/mojo/tests/validation_util.pyx", |
+ ] |
+ deps = [ |
+ "//mojo/public/cpp/bindings/tests:mojo_public_bindings_test_utils", |
+ ] |
+ datadeps = [ |
+ ":tests_module", |
+ ] |
+} |