Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1698)

Side by Side Diff: mojo/python/BUILD.gn

Issue 796373006: Content handler for python. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 # GYP version: mojo/mojo.gyp:mojo_python 7 # GYP version: mojo/mojo.gyp:mojo_python
8 group("python") { 8 group("python") {
9 deps = [ 9 deps = [
10 ":embedder", 10 ":embedder",
11 ":validation_util", 11 ":validation_util",
12 "//mojo/public/python", 12 "//mojo/public/python",
13 "//mojo/python/content_handler",
13 ] 14 ]
14 } 15 }
15 16
16 # GYP version: mojo/mojo.gyp:mojo_python_embedder 17 # GYP version: mojo/mojo.gyp:mojo_python_embedder
17 python_binary_module("embedder") { 18 python_binary_module("embedder") {
18 python_base_module = "mojo" 19 python_base_module = "mojo"
19 cython_sources = [ "system/mojo/embedder.pyx" ] 20 cython_sources = [ "system/mojo/embedder.pyx" ]
20 deps = [ 21 deps = [
21 "//mojo/edk/system", 22 "//mojo/edk/system",
22 ] 23 ]
23 datadeps = [ 24 datadeps = [
24 "//mojo/public/python:system", 25 "//mojo/public/python:system",
25 ] 26 ]
26 } 27 }
27 28
28 copy("tests_module") { 29 copy("tests_module") {
29 sources = [ 30 sources = [
30 "system/mojo/tests/__init__.py", 31 "system/mojo/tests/__init__.py",
31 ] 32 ]
32 outputs = [ 33 outputs = [
33 "$root_out_dir/python/mojo/tests/{{source_file_part}}", 34 "$root_out_dir/python/mojo/tests/{{source_file_part}}",
34 ] 35 ]
35 } 36 }
36 37
37 python_binary_module("validation_util") { 38 python_binary_module("validation_util") {
38 python_base_module = "mojo/tests" 39 python_base_module = "mojo/tests"
39 cython_sources = [ "system/mojo/tests/validation_util.pyx" ] 40 cython_sources = [ "system/mojo/tests/validation_util.pyx" ]
40 deps = [ 41 deps = [
41 "//mojo/public/cpp/bindings/tests:mojo_public_bindings_test_utils", 42 "//mojo/public/cpp/bindings/tests:mojo_public_bindings_test_utils",
43 "//mojo/public/interfaces/bindings/tests:test_interfaces_python",
qsr 2015/01/07 15:14:45 Is this needed?
etiennej 2015/01/08 11:23:13 Done.
44 "//mojo/services/accessibility/public/interfaces:interfaces_python",
42 ] 45 ]
43 datadeps = [ 46 datadeps = [
44 ":tests_module", 47 ":tests_module",
45 ] 48 ]
46 } 49 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698