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

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

Issue 812543002: Update from https://crrev.com/308331 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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
« no previous file with comments | « mojo/converters/surfaces/surfaces_type_converters.cc ('k') | mojo/python/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 group("python") { 7 group("python") {
8 deps = [ 8 deps = [
9 ":base", 9 ":base",
10 ":bindings", 10 ":bindings",
11 ":system", 11 ":system",
12 ":system_impl", 12 ":system_impl",
13 ] 13 ]
14 } 14 }
15 15
16 # GYP version: mojo.gyp:mojo_python_system 16 # GYP version: mojo.gyp:mojo_python_system
17 python_binary_module("system") { 17 python_binary_module("system") {
18 python_base_module = "mojo" 18 python_base_module = "mojo"
19 sources = [ 19 cython_sources = [
20 "mojo/c_core.pxd", 20 "mojo/c_core.pxd",
21 "mojo/system.pyx", 21 "mojo/system.pyx",
22 ] 22 ]
23 configs = [ "../build/config:mojo_sdk" ]
24 deps = [ 23 deps = [
25 ":base", 24 ":base",
26 "../c/environment", 25 "../c/environment",
27 "../c/system", 26 "../c/system:for_shared_library",
28 "../cpp/environment:standalone", 27 "../cpp/environment:standalone",
29 "../cpp/system", 28 "../cpp/system",
30 "../cpp/utility", 29 "../cpp/utility",
31 "../cpp/bindings:callback", 30 "../cpp/bindings:callback",
32 "../platform/native:system",
33 ] 31 ]
34 } 32 }
35 33
36 python_binary_module("system_impl") { 34 python_binary_module("system_impl") {
37 python_base_module = "mojo" 35 python_base_module = "mojo"
38 sources = [ 36 cython_sources = [
39 "mojo/c_core.pxd", 37 "mojo/c_core.pxd",
40 "mojo/c_environment.pxd", 38 "mojo/c_environment.pxd",
41 "mojo/system_impl.pyx", 39 "mojo/system_impl.pyx",
42 ] 40 ]
43 additional_sources = [ 41 sources = [
44 "src/python_system_helper.cc", 42 "src/python_system_helper.cc",
45 "src/python_system_helper.h", 43 "src/python_system_helper.h",
46 ] 44 ]
47 configs = [ "../build/config:mojo_sdk" ]
48 deps = [ 45 deps = [
49 ":base", 46 ":base",
50 "../c/environment", 47 "../c/environment",
51 "../c/system", 48 "../c/system:for_shared_library",
52 "../cpp/environment:standalone", 49 "../cpp/environment:standalone",
53 "../cpp/system", 50 "../cpp/system",
54 "../cpp/utility", 51 "../cpp/utility",
55 "../cpp/bindings:callback", 52 "../cpp/bindings:callback",
56 "../platform/native:system",
57 ] 53 ]
58 } 54 }
59 55
60 copy("base") { 56 copy("base") {
61 sources = [ 57 sources = [
62 "mojo/__init__.py", 58 "mojo/__init__.py",
63 ] 59 ]
64 outputs = [ 60 outputs = [
65 "$root_out_dir/python/mojo/{{source_file_part}}", 61 "$root_out_dir/python/mojo/{{source_file_part}}",
66 ] 62 ]
(...skipping 10 matching lines...) Expand all
77 "mojo/bindings/serialization.py", 73 "mojo/bindings/serialization.py",
78 ] 74 ]
79 outputs = [ 75 outputs = [
80 "$root_out_dir/python/mojo/bindings/{{source_file_part}}", 76 "$root_out_dir/python/mojo/bindings/{{source_file_part}}",
81 ] 77 ]
82 deps = [ 78 deps = [
83 ":base", 79 ":base",
84 ":system", 80 ":system",
85 ] 81 ]
86 } 82 }
OLDNEW
« no previous file with comments | « mojo/converters/surfaces/surfaces_type_converters.cc ('k') | mojo/python/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698