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 19 matching lines...) Expand all Loading... |
30 "//services/ui/gpu:tests", | 30 "//services/ui/gpu:tests", |
31 "//services/ui/ime:tests", | 31 "//services/ui/ime:tests", |
32 "//services/ui/input_devices:tests", | 32 "//services/ui/input_devices:tests", |
33 "//services/ui/public/cpp/tests", | 33 "//services/ui/public/cpp/tests", |
34 "//services/ui/public/interfaces:tests", | 34 "//services/ui/public/interfaces:tests", |
35 ] | 35 ] |
36 | 36 |
37 if (is_linux && !is_chromeos) { | 37 if (is_linux && !is_chromeos) { |
38 deps += [ "//services/ui/demo:tests" ] | 38 deps += [ "//services/ui/demo:tests" ] |
39 } | 39 } |
| 40 |
| 41 if (use_ozone || (!is_chromeos && !is_mac)) { |
| 42 deps += [ "//services/ui/ws:tests" ] |
| 43 } |
40 } | 44 } |
41 | 45 |
42 if (is_android) { | 46 if (is_android) { |
43 deps += [ | 47 deps += [ |
44 "//services/device:java", | 48 "//services/device:java", |
45 | 49 |
46 # Some tests need to initialize V8. | 50 # Some tests need to initialize V8. |
47 "//v8:v8_external_startup_data_assets", | 51 "//v8:v8_external_startup_data_assets", |
48 ] | 52 ] |
49 } else { | 53 } else { |
(...skipping 25 matching lines...) Expand all Loading... |
75 if (use_aura) { | 79 if (use_aura) { |
76 catalog_deps += [ | 80 catalog_deps += [ |
77 "//services/ui/clipboard:tests_catalog", | 81 "//services/ui/clipboard:tests_catalog", |
78 "//services/ui/gpu:tests_catalog", | 82 "//services/ui/gpu:tests_catalog", |
79 "//services/ui/ime:tests_catalog", | 83 "//services/ui/ime:tests_catalog", |
80 ] | 84 ] |
81 | 85 |
82 if (is_linux && !is_chromeos) { | 86 if (is_linux && !is_chromeos) { |
83 catalog_deps += [ "//services/ui/demo:tests_catalog" ] | 87 catalog_deps += [ "//services/ui/demo:tests_catalog" ] |
84 } | 88 } |
| 89 |
| 90 if (use_ozone || !is_chromeos) { |
| 91 catalog_deps += [ "//services/ui/ws:tests_catalog" ] |
| 92 } |
85 } | 93 } |
86 } | 94 } |
87 | 95 |
88 if (is_android) { | 96 if (is_android) { |
89 junit_binary("service_junit_tests") { | 97 junit_binary("service_junit_tests") { |
90 java_files = [ | 98 java_files = [ |
91 "device/generic_sensor/android/junit/src/org/chromium/device/sensors/Platf
ormSensorAndProviderTest.java", | 99 "device/generic_sensor/android/junit/src/org/chromium/device/sensors/Platf
ormSensorAndProviderTest.java", |
92 "device/nfc/android/junit/src/org/chromium/device/nfc/NFCTest.java", | 100 "device/nfc/android/junit/src/org/chromium/device/nfc/NFCTest.java", |
93 "shape_detection/android/junit/src/org/chromium/shape_detection/SharedBuff
erUtilsTest.java", | 101 "shape_detection/android/junit/src/org/chromium/shape_detection/SharedBuff
erUtilsTest.java", |
94 ] | 102 ] |
95 deps = [ | 103 deps = [ |
96 "$google_play_services_package:google_play_services_base_java", | 104 "$google_play_services_package:google_play_services_base_java", |
97 "$google_play_services_package:google_play_services_basement_java", | 105 "$google_play_services_package:google_play_services_basement_java", |
98 "$google_play_services_package:google_play_services_vision_common_java", | 106 "$google_play_services_package:google_play_services_vision_common_java", |
99 "$google_play_services_package:google_play_services_vision_java", | 107 "$google_play_services_package:google_play_services_vision_java", |
100 "//base:base_java", | 108 "//base:base_java", |
101 "//base:base_java_test_support", | 109 "//base:base_java_test_support", |
102 "//device/generic_sensor:java", | 110 "//device/generic_sensor:java", |
103 "//device/generic_sensor/public/interfaces:interfaces_java", | 111 "//device/generic_sensor/public/interfaces:interfaces_java", |
104 "//mojo/public/java:bindings_java", | 112 "//mojo/public/java:bindings_java", |
105 "//mojo/public/java:system_java", | 113 "//mojo/public/java:system_java", |
106 "//services/device/nfc/android:java", | 114 "//services/device/nfc/android:java", |
107 "//services/device/public/interfaces:interfaces_java", | 115 "//services/device/public/interfaces:interfaces_java", |
108 "//services/device/public/java:nfc_java", | 116 "//services/device/public/java:nfc_java", |
109 "//services/shape_detection:shape_detection_java", | 117 "//services/shape_detection:shape_detection_java", |
110 "//third_party/android_tools:android_support_annotations_java", | 118 "//third_party/android_tools:android_support_annotations_java", |
111 ] | 119 ] |
112 } | 120 } |
113 } | 121 } |
OLD | NEW |