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

Side by Side Diff: services/identity/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 | « 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")
5 import("//services/service_manager/public/cpp/service.gni") 6 import("//services/service_manager/public/cpp/service.gni")
6 import("//services/service_manager/public/service_manifest.gni") 7 import("//services/service_manager/public/service_manifest.gni")
7 8
8 source_set("lib") { 9 source_set("lib") {
9 sources = [ 10 sources = [
10 "identity_manager.cc", 11 "identity_manager.cc",
11 "identity_manager.h", 12 "identity_manager.h",
12 "identity_service.cc", 13 "identity_service.cc",
13 "identity_service.h", 14 "identity_service.h",
14 ] 15 ]
15 16
16 deps = [ 17 deps = [
17 "//base", 18 "//base",
18 "//components/signin/core/account_id", 19 "//components/signin/core/account_id",
19 "//components/signin/core/browser", 20 "//components/signin/core/browser",
20 "//services/identity/public/interfaces", 21 "//services/identity/public/interfaces",
21 "//services/service_manager/public/cpp", 22 "//services/service_manager/public/cpp",
22 "//services/service_manager/public/interfaces", 23 "//services/service_manager/public/interfaces",
23 ] 24 ]
24 } 25 }
25 26
26 service_manifest("manifest") { 27 service_manifest("manifest") {
27 name = "identity" 28 name = "identity"
28 source = "manifest.json" 29 source = "manifest.json"
29 } 30 }
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