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

Unified Diff: examples/http_handler/BUILD.gn

Issue 715153004: Add support for HTTP handlers that are in self-contained apps. Also add an example app. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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/http_handler/BUILD.gn
diff --git a/examples/wget/BUILD.gn b/examples/http_handler/BUILD.gn
similarity index 62%
copy from examples/wget/BUILD.gn
copy to examples/http_handler/BUILD.gn
index 2fbc086bdfb005f96beeb9c8451e282458497631..824edffb4b21396eaf68d99bfdcdc61922db0061 100644
--- a/examples/wget/BUILD.gn
+++ b/examples/http_handler/BUILD.gn
@@ -2,16 +2,16 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-shared_library("wget") {
+shared_library("http_handler") {
+ sources = [
+ "http_handler.cc"
+ ]
+
deps = [
+ "//mojo/application",
"//mojo/public/c/system:for_shared_library",
- "//mojo/public/cpp/application:standalone",
"//mojo/public/cpp/bindings",
- "//mojo/public/cpp/utility",
- "//mojo/services/public/interfaces/network",
- ]
-
- sources = [
- "wget.cc"
+ "//services/http_server",
+ "//services/http_server/public",
]
}

Powered by Google App Engine
This is Rietveld 408576698