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

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

Issue 377293002: Core mojo API for python. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix dependency issue Created 6 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « mojo/public/BUILD.gn ('k') | mojo/public/python/mojo/__init__.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 # found in the LICENSE file.
4
5 import("//third_party/cython/rules.gni")
6
7 group("python") {
8 deps = [
9 ":base",
10 ":system",
11 ]
12 }
13
14 python_binary_module("system") {
15 python_base_module = "mojo"
16 sources = [
17 "mojo/c_core.pxd",
18 "mojo/system.pyx",
19 ]
20 deps = [
21 "//mojo/public/c/system",
22 ":base",
23 ]
24 }
25
26 copy("base") {
27 sources = [
28 "mojo/__init__.py",
29 ]
30 outputs = [
31 "$root_out_dir/python/mojo/__init__.py",
32 ]
33 }
OLDNEW
« no previous file with comments | « mojo/public/BUILD.gn ('k') | mojo/public/python/mojo/__init__.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698