blob: 1c909a2fb23907ffecfaeddbac5522dbef34ade5 [file] [log] [blame]
Viet-Trung Luud1f4c062016-02-16 12:22:04 -08001# Copyright 2016 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/mojo_application.gni")
6import("//mojo/public/tools/bindings/mojom.gni")
7
8group("hello_mojo") {
9 deps = [
10 ":hello_mojo_client",
11 ":hello_mojo_server",
12 ]
13}
14
15mojo_native_application("hello_mojo_client") {
16 deps = [
17 ":hello_mojo_interface",
18 "//mojo/public/c/system",
19 "//mojo/public/cpp/application:standalone",
20 "//mojo/public/cpp/bindings",
21 "//mojo/public/cpp/system",
22 "//mojo/public/cpp/utility",
23 ]
24
25 sources = [
26 "hello_mojo_client.cc",
27 ]
28}
29
30mojo_native_application("hello_mojo_server") {
31 deps = [
32 ":hello_mojo_interface",
33 "//mojo/public/c/system",
34 "//mojo/public/cpp/application:standalone",
35 "//mojo/public/cpp/bindings",
36 "//mojo/public/cpp/system",
37 "//mojo/public/cpp/utility",
38 ]
39
40 sources = [
41 "hello_mojo_server.cc",
42 ]
43}
44
45mojom("hello_mojo_interface") {
46 sources = [
47 "hello_mojo.mojom",
48 ]
49}