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

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

Issue 782693004: Update mojo sdk to rev f6c8ec07c01deebc13178d516225fd12695c3dc2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: hack mojo_system_impl gypi for android :| Created 6 years 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/public/python/BUILD.gn
diff --git a/mojo/public/python/BUILD.gn b/mojo/public/python/BUILD.gn
index 66f132f586523908d2f1ad5d8f531e82d04dc02b..70402e778102c6f4a14a68ae89df8f1feff996a2 100644
--- a/mojo/public/python/BUILD.gn
+++ b/mojo/public/python/BUILD.gn
@@ -9,6 +9,7 @@ group("python") {
":base",
":bindings",
":system",
+ ":system_impl",
]
}
@@ -17,21 +18,38 @@ python_binary_module("system") {
python_base_module = "mojo"
sources = [
"mojo/c_core.pxd",
- "mojo/c_environment.pxd",
"mojo/system.pyx",
]
+ deps = [
+ ":base",
+ "../c/environment",
+ "../c/system:for_shared_library",
+ "../cpp/environment:standalone",
+ "../cpp/system",
+ "../cpp/utility",
+ "../cpp/bindings:callback",
+ ]
+}
+
+python_binary_module("system_impl") {
+ python_base_module = "mojo"
+ sources = [
+ "mojo/c_core.pxd",
+ "mojo/c_environment.pxd",
+ "mojo/system_impl.pyx",
+ ]
additional_sources = [
"src/python_system_helper.cc",
"src/python_system_helper.h",
]
deps = [
- "//mojo/public/c/environment",
- "//mojo/public/c/system:for_shared_library",
- "//mojo/public/cpp/environment:standalone",
- "//mojo/public/cpp/system",
- "//mojo/public/cpp/utility",
- "//mojo/public/cpp/bindings:callback",
":base",
+ "../c/environment",
+ "../c/system:for_shared_library",
+ "../cpp/environment:standalone",
+ "../cpp/system",
+ "../cpp/utility",
+ "../cpp/bindings:callback",
]
}

Powered by Google App Engine
This is Rietveld 408576698