| 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") |
| 6 | 7 |
| 7 group("python") { | 8 group("python") { |
| 8 deps = [ | 9 deps = [ |
| 9 ":bindings", | 10 ":bindings", |
| 10 ":mojo_system", | 11 ":mojo_system", |
| 11 ":mojo_system_impl", | 12 ":mojo_system_impl", |
| 12 ] | 13 ] |
| 13 } | 14 } |
| 14 | 15 |
| 15 # GYP version: mojo.gyp:mojo_python_system | 16 # GYP version: mojo.gyp:mojo_python_system |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 "mojo_bindings/reflection.py", | 88 "mojo_bindings/reflection.py", |
| 88 "mojo_bindings/serialization.py", | 89 "mojo_bindings/serialization.py", |
| 89 ] | 90 ] |
| 90 outputs = [ | 91 outputs = [ |
| 91 "$root_out_dir/python/mojo_bindings/{{source_file_part}}", | 92 "$root_out_dir/python/mojo_bindings/{{source_file_part}}", |
| 92 ] | 93 ] |
| 93 deps = [ | 94 deps = [ |
| 94 ":mojo_system", | 95 ":mojo_system", |
| 95 ] | 96 ] |
| 96 } | 97 } |
| 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 |