forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBUILD.gn
58 lines (50 loc) · 1.36 KB
/
BUILD.gn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# Copyright 2017 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
if (is_android) {
import("//build/config/android/rules.gni")
}
source_set("lib") {
sources = [
"identity_accessor_impl.cc",
"identity_accessor_impl.h",
"identity_service.cc",
"identity_service.h",
]
configs += [ "//build/config/compiler:wexit_time_destructors" ]
deps = [
"//base",
"//components/signin/public/base",
"//components/signin/public/identity_manager",
"//google_apis",
"//services/identity/public/cpp:cpp_types",
"//services/identity/public/mojom",
"//services/service_manager/public/cpp",
"//services/service_manager/public/mojom",
]
}
source_set("tests") {
testonly = true
sources = [
"identity_accessor_impl_unittest.cc",
]
deps = [
":lib",
"//base",
"//base/test:test_support",
"//components/signin/public/base",
"//components/signin/public/identity_manager:test_support",
"//services/identity/public/cpp:cpp_types",
"//services/identity/public/mojom",
"//services/service_manager/public/cpp",
"//services/service_manager/public/cpp/test:test_support",
"//testing/gtest",
]
}
if (is_android) {
java_group("java") {
deps = [
"//components/signin/core/browser/android:java",
]
}
}