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

Unified Diff: examples/go/BUILD.gn

Issue 1105553002: examples/go: http handler & http server (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 8 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 | « no previous file | examples/go/README.txt » ('j') | examples/go/http_handler.go » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: examples/go/BUILD.gn
diff --git a/examples/go/BUILD.gn b/examples/go/BUILD.gn
index 78412ab20ca15e852e53f5546141c4148458ac5d..59a9c74249f3941535713099a22119b9339b0bb8 100644
--- a/examples/go/BUILD.gn
+++ b/examples/go/BUILD.gn
@@ -9,6 +9,8 @@ if (is_android) {
deps = [
":go_echo_client",
":go_echo_server",
+ ":go_http_handler",
+ ":go_http_server",
]
}
@@ -37,4 +39,30 @@ if (is_android) {
"//mojo/public/platform/native:system",
]
}
+
+ go_mojo_application("go_http_handler") {
+ sources = [
+ "http_handler.go",
+ ]
+ deps = [
+ "//mojo/go:application",
jamesr 2015/04/22 19:21:55 we should probably put this and the //mojo/go:plat
rogulenko 2015/04/22 20:49:14 Will do it in a separate CL.
+ "//mojo/go:platform_cgo",
+ "//mojo/public/c/system",
+ "//mojo/public/platform/native:system",
+ "//mojo/services/network/public/interfaces",
+ ]
+ }
+
+ go_mojo_application("go_http_server") {
+ sources = [
+ "http_server.go",
+ ]
+ deps = [
+ "//mojo/go:application",
+ "//mojo/go:platform_cgo",
+ "//mojo/public/c/system",
+ "//mojo/public/platform/native:system",
+ "//mojo/services/network/public/interfaces",
+ ]
+ }
}
« no previous file with comments | « no previous file | examples/go/README.txt » ('j') | examples/go/http_handler.go » ('J')

Powered by Google App Engine
This is Rietveld 408576698