OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//third_party/cython/rules.gni") | 5 import("//third_party/cython/rules.gni") |
6 import("rules.gni") | |
7 | 6 |
8 group("python") { | 7 group("python") { |
9 deps = [ | 8 deps = [ |
10 ":bindings", | 9 ":bindings", |
11 ":mojo_system", | 10 ":mojo_system", |
12 ":mojo_system_impl", | 11 ":mojo_system_impl", |
13 ] | 12 ] |
14 } | 13 } |
15 | 14 |
16 # GYP version: mojo.gyp:mojo_python_system | 15 # GYP version: mojo.gyp:mojo_python_system |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 "mojo_bindings/reflection.py", | 87 "mojo_bindings/reflection.py", |
89 "mojo_bindings/serialization.py", | 88 "mojo_bindings/serialization.py", |
90 ] | 89 ] |
91 outputs = [ | 90 outputs = [ |
92 "$root_out_dir/python/mojo_bindings/{{source_file_part}}", | 91 "$root_out_dir/python/mojo_bindings/{{source_file_part}}", |
93 ] | 92 ] |
94 deps = [ | 93 deps = [ |
95 ":mojo_system", | 94 ":mojo_system", |
96 ] | 95 ] |
97 } | 96 } |
98 | |
99 python_package("packaged_bindings") { | |
100 sources = [ | |
101 "mojo_bindings/__init__.py", | |
102 "mojo_bindings/descriptor.py", | |
103 "mojo_bindings/messaging.py", | |
104 "mojo_bindings/promise.py", | |
105 "mojo_bindings/reflection.py", | |
106 "mojo_bindings/serialization.py", | |
107 ] | |
108 } | |
OLD | NEW |