Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(298)

Side by Side Diff: services/BUILD.gn

Issue 2908843002: Rename "service_unittests" -> "services_unittests". (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
11 # to avoid having to maintain a separate test binary for every service. 11 # to avoid having to maintain a separate test binary for every service.
12 # 12 #
13 # To add tests for a new service, please define a "tests" source_set in the 13 # To add tests for a new service, please define a "tests" source_set in the
14 # service subdirectory and add it as a dependency here. If your unit tests 14 # service subdirectory and add it as a dependency here. If your unit tests
15 # use the ServiceTest framework, you must also include corresponding catalog 15 # use the ServiceTest framework, you must also include corresponding catalog
16 # entries in the "service_unittests_catalog" target below. 16 # entries in the "services_unittests_catalog" target below.
17 service_test("service_unittests") { 17 service_test("services_unittests") {
18 deps = [ 18 deps = [
19 "//services/data_decoder:tests", 19 "//services/data_decoder:tests",
20 "//services/device:tests", 20 "//services/device:tests",
21 "//services/identity:tests", 21 "//services/identity:tests",
22 "//services/preferences:tests", 22 "//services/preferences:tests",
23 "//services/resource_coordinator:tests", 23 "//services/resource_coordinator:tests",
24 "//services/shape_detection:tests", 24 "//services/shape_detection:tests",
25 ] 25 ]
26 26
27 if (use_aura) { 27 if (use_aura) {
(...skipping 28 matching lines...) Expand all
56 # services must be added here. 56 # services must be added here.
57 deps += [ "//services/video_capture:tests" ] 57 deps += [ "//services/video_capture:tests" ]
58 } 58 }
59 59
60 if (use_ozone && is_chromeos) { 60 if (use_ozone && is_chromeos) {
61 deps += [ "//services/ui/display:tests" ] 61 deps += [ "//services/ui/display:tests" ]
62 } 62 }
63 63
64 test_runner = "//services/test:run_all_service_tests" 64 test_runner = "//services/test:run_all_service_tests"
65 65
66 catalog = ":service_unittests_catalog" 66 catalog = ":services_unittests_catalog"
67 } 67 }
68 68
69 catalog("service_unittests_catalog") { 69 catalog("services_unittests_catalog") {
70 testonly = true 70 testonly = true
71 catalog_deps = [ 71 catalog_deps = [
72 "//services/device:tests_catalog", 72 "//services/device:tests_catalog",
73 "//services/identity:tests_catalog", 73 "//services/identity:tests_catalog",
74 "//services/preferences:tests_catalog", 74 "//services/preferences:tests_catalog",
75 "//services/resource_coordinator:tests_catalog", 75 "//services/resource_coordinator:tests_catalog",
76 "//services/video_capture:tests_catalog", 76 "//services/video_capture:tests_catalog",
77 ] 77 ]
78 78
79 if (use_aura) { 79 if (use_aura) {
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 "//mojo/public/java:bindings_java", 112 "//mojo/public/java:bindings_java",
113 "//mojo/public/java:system_java", 113 "//mojo/public/java:system_java",
114 "//services/device/nfc/android:java", 114 "//services/device/nfc/android:java",
115 "//services/device/public/interfaces:interfaces_java", 115 "//services/device/public/interfaces:interfaces_java",
116 "//services/device/public/java:nfc_java", 116 "//services/device/public/java:nfc_java",
117 "//services/shape_detection:shape_detection_java", 117 "//services/shape_detection:shape_detection_java",
118 "//third_party/android_tools:android_support_annotations_java", 118 "//third_party/android_tools:android_support_annotations_java",
119 ] 119 ]
120 } 120 }
121 } 121 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698