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

Unified Diff: mojo/python/BUILD.gn

Issue 843523002: Delete empty mojo python package, and prefix all python packages with mojo_ (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 months 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
Index: mojo/python/BUILD.gn
diff --git a/mojo/python/BUILD.gn b/mojo/python/BUILD.gn
index 3c71480894e8702ea207658905bfb21468865c52..fd66951768200baaa4a11d3669a105475f4ba9cd 100644
--- a/mojo/python/BUILD.gn
+++ b/mojo/python/BUILD.gn
@@ -7,36 +7,36 @@ import("//third_party/cython/rules.gni")
# 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",
]
« no previous file with comments | « mojo/public/tools/bindings/generators/python_templates/module.py.tmpl ('k') | mojo/python/system/mojo/embedder.pyx » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698