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

Unified Diff: mojo/examples/echo/BUILD.gn

Issue 485523004: GN: Mojo wget, sample_app, surfaces app and component build (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 | « mojo/examples/BUILD.gn ('k') | mojo/examples/sample_app/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/examples/echo/BUILD.gn
diff --git a/mojo/examples/echo/BUILD.gn b/mojo/examples/echo/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..ad666702bc2e3ae0226db4a3391ab9316e7550b0
--- /dev/null
+++ b/mojo/examples/echo/BUILD.gn
@@ -0,0 +1,52 @@
+# Copyright 2014 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/tools/bindings/mojom.gni")
+import("//mojo/system.gni")
+
+group("echo") {
+ deps = [
+ ":client",
+ ":service"
+ ]
+}
+
+# GYP version: mojo/mojo_examples.gypi:mojo_echo_client
+shared_library("client") {
+ output_name = "mojo_echo_client"
+
+ deps = [
+ ":bindings",
+ "//mojo/public/cpp/application:main_standalone",
+ "//mojo/public/cpp/application:standalone",
+ "//mojo/public/cpp/bindings",
+ "//mojo/public/cpp/environment:standalone",
+ "//mojo/public/cpp/utility",
+ ]
+ deps += mojo_system_for_shared_library
+
+ sources = [ "echo_client.cc" ]
+}
+
+# GYP version: mojo/mojo_examples.gypi:mojo_echo_service
+shared_library("service") {
+ output_name = "mojo_echo_service"
+
+ deps = [
+ ":bindings",
+ "//mojo/public/cpp/application:main_standalone",
+ "//mojo/public/cpp/application:standalone",
+ "//mojo/public/cpp/bindings",
+ "//mojo/public/cpp/environment:standalone",
+ "//mojo/public/cpp/utility",
+ ]
+ deps += mojo_system_for_shared_library
+
+ sources = [ "echo_service.cc" ]
+}
+
+# GYP version: mojo/mojo_examples.gypi:mojo_echo_service_bindings
+mojom("bindings") {
+ sources = [ "echo_service.mojom" ]
+}
« no previous file with comments | « mojo/examples/BUILD.gn ('k') | mojo/examples/sample_app/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698