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

Unified Diff: mojo/python/content_handler/BUILD.gn

Issue 796373006: 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 side-by-side diff with in-line comments
Download patch
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",
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698