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

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

Issue 441853002: mojo: first take on removing mojo_main_{chromium,standalone}. (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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « mojo/examples/demo_launcher/demo_launcher.cc ('k') | mojo/examples/echo/echo_client.cc » ('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/tools/bindings/mojom.gni") 5 import("//mojo/public/tools/bindings/mojom.gni")
6 import("//mojo/system.gni") 6 import("//mojo/system.gni")
7 7
8 group("echo") { 8 group("echo") {
9 deps = [ 9 deps = [
10 ":client", 10 ":client",
11 ":service" 11 ":service"
12 ] 12 ]
13 } 13 }
14 14
15 # GYP version: mojo/mojo_examples.gypi:mojo_echo_client 15 # GYP version: mojo/mojo_examples.gypi:mojo_echo_client
16 shared_library("client") { 16 shared_library("client") {
17 output_name = "mojo_echo_client" 17 output_name = "mojo_echo_client"
18 18
19 deps = [ 19 deps = [
20 ":bindings", 20 ":bindings",
21 "//mojo/public/cpp/application:main_standalone",
22 "//mojo/public/cpp/application:standalone", 21 "//mojo/public/cpp/application:standalone",
23 "//mojo/public/cpp/bindings", 22 "//mojo/public/cpp/bindings",
24 "//mojo/public/cpp/environment:standalone",
25 "//mojo/public/cpp/utility", 23 "//mojo/public/cpp/utility",
26 ] 24 ]
27 deps += mojo_system_for_shared_library 25 deps += mojo_system_for_shared_library
28 26
29 sources = [ "echo_client.cc" ] 27 sources = [ "echo_client.cc" ]
30 } 28 }
31 29
32 # GYP version: mojo/mojo_examples.gypi:mojo_echo_service 30 # GYP version: mojo/mojo_examples.gypi:mojo_echo_service
33 shared_library("service") { 31 shared_library("service") {
34 output_name = "mojo_echo_service" 32 output_name = "mojo_echo_service"
35 33
36 deps = [ 34 deps = [
37 ":bindings", 35 ":bindings",
38 "//mojo/public/cpp/application:main_standalone",
39 "//mojo/public/cpp/application:standalone", 36 "//mojo/public/cpp/application:standalone",
40 "//mojo/public/cpp/bindings", 37 "//mojo/public/cpp/bindings",
41 "//mojo/public/cpp/environment:standalone",
42 "//mojo/public/cpp/utility", 38 "//mojo/public/cpp/utility",
43 ] 39 ]
44 deps += mojo_system_for_shared_library 40 deps += mojo_system_for_shared_library
45 41
46 sources = [ "echo_service.cc" ] 42 sources = [ "echo_service.cc" ]
47 } 43 }
48 44
49 # GYP version: mojo/mojo_examples.gypi:mojo_echo_service_bindings 45 # GYP version: mojo/mojo_examples.gypi:mojo_echo_service_bindings
50 mojom("bindings") { 46 mojom("bindings") {
51 sources = [ "echo_service.mojom" ] 47 sources = [ "echo_service.mojom" ]
52 } 48 }
OLDNEW
« no previous file with comments | « mojo/examples/demo_launcher/demo_launcher.cc ('k') | mojo/examples/echo/echo_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698