| 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("//build/config/ui.gni") | 5 import("//build/config/ui.gni") |
| 6 import("//services/catalog/public/tools/catalog.gni") | 6 import("//services/catalog/public/tools/catalog.gni") |
| 7 import("//services/service_manager/public/tools/test/service_test.gni") | 7 import("//services/service_manager/public/tools/test/service_test.gni") |
| 8 import("//testing/test.gni") | 8 import("//testing/test.gni") |
| 9 | 9 |
| 10 # One Big Target for services to register their unit test sources. This exists | 10 # One Big Target for services to register their unit test sources. This exists |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 # Some tests need to initialize V8. | 46 # Some tests need to initialize V8. |
| 47 "//v8:v8_external_startup_data_assets", | 47 "//v8:v8_external_startup_data_assets", |
| 48 ] | 48 ] |
| 49 } else { | 49 } else { |
| 50 # NOTE: We do not currently support standalone service binaries on Android, | 50 # NOTE: We do not currently support standalone service binaries on Android, |
| 51 # so any tests which use the ServiceTest framework to connect to standalone | 51 # so any tests which use the ServiceTest framework to connect to standalone |
| 52 # services must be added here. | 52 # services must be added here. |
| 53 deps += [ "//services/video_capture:tests" ] | 53 deps += [ "//services/video_capture:tests" ] |
| 54 } | 54 } |
| 55 | 55 |
| 56 if (use_ozone && is_chromeos) { |
| 57 deps += [ "//services/ui/display:tests" ] |
| 58 } |
| 59 |
| 60 test_runner = "//services/test:run_all_service_tests" |
| 61 |
| 56 catalog = ":service_unittests_catalog" | 62 catalog = ":service_unittests_catalog" |
| 57 } | 63 } |
| 58 | 64 |
| 59 catalog("service_unittests_catalog") { | 65 catalog("service_unittests_catalog") { |
| 60 testonly = true | 66 testonly = true |
| 61 catalog_deps = [ | 67 catalog_deps = [ |
| 62 "//services/device:tests_catalog", | 68 "//services/device:tests_catalog", |
| 63 "//services/identity:tests_catalog", | 69 "//services/identity:tests_catalog", |
| 64 "//services/preferences:tests_catalog", | 70 "//services/preferences:tests_catalog", |
| 65 "//services/resource_coordinator:tests_catalog", | 71 "//services/resource_coordinator:tests_catalog", |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 "//mojo/public/java:bindings_java", | 103 "//mojo/public/java:bindings_java", |
| 98 "//mojo/public/java:system_java", | 104 "//mojo/public/java:system_java", |
| 99 "//services/device/nfc/android:java", | 105 "//services/device/nfc/android:java", |
| 100 "//services/device/public/interfaces:interfaces_java", | 106 "//services/device/public/interfaces:interfaces_java", |
| 101 "//services/device/public/java:nfc_java", | 107 "//services/device/public/java:nfc_java", |
| 102 "//services/shape_detection:shape_detection_java", | 108 "//services/shape_detection:shape_detection_java", |
| 103 "//third_party/android_tools:android_support_annotations_java", | 109 "//third_party/android_tools:android_support_annotations_java", |
| 104 ] | 110 ] |
| 105 } | 111 } |
| 106 } | 112 } |
| OLD | NEW |