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

Unified Diff: services/mojo_url_redirector/BUILD.gn

Issue 953353002: Add HTTP handler that redirects requests for Mojo apps (Closed) Base URL: https://github.com/domokit/mojo.git@python_data_pipe_utils
Patch Set: Created 5 years, 10 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: services/mojo_url_redirector/BUILD.gn
diff --git a/examples/python/BUILD.gn b/services/mojo_url_redirector/BUILD.gn
similarity index 66%
copy from examples/python/BUILD.gn
copy to services/mojo_url_redirector/BUILD.gn
index 4fe7ec6dd2dfa1ed403c32d6a9cb860591a86997..f2cd2e554f4d14514843e5f207fbfe61c35e4e91 100644
--- a/examples/python/BUILD.gn
+++ b/services/mojo_url_redirector/BUILD.gn
@@ -4,24 +4,21 @@
import("//mojo/public/python/rules.gni")
-group("python") {
- testonly = true
- deps = [
- ":python_example_service",
- ]
-}
-
-python_packaged_application("python_example_service") {
+python_packaged_application("mojo_url_redirector") {
sources = [
"__mojo__.py",
]
deps = [
- "//examples/apptest:bindings",
"//mojo/public/interfaces/application",
"//mojo/public/python:packaged_application",
"//mojo/public/python:packaged_bindings",
+ "//mojo/python:packaged_utils",
+ "//mojo/services/network/public/interfaces",
+ "//services/http_server/public",
]
+ debug = true
datadeps = [
+ "//mojo/public/python:mojo_system",
qsr 2015/02/25 15:34:07 I'm surprised you need this.
blundell 2015/02/26 13:29:52 Removed. I had thought I needed it from looking at
"//services/python/content_handler",
]
}

Powered by Google App Engine
This is Rietveld 408576698