| Index: mojo/python/content_handler/BUILD.gn
|
| diff --git a/mojo/python/content_handler/BUILD.gn b/mojo/python/content_handler/BUILD.gn
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..5c185e8a45cd50ece5c32afba93c6234121f1f67
|
| --- /dev/null
|
| +++ b/mojo/python/content_handler/BUILD.gn
|
| @@ -0,0 +1,59 @@
|
| +# Copyright 2014 The Chromium Authors. All rights reserved.
|
| +# Use of this source code is governed by a BSD-style license that can be
|
| +# found in the LICENSE file.
|
| +
|
| +import("//mojo/public/mojo_application.gni")
|
| +import("//mojo/public/tools/bindings/mojom.gni")
|
| +import("//third_party/cython/rules.gni")
|
| +
|
| +mojo_native_application("content_handler") {
|
| + output_name = "py_content_handler"
|
| + deps = [
|
| + ":content_handler_src",
|
| + ]
|
| +}
|
| +
|
| +python_binary_source_set("content_handler_src") {
|
| + sources = [
|
| + "content_handler_main.cc",
|
| + ]
|
| + deps = [
|
| + ":mojo_system_impl",
|
| + "//base",
|
| + "//base:i18n",
|
| + "//mojo/application",
|
| + "//mojo/application:application",
|
| + "//mojo/application:content_handler",
|
| + "//mojo/environment:chromium",
|
| + "//mojo/common",
|
| + "//mojo/public/c/system:for_shared_library",
|
| + "//mojo/public/cpp/utility",
|
| + "//mojo/public/python:system_embedded",
|
| + "//mojo/public/python:python_common",
|
| + "//mojo/services/content_handler/public/interfaces",
|
| + "//third_party/zlib:zip",
|
| + ]
|
| +}
|
| +
|
| +python_binary_source_set("mojo_system_impl") {
|
| + cython_sources = [
|
| + "c_async_waiter.pxd",
|
| + "c_base.pxd",
|
| + "c_export.pxd",
|
| + "mojo_system_impl.pyx",
|
| + ]
|
| + sources = [
|
| + "python_system_impl_helper.cc",
|
| + "python_system_impl_helper.h",
|
| + ]
|
| + deps = [
|
| + "//base",
|
| + "//mojo/environment:chromium",
|
| + "//mojo/common",
|
| + "//mojo/public/c/system:for_shared_library",
|
| + "//mojo/public/cpp/system",
|
| + "//mojo/public/cpp/utility",
|
| + "//mojo/public/cpp/bindings:callback",
|
| + "//mojo/public/python:python_common",
|
| + ]
|
| +}
|
|
|