| 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 | 42 |
| 43 catalog("service_unittests_catalog") { | 43 catalog("service_unittests_catalog") { |
| 44 testonly = true | 44 testonly = true |
| 45 catalog_deps = [ | 45 catalog_deps = [ |
| 46 "//services/device:tests_catalog", | 46 "//services/device:tests_catalog", |
| 47 "//services/identity:tests_catalog", | 47 "//services/identity:tests_catalog", |
| 48 "//services/preferences:tests_catalog", | 48 "//services/preferences:tests_catalog", |
| 49 "//services/video_capture:tests_catalog", | 49 "//services/video_capture:tests_catalog", |
| 50 ] | 50 ] |
| 51 } | 51 } |
| 52 |
| 53 if (is_android) { |
| 54 junit_binary("service_junit_tests") { |
| 55 java_files = [ "device/generic_sensor/android/junit/src/org/chromium/device/
sensors/PlatformSensorAndProviderTest.java" ] |
| 56 deps = [ |
| 57 "//base:base_java", |
| 58 "//base:base_java_test_support", |
| 59 "//device/generic_sensor:java", |
| 60 "//device/generic_sensor/public/interfaces:interfaces_java", |
| 61 "//mojo/public/java:bindings_java", |
| 62 "//third_party/android_tools:android_support_annotations_java", |
| 63 ] |
| 64 } |
| 65 } |
| OLD | NEW |