| 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 | 6 |
| 7 group("python") { | 7 group("python") { |
| 8 deps = [ | 8 deps = [ |
| 9 ":base", | 9 ":base", |
| 10 ":bindings", | 10 ":bindings", |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 "//mojo/public/cpp/utility", | 32 "//mojo/public/cpp/utility", |
| 33 "//mojo/public/cpp/bindings:callback", | 33 "//mojo/public/cpp/bindings:callback", |
| 34 ":base", | 34 ":base", |
| 35 ] | 35 ] |
| 36 } | 36 } |
| 37 | 37 |
| 38 copy("base") { | 38 copy("base") { |
| 39 sources = [ | 39 sources = [ |
| 40 "mojo/__init__.py", | 40 "mojo/__init__.py", |
| 41 ] | 41 ] |
| 42 outputs = [ | 42 outputs = [ "$root_out_dir/python/mojo/{{source_file_part}}" ] |
| 43 "$root_out_dir/python/mojo/{{source_file_part}}", | |
| 44 ] | |
| 45 } | 43 } |
| 46 | 44 |
| 47 # GYP version: mojo.gyp:mojo_python_bindings | 45 # GYP version: mojo.gyp:mojo_python_bindings |
| 48 copy("bindings") { | 46 copy("bindings") { |
| 49 sources = [ | 47 sources = [ |
| 50 "mojo/bindings/__init__.py", | 48 "mojo/bindings/__init__.py", |
| 51 "mojo/bindings/descriptor.py", | 49 "mojo/bindings/descriptor.py", |
| 52 "mojo/bindings/messaging.py", | 50 "mojo/bindings/messaging.py", |
| 53 "mojo/bindings/promise.py", | 51 "mojo/bindings/promise.py", |
| 54 "mojo/bindings/reflection.py", | 52 "mojo/bindings/reflection.py", |
| 55 "mojo/bindings/serialization.py", | 53 "mojo/bindings/serialization.py", |
| 56 ] | 54 ] |
| 57 outputs = [ | 55 outputs = [ "$root_out_dir/python/mojo/bindings/{{source_file_part}}" ] |
| 58 "$root_out_dir/python/mojo/bindings/{{source_file_part}}", | |
| 59 ] | |
| 60 deps = [ | 56 deps = [ |
| 61 ":base", | 57 ":base", |
| 62 ":system", | 58 ":system", |
| 63 ] | 59 ] |
| 64 } | 60 } |
| OLD | NEW |