| 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") { |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 application_name = "connect_test_b" | 55 application_name = "connect_test_b" |
| 56 source = "connect_test_app_b_manifest.json" | 56 source = "connect_test_app_b_manifest.json" |
| 57 } | 57 } |
| 58 | 58 |
| 59 mojo_native_application("connect_test_package") { | 59 mojo_native_application("connect_test_package") { |
| 60 testonly = true | 60 testonly = true |
| 61 sources = [ | 61 sources = [ |
| 62 "connect_test_package.cc", | 62 "connect_test_package.cc", |
| 63 ] | 63 ] |
| 64 deps = [ | 64 deps = [ |
| 65 ":connect_test_package_manifest", | |
| 66 ":interfaces", | 65 ":interfaces", |
| 67 "//base", | 66 "//base", |
| 68 "//mojo/common:common_base", | 67 "//mojo/common:common_base", |
| 69 "//services/shell/public/cpp:sources", | 68 "//services/shell/public/cpp:sources", |
| 70 "//services/shell/public/interfaces", | 69 "//services/shell/public/interfaces", |
| 71 ] | 70 ] |
| 71 data_deps = [ |
| 72 ":connect_test_package_manifest", |
| 73 ] |
| 72 } | 74 } |
| 73 | 75 |
| 74 mojo_application_manifest("connect_test_package_manifest") { | 76 mojo_application_manifest("connect_test_package_manifest") { |
| 75 application_name = "connect_test_package" | 77 application_name = "connect_test_package" |
| 76 source = "connect_test_package_manifest.json" | 78 source = "connect_test_package_manifest.json" |
| 77 deps = [ | 79 deps = [ |
| 78 ":connect_test_a_manifest", | 80 ":connect_test_a_manifest", |
| 79 ":connect_test_b_manifest", | 81 ":connect_test_b_manifest", |
| 80 ] | 82 ] |
| 81 packaged_applications = [ | 83 packaged_applications = [ |
| 82 "connect_test_a", | 84 "connect_test_a", |
| 83 "connect_test_b", | 85 "connect_test_b", |
| 84 ] | 86 ] |
| 85 } | 87 } |
| 86 | 88 |
| 87 mojo_native_application("connect_test_app") { | 89 mojo_native_application("connect_test_app") { |
| 88 testonly = true | 90 testonly = true |
| 89 sources = [ | 91 sources = [ |
| 90 "connect_test_app.cc", | 92 "connect_test_app.cc", |
| 91 ] | 93 ] |
| 92 deps = [ | 94 deps = [ |
| 93 ":connect_test_app_manifest", | |
| 94 ":interfaces", | 95 ":interfaces", |
| 95 "//base", | 96 "//base", |
| 96 "//mojo/common:common_base", | 97 "//mojo/common:common_base", |
| 97 "//services/shell/public/cpp:sources", | 98 "//services/shell/public/cpp:sources", |
| 98 "//services/shell/public/interfaces", | 99 "//services/shell/public/interfaces", |
| 99 ] | 100 ] |
| 101 data_deps = [ |
| 102 ":connect_test_app_manifest", |
| 103 ] |
| 100 } | 104 } |
| 101 | 105 |
| 102 mojo_application_manifest("connect_test_app_manifest") { | 106 mojo_application_manifest("connect_test_app_manifest") { |
| 103 application_name = "connect_test_app" | 107 application_name = "connect_test_app" |
| 104 source = "connect_test_app_manifest.json" | 108 source = "connect_test_app_manifest.json" |
| 105 } | 109 } |
| 106 | 110 |
| 107 mojo_native_application("connect_test_class_app") { | 111 mojo_native_application("connect_test_class_app") { |
| 108 testonly = true | 112 testonly = true |
| 109 sources = [ | 113 sources = [ |
| 110 "connect_test_class_app.cc", | 114 "connect_test_class_app.cc", |
| 111 ] | 115 ] |
| 112 deps = [ | 116 deps = [ |
| 113 ":connect_test_class_app_manifest", | |
| 114 ":interfaces", | 117 ":interfaces", |
| 115 "//base", | 118 "//base", |
| 116 "//mojo/common:common_base", | 119 "//mojo/common:common_base", |
| 117 "//services/shell/public/cpp:sources", | 120 "//services/shell/public/cpp:sources", |
| 118 "//services/shell/public/interfaces", | 121 "//services/shell/public/interfaces", |
| 119 ] | 122 ] |
| 123 data_deps = [ |
| 124 ":connect_test_class_app_manifest", |
| 125 ] |
| 120 } | 126 } |
| 121 | 127 |
| 122 mojo_application_manifest("connect_test_class_app_manifest") { | 128 mojo_application_manifest("connect_test_class_app_manifest") { |
| 123 application_name = "connect_test_class_app" | 129 application_name = "connect_test_class_app" |
| 124 source = "connect_test_class_app_manifest.json" | 130 source = "connect_test_class_app_manifest.json" |
| 125 } | 131 } |
| 126 | 132 |
| 127 mojo_native_application("connect_test_singleton_app") { | 133 mojo_native_application("connect_test_singleton_app") { |
| 128 testonly = true | 134 testonly = true |
| 129 sources = [ | 135 sources = [ |
| 130 "connect_test_singleton_app.cc", | 136 "connect_test_singleton_app.cc", |
| 131 ] | 137 ] |
| 132 deps = [ | 138 deps = [ |
| 133 ":connect_test_singleton_app_manifest", | |
| 134 "//base", | 139 "//base", |
| 135 "//mojo/common:common_base", | 140 "//mojo/common:common_base", |
| 136 "//services/shell/public/cpp:sources", | 141 "//services/shell/public/cpp:sources", |
| 137 ] | 142 ] |
| 143 data_deps = [ |
| 144 ":connect_test_singleton_app_manifest", |
| 145 ] |
| 138 } | 146 } |
| 139 | 147 |
| 140 mojo_application_manifest("connect_test_singleton_app_manifest") { | 148 mojo_application_manifest("connect_test_singleton_app_manifest") { |
| 141 application_name = "connect_test_singleton_app" | 149 application_name = "connect_test_singleton_app" |
| 142 source = "connect_test_singleton_app_manifest.json" | 150 source = "connect_test_singleton_app_manifest.json" |
| 143 } | 151 } |
| 144 | 152 |
| 145 executable("connect_test_driver") { | 153 executable("connect_test_driver") { |
| 146 testonly = true | 154 testonly = true |
| 147 | 155 |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 187 data_deps = [ | 195 data_deps = [ |
| 188 ":connect_test_exe_manifest", | 196 ":connect_test_exe_manifest", |
| 189 ] | 197 ] |
| 190 } | 198 } |
| 191 | 199 |
| 192 mojo_application_manifest("connect_test_exe_manifest") { | 200 mojo_application_manifest("connect_test_exe_manifest") { |
| 193 type = "exe" | 201 type = "exe" |
| 194 application_name = "connect_test_exe" | 202 application_name = "connect_test_exe" |
| 195 source = "connect_test_exe_manifest.json" | 203 source = "connect_test_exe_manifest.json" |
| 196 } | 204 } |
| OLD | NEW |