Delete empty mojo python package, and prefix all python packages with mojo_
R=qsr@chromium.org, qsr
Review URL: https://codereview.chromium.org/843523002
diff --git a/mojo/python/BUILD.gn b/mojo/python/BUILD.gn
index 3c71480..fd66951 100644
--- a/mojo/python/BUILD.gn
+++ b/mojo/python/BUILD.gn
@@ -7,36 +7,36 @@
# GYP version: mojo/mojo.gyp:mojo_python
group("python") {
deps = [
- ":embedder",
+ ":mojo_embedder",
":validation_util",
"//mojo/public/python",
]
}
# GYP version: mojo/mojo.gyp:mojo_python_embedder
-python_binary_module("embedder") {
- python_base_module = "mojo"
- cython_sources = [ "system/mojo/embedder.pyx" ]
+python_binary_module("mojo_embedder") {
+ python_base_module = ""
+ cython_sources = [ "system/mojo_embedder.pyx" ]
deps = [
"//mojo/edk/system",
]
datadeps = [
- "//mojo/public/python:system",
+ "//mojo/public/python:mojo_system",
]
}
copy("tests_module") {
sources = [
- "system/mojo/tests/__init__.py",
+ "system/mojo_tests/__init__.py",
]
outputs = [
- "$root_out_dir/python/mojo/tests/{{source_file_part}}",
+ "$root_out_dir/python/mojo_tests/{{source_file_part}}",
]
}
python_binary_module("validation_util") {
- python_base_module = "mojo/tests"
- cython_sources = [ "system/mojo/tests/validation_util.pyx" ]
+ python_base_module = "mojo_tests"
+ cython_sources = [ "system/mojo_tests/validation_util.pyx" ]
deps = [
"//mojo/public/cpp/bindings/tests:mojo_public_bindings_test_utils",
]