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

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

Issue 554363005: GN: Replace mojo/system.gni with forwarding groups (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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
« no previous file with comments | « mojo/examples/demo_launcher/BUILD.gn ('k') | mojo/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/tools/bindings/mojom.gni") 5 import("//mojo/public/tools/bindings/mojom.gni")
6 import("//mojo/system.gni")
7 6
8 group("echo") { 7 group("echo") {
9 deps = [ 8 deps = [
10 ":client", 9 ":client",
11 ":service" 10 ":service"
12 ] 11 ]
13 } 12 }
14 13
15 # GYP version: mojo/mojo_examples.gypi:mojo_echo_client 14 # GYP version: mojo/mojo_examples.gypi:mojo_echo_client
16 shared_library("client") { 15 shared_library("client") {
17 output_name = "mojo_echo_client" 16 output_name = "mojo_echo_client"
18 17
19 deps = [ 18 deps = [
20 ":bindings", 19 ":bindings",
20 "//mojo/public/c/system:for_shared_library",
21 "//mojo/public/cpp/application:standalone", 21 "//mojo/public/cpp/application:standalone",
22 "//mojo/public/cpp/bindings", 22 "//mojo/public/cpp/bindings",
23 "//mojo/public/cpp/utility", 23 "//mojo/public/cpp/utility",
24 ] 24 ]
25 deps += mojo_system_for_shared_library
26 25
27 sources = [ "echo_client.cc" ] 26 sources = [ "echo_client.cc" ]
28 } 27 }
29 28
30 # GYP version: mojo/mojo_examples.gypi:mojo_echo_service 29 # GYP version: mojo/mojo_examples.gypi:mojo_echo_service
31 shared_library("service") { 30 shared_library("service") {
32 output_name = "mojo_echo_service" 31 output_name = "mojo_echo_service"
33 32
34 deps = [ 33 deps = [
35 ":bindings", 34 ":bindings",
35 "//mojo/public/c/system:for_shared_library",
36 "//mojo/public/cpp/application:standalone", 36 "//mojo/public/cpp/application:standalone",
37 "//mojo/public/cpp/bindings", 37 "//mojo/public/cpp/bindings",
38 "//mojo/public/cpp/utility", 38 "//mojo/public/cpp/utility",
39 ] 39 ]
40 deps += mojo_system_for_shared_library
41 40
42 sources = [ "echo_service.cc" ] 41 sources = [ "echo_service.cc" ]
43 } 42 }
44 43
45 # GYP version: mojo/mojo_examples.gypi:mojo_echo_service_bindings 44 # GYP version: mojo/mojo_examples.gypi:mojo_echo_service_bindings
46 mojom("bindings") { 45 mojom("bindings") {
47 sources = [ "echo_service.mojom" ] 46 sources = [ "echo_service.mojom" ]
48 } 47 }
OLDNEW
« no previous file with comments | « mojo/examples/demo_launcher/BUILD.gn ('k') | mojo/examples/embedded_app/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698