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

Side by Side Diff: examples/echo/BUILD.gn

Issue 713513002: Change mojo application name to {name}.mojo (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Add missing library. 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 unified diff | Download patch
« no previous file with comments | « examples/content_handler_demo/BUILD.gn ('k') | examples/embedded_app/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//mojo/public/mojo_application.gni")
5 import("//mojo/public/tools/bindings/mojom.gni") 6 import("//mojo/public/tools/bindings/mojom.gni")
6 7
7 group("echo") { 8 group("echo") {
8 deps = [ 9 deps = [
9 ":client", 10 ":client",
10 ":service" 11 ":service"
11 ] 12 ]
12 } 13 }
13 14
14 shared_library("client") { 15 mojo_native_application("client") {
15 output_name = "echo_client" 16 output_name = "echo_client"
16 17
17 deps = [ 18 deps = [
18 ":bindings", 19 ":bindings",
19 "//mojo/public/c/system:for_shared_library", 20 "//mojo/public/c/system:for_shared_library",
20 "//mojo/public/cpp/application:standalone", 21 "//mojo/public/cpp/application:standalone",
21 "//mojo/public/cpp/bindings", 22 "//mojo/public/cpp/bindings",
22 "//mojo/public/cpp/utility", 23 "//mojo/public/cpp/utility",
23 ] 24 ]
24 25
25 sources = [ "echo_client.cc" ] 26 sources = [ "echo_client.cc" ]
26 } 27 }
27 28
28 shared_library("service") { 29 mojo_native_application("service") {
29 output_name = "echo_service" 30 output_name = "echo_service"
30 31
31 deps = [ 32 deps = [
32 ":bindings", 33 ":bindings",
33 "//mojo/public/c/system:for_shared_library", 34 "//mojo/public/c/system:for_shared_library",
34 "//mojo/public/cpp/application:standalone", 35 "//mojo/public/cpp/application:standalone",
35 "//mojo/public/cpp/bindings", 36 "//mojo/public/cpp/bindings",
36 "//mojo/public/cpp/utility", 37 "//mojo/public/cpp/utility",
37 ] 38 ]
38 39
39 sources = [ "echo_service.cc" ] 40 sources = [ "echo_service.cc" ]
40 } 41 }
41 42
42 mojom("bindings") { 43 mojom("bindings") {
43 sources = [ "echo_service.mojom" ] 44 sources = [ "echo_service.mojom" ]
44 } 45 }
OLDNEW
« no previous file with comments | « examples/content_handler_demo/BUILD.gn ('k') | examples/embedded_app/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698