| 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("//testing/test.gni") | 5 import("//testing/test.gni") |
| 6 | 6 |
| 7 group("test") { | 7 # NOTE: Don't depend on this target directly. Instead use the service_test |
| 8 testonly = true | 8 # template from //services/service_manager/public/tools/test/service_test.gni. |
| 9 deps = [ | |
| 10 ":run_all_service_tests", | |
| 11 ] | |
| 12 } | |
| 13 | |
| 14 source_set("run_all_service_tests") { | 9 source_set("run_all_service_tests") { |
| 15 testonly = true | 10 testonly = true |
| 16 | 11 |
| 17 sources = [ | 12 sources = [ |
| 18 "run_all_service_tests.cc", | 13 "run_all_service_tests.cc", |
| 19 ] | |
| 20 | |
| 21 deps = [ | |
| 22 "//base", | |
| 23 "//base/test:test_support", | |
| 24 "//mojo/edk/system", | |
| 25 "//services/service_manager/background:lib", | |
| 26 "//services/service_manager/background:main", | |
| 27 ] | |
| 28 } | |
| 29 | |
| 30 # TODO(rockot): Remove this when all consumers of :run_all_service_tests are | |
| 31 # ported to service_test targets. | |
| 32 source_set("run_all_service_tests_with_catalog") { | |
| 33 testonly = true | |
| 34 | |
| 35 sources = [ | |
| 36 "run_all_service_tests_with_catalog.cc", | |
| 37 "service_test_catalog.h", | 14 "service_test_catalog.h", |
| 38 ] | 15 ] |
| 39 | 16 |
| 40 deps = [ | 17 deps = [ |
| 41 "//base", | 18 "//base", |
| 42 "//base/test:test_support", | 19 "//base/test:test_support", |
| 43 "//mojo/edk/system", | 20 "//mojo/edk/system", |
| 44 "//services/catalog:lib", | 21 "//services/catalog:lib", |
| 45 "//services/service_manager/background:lib", | 22 "//services/service_manager/background:lib", |
| 46 ] | 23 ] |
| 47 } | 24 } |
| OLD | NEW |