| 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/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 group("all") { | 10 group("all") { |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 "//mojo/shell/public/cpp", | 114 "//mojo/shell/public/cpp", |
| 115 "//mojo/util:filename_util", | 115 "//mojo/util:filename_util", |
| 116 "//testing/gtest", | 116 "//testing/gtest", |
| 117 "//url", | 117 "//url", |
| 118 ] | 118 ] |
| 119 } | 119 } |
| 120 | 120 |
| 121 mojom("test_bindings") { | 121 mojom("test_bindings") { |
| 122 sources = [ | 122 sources = [ |
| 123 "application_manager_apptests.mojom", | 123 "application_manager_apptests.mojom", |
| 124 "application_package_apptest.mojom", | |
| 125 "capability_filter_unittest.mojom", | 124 "capability_filter_unittest.mojom", |
| 125 "package_test.mojom", |
| 126 "test.mojom", | 126 "test.mojom", |
| 127 ] | 127 ] |
| 128 } | 128 } |
| 129 | 129 |
| 130 mojo_native_application("apptests") { | 130 mojo_native_application("apptests") { |
| 131 output_name = "mojo_shell_apptests" | 131 output_name = "mojo_shell_apptests" |
| 132 testonly = true | 132 testonly = true |
| 133 | 133 |
| 134 sources = [ | 134 sources = [ |
| 135 "application_manager_apptest.cc", | 135 "application_manager_apptest.cc", |
| 136 "application_package_apptest.cc", | 136 "package_apptest.cc", |
| 137 ] | 137 ] |
| 138 | 138 |
| 139 deps = [ | 139 deps = [ |
| 140 ":apptests_manifest", | 140 ":apptests_manifest", |
| 141 ":test_bindings", | 141 ":test_bindings", |
| 142 "//base", | 142 "//base", |
| 143 "//base/test:test_config", | 143 "//base/test:test_config", |
| 144 "//mojo/common:common_base", | 144 "//mojo/common:common_base", |
| 145 "//mojo/converters/network", | 145 "//mojo/converters/network", |
| 146 "//mojo/shell/public/cpp:sources", | 146 "//mojo/shell/public/cpp:sources", |
| 147 "//mojo/shell/public/cpp:test_support", | 147 "//mojo/shell/public/cpp:test_support", |
| 148 "//mojo/shell/public/interfaces", | 148 "//mojo/shell/public/interfaces", |
| 149 ] | 149 ] |
| 150 | 150 |
| 151 data_deps = [ | 151 data_deps = [ |
| 152 ":application_manager_apptest_driver", | 152 ":application_manager_apptest_driver", |
| 153 ":application_manager_apptest_target", | 153 ":application_manager_apptest_target", |
| 154 ":package_test_package", |
| 154 ] | 155 ] |
| 155 } | 156 } |
| 156 | 157 |
| 157 mojo_application_manifest("apptests_manifest") { | 158 mojo_application_manifest("apptests_manifest") { |
| 158 application_name = "mojo_shell_apptests" | 159 application_name = "mojo_shell_apptests" |
| 159 source = "application_manager_apptest_manifest.json" | 160 source = "application_manager_apptest_manifest.json" |
| 161 } |
| 162 |
| 163 mojo_application_manifest("package_test_a_manifest") { |
| 164 application_name = "package_test_a" |
| 165 source = "package_test_app_a_manifest.json" |
| 166 } |
| 167 |
| 168 mojo_application_manifest("package_test_b_manifest") { |
| 169 application_name = "package_test_b" |
| 170 source = "package_test_app_b_manifest.json" |
| 171 } |
| 172 |
| 173 mojo_native_application("package_test_package") { |
| 174 testonly = true |
| 175 sources = [ |
| 176 "package_test_package.cc", |
| 177 ] |
| 178 deps = [ |
| 179 ":package_test_package_manifest", |
| 180 ":test_bindings", |
| 181 "//base", |
| 182 "//mojo/common:common_base", |
| 183 "//mojo/shell/public/cpp:sources", |
| 184 "//mojo/shell/public/interfaces", |
| 185 ] |
| 186 } |
| 187 |
| 188 mojo_application_manifest("package_test_package_manifest") { |
| 189 application_name = "package_test_package" |
| 190 source = "package_test_package_manifest.json" |
| 160 deps = [ | 191 deps = [ |
| 161 ":package_test_a_manifest", | 192 ":package_test_a_manifest", |
| 162 ":package_test_b_manifest", | 193 ":package_test_b_manifest", |
| 163 ] | 194 ] |
| 164 packaged_applications = [ | 195 packaged_applications = [ |
| 165 "package_test_a", | 196 "package_test_a", |
| 166 "package_test_b", | 197 "package_test_b", |
| 167 ] | 198 ] |
| 168 } | 199 } |
| 169 | 200 |
| 170 mojo_application_manifest("package_test_a_manifest") { | |
| 171 application_name = "package_test_a" | |
| 172 source = "application_package_apptest_app_a_manifest.json" | |
| 173 } | |
| 174 | |
| 175 mojo_application_manifest("package_test_b_manifest") { | |
| 176 application_name = "package_test_b" | |
| 177 source = "application_package_apptest_app_b_manifest.json" | |
| 178 } | |
| 179 | |
| 180 executable("application_manager_apptest_driver") { | 201 executable("application_manager_apptest_driver") { |
| 181 testonly = true | 202 testonly = true |
| 182 | 203 |
| 183 sources = [ | 204 sources = [ |
| 184 "application_manager_apptest_driver.cc", | 205 "application_manager_apptest_driver.cc", |
| 185 ] | 206 ] |
| 186 | 207 |
| 187 deps = [ | 208 deps = [ |
| 188 ":copy_application_manager_apptest_driver_manifest", | 209 ":copy_application_manager_apptest_driver_manifest", |
| 189 ":test_bindings", | 210 ":test_bindings", |
| (...skipping 30 matching lines...) Expand all Loading... |
| 220 deps = [ | 241 deps = [ |
| 221 ":test_bindings", | 242 ":test_bindings", |
| 222 "//base", | 243 "//base", |
| 223 "//build/config/sanitizers:deps", | 244 "//build/config/sanitizers:deps", |
| 224 "//mojo/common:common_base", | 245 "//mojo/common:common_base", |
| 225 "//mojo/converters/network", | 246 "//mojo/converters/network", |
| 226 "//mojo/shell/public/cpp", | 247 "//mojo/shell/public/cpp", |
| 227 "//mojo/shell/runner/child:test_native_main", | 248 "//mojo/shell/runner/child:test_native_main", |
| 228 ] | 249 ] |
| 229 } | 250 } |
| OLD | NEW |