• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
3# found in the LICENSE file.
4
5import("//mojo/public/tools/bindings/mojom.gni")
6
7group("echo") {
8  deps = [
9    ":client",
10    ":service"
11  ]
12}
13
14# GYP version: mojo/mojo_examples.gypi:mojo_echo_client
15shared_library("client") {
16  output_name = "mojo_echo_client"
17
18  deps = [
19    ":bindings",
20    "//mojo/public/c/system:for_shared_library",
21    "//mojo/public/cpp/application:standalone",
22    "//mojo/public/cpp/bindings",
23    "//mojo/public/cpp/utility",
24  ]
25
26  sources = [ "echo_client.cc" ]
27}
28
29# GYP version: mojo/mojo_examples.gypi:mojo_echo_service
30shared_library("service") {
31  output_name = "mojo_echo_service"
32
33  deps = [
34    ":bindings",
35    "//mojo/public/c/system:for_shared_library",
36    "//mojo/public/cpp/application:standalone",
37    "//mojo/public/cpp/bindings",
38    "//mojo/public/cpp/utility",
39  ]
40
41  sources = [ "echo_service.cc" ]
42}
43
44# GYP version: mojo/mojo_examples.gypi:mojo_echo_service_bindings
45mojom("bindings") {
46  sources = [ "echo_service.mojom" ]
47}
48