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

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

Issue 855043003: Revert "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
« no previous file with comments | « mojo/python/BUILD.gn ('k') | mojo/python/content_handler/DEPS » ('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("//mojo/public/mojo_application.gni")
6 import("//mojo/public/tools/bindings/mojom.gni")
7 import("//third_party/cython/rules.gni")
8
9 mojo_native_application("content_handler") {
10 output_name = "py_content_handler"
11 deps = [
12 ":content_handler_src",
13 ]
14 }
15
16 python_binary_source_set("content_handler_src") {
17 sources = [
18 "content_handler_main.cc",
19 ]
20 deps = [
21 ":mojo_system_impl",
22 "//base",
23 "//base:i18n",
24 "//mojo/application",
25 "//mojo/application:application",
26 "//mojo/application:content_handler",
27 "//mojo/environment:chromium",
28 "//mojo/common",
29 "//mojo/public/c/system:for_shared_library",
30 "//mojo/public/cpp/utility",
31 "//mojo/public/python:system_embedded",
32 "//mojo/public/python:python_common",
33 "//mojo/services/content_handler/public/interfaces",
34 "//third_party/zlib:zip",
35 ]
36 }
37
38 copy("common_system_pxd") {
39 visibility = [ ":mojo_system_impl" ]
40 sources = [
41 "//mojo/public/python/c_async_waiter.pxd",
42 "//mojo/public/python/c_export.pxd",
43 ]
44 outputs = [
45 "$target_gen_dir/{{source_file_part}}",
46 ]
47 }
48
49 python_binary_source_set("mojo_system_impl") {
50 cython_sources = [
51 "c_base.pxd",
52 "$target_gen_dir/c_async_waiter.pxd",
53 "$target_gen_dir/c_export.pxd",
54 "mojo_system_impl.pyx",
55 ]
56 sources = [
57 "python_system_impl_helper.cc",
58 "python_system_impl_helper.h",
59 ]
60 deps = [
61 "//base",
62 "//mojo/environment:chromium",
63 "//mojo/common",
64 "//mojo/public/c/system:for_shared_library",
65 "//mojo/public/cpp/system",
66 "//mojo/public/cpp/utility",
67 "//mojo/public/cpp/bindings:callback",
68 "//mojo/public/python:python_common",
69 ]
70 }
OLDNEW
« no previous file with comments | « mojo/python/BUILD.gn ('k') | mojo/python/content_handler/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698