| OLD | NEW |
| (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 ":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/services/content_handler/public/interfaces", |
| 33 "//third_party/zlib:zip", |
| 34 ] |
| 35 } |
| 36 |
| 37 python_binary_source_set("system_impl") { |
| 38 cython_sources = [ |
| 39 "c_async_waiter.pxd", |
| 40 "c_base.pxd", |
| 41 "c_export.pxd", |
| 42 "system_impl.pyx", |
| 43 ] |
| 44 sources = [ |
| 45 "python_system_impl_helper.cc", |
| 46 "python_system_impl_helper.h", |
| 47 ] |
| 48 deps = [ |
| 49 "//base", |
| 50 "//mojo/environment:chromium", |
| 51 "//mojo/common", |
| 52 "//mojo/public/c/system:for_shared_library", |
| 53 "//mojo/public/cpp/system", |
| 54 "//mojo/public/cpp/utility", |
| 55 "//mojo/public/cpp/bindings:callback", |
| 56 "//mojo/public/python:python_common", |
| 57 ] |
| 58 } |
| OLD | NEW |