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

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

Issue 952223002: Add Python util to read from a data pipe into a bytearray (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Add comments Created 5 years, 9 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("//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
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 }
OLDNEW
« no previous file with comments | « no previous file | mojo/python/mojo_utils/__init__.py » ('j') | mojo/python/mojo_utils/data_pipe_utils.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698