OLD | NEW |
(Empty) | |
| 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 |
| 5 import("//mojo/public/tools/bindings/mojom.gni") |
| 6 import("//mojo/system.gni") |
| 7 |
| 8 group("apptest") { |
| 9 testonly = true |
| 10 |
| 11 deps = [ |
| 12 ":apptests", |
| 13 ":service", |
| 14 ] |
| 15 } |
| 16 |
| 17 # GYP version mojo/mojo_examples.gypi:mojo_example_service |
| 18 shared_library("service") { |
| 19 output_name = "mojo_example_service" |
| 20 |
| 21 sources = [ |
| 22 "example_service_application.cc", |
| 23 "example_service_application.h", |
| 24 "example_service_impl.cc", |
| 25 "example_service_impl.h", |
| 26 ] |
| 27 |
| 28 deps = [ |
| 29 ":bindings", |
| 30 "//mojo/public/cpp/application:standalone", |
| 31 "//mojo/public/cpp/utility" |
| 32 ] + mojo_system_for_shared_library |
| 33 } |
| 34 |
| 35 # GYP version: mojo/mojo_examples.gypi:mojo_example_apptests |
| 36 shared_library("apptests") { |
| 37 output_name = "mojo_example_apptests" |
| 38 |
| 39 testonly = true |
| 40 |
| 41 sources = [ |
| 42 "example_apptest.cc", |
| 43 "example_client_application.cc", |
| 44 "example_client_application.h", |
| 45 "example_client_impl.cc", |
| 46 "example_client_impl.h", |
| 47 ] |
| 48 |
| 49 deps = [ |
| 50 ":bindings", |
| 51 "//testing/gtest", |
| 52 "//mojo/public/cpp/application:standalone", |
| 53 "//mojo/public/cpp/utility", |
| 54 ] + mojo_system_for_shared_library |
| 55 } |
| 56 |
| 57 # GYP version: mojo/mojo_examples.gypi:mojo_example_service_bindings |
| 58 mojom("bindings") { |
| 59 sources = [ "example_service.mojom" ] |
| 60 } |
OLD | NEW |