forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD.gn
76 lines (67 loc) · 1.7 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
# Copyright 2020 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.
assert(is_chromeos, "Non-ChromeOS builds cannot depend on //chromeos")
component("hermes") {
public_deps = [ ":hermes_clients" ]
deps = [ ":hermes_fakes" ]
}
source_set("hermes_clients") {
defines = [ "IS_HERMES_CLIENT_IMPL" ]
deps = [
"//base",
"//chromeos/dbus:common",
"//components/device_event_log",
"//dbus",
]
sources = [
"hermes_clients.cc",
"hermes_clients.h",
"hermes_euicc_client.cc",
"hermes_euicc_client.h",
"hermes_manager_client.cc",
"hermes_manager_client.h",
"hermes_profile_client.cc",
"hermes_profile_client.h",
"hermes_response_status.cc",
"hermes_response_status.h",
]
}
source_set("hermes_fakes") {
deps = [
":hermes_clients",
"//base",
"//chromeos/dbus/constants",
"//chromeos/dbus/shill",
"//dbus",
]
sources = [
"fake_hermes_euicc_client.cc",
"fake_hermes_euicc_client.h",
"fake_hermes_manager_client.cc",
"fake_hermes_manager_client.h",
"fake_hermes_profile_client.cc",
"fake_hermes_profile_client.h",
]
allow_circular_includes_from = [ ":hermes_clients" ]
}
source_set("test_support") {
testonly = true
public_deps = [ ":hermes" ]
deps = [
"//base",
"//base/test:test_support",
"//chromeos/dbus:common",
"//dbus:test_support",
"//testing/gmock",
"//testing/gtest",
]
sources = [
"hermes_client_test_base.cc",
"hermes_client_test_base.h",
"hermes_euicc_client_unittest.cc",
"hermes_profile_client_unittest.cc",
"hermes_test_utils.cc",
"hermes_test_utils.h",
]
}