| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import("//mojo/public/mojo_application.gni") | 5 import("//mojo/public/mojo_application.gni") |
| 6 import("//mojo/public/tools/bindings/mojom.gni") | 6 import("//mojo/public/tools/bindings/mojom.gni") |
| 7 | 7 |
| 8 group("apptest") { | 8 group("apptest") { |
| 9 testonly = true | 9 testonly = true |
| 10 | 10 |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 "example_service_application.cc", | 21 "example_service_application.cc", |
| 22 "example_service_application.h", | 22 "example_service_application.h", |
| 23 "example_service_impl.cc", | 23 "example_service_impl.cc", |
| 24 "example_service_impl.h", | 24 "example_service_impl.h", |
| 25 ] | 25 ] |
| 26 | 26 |
| 27 deps = [ | 27 deps = [ |
| 28 ":bindings", | 28 ":bindings", |
| 29 "//mojo/public/c/system:for_shared_library", | 29 "//mojo/public/c/system:for_shared_library", |
| 30 "//mojo/public/cpp/application:standalone", | 30 "//mojo/public/cpp/application:standalone", |
| 31 "//mojo/public/cpp/utility" | 31 "//mojo/public/cpp/bindings", |
| 32 "//mojo/public/cpp/system", |
| 33 "//mojo/public/cpp/utility", |
| 32 ] | 34 ] |
| 33 } | 35 } |
| 34 | 36 |
| 35 mojo_native_application("apptests") { | 37 mojo_native_application("apptests") { |
| 36 output_name = "example_apptests" | 38 output_name = "example_apptests" |
| 37 | 39 |
| 38 testonly = true | 40 testonly = true |
| 39 | 41 |
| 40 sources = [ | 42 sources = [ |
| 41 "example_apptest.cc", | 43 "example_apptest.cc", |
| 42 "example_client_application.cc", | 44 "example_client_application.cc", |
| 43 "example_client_application.h", | 45 "example_client_application.h", |
| 44 "example_client_impl.cc", | 46 "example_client_impl.cc", |
| 45 "example_client_impl.h", | 47 "example_client_impl.h", |
| 46 ] | 48 ] |
| 47 | 49 |
| 48 deps = [ | 50 deps = [ |
| 49 ":bindings", | 51 ":bindings", |
| 50 "//mojo/public/c/system:for_shared_library", | 52 "//mojo/public/c/system:for_shared_library", |
| 51 "//mojo/public/cpp/application:standalone", | 53 "//mojo/public/cpp/application:standalone", |
| 52 "//mojo/public/cpp/application:test_support_standalone", | 54 "//mojo/public/cpp/application:test_support_standalone", |
| 55 "//mojo/public/cpp/bindings:callback", |
| 56 "//mojo/public/cpp/environment", |
| 57 "//mojo/public/cpp/system", |
| 53 ] | 58 ] |
| 54 | 59 |
| 55 datadeps = [ ":service", ] | 60 datadeps = [ ":service", ] |
| 56 } | 61 } |
| 57 | 62 |
| 58 mojom("bindings") { | 63 mojom("bindings") { |
| 59 sources = [ "example_service.mojom" ] | 64 sources = [ "example_service.mojom" ] |
| 60 } | 65 } |
| OLD | NEW |