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

Unified Diff: examples/python/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: examples/python/BUILD.gn
diff --git a/examples/python/BUILD.gn b/examples/python/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..0cf54ac51bfa0acb1cac9ed8f63ea473d30a858c
--- /dev/null
+++ b/examples/python/BUILD.gn
@@ -0,0 +1,30 @@
+# Copyright 2015 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("//mojo/public/python/rules.gni")
+
+group("python") {
+ testonly = true
+ deps = [
+ ":python_example_service",
+ ]
+}
+
+python_packaged_application("python_example_service") {
+ sources = [
+ "__mojo__.py",
+ ]
+ mojom_deps = [
+ "//examples/apptest:bindings",
+ "//mojo/public/interfaces/application",
+ ]
+ deps = [
+ "//mojo/public/python:packaged_bindings",
+ ]
+ datadeps = [
+ "//mojo/python/content_handler",
+ ]
+}
« no previous file with comments | « examples/BUILD.gn ('k') | examples/python/__mojo__.py » ('j') | examples/python/__mojo__.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698