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

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

Issue 782693004: Update mojo sdk to rev f6c8ec07c01deebc13178d516225fd12695c3dc2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: hack mojo_system_impl gypi for android :| 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
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 ] 13 ]
13 } 14 }
14 15
15 # GYP version: mojo.gyp:mojo_python_system 16 # GYP version: mojo.gyp:mojo_python_system
16 python_binary_module("system") { 17 python_binary_module("system") {
17 python_base_module = "mojo" 18 python_base_module = "mojo"
18 sources = [ 19 sources = [
19 "mojo/c_core.pxd", 20 "mojo/c_core.pxd",
21 "mojo/system.pyx",
22 ]
23 deps = [
24 ":base",
25 "../c/environment",
26 "../c/system:for_shared_library",
27 "../cpp/environment:standalone",
28 "../cpp/system",
29 "../cpp/utility",
30 "../cpp/bindings:callback",
31 ]
32 }
33
34 python_binary_module("system_impl") {
35 python_base_module = "mojo"
36 sources = [
37 "mojo/c_core.pxd",
20 "mojo/c_environment.pxd", 38 "mojo/c_environment.pxd",
21 "mojo/system.pyx", 39 "mojo/system_impl.pyx",
22 ] 40 ]
23 additional_sources = [ 41 additional_sources = [
24 "src/python_system_helper.cc", 42 "src/python_system_helper.cc",
25 "src/python_system_helper.h", 43 "src/python_system_helper.h",
26 ] 44 ]
27 deps = [ 45 deps = [
28 "//mojo/public/c/environment",
29 "//mojo/public/c/system:for_shared_library",
30 "//mojo/public/cpp/environment:standalone",
31 "//mojo/public/cpp/system",
32 "//mojo/public/cpp/utility",
33 "//mojo/public/cpp/bindings:callback",
34 ":base", 46 ":base",
47 "../c/environment",
48 "../c/system:for_shared_library",
49 "../cpp/environment:standalone",
50 "../cpp/system",
51 "../cpp/utility",
52 "../cpp/bindings:callback",
35 ] 53 ]
36 } 54 }
37 55
38 copy("base") { 56 copy("base") {
39 sources = [ 57 sources = [
40 "mojo/__init__.py", 58 "mojo/__init__.py",
41 ] 59 ]
42 outputs = [ 60 outputs = [
43 "$root_out_dir/python/mojo/{{source_file_part}}", 61 "$root_out_dir/python/mojo/{{source_file_part}}",
44 ] 62 ]
(...skipping 10 matching lines...) Expand all
55 "mojo/bindings/serialization.py", 73 "mojo/bindings/serialization.py",
56 ] 74 ]
57 outputs = [ 75 outputs = [
58 "$root_out_dir/python/mojo/bindings/{{source_file_part}}", 76 "$root_out_dir/python/mojo/bindings/{{source_file_part}}",
59 ] 77 ]
60 deps = [ 78 deps = [
61 ":base", 79 ":base",
62 ":system", 80 ":system",
63 ] 81 ]
64 } 82 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698