| 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", |
| 26 ":connect_test_package", | 27 ":connect_test_package", |
| 27 ":manifest", | 28 ":manifest", |
| 28 ] | 29 ] |
| 29 } | 30 } |
| 30 | 31 |
| 31 mojom("interfaces") { | 32 mojom("interfaces") { |
| 32 sources = [ | 33 sources = [ |
| 33 "connect_test.mojom", | 34 "connect_test.mojom", |
| 34 ] | 35 ] |
| 35 } | 36 } |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 "//mojo/common:common_base", | 90 "//mojo/common:common_base", |
| 90 "//mojo/shell/public/cpp:sources", | 91 "//mojo/shell/public/cpp:sources", |
| 91 "//mojo/shell/public/interfaces", | 92 "//mojo/shell/public/interfaces", |
| 92 ] | 93 ] |
| 93 } | 94 } |
| 94 | 95 |
| 95 mojo_application_manifest("connect_test_app_manifest") { | 96 mojo_application_manifest("connect_test_app_manifest") { |
| 96 application_name = "connect_test_app" | 97 application_name = "connect_test_app" |
| 97 source = "connect_test_app_manifest.json" | 98 source = "connect_test_app_manifest.json" |
| 98 } | 99 } |
| 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 |