| 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/public/python/rules.gni") |
| 5 import("//third_party/cython/rules.gni") | 6 import("//third_party/cython/rules.gni") |
| 6 | 7 |
| 7 # GYP version: mojo/mojo.gyp:mojo_python | 8 # GYP version: mojo/mojo.gyp:mojo_python |
| 8 group("python") { | 9 group("python") { |
| 9 deps = [ | 10 deps = [ |
| 10 ":mojo_embedder", | 11 ":mojo_embedder", |
| 12 ":packaged_utils", |
| 11 ":validation_util", | 13 ":validation_util", |
| 12 "//mojo/public/python", | 14 "//mojo/public/python", |
| 13 ] | 15 ] |
| 14 } | 16 } |
| 15 | 17 |
| 18 python_package("packaged_utils") { |
| 19 sources = [ |
| 20 "mojo_utils/__init__.py", |
| 21 "mojo_utils/data_pipe_utils.py", |
| 22 ] |
| 23 datadeps = [ |
| 24 "//mojo/public/python:mojo_system", |
| 25 ] |
| 26 } |
| 27 |
| 16 # GYP version: mojo/mojo.gyp:mojo_python_embedder | 28 # GYP version: mojo/mojo.gyp:mojo_python_embedder |
| 17 python_binary_module("mojo_embedder") { | 29 python_binary_module("mojo_embedder") { |
| 18 cython_sources = [ "system/mojo_embedder.pyx" ] | 30 cython_sources = [ "system/mojo_embedder.pyx" ] |
| 19 deps = [ | 31 deps = [ |
| 20 "//mojo/edk/system", | 32 "//mojo/edk/system", |
| 21 ] | 33 ] |
| 22 datadeps = [ | 34 datadeps = [ |
| 23 "//mojo/public/python:mojo_system", | 35 "//mojo/public/python:mojo_system", |
| 24 ] | 36 ] |
| 25 } | 37 } |
| (...skipping 10 matching lines...) Expand all Loading... |
| 36 python_binary_module("validation_util") { | 48 python_binary_module("validation_util") { |
| 37 python_base_module = "mojo_tests" | 49 python_base_module = "mojo_tests" |
| 38 cython_sources = [ "system/mojo_tests/validation_util.pyx" ] | 50 cython_sources = [ "system/mojo_tests/validation_util.pyx" ] |
| 39 deps = [ | 51 deps = [ |
| 40 "//mojo/public/cpp/bindings/tests:mojo_public_bindings_test_utils", | 52 "//mojo/public/cpp/bindings/tests:mojo_public_bindings_test_utils", |
| 41 ] | 53 ] |
| 42 datadeps = [ | 54 datadeps = [ |
| 43 ":tests_module", | 55 ":tests_module", |
| 44 ] | 56 ] |
| 45 } | 57 } |
| OLD | NEW |