| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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/mojo_application_manifest.gni") | 6 import("//mojo/public/mojo_application_manifest.gni") |
| 7 import("//mojo/public/tools/bindings/mojom.gni") | 7 import("//mojo/public/tools/bindings/mojom.gni") |
| 8 import("//testing/test.gni") | 8 import("//testing/test.gni") |
| 9 | 9 |
| 10 source_set("connect") { | 10 source_set("connect") { |
| 11 testonly = true | 11 testonly = true |
| 12 sources = [ | 12 sources = [ |
| 13 "connect_unittest.cc", | 13 "connect_unittest.cc", |
| 14 ] | 14 ] |
| 15 deps = [ | 15 deps = [ |
| 16 ":interfaces", | 16 ":interfaces", |
| 17 "//base", | 17 "//base", |
| 18 "//base/test:test_support", | 18 "//base/test:test_support", |
| 19 "//mojo/shell/public/cpp:shell_test_support", | 19 "//mojo/shell/public/cpp:shell_test_support", |
| 20 "//mojo/shell/public/cpp:sources", | 20 "//mojo/shell/public/cpp:sources", |
| 21 "//mojo/shell/public/interfaces", | 21 "//mojo/shell/public/interfaces", |
| 22 ] | 22 ] |
| 23 | 23 |
| 24 data_deps = [ | 24 data_deps = [ |
| 25 ":connect_test_app", | 25 ":connect_test_app", |
| 26 ":connect_test_class_app", | |
| 27 ":connect_test_package", | 26 ":connect_test_package", |
| 28 ":manifest", | 27 ":manifest", |
| 29 ] | 28 ] |
| 30 } | 29 } |
| 31 | 30 |
| 32 mojom("interfaces") { | 31 mojom("interfaces") { |
| 33 sources = [ | 32 sources = [ |
| 34 "connect_test.mojom", | 33 "connect_test.mojom", |
| 35 ] | 34 ] |
| 36 } | 35 } |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 "//mojo/common:common_base", | 89 "//mojo/common:common_base", |
| 91 "//mojo/shell/public/cpp:sources", | 90 "//mojo/shell/public/cpp:sources", |
| 92 "//mojo/shell/public/interfaces", | 91 "//mojo/shell/public/interfaces", |
| 93 ] | 92 ] |
| 94 } | 93 } |
| 95 | 94 |
| 96 mojo_application_manifest("connect_test_app_manifest") { | 95 mojo_application_manifest("connect_test_app_manifest") { |
| 97 application_name = "connect_test_app" | 96 application_name = "connect_test_app" |
| 98 source = "connect_test_app_manifest.json" | 97 source = "connect_test_app_manifest.json" |
| 99 } | 98 } |
| 100 | |
| 101 mojo_native_application("connect_test_class_app") { | |
| 102 testonly = true | |
| 103 sources = [ | |
| 104 "connect_test_class_app.cc", | |
| 105 ] | |
| 106 deps = [ | |
| 107 ":connect_test_class_app_manifest", | |
| 108 ":interfaces", | |
| 109 "//base", | |
| 110 "//mojo/common:common_base", | |
| 111 "//mojo/shell/public/cpp:sources", | |
| 112 "//mojo/shell/public/interfaces", | |
| 113 ] | |
| 114 } | |
| 115 | |
| 116 mojo_application_manifest("connect_test_class_app_manifest") { | |
| 117 application_name = "connect_test_class_app" | |
| 118 source = "connect_test_class_app_manifest.json" | |
| 119 } | |
| OLD | NEW |