Skip to content

Commit 21aed84

Browse files
committed
Extract //cuttlefish/host/commands/modem_simulator:modem_simulator_class
Bug: b/438343307
1 parent eb96d5f commit 21aed84

File tree

1 file changed

+20
-3
lines changed
  • base/cvd/cuttlefish/host/commands/modem_simulator

1 file changed

+20
-3
lines changed

base/cvd/cuttlefish/host/commands/modem_simulator/BUILD.bazel

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,19 +90,35 @@ cf_cc_library(
9090
],
9191
)
9292

93+
cf_cc_library(
94+
name = "modem_simulator_class",
95+
srcs = ["modem_simulator.cpp"],
96+
hdrs = ["modem_simulator.h"],
97+
deps = [
98+
"//cuttlefish/host/commands/modem_simulator:channel_monitor",
99+
"//cuttlefish/host/commands/modem_simulator:data_service",
100+
"//cuttlefish/host/commands/modem_simulator:misc_service",
101+
"//cuttlefish/host/commands/modem_simulator:modem_service",
102+
"//cuttlefish/host/commands/modem_simulator:modem_simulator_lib",
103+
"//cuttlefish/host/commands/modem_simulator:nvram_config",
104+
"//cuttlefish/host/commands/modem_simulator:sup_service",
105+
"//cuttlefish/host/commands/modem_simulator:thread_looper",
106+
"//cuttlefish/host/commands/modem_simulator:virtual_modem_simulator",
107+
"//libbase",
108+
],
109+
)
110+
93111
cf_cc_library(
94112
name = "modem_simulator_lib",
95113
srcs = [
96114
"call_service.cpp",
97-
"modem_simulator.cpp",
98115
"network_service.cpp",
99116
"sim_service.cpp",
100117
"sms_service.cpp",
101118
"stk_service.cpp",
102119
],
103120
hdrs = [
104121
"call_service.h",
105-
"modem_simulator.h",
106122
"network_service.h",
107123
"sim_service.h",
108124
"sms_service.h",
@@ -144,9 +160,9 @@ cf_cc_binary(
144160
"main.cpp",
145161
],
146162
deps = [
147-
":modem_simulator_lib",
148163
"//cuttlefish/common/libs/fs",
149164
"//cuttlefish/common/libs/utils:tee_logging",
165+
"//cuttlefish/host/commands/modem_simulator:modem_simulator_class",
150166
"//cuttlefish/host/libs/config:cuttlefish_config",
151167
"//libbase",
152168
"@fmt",
@@ -205,6 +221,7 @@ cf_cc_test(
205221
"//cuttlefish/host/commands/assemble_cvd:flags_defaults",
206222
"//cuttlefish/host/commands/modem_simulator:channel_monitor",
207223
"//cuttlefish/host/commands/modem_simulator:device_config",
224+
"//cuttlefish/host/commands/modem_simulator:modem_simulator_class",
208225
"//cuttlefish/host/commands/modem_simulator:modem_simulator_lib",
209226
"//cuttlefish/host/libs/config:cuttlefish_config",
210227
"//libbase",

0 commit comments

Comments
 (0)