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

Side by Side Diff: services/BUILD.gn

Issue 2854083002: [Identity Service] Add service tests of IdentityManager (Closed)
Patch Set: Fix for elimination of InterfaceFactory 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
« no previous file with comments | « no previous file | services/identity/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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("//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.
11 # 11 #
12 # To add tests for a new service, please define a "tests" source_set in the 12 # To add tests for a new service, please define a "tests" source_set in the
13 # service subdirectory and add it as a dependency here. If your unit tests 13 # service subdirectory and add it as a dependency here. If your unit tests
14 # use the ServiceTest framework, you must also include corresponding catalog 14 # use the ServiceTest framework, you must also include corresponding catalog
15 # entries in the "service_unittests_catalog" target below. 15 # entries in the "service_unittests_catalog" target below.
16 service_test("service_unittests") { 16 service_test("service_unittests") {
17 deps = [ 17 deps = [
18 "//services/data_decoder:tests", 18 "//services/data_decoder:tests",
19 "//services/device:tests", 19 "//services/device:tests",
20 "//services/identity:tests",
20 "//services/preferences:tests", 21 "//services/preferences:tests",
21 "//services/resource_coordinator:tests", 22 "//services/resource_coordinator:tests",
22 "//services/shape_detection:tests", 23 "//services/shape_detection:tests",
23 ] 24 ]
24 25
25 if (is_android) { 26 if (is_android) {
26 deps += [ 27 deps += [
27 "//services/device:java", 28 "//services/device:java",
28 29
29 # Some tests need to initialize V8. 30 # Some tests need to initialize V8.
30 "//v8:v8_external_startup_data_assets", 31 "//v8:v8_external_startup_data_assets",
31 ] 32 ]
32 } else { 33 } else {
33 # NOTE: We do not currently support standalone service binaries on Android, 34 # NOTE: We do not currently support standalone service binaries on Android,
34 # so any tests which use the ServiceTest framework to connect to standalone 35 # so any tests which use the ServiceTest framework to connect to standalone
35 # services must be added here. 36 # services must be added here.
36 deps += [ "//services/video_capture:tests" ] 37 deps += [ "//services/video_capture:tests" ]
37 } 38 }
38 39
39 catalog = ":service_unittests_catalog" 40 catalog = ":service_unittests_catalog"
40 } 41 }
41 42
42 catalog("service_unittests_catalog") { 43 catalog("service_unittests_catalog") {
43 testonly = true 44 testonly = true
44 catalog_deps = [ 45 catalog_deps = [
45 "//services/device:tests_catalog", 46 "//services/device:tests_catalog",
47 "//services/identity:tests_catalog",
46 "//services/preferences:tests_catalog", 48 "//services/preferences:tests_catalog",
47 "//services/video_capture:tests_catalog", 49 "//services/video_capture:tests_catalog",
48 ] 50 ]
49 } 51 }
OLDNEW
« no previous file with comments | « no previous file | services/identity/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698