| 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("../mojo_sdk.gni") | 5 import("../mojo_sdk.gni") |
| 6 import("//third_party/cython/rules.gni") | 6 import("//third_party/cython/rules.gni") |
| 7 import("rules.gni") | 7 import("rules.gni") |
| 8 | 8 |
| 9 group("python") { | 9 group("python") { |
| 10 deps = [ | 10 deps = [ |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 "c_core.pxd", | 28 "c_core.pxd", |
| 29 "c_export.pxd", | 29 "c_export.pxd", |
| 30 "c_thunks.pxd", | 30 "c_thunks.pxd", |
| 31 "mojo_system.pyx", | 31 "mojo_system.pyx", |
| 32 ] | 32 ] |
| 33 configs = [ "../build/config:mojo_sdk" ] | 33 configs = [ "../build/config:mojo_sdk" ] |
| 34 deps = [ | 34 deps = [ |
| 35 "../cpp/bindings:callback", | 35 "../cpp/bindings:callback", |
| 36 "../cpp/system", | 36 "../cpp/system", |
| 37 "../cpp/utility", | 37 "../cpp/utility", |
| 38 "../platform/native:system", | 38 "../platform/native:system_thunks", |
| 39 ] | 39 ] |
| 40 public_deps = [ | 40 public_deps = [ |
| 41 "../c:system", | 41 "../c:system", |
| 42 ] | 42 ] |
| 43 } | 43 } |
| 44 | 44 |
| 45 python_binary_module("mojo_system_impl") { | 45 python_binary_module("mojo_system_impl") { |
| 46 cython_sources = [ | 46 cython_sources = [ |
| 47 "c_environment.pxd", | 47 "c_environment.pxd", |
| 48 "c_export.pxd", | 48 "c_export.pxd", |
| 49 "c_thunks.pxd", | 49 "c_thunks.pxd", |
| 50 "mojo_system_impl.pyx", | 50 "mojo_system_impl.pyx", |
| 51 ] | 51 ] |
| 52 sources = [ | 52 sources = [ |
| 53 "src/python_system_helper.cc", | 53 "src/python_system_helper.cc", |
| 54 "src/python_system_helper.h", | 54 "src/python_system_helper.h", |
| 55 ] | 55 ] |
| 56 configs = [ "../build/config:mojo_sdk" ] | 56 configs = [ "../build/config:mojo_sdk" ] |
| 57 deps = [ | 57 deps = [ |
| 58 ":python_common", | 58 ":python_common", |
| 59 "../c:environment", | 59 "../c:environment", |
| 60 "../c:system", | 60 "../c:system", |
| 61 "../cpp/bindings:callback", | 61 "../cpp/bindings:callback", |
| 62 "../cpp/environment:standalone", | 62 "../cpp/environment:standalone", |
| 63 "../cpp/system", | 63 "../cpp/system", |
| 64 "../cpp/utility", | 64 "../cpp/utility", |
| 65 "../platform/native:system", | 65 "../platform/native:system_thunks", |
| 66 ] | 66 ] |
| 67 } | 67 } |
| 68 | 68 |
| 69 python_binary_source_set("python_common") { | 69 python_binary_source_set("python_common") { |
| 70 sources = [ | 70 sources = [ |
| 71 "src/common.cc", | 71 "src/common.cc", |
| 72 "src/common.h", | 72 "src/common.h", |
| 73 ] | 73 ] |
| 74 configs = [ "../build/config:mojo_sdk" ] | 74 configs = [ "../build/config:mojo_sdk" ] |
| 75 deps = [ | 75 deps = [ |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 "mojo_bindings/messaging.py", | 152 "mojo_bindings/messaging.py", |
| 153 "mojo_bindings/promise.py", | 153 "mojo_bindings/promise.py", |
| 154 "mojo_bindings/reflection.py", | 154 "mojo_bindings/reflection.py", |
| 155 "mojo_bindings/serialization.py", | 155 "mojo_bindings/serialization.py", |
| 156 ] | 156 ] |
| 157 | 157 |
| 158 deps = [ | 158 deps = [ |
| 159 "../interfaces/bindings:bindings_python", | 159 "../interfaces/bindings:bindings_python", |
| 160 ] | 160 ] |
| 161 } | 161 } |
| OLD | NEW |