| 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 # NOTE: Don't depend on this target directly. Instead use the service_test | 7 # Only depend on this target if you're trying to implement a custom service |
| 8 # template from //services/service_manager/public/tools/test/service_test.gni. | 8 # test runner. |
| 9 source_set("run_all_service_tests") { | 9 source_set("common_initialization") { |
| 10 testonly = true | 10 testonly = true |
| 11 | 11 |
| 12 sources = [ | 12 sources = [ |
| 13 "run_all_service_tests.cc", | 13 "common_initialization.cc", |
| 14 "common_initialization.h", |
| 14 "service_test_catalog.h", | 15 "service_test_catalog.h", |
| 15 ] | 16 ] |
| 16 | 17 |
| 17 deps = [ | 18 deps = [ |
| 18 "//base", | 19 "//base", |
| 19 "//base/test:test_support", | 20 "//base/test:test_support", |
| 20 "//mojo/edk/system", | 21 "//mojo/edk/system", |
| 21 "//services/catalog:lib", | 22 "//services/catalog:lib", |
| 22 "//services/service_manager/background:lib", | 23 "//services/service_manager/background:lib", |
| 23 "//services/service_manager/public/cpp/standalone_service", | 24 "//services/service_manager/public/cpp/standalone_service", |
| 24 ] | 25 ] |
| 25 | 26 |
| 26 if (is_android) { | 27 if (is_android) { |
| 27 deps += [ "//mojo/android:libsystem_java" ] | 28 deps += [ "//mojo/android:libsystem_java" ] |
| 28 } | 29 } |
| 29 } | 30 } |
| 31 |
| 32 # NOTE: Don't depend on this target directly. Instead use the service_test |
| 33 # template from //services/service_manager/public/tools/test/service_test.gni. |
| 34 source_set("run_all_service_tests") { |
| 35 testonly = true |
| 36 |
| 37 sources = [ |
| 38 "run_all_service_tests.cc", |
| 39 ] |
| 40 |
| 41 deps = [ |
| 42 ":common_initialization", |
| 43 "//base", |
| 44 "//base/test:test_support", |
| 45 ] |
| 46 } |
| OLD | NEW |