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

Side by Side Diff: mojo/public/python/BUILD.gn

Issue 814543006: Move //mojo/{public, edk} underneath //third_party (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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 unified diff | Download patch
« no previous file with comments | « mojo/public/platform/native/thunk_export.h ('k') | mojo/public/python/c_async_waiter.pxd » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 import("//third_party/cython/rules.gni")
6
7 group("python") {
8 deps = [
9 ":bindings",
10 ":mojo_system",
11 ":mojo_system_impl",
12 ]
13 }
14
15 # GYP version: mojo.gyp:mojo_python_system
16 python_binary_module("mojo_system") {
17 configs = [ "../build/config:mojo_sdk" ]
18 deps = [
19 ":system_embedded",
20 ]
21 }
22
23 python_binary_source_set("system_embedded") {
24 cython_sources = [
25 "c_async_waiter.pxd",
26 "c_core.pxd",
27 "c_export.pxd",
28 "c_thunks.pxd",
29 "mojo_system.pyx",
30 ]
31 configs = [ "../build/config:mojo_sdk" ]
32 deps = [
33 "../c/system",
34 "../cpp/bindings:callback",
35 "../cpp/system",
36 "../cpp/utility",
37 "../platform/native:system",
38 ]
39 }
40
41 python_binary_module("mojo_system_impl") {
42 cython_sources = [
43 "c_environment.pxd",
44 "c_export.pxd",
45 "c_thunks.pxd",
46 "mojo_system_impl.pyx",
47 ]
48 sources = [
49 "src/python_system_helper.cc",
50 "src/python_system_helper.h",
51 ]
52 configs = [ "../build/config:mojo_sdk" ]
53 deps = [
54 ":python_common",
55 "../c/environment",
56 "../c/system",
57 "../cpp/bindings:callback",
58 "../cpp/environment:standalone",
59 "../cpp/system",
60 "../cpp/utility",
61 "../platform/native:system",
62 ]
63 }
64
65 python_binary_source_set("python_common") {
66 sources = [
67 "src/common.cc",
68 "src/common.h",
69 ]
70 configs = [ "../build/config:mojo_sdk" ]
71 deps = [
72 "../c/environment:environment",
73 "../cpp/bindings:callback",
74 "../cpp/environment:environment",
75 "../cpp/system:system",
76 "../cpp/utility",
77 ]
78 }
79
80 # GYP version: mojo.gyp:mojo_python_bindings
81 copy("bindings") {
82 sources = [
83 "mojo_bindings/__init__.py",
84 "mojo_bindings/descriptor.py",
85 "mojo_bindings/messaging.py",
86 "mojo_bindings/promise.py",
87 "mojo_bindings/reflection.py",
88 "mojo_bindings/serialization.py",
89 ]
90 outputs = [
91 "$root_out_dir/python/mojo_bindings/{{source_file_part}}",
92 ]
93 deps = [
94 ":mojo_system",
95 ]
96 }
OLDNEW
« no previous file with comments | « mojo/public/platform/native/thunk_export.h ('k') | mojo/public/python/c_async_waiter.pxd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698