Chromium Code Reviews| Index: examples/indirect_service/BUILD.gn |
| diff --git a/examples/indirect_service/BUILD.gn b/examples/indirect_service/BUILD.gn |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..2d1d61c76d5999cc9fea3193a100569f24ae8717 |
| --- /dev/null |
| +++ b/examples/indirect_service/BUILD.gn |
| @@ -0,0 +1,63 @@ |
| +# Copyright 2014 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("indirect_service") { |
| + deps = [ |
| + ":indirect_service_demo", |
| + ":indirect_integer_service", |
| + ":integer_service", |
| + ] |
| +} |
| + |
| +mojo_native_application("indirect_service_demo") { |
| + output_name = "indirect_service_demo" |
| + |
| + deps = [ |
| + ":bindings", |
| + "//base", |
| + "//mojo/application", |
| + "//mojo/common", |
| + "//mojo/environment:chromium", |
| + "//mojo/public/c/system:for_shared_library", |
| + "//mojo/public/cpp/bindings", |
| + "//mojo/public/cpp/utility", |
| + ] |
| + |
| + sources = [ "indirect_service_demo.cc" ] |
|
yzshen1
2014/11/20 18:17:17
style nit: sources before deps, please.
https://co
hansmuller
2014/11/20 19:27:59
Done.
|
| +} |
| + |
| +mojo_native_application("integer_service") { |
| + output_name = "integer_service" |
| + |
| + deps = [ |
| + ":bindings", |
| + "//mojo/public/c/system:for_shared_library", |
| + "//mojo/public/cpp/application:standalone", |
| + "//mojo/public/cpp/bindings", |
| + "//mojo/public/cpp/utility", |
| + ] |
| + |
| + sources = [ "integer_service.cc" ] |
| +} |
| + |
| +mojo_native_application("indirect_integer_service") { |
| + output_name = "indirect_integer_service" |
| + |
| + deps = [ |
| + ":bindings", |
| + "//mojo/public/c/system:for_shared_library", |
| + "//mojo/public/cpp/application:standalone", |
| + "//mojo/public/cpp/bindings", |
| + "//mojo/public/cpp/utility", |
| + ] |
| + |
| + sources = [ "indirect_integer_service.cc" ] |
| +} |
| + |
| +mojom("bindings") { |
| + sources = [ "indirect_service_demo.mojom" ] |
| +} |