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 ":embedder", | 9 ":embedder", |
10 ] | 10 ] |
11 } | 11 } |
12 | 12 |
13 group("tests") { | |
14 deps = [ | |
15 "//mojo/python/tests", | |
16 ] | |
17 } | |
18 python_binary_module("embedder") { | 13 python_binary_module("embedder") { |
19 python_base_module = "mojo" | 14 python_base_module = "mojo" |
20 sources = [ | 15 sources = [ |
21 "system/mojo/embedder.pyx", | 16 "system/mojo/embedder.pyx", |
22 ] | 17 ] |
23 deps = [ | 18 deps = [ |
24 "//mojo/system", | 19 "//mojo/system", |
25 ] | 20 ] |
26 datadeps = [ | 21 datadeps = [ |
27 "//mojo/public/python:system", | 22 "//mojo/public/python:system", |
28 ] | 23 ] |
29 } | 24 } |
OLD | NEW |