| 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("//services/catalog/public/tools/catalog.gni") | 5 import("//services/catalog/public/tools/catalog.gni") |
| 6 import("//services/service_manager/public/tools/test/service_test.gni") | 6 import("//services/service_manager/public/tools/test/service_test.gni") |
| 7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
| 8 | 8 |
| 9 # One Big Target for services to register their unit test sources. This exists | 9 # One Big Target for services to register their unit test sources. This exists |
| 10 # to avoid having to maintain a separate test binary for every service. | 10 # to avoid having to maintain a separate test binary for every service. |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 deps += [ | 26 deps += [ |
| 27 "//services/device:java", | 27 "//services/device:java", |
| 28 | 28 |
| 29 # Some tests need to initialize V8. | 29 # Some tests need to initialize V8. |
| 30 "//v8:v8_external_startup_data_assets", | 30 "//v8:v8_external_startup_data_assets", |
| 31 ] | 31 ] |
| 32 } else { | 32 } else { |
| 33 # NOTE: We do not currently support standalone service binaries on Android, | 33 # NOTE: We do not currently support standalone service binaries on Android, |
| 34 # so any tests which use the ServiceTest framework to connect to standalone | 34 # so any tests which use the ServiceTest framework to connect to standalone |
| 35 # services must be added here. | 35 # services must be added here. |
| 36 deps += [ "//services/video_capture:tests" ] | 36 deps += [ |
| 37 "//services/test:tests", |
| 38 "//services/video_capture:tests", |
| 39 ] |
| 37 } | 40 } |
| 38 | 41 |
| 39 catalog = ":service_unittests_catalog" | 42 catalog = ":service_unittests_catalog" |
| 40 } | 43 } |
| 41 | 44 |
| 42 catalog("service_unittests_catalog") { | 45 catalog("service_unittests_catalog") { |
| 43 testonly = true | 46 testonly = true |
| 44 catalog_deps = [ | 47 catalog_deps = [ |
| 45 "//services/device:tests_catalog", | 48 "//services/device:tests_catalog", |
| 46 "//services/preferences:tests_catalog", | 49 "//services/preferences:tests_catalog", |
| 47 "//services/video_capture:tests_catalog", | 50 "//services/video_capture:tests_catalog", |
| 51 "//services/test:tests_catalog", |
| 48 ] | 52 ] |
| 49 } | 53 } |
| OLD | NEW |