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

Side by Side Diff: services/identity/BUILD.gn

Issue 2857103003: Revert of [Identity Service] Add service tests of IdentityManager (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
« no previous file with comments | « services/BUILD.gn ('k') | services/identity/DEPS » ('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 2017 The Chromium Authors. All rights reserved. 1 # Copyright 2017 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")
6 import("//services/service_manager/public/cpp/service.gni") 5 import("//services/service_manager/public/cpp/service.gni")
7 import("//services/service_manager/public/service_manifest.gni") 6 import("//services/service_manager/public/service_manifest.gni")
8 7
9 source_set("lib") { 8 source_set("lib") {
10 sources = [ 9 sources = [
11 "identity_manager.cc", 10 "identity_manager.cc",
12 "identity_manager.h", 11 "identity_manager.h",
13 "identity_service.cc", 12 "identity_service.cc",
14 "identity_service.h", 13 "identity_service.h",
15 ] 14 ]
16 15
17 deps = [ 16 deps = [
18 "//base", 17 "//base",
19 "//components/signin/core/account_id", 18 "//components/signin/core/account_id",
20 "//components/signin/core/browser", 19 "//components/signin/core/browser",
21 "//services/identity/public/interfaces", 20 "//services/identity/public/interfaces",
22 "//services/service_manager/public/cpp", 21 "//services/service_manager/public/cpp",
23 "//services/service_manager/public/interfaces", 22 "//services/service_manager/public/interfaces",
24 ] 23 ]
25 } 24 }
26 25
27 service_manifest("manifest") { 26 service_manifest("manifest") {
28 name = "identity" 27 name = "identity"
29 source = "manifest.json" 28 source = "manifest.json"
30 } 29 }
31
32 source_set("tests") {
33 testonly = true
34 deps = [
35 ":lib",
36 "//base",
37 "//base/test:test_support",
38 "//components/signin/core/account_id",
39 "//components/signin/core/browser",
40 "//components/signin/core/browser:test_support",
41 "//components/sync_preferences:test_support",
42 "//mojo/public/cpp/bindings:bindings",
43 "//services/identity/public/interfaces",
44 "//services/service_manager/public/cpp",
45 "//services/service_manager/public/cpp:service_test_support",
46 "//testing/gmock",
47 "//testing/gtest",
48 ]
49 sources = [
50 "identity_manager_unittest.cc",
51 ]
52 }
53
54 service_manifest("unittest_manifest") {
55 name = "identity_unittests"
56 source = "unittest_manifest.json"
57 packaged_services = [ ":manifest" ]
58 }
59
60 catalog("tests_catalog") {
61 testonly = true
62 embedded_services = [ ":unittest_manifest" ]
63 }
OLDNEW
« no previous file with comments | « services/BUILD.gn ('k') | services/identity/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698