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

Unified Diff: services/python/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: Response to review 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
« no previous file with comments | « services/python/BUILD.gn ('k') | services/python/mojo_url_redirector/__mojo__.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/python/mojo_url_redirector/BUILD.gn
diff --git a/examples/python/BUILD.gn b/services/python/mojo_url_redirector/BUILD.gn
similarity index 70%
copy from examples/python/BUILD.gn
copy to services/python/mojo_url_redirector/BUILD.gn
index 4fe7ec6dd2dfa1ed403c32d6a9cb860591a86997..21a09dd1ec748bbc93cc9aba189d92891653e3ad 100644
--- a/examples/python/BUILD.gn
+++ b/services/python/mojo_url_redirector/BUILD.gn
@@ -4,24 +4,20 @@
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",
]
datadeps = [
"//services/python/content_handler",
]
+ debug = true
}
« no previous file with comments | « services/python/BUILD.gn ('k') | services/python/mojo_url_redirector/__mojo__.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698