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", |
11 ":system", | 11 ":system", |
12 ] | 12 ] |
13 } | 13 } |
14 | 14 |
15 # GYP version: mojo.gyp:mojo_python_system | 15 # GYP version: mojo.gyp:mojo_python_system |
16 python_binary_module("system") { | 16 python_binary_module("system") { |
17 python_base_module = "mojo" | 17 python_base_module = "mojo" |
18 sources = [ | 18 sources = [ |
19 "mojo/c_core.pxd", | 19 "mojo/c_core.pxd", |
20 "mojo/c_environment.pxd", | 20 "mojo/c_environment.pxd", |
21 "mojo/system.pyx", | 21 "mojo/system.pyx", |
22 ] | 22 ] |
23 additional_sources = [ | 23 additional_sources = [ |
24 "src/python_system_helper.cc", | 24 "src/python_system_helper.cc", |
25 "src/python_system_helper.h", | 25 "src/python_system_helper.h", |
26 ] | 26 ] |
27 deps = [ | 27 deps = [ |
28 "//mojo/public/c/system", | 28 "//mojo/public/c/environment", |
| 29 "//mojo/public/c/system:for_shared_library", |
29 "//mojo/public/cpp/environment:standalone", | 30 "//mojo/public/cpp/environment:standalone", |
| 31 "//mojo/public/cpp/system", |
30 "//mojo/public/cpp/utility", | 32 "//mojo/public/cpp/utility", |
| 33 "//mojo/public/cpp/bindings:callback", |
31 ":base", | 34 ":base", |
32 ] | 35 ] |
33 } | 36 } |
34 | 37 |
35 copy("base") { | 38 copy("base") { |
36 sources = [ | 39 sources = [ |
37 "mojo/__init__.py", | 40 "mojo/__init__.py", |
38 ] | 41 ] |
39 outputs = [ | 42 outputs = [ |
40 "$root_out_dir/python/mojo/{{source_file_part}}", | 43 "$root_out_dir/python/mojo/{{source_file_part}}", |
(...skipping 10 matching lines...) Expand all Loading... |
51 "mojo/bindings/serialization.py", | 54 "mojo/bindings/serialization.py", |
52 ] | 55 ] |
53 outputs = [ | 56 outputs = [ |
54 "$root_out_dir/python/mojo/bindings/{{source_file_part}}", | 57 "$root_out_dir/python/mojo/bindings/{{source_file_part}}", |
55 ] | 58 ] |
56 deps = [ | 59 deps = [ |
57 ":base", | 60 ":base", |
58 ":system", | 61 ":system", |
59 ] | 62 ] |
60 } | 63 } |
OLD | NEW |