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

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

Issue 795593004: Update mojo sdk to rev cc531b32182099a5a034a99daff35ed5d38a61c8 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More workarounds for MSVC 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
« no previous file with comments | « mojo/public/mojo_application.gni ('k') | mojo/public/python/mojo/c_async_waiter.pxd » ('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 889446f06d3929751936abd9fb566b10261e542c..6c396be396a642274c4984167c028c3c8a014838 100644
--- a/mojo/public/python/BUILD.gn
+++ b/mojo/public/python/BUILD.gn
@@ -16,19 +16,27 @@ group("python") {
# GYP version: mojo.gyp:mojo_python_system
python_binary_module("system") {
python_base_module = "mojo"
+ configs = [ "../build/config:mojo_sdk" ]
+ deps = [
+ ":system_embedded",
+ ]
+}
+
+python_binary_source_set("system_embedded") {
cython_sources = [
+ "mojo/c_async_waiter.pxd",
"mojo/c_core.pxd",
+ "mojo/c_export.pxd",
+ "mojo/c_thunks.pxd",
"mojo/system.pyx",
]
configs = [ "../build/config:mojo_sdk" ]
deps = [
":base",
- "../c/environment",
"../c/system",
- "../cpp/environment:standalone",
+ "../cpp/bindings:callback",
"../cpp/system",
"../cpp/utility",
- "../cpp/bindings:callback",
"../platform/native:system",
]
}
@@ -36,8 +44,9 @@ python_binary_module("system") {
python_binary_module("system_impl") {
python_base_module = "mojo"
cython_sources = [
- "mojo/c_core.pxd",
"mojo/c_environment.pxd",
+ "mojo/c_export.pxd",
+ "mojo/c_thunks.pxd",
"mojo/system_impl.pyx",
]
sources = [
@@ -47,16 +56,32 @@ python_binary_module("system_impl") {
configs = [ "../build/config:mojo_sdk" ]
deps = [
":base",
+ ":python_common",
"../c/environment",
"../c/system",
+ "../cpp/bindings:callback",
"../cpp/environment:standalone",
"../cpp/system",
"../cpp/utility",
- "../cpp/bindings:callback",
"../platform/native:system",
]
}
+python_binary_source_set("python_common") {
+ sources = [
+ "src/common.cc",
+ "src/common.h",
+ ]
+ configs = [ "../build/config:mojo_sdk" ]
+ deps = [
+ "../c/environment:environment",
+ "../cpp/bindings:callback",
+ "../cpp/environment:environment",
+ "../cpp/system:system",
+ "../cpp/utility",
+ ]
+}
+
copy("base") {
sources = [
"mojo/__init__.py",
« no previous file with comments | « mojo/public/mojo_application.gni ('k') | mojo/public/python/mojo/c_async_waiter.pxd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698