| Index: examples/hello_mojo/BUILD.gn
|
| diff --git a/examples/bank_app/BUILD.gn b/examples/hello_mojo/BUILD.gn
|
| similarity index 50%
|
| copy from examples/bank_app/BUILD.gn
|
| copy to examples/hello_mojo/BUILD.gn
|
| index de53fc617d8578e55898532dd2d40cf1ace3a1db..1c909a2fb23907ffecfaeddbac5522dbef34ade5 100644
|
| --- a/examples/bank_app/BUILD.gn
|
| +++ b/examples/hello_mojo/BUILD.gn
|
| @@ -1,52 +1,49 @@
|
| -# Copyright 2014 The Chromium Authors. All rights reserved.
|
| +# Copyright 2016 The Chromium Authors. All rights reserved.
|
| # Use of this source code is governed by a BSD-style license that can be
|
| # found in the LICENSE file.
|
|
|
| import("//mojo/public/mojo_application.gni")
|
| import("//mojo/public/tools/bindings/mojom.gni")
|
|
|
| -group("bank_app") {
|
| +group("hello_mojo") {
|
| deps = [
|
| - ":customer",
|
| - ":bank",
|
| + ":hello_mojo_client",
|
| + ":hello_mojo_server",
|
| ]
|
| }
|
|
|
| -mojo_native_application("customer") {
|
| - output_name = "customer"
|
| -
|
| +mojo_native_application("hello_mojo_client") {
|
| deps = [
|
| - ":bindings",
|
| + ":hello_mojo_interface",
|
| + "//mojo/public/c/system",
|
| "//mojo/public/cpp/application:standalone",
|
| "//mojo/public/cpp/bindings",
|
| + "//mojo/public/cpp/system",
|
| "//mojo/public/cpp/utility",
|
| - "//mojo/services/vanadium/security/interfaces",
|
| ]
|
|
|
| sources = [
|
| - "customer.cc",
|
| + "hello_mojo_client.cc",
|
| ]
|
| }
|
|
|
| -mojo_native_application("bank") {
|
| - output_name = "bank"
|
| -
|
| +mojo_native_application("hello_mojo_server") {
|
| deps = [
|
| - ":bindings",
|
| - "//mojo/common",
|
| + ":hello_mojo_interface",
|
| + "//mojo/public/c/system",
|
| "//mojo/public/cpp/application:standalone",
|
| "//mojo/public/cpp/bindings",
|
| + "//mojo/public/cpp/system",
|
| "//mojo/public/cpp/utility",
|
| - "//mojo/services/vanadium/security/interfaces",
|
| ]
|
|
|
| sources = [
|
| - "bank.cc",
|
| + "hello_mojo_server.cc",
|
| ]
|
| }
|
|
|
| -mojom("bindings") {
|
| +mojom("hello_mojo_interface") {
|
| sources = [
|
| - "bank.mojom",
|
| + "hello_mojo.mojom",
|
| ]
|
| }
|
|
|