Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 1 | { |
| 2 | 'target_defaults': { |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 3 | 'variables': { |
| 4 | 'deps': [ |
| 5 | 'libchrome-<(libbase_ver)', |
Bertrand SIMONNET | 44ce011 | 2014-06-04 12:08:34 -0700 | [diff] [blame] | 6 | 'libchromeos-<(libbase_ver)', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 7 | ], |
Alex Deymo | 6efec62 | 2014-06-23 11:10:18 -0700 | [diff] [blame] | 8 | # shill uses try/catch to interact with dbus-c++. |
| 9 | 'enable_exceptions': 1, |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 10 | }, |
| 11 | 'cflags': [ |
mukesh agrawal | bd46136 | 2013-11-08 17:34:22 -0800 | [diff] [blame] | 12 | '-Wextra', |
| 13 | '-Werror', |
| 14 | '-Wno-unused-parameter', # for pppd_plugin.c, base/tuple.h |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 15 | ], |
| 16 | 'cflags_cc': [ |
| 17 | '-fno-strict-aliasing', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 18 | '-Woverloaded-virtual', |
mukesh agrawal | bd46136 | 2013-11-08 17:34:22 -0800 | [diff] [blame] | 19 | '-Wno-missing-field-initializers', # for LAZY_INSTANCE_INITIALIZER |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 20 | ], |
| 21 | 'defines': [ |
| 22 | '__STDC_FORMAT_MACROS', |
| 23 | '__STDC_LIMIT_MACROS', |
| 24 | 'RUNDIR="/var/run/shill"', |
Paul Stewart | c466475 | 2013-10-25 17:00:09 -0700 | [diff] [blame] | 25 | 'SHIMDIR="<(libdir)/shill/shims"', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 26 | ], |
| 27 | 'conditions': [ |
| 28 | ['USE_cellular == 0', { |
| 29 | 'defines': [ |
| 30 | 'DISABLE_CELLULAR', |
| 31 | ], |
| 32 | }], |
| 33 | ['USE_vpn == 0', { |
| 34 | 'defines': [ |
| 35 | 'DISABLE_VPN', |
| 36 | ], |
| 37 | }], |
Samuel Tan | fb02175 | 2014-10-21 19:56:56 -0700 | [diff] [blame] | 38 | ['USE_wake_on_wifi == 0', { |
| 39 | 'defines': [ |
| 40 | 'DISABLE_WAKE_ON_WIFI', |
| 41 | ], |
| 42 | }], |
Ben Chan | 520eb17 | 2013-10-30 20:51:04 -0700 | [diff] [blame] | 43 | ['USE_wimax == 0', { |
| 44 | 'defines': [ |
| 45 | 'DISABLE_WIMAX', |
| 46 | ], |
| 47 | }], |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 48 | ], |
| 49 | }, |
Bertrand SIMONNET | 24e1f1c | 2014-10-16 16:21:26 -0700 | [diff] [blame] | 50 | 'includes': [ |
| 51 | 'shill.gypi', |
| 52 | ], |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 53 | 'targets': [ |
| 54 | { |
Prathmesh Prabhu | 2fa7bc4 | 2014-03-28 11:48:25 -0700 | [diff] [blame] | 55 | 'target_name': 'mobile_operator_db-protos', |
| 56 | 'type': 'static_library', |
| 57 | 'variables': { |
| 58 | 'proto_in_dir': 'mobile_operator_db', |
| 59 | 'proto_out_dir': |
| 60 | 'include/shill/proto_bindings/mobile_operator_db' |
| 61 | }, |
| 62 | 'sources': [ |
| 63 | '<(proto_in_dir)/mobile_operator_db.proto' |
| 64 | ], |
Alex Deymo | 331b5b4 | 2014-09-24 11:09:43 -0700 | [diff] [blame] | 65 | 'includes': ['../common-mk/protoc.gypi'], |
Prathmesh Prabhu | 2fa7bc4 | 2014-03-28 11:48:25 -0700 | [diff] [blame] | 66 | }, |
| 67 | { |
| 68 | 'target_name': 'mobile_operator_db-db', |
| 69 | 'type': 'none', |
| 70 | 'variables' : { |
| 71 | 'protoc_proto_dir': 'mobile_operator_db', |
| 72 | 'protoc_proto_def': 'mobile_operator_db.proto', |
| 73 | 'protoc_text_dir': 'mobile_operator_db', |
| 74 | 'protoc_bin_dir': '<(PRODUCT_DIR)', |
| 75 | 'protoc_message_name': 'shill.mobile_operator_db.MobileOperatorDB', |
| 76 | }, |
| 77 | 'sources': [ |
| 78 | '<(protoc_text_dir)/serviceproviders.prototxt', |
Prathmesh Prabhu | 2fa7bc4 | 2014-03-28 11:48:25 -0700 | [diff] [blame] | 79 | ], |
Alex Deymo | 331b5b4 | 2014-09-24 11:09:43 -0700 | [diff] [blame] | 80 | 'includes': ['../common-mk/protoctxt.gypi'], |
Prathmesh Prabhu | 2fa7bc4 | 2014-03-28 11:48:25 -0700 | [diff] [blame] | 81 | }, |
| 82 | { |
| 83 | 'target_name': 'mobile_operator_db', |
| 84 | 'type': 'static_library', |
| 85 | 'dependencies': [ |
| 86 | 'mobile_operator_db-protos', |
| 87 | 'mobile_operator_db-db', |
| 88 | ], |
| 89 | }, |
| 90 | { |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 91 | 'target_name': 'shill-adaptors', |
| 92 | 'type': 'none', |
| 93 | 'variables': { |
| 94 | 'xml2cpp_type': 'adaptor', |
| 95 | 'xml2cpp_in_dir': 'dbus_bindings', |
| 96 | 'xml2cpp_out_dir': 'include/shill/dbus_adaptors', |
| 97 | }, |
| 98 | 'sources': [ |
| 99 | '<(xml2cpp_in_dir)/org.chromium.flimflam.Device.xml', |
| 100 | '<(xml2cpp_in_dir)/org.chromium.flimflam.IPConfig.xml', |
| 101 | '<(xml2cpp_in_dir)/org.chromium.flimflam.Manager.xml', |
| 102 | '<(xml2cpp_in_dir)/org.chromium.flimflam.Profile.xml', |
| 103 | '<(xml2cpp_in_dir)/org.chromium.flimflam.Service.xml', |
| 104 | '<(xml2cpp_in_dir)/org.chromium.flimflam.Task.xml', |
Prabhu Kaliamoorthi | 127b341 | 2014-10-16 13:00:25 +0200 | [diff] [blame] | 105 | '<(xml2cpp_in_dir)/org.chromium.flimflam.ThirdPartyVpn.xml', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 106 | ], |
Alex Deymo | 331b5b4 | 2014-09-24 11:09:43 -0700 | [diff] [blame] | 107 | 'includes': ['../common-mk/xml2cpp.gypi'], |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 108 | }, |
| 109 | { |
| 110 | 'target_name': 'shim-protos', |
| 111 | 'type': 'static_library', |
| 112 | 'variables': { |
| 113 | 'proto_in_dir': 'shims/protos', |
| 114 | 'proto_out_dir': 'include/shill/proto_bindings/shims/protos', |
| 115 | }, |
| 116 | 'sources': [ |
| 117 | '<(proto_in_dir)/crypto_util.proto', |
| 118 | ], |
Alex Deymo | 331b5b4 | 2014-09-24 11:09:43 -0700 | [diff] [blame] | 119 | 'includes': ['../common-mk/protoc.gypi'], |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 120 | }, |
| 121 | { |
| 122 | 'target_name': 'crypto_util', |
| 123 | 'type': 'executable', |
| 124 | 'dependencies': ['shim-protos'], |
Bertrand SIMONNET | 44ce011 | 2014-06-04 12:08:34 -0700 | [diff] [blame] | 125 | 'variables': { |
| 126 | 'deps': [ |
| 127 | 'openssl', |
| 128 | 'protobuf-lite', |
| 129 | ] |
Paul Stewart | 2010bd9 | 2014-09-03 19:42:17 -0700 | [diff] [blame] | 130 | }, |
| 131 | 'sources': [ |
| 132 | 'shims/crypto_util.cc', |
| 133 | ], |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 134 | }, |
| 135 | { |
Peter Qiu | 8d6b597 | 2014-10-28 15:33:34 -0700 | [diff] [blame] | 136 | 'target_name': 'libshill-net-<(libbase_ver)', |
| 137 | 'type': 'shared_library', |
| 138 | 'variables': { |
| 139 | 'exported_deps': [ |
Peter Qiu | 02e3dc3 | 2014-10-31 10:15:00 -0700 | [diff] [blame] | 140 | 'libnl-3.0', |
| 141 | 'libnl-genl-3.0', |
Peter Qiu | 8d6b597 | 2014-10-28 15:33:34 -0700 | [diff] [blame] | 142 | ], |
| 143 | 'deps': ['<@(exported_deps)'], |
| 144 | }, |
| 145 | 'cflags': [ |
| 146 | '-fvisibility=default', |
| 147 | ], |
| 148 | 'sources': [ |
Peter Qiu | 02e3dc3 | 2014-10-31 10:15:00 -0700 | [diff] [blame] | 149 | 'net/attribute_list.cc', |
Peter Qiu | 8d6b597 | 2014-10-28 15:33:34 -0700 | [diff] [blame] | 150 | 'net/byte_string.cc', |
Peter Qiu | 02e3dc3 | 2014-10-31 10:15:00 -0700 | [diff] [blame] | 151 | 'net/control_netlink_attribute.cc', |
| 152 | 'net/generic_netlink_message.cc', |
Peter Qiu | 8d6b597 | 2014-10-28 15:33:34 -0700 | [diff] [blame] | 153 | 'net/io_handler_factory.cc', |
Peter Qiu | 40a0148 | 2014-10-31 11:54:23 -0700 | [diff] [blame] | 154 | 'net/io_handler_factory_container.cc', |
Peter Qiu | 8d6b597 | 2014-10-28 15:33:34 -0700 | [diff] [blame] | 155 | 'net/io_input_handler.cc', |
| 156 | 'net/io_ready_handler.cc', |
| 157 | 'net/ip_address.cc', |
Peter Qiu | 02e3dc3 | 2014-10-31 10:15:00 -0700 | [diff] [blame] | 158 | 'net/netlink_attribute.cc', |
| 159 | 'net/netlink_manager.cc', |
| 160 | 'net/netlink_message.cc', |
| 161 | 'net/netlink_socket.cc', |
| 162 | 'net/nl80211_attribute.cc', |
| 163 | 'net/nl80211_message.cc', |
Peter Qiu | 8d6b597 | 2014-10-28 15:33:34 -0700 | [diff] [blame] | 164 | 'net/rtnl_handler.cc', |
| 165 | 'net/rtnl_listener.cc', |
| 166 | 'net/rtnl_message.cc', |
| 167 | 'net/shill_time.cc', |
| 168 | 'net/sockets.cc', |
| 169 | ], |
| 170 | 'includes': ['../common-mk/deps.gypi'], |
| 171 | }, |
| 172 | { |
| 173 | 'target_name': 'libshill-net-test-<(libbase_ver)', |
| 174 | 'type': 'static_library', |
| 175 | 'standalone_static_library': 1, |
| 176 | 'dependencies': [ |
| 177 | 'libshill-net-<(libbase_ver)', |
| 178 | ], |
| 179 | 'sources': [ |
| 180 | 'net/mock_io_handler_factory.cc', |
Peter Qiu | 02e3dc3 | 2014-10-31 10:15:00 -0700 | [diff] [blame] | 181 | 'net/mock_netlink_manager.cc', |
Peter Qiu | 8d6b597 | 2014-10-28 15:33:34 -0700 | [diff] [blame] | 182 | 'net/mock_rtnl_handler.cc', |
| 183 | 'net/mock_sockets.cc', |
| 184 | 'net/mock_time.cc', |
| 185 | ], |
| 186 | 'includes': ['../common-mk/deps.gypi'], |
| 187 | }, |
| 188 | { |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 189 | 'target_name': 'libshill', |
| 190 | 'type': 'static_library', |
| 191 | 'dependencies': [ |
Prathmesh Prabhu | 2fa7bc4 | 2014-03-28 11:48:25 -0700 | [diff] [blame] | 192 | 'mobile_operator_db', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 193 | 'shill-adaptors', |
| 194 | 'shill-proxies', |
| 195 | 'shim-protos', |
Peter Qiu | 8d6b597 | 2014-10-28 15:33:34 -0700 | [diff] [blame] | 196 | 'libshill-net-<(libbase_ver)', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 197 | ], |
| 198 | 'variables': { |
| 199 | 'exported_deps': [ |
| 200 | 'dbus-c++-1', |
| 201 | 'gio-2.0', |
| 202 | 'glib-2.0', |
| 203 | 'libcares', |
Bertrand SIMONNET | f62f508 | 2014-06-20 15:34:36 -0700 | [diff] [blame] | 204 | 'libmetrics-<(libbase_ver)', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 205 | 'protobuf-lite', |
| 206 | ], |
| 207 | 'deps': ['<@(exported_deps)'], |
| 208 | }, |
| 209 | 'all_dependent_settings': { |
| 210 | 'variables': { |
| 211 | 'deps': [ |
| 212 | '<@(exported_deps)', |
| 213 | ], |
| 214 | }, |
| 215 | }, |
| 216 | 'link_settings': { |
| 217 | 'variables': { |
| 218 | 'deps': [ |
| 219 | 'dbus-c++-1', |
| 220 | 'gio-2.0', |
| 221 | 'glib-2.0', |
| 222 | 'libcares', |
| 223 | 'libnl-3.0', |
| 224 | 'libnl-genl-3.0', |
Bertrand SIMONNET | 2d27ffd | 2014-06-18 10:49:57 -0700 | [diff] [blame] | 225 | # system_api depends on protobuf (or protobuf-lite). It must appear |
| 226 | # before protobuf here or the linker flags won't be in the right |
| 227 | # order. |
| 228 | 'system_api', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 229 | 'protobuf-lite', |
| 230 | ], |
| 231 | }, |
| 232 | 'libraries': [ |
Gaurav Shah | 5981ecf | 2014-04-18 15:22:55 -0700 | [diff] [blame] | 233 | '-lrootdev', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 234 | '-lrt' |
| 235 | ], |
| 236 | }, |
| 237 | 'conditions': [ |
| 238 | ['USE_cellular == 1', { |
Chris Masone | 3d6b238 | 2013-11-11 14:05:28 -0800 | [diff] [blame] | 239 | 'dependencies': [ |
Alex Deymo | 331b5b4 | 2014-09-24 11:09:43 -0700 | [diff] [blame] | 240 | '../common-mk/external_dependencies.gyp:modemmanager-dbus-proxies', |
Chris Masone | 3d6b238 | 2013-11-11 14:05:28 -0800 | [diff] [blame] | 241 | ], |
Liam McLoughlin | 52139ca | 2013-10-31 14:37:38 +0000 | [diff] [blame] | 242 | 'variables': { |
| 243 | 'deps': [ |
| 244 | 'ModemManager', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 245 | ], |
| 246 | }, |
Liam McLoughlin | 52139ca | 2013-10-31 14:37:38 +0000 | [diff] [blame] | 247 | 'sources': [ |
Ben Chan | c54afe5 | 2014-11-05 10:28:08 -0800 | [diff] [blame] | 248 | 'cellular/active_passive_out_of_credits_detector.cc', |
| 249 | 'cellular/cellular.cc', |
| 250 | 'cellular/cellular_bearer.cc', |
| 251 | 'cellular/cellular_capability.cc', |
| 252 | 'cellular/cellular_capability_cdma.cc', |
| 253 | 'cellular/cellular_capability_classic.cc', |
| 254 | 'cellular/cellular_capability_gsm.cc', |
| 255 | 'cellular/cellular_capability_universal.cc', |
| 256 | 'cellular/cellular_capability_universal_cdma.cc', |
| 257 | 'cellular/cellular_error.cc', |
| 258 | 'cellular/cellular_error_mm1.cc', |
| 259 | 'cellular/cellular_service.cc', |
| 260 | 'cellular/dbus_objectmanager_proxy.cc', |
| 261 | 'cellular/mm1_bearer_proxy.cc', |
| 262 | 'cellular/mm1_modem_location_proxy.cc', |
| 263 | 'cellular/mm1_modem_modem3gpp_proxy.cc', |
| 264 | 'cellular/mm1_modem_modemcdma_proxy.cc', |
| 265 | 'cellular/mm1_modem_proxy.cc', |
| 266 | 'cellular/mm1_modem_simple_proxy.cc', |
| 267 | 'cellular/mm1_modem_time_proxy.cc', |
| 268 | 'cellular/mm1_sim_proxy.cc', |
| 269 | 'cellular/mobile_operator_info.cc', |
| 270 | 'cellular/mobile_operator_info_impl.cc', |
| 271 | 'cellular/modem.cc', |
| 272 | 'cellular/modem_1.cc', |
| 273 | 'cellular/modem_cdma_proxy.cc', |
| 274 | 'cellular/modem_classic.cc', |
| 275 | 'cellular/modem_gobi_proxy.cc', |
| 276 | 'cellular/modem_gsm_card_proxy.cc', |
| 277 | 'cellular/modem_gsm_network_proxy.cc', |
| 278 | 'cellular/modem_info.cc', |
| 279 | 'cellular/modem_manager.cc', |
| 280 | 'cellular/modem_manager_1.cc', |
| 281 | 'cellular/modem_manager_proxy.cc', |
| 282 | 'cellular/modem_proxy.cc', |
| 283 | 'cellular/modem_simple_proxy.cc', |
| 284 | 'cellular/out_of_credits_detector.cc', |
| 285 | 'cellular/subscription_state_out_of_credits_detector.cc', |
Prathmesh Prabhu | 28b4a3b | 2014-03-28 11:52:09 -0700 | [diff] [blame] | 286 | 'protobuf_lite_streams.cc', |
Liam McLoughlin | 52139ca | 2013-10-31 14:37:38 +0000 | [diff] [blame] | 287 | ], |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 288 | }], |
| 289 | ['USE_vpn == 1', { |
Liam McLoughlin | 52139ca | 2013-10-31 14:37:38 +0000 | [diff] [blame] | 290 | 'sources': [ |
Ben Chan | 2240e8c | 2014-11-06 13:37:18 -0800 | [diff] [blame^] | 291 | 'vpn/l2tp_ipsec_driver.cc', |
| 292 | 'vpn/openvpn_driver.cc', |
| 293 | 'vpn/openvpn_management_server.cc', |
| 294 | 'vpn/third_party_vpn_dbus_adaptor.cc', |
| 295 | 'vpn/third_party_vpn_driver.cc', |
Liam McLoughlin | 52139ca | 2013-10-31 14:37:38 +0000 | [diff] [blame] | 296 | ], |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 297 | }], |
Ben Chan | 520eb17 | 2013-10-30 20:51:04 -0700 | [diff] [blame] | 298 | ['USE_wimax == 1', { |
Ben Chan | 520eb17 | 2013-10-30 20:51:04 -0700 | [diff] [blame] | 299 | 'sources': [ |
Ben Chan | c3d707d | 2014-10-31 08:56:05 -0700 | [diff] [blame] | 300 | 'wimax/wimax.cc', |
| 301 | 'wimax/wimax_device_proxy.cc', |
| 302 | 'wimax/wimax_manager_proxy.cc', |
| 303 | 'wimax/wimax_network_proxy.cc', |
| 304 | 'wimax/wimax_provider.cc', |
| 305 | 'wimax/wimax_service.cc', |
Ben Chan | 520eb17 | 2013-10-30 20:51:04 -0700 | [diff] [blame] | 306 | ], |
| 307 | }], |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 308 | ], |
| 309 | 'sources': [ |
| 310 | 'arp_client.cc', |
| 311 | 'arp_packet.cc', |
| 312 | 'async_connection.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 313 | 'callback80211_metrics.cc', |
| 314 | 'certificate_file.cc', |
| 315 | 'connection.cc', |
| 316 | 'connection_health_checker.cc', |
| 317 | 'connection_info.cc', |
| 318 | 'connection_info_reader.cc', |
Ben Chan | 3cee3ce | 2014-10-18 10:41:23 -0700 | [diff] [blame] | 319 | 'connection_tester.cc', |
| 320 | 'connectivity_trial.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 321 | 'crypto_des_cbc.cc', |
| 322 | 'crypto_provider.cc', |
| 323 | 'crypto_rot47.cc', |
| 324 | 'crypto_util_proxy.cc', |
| 325 | 'dbus_adaptor.cc', |
| 326 | 'dbus_control.cc', |
| 327 | 'dbus_manager.cc', |
Ben Chan | 084faca | 2013-07-02 14:25:12 -0700 | [diff] [blame] | 328 | 'dbus_name_watcher.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 329 | 'dbus_properties.cc', |
| 330 | 'dbus_properties_proxy.cc', |
| 331 | 'dbus_service_proxy.cc', |
| 332 | 'default_profile.cc', |
| 333 | 'device.cc', |
| 334 | 'device_dbus_adaptor.cc', |
| 335 | 'device_info.cc', |
| 336 | 'dhcp_config.cc', |
| 337 | 'dhcp_provider.cc', |
| 338 | 'dhcpcd_proxy.cc', |
| 339 | 'diagnostics_reporter.cc', |
| 340 | 'dns_client.cc', |
| 341 | 'dns_client_factory.cc', |
Peter Qiu | d670d03 | 2014-06-03 15:04:43 -0700 | [diff] [blame] | 342 | 'dns_server_tester.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 343 | 'eap_credentials.cc', |
| 344 | 'eap_listener.cc', |
| 345 | 'endpoint.cc', |
| 346 | 'ephemeral_profile.cc', |
Peter Qiu | 3161caa | 2014-10-29 09:47:22 -0700 | [diff] [blame] | 347 | 'error.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 348 | 'ethernet.cc', |
| 349 | 'ethernet_eap_provider.cc', |
| 350 | 'ethernet_eap_service.cc', |
| 351 | 'ethernet_service.cc', |
| 352 | 'event_dispatcher.cc', |
| 353 | 'external_task.cc', |
| 354 | 'file_io.cc', |
| 355 | 'file_reader.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 356 | 'geolocation_info.cc', |
| 357 | 'glib.cc', |
Peter Qiu | 40a0148 | 2014-10-31 11:54:23 -0700 | [diff] [blame] | 358 | 'glib_io_handler_factory.cc', |
| 359 | 'glib_io_input_handler.cc', |
| 360 | 'glib_io_ready_handler.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 361 | 'hook_table.cc', |
| 362 | 'http_proxy.cc', |
| 363 | 'http_request.cc', |
| 364 | 'http_url.cc', |
Paul Stewart | 960d469 | 2013-12-09 07:41:59 -0800 | [diff] [blame] | 365 | 'icmp.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 366 | 'ip_address_store.cc', |
| 367 | 'ipconfig.cc', |
| 368 | 'ipconfig_dbus_adaptor.cc', |
| 369 | 'key_file_store.cc', |
| 370 | 'key_value_store.cc', |
| 371 | 'link_monitor.cc', |
Prathmesh Prabhu | f002cdb | 2014-09-17 22:41:05 -0700 | [diff] [blame] | 372 | 'logging.cc', |
Prathmesh Prabhu | 3b6bffa | 2014-09-17 22:47:03 -0700 | [diff] [blame] | 373 | 'mac80211_monitor.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 374 | 'manager.cc', |
| 375 | 'manager_dbus_adaptor.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 376 | 'metrics.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 377 | 'pending_activation_store.cc', |
| 378 | 'portal_detector.cc', |
| 379 | 'power_manager.cc', |
| 380 | 'power_manager_proxy.cc', |
| 381 | 'ppp_device.cc', |
| 382 | 'ppp_device_factory.cc', |
| 383 | 'process_killer.cc', |
| 384 | 'profile.cc', |
| 385 | 'profile_dbus_adaptor.cc', |
| 386 | 'profile_dbus_property_exporter.cc', |
| 387 | 'property_store.cc', |
| 388 | 'proxy_factory.cc', |
| 389 | 'resolver.cc', |
| 390 | 'result_aggregator.cc', |
| 391 | 'routing_table.cc', |
| 392 | 'rpc_task.cc', |
| 393 | 'rpc_task_dbus_adaptor.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 394 | 'scan_session.cc', |
| 395 | 'scope_logger.cc', |
mukesh agrawal | 3ff527c | 2014-04-08 17:07:56 -0700 | [diff] [blame] | 396 | 'scoped_umask.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 397 | 'service.cc', |
| 398 | 'service_dbus_adaptor.cc', |
Paul Stewart | 0153cf0 | 2014-06-02 11:53:36 -0700 | [diff] [blame] | 399 | 'service_property_change_notifier.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 400 | 'shill_ares.cc', |
| 401 | 'shill_config.cc', |
| 402 | 'shill_daemon.cc', |
| 403 | 'shill_test_config.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 404 | 'socket_info.cc', |
| 405 | 'socket_info_reader.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 406 | 'static_ip_parameters.cc', |
| 407 | 'supplicant_bss_proxy.cc', |
| 408 | 'supplicant_eap_state_handler.cc', |
| 409 | 'supplicant_interface_proxy.cc', |
| 410 | 'supplicant_network_proxy.cc', |
| 411 | 'supplicant_process_proxy.cc', |
| 412 | 'technology.cc', |
Paul Stewart | fa11e28 | 2013-12-02 22:04:25 -0800 | [diff] [blame] | 413 | 'tethering.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 414 | 'traffic_monitor.cc', |
| 415 | 'virtio_ethernet.cc', |
| 416 | 'virtual_device.cc', |
Ben Chan | 2240e8c | 2014-11-06 13:37:18 -0800 | [diff] [blame^] | 417 | 'vpn/vpn_driver.cc', |
| 418 | 'vpn/vpn_provider.cc', |
| 419 | 'vpn/vpn_service.cc', |
Samuel Tan | d03b95d | 2014-08-14 11:16:57 -0700 | [diff] [blame] | 420 | 'wake_on_wifi.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 421 | 'wifi.cc', |
| 422 | 'wifi_endpoint.cc', |
| 423 | 'wifi_provider.cc', |
| 424 | 'wifi_service.cc', |
Samuel Tan | d03b95d | 2014-08-14 11:16:57 -0700 | [diff] [blame] | 425 | 'wake_on_wifi.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 426 | 'wpa_supplicant.cc', |
| 427 | ], |
| 428 | }, |
| 429 | { |
| 430 | 'target_name': 'shill', |
| 431 | 'type': 'executable', |
| 432 | 'dependencies': ['libshill'], |
| 433 | 'sources': [ |
| 434 | 'shill_main.cc', |
| 435 | ] |
| 436 | }, |
| 437 | { |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 438 | 'target_name': 'crypto-util', |
| 439 | 'type': 'executable', |
| 440 | 'dependencies': ['shim-protos'], |
| 441 | 'variables': { |
| 442 | 'deps': [ |
| 443 | 'openssl', |
| 444 | 'protobuf-lite', |
| 445 | ], |
| 446 | }, |
| 447 | 'sources': [ |
| 448 | 'shims/crypto_util.cc', |
| 449 | ] |
| 450 | }, |
| 451 | { |
| 452 | 'target_name': 'net-diags-upload', |
| 453 | 'type': 'executable', |
| 454 | 'sources': [ |
| 455 | 'shims/net_diags_upload.cc', |
| 456 | ] |
| 457 | }, |
| 458 | { |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 459 | 'target_name': 'netfilter-queue-helper', |
| 460 | 'type': 'executable', |
| 461 | 'variables': { |
| 462 | 'deps': [ |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 463 | 'libnetfilter_queue', |
| 464 | 'libnfnetlink', |
| 465 | ], |
| 466 | }, |
| 467 | 'sources': [ |
| 468 | 'shims/netfilter_queue_helper.cc', |
| 469 | 'shims/netfilter_queue_processor.cc', |
| 470 | ] |
| 471 | }, |
| 472 | { |
| 473 | 'target_name': 'openvpn-script', |
| 474 | 'type': 'executable', |
| 475 | 'dependencies': ['shill-proxies'], |
| 476 | 'variables': { |
| 477 | 'deps': [ |
| 478 | 'dbus-c++-1', |
| 479 | ], |
| 480 | }, |
| 481 | 'sources': [ |
| 482 | 'shims/environment.cc', |
| 483 | 'shims/openvpn_script.cc', |
| 484 | 'shims/task_proxy.cc', |
| 485 | ] |
| 486 | }, |
| 487 | ], |
| 488 | 'conditions': [ |
| 489 | ['USE_cellular == 1', { |
| 490 | 'targets': [ |
| 491 | { |
| 492 | 'target_name': 'set-apn-helper', |
| 493 | 'type': 'executable', |
Bertrand SIMONNET | 44ce011 | 2014-06-04 12:08:34 -0700 | [diff] [blame] | 494 | 'variables': { |
| 495 | 'deps': [ |
| 496 | 'dbus-glib-1' |
| 497 | ] |
Paul Stewart | 2010bd9 | 2014-09-03 19:42:17 -0700 | [diff] [blame] | 498 | }, |
| 499 | 'sources': [ |
| 500 | 'shims/set_apn_helper.c', |
| 501 | ], |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 502 | }, |
| 503 | ], |
| 504 | }], |
Chris Masone | 3d6b238 | 2013-11-11 14:05:28 -0800 | [diff] [blame] | 505 | ['USE_cellular == 1 or USE_vpn == 1', { |
| 506 | 'targets': [ |
| 507 | { |
| 508 | 'target_name': 'shill-pppd-plugin', |
| 509 | 'type': 'shared_library', |
| 510 | 'dependencies': ['shill-proxies'], |
Paul Stewart | 2010bd9 | 2014-09-03 19:42:17 -0700 | [diff] [blame] | 511 | 'variables': { |
| 512 | 'deps': [ |
| 513 | 'dbus-c++-1', |
| 514 | ], |
| 515 | }, |
Chris Masone | 3d6b238 | 2013-11-11 14:05:28 -0800 | [diff] [blame] | 516 | 'sources': [ |
| 517 | 'shims/c_ppp.cc', |
| 518 | 'shims/environment.cc', |
| 519 | 'shims/ppp.cc', |
| 520 | 'shims/pppd_plugin.c', |
| 521 | 'shims/task_proxy.cc', |
Paul Stewart | 2010bd9 | 2014-09-03 19:42:17 -0700 | [diff] [blame] | 522 | ], |
Chris Masone | 3d6b238 | 2013-11-11 14:05:28 -0800 | [diff] [blame] | 523 | }, |
| 524 | ], |
| 525 | }], |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 526 | ['USE_test == 1', { |
| 527 | 'targets': [ |
| 528 | { |
| 529 | 'target_name': 'shill_unittest', |
| 530 | 'type': 'executable', |
Peter Qiu | 8d6b597 | 2014-10-28 15:33:34 -0700 | [diff] [blame] | 531 | 'dependencies': [ |
| 532 | 'libshill', |
| 533 | 'libshill-net-test-<(libbase_ver)', |
| 534 | ], |
Alex Deymo | 331b5b4 | 2014-09-24 11:09:43 -0700 | [diff] [blame] | 535 | 'includes': ['../common-mk/common_test.gypi'], |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 536 | 'variables': { |
| 537 | 'deps': [ |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 538 | 'libnetfilter_queue', |
| 539 | 'libnfnetlink', |
| 540 | ], |
| 541 | }, |
| 542 | 'defines': [ |
| 543 | 'SYSROOT="<(sysroot)"', |
| 544 | ], |
| 545 | 'sources': [ |
| 546 | 'arp_client_unittest.cc', |
| 547 | 'arp_packet_unittest.cc', |
| 548 | 'async_connection_unittest.cc', |
Wade Guthrie | c272896 | 2013-07-10 09:32:16 -0700 | [diff] [blame] | 549 | 'callback80211_metrics_unittest.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 550 | 'certificate_file_unittest.cc', |
| 551 | 'connection_health_checker_unittest.cc', |
| 552 | 'connection_info_reader_unittest.cc', |
| 553 | 'connection_info_unittest.cc', |
| 554 | 'connection_unittest.cc', |
Ben Chan | 3cee3ce | 2014-10-18 10:41:23 -0700 | [diff] [blame] | 555 | 'connection_tester_unittest.cc', |
| 556 | 'connectivity_trial_unittest.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 557 | 'crypto_des_cbc_unittest.cc', |
| 558 | 'crypto_provider_unittest.cc', |
| 559 | 'crypto_rot47_unittest.cc', |
| 560 | 'crypto_util_proxy_unittest.cc', |
| 561 | 'dbus_adaptor_unittest.cc', |
| 562 | 'dbus_manager_unittest.cc', |
Ben Chan | 084faca | 2013-07-02 14:25:12 -0700 | [diff] [blame] | 563 | 'dbus_name_watcher_unittest.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 564 | 'dbus_properties_unittest.cc', |
| 565 | 'dbus_variant_gmock_printer.cc', |
| 566 | 'default_profile_unittest.cc', |
| 567 | 'device_info_unittest.cc', |
| 568 | 'device_unittest.cc', |
| 569 | 'dhcp_config_unittest.cc', |
| 570 | 'dhcp_provider_unittest.cc', |
| 571 | 'diagnostics_reporter_unittest.cc', |
| 572 | 'dns_client_unittest.cc', |
Peter Qiu | d670d03 | 2014-06-03 15:04:43 -0700 | [diff] [blame] | 573 | 'dns_server_tester_unittest.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 574 | 'eap_credentials_unittest.cc', |
| 575 | 'eap_listener_unittest.cc', |
| 576 | 'error_unittest.cc', |
| 577 | 'ethernet_eap_provider_unittest.cc', |
| 578 | 'ethernet_eap_service_unittest.cc', |
| 579 | 'ethernet_service_unittest.cc', |
| 580 | 'ethernet_unittest.cc', |
| 581 | 'external_task_unittest.cc', |
| 582 | 'file_reader_unittest.cc', |
| 583 | 'hook_table_unittest.cc', |
| 584 | 'http_proxy_unittest.cc', |
| 585 | 'http_request_unittest.cc', |
| 586 | 'http_url_unittest.cc', |
Paul Stewart | 960d469 | 2013-12-09 07:41:59 -0800 | [diff] [blame] | 587 | 'icmp_unittest.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 588 | 'ip_address_store_unittest.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 589 | 'ipconfig_unittest.cc', |
| 590 | 'key_file_store_unittest.cc', |
| 591 | 'key_value_store_unittest.cc', |
| 592 | 'link_monitor_unittest.cc', |
Prathmesh Prabhu | 3b6bffa | 2014-09-17 22:47:03 -0700 | [diff] [blame] | 593 | 'mac80211_monitor_unittest.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 594 | 'manager_unittest.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 595 | 'metrics_unittest.cc', |
| 596 | 'mock_adaptors.cc', |
| 597 | 'mock_ares.cc', |
| 598 | 'mock_arp_client.cc', |
| 599 | 'mock_async_connection.cc', |
| 600 | 'mock_certificate_file.cc', |
| 601 | 'mock_connection.cc', |
| 602 | 'mock_connection_health_checker.cc', |
| 603 | 'mock_connection_info_reader.cc', |
Prathmesh Prabhu | 3b6bffa | 2014-09-17 22:47:03 -0700 | [diff] [blame] | 604 | 'mock_connectivity_trial.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 605 | 'mock_control.cc', |
| 606 | 'mock_crypto_util_proxy.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 607 | 'mock_dbus_properties_proxy.cc', |
| 608 | 'mock_dbus_service_proxy.cc', |
| 609 | 'mock_device.cc', |
| 610 | 'mock_device_info.cc', |
| 611 | 'mock_dhcp_config.cc', |
| 612 | 'mock_dhcp_provider.cc', |
| 613 | 'mock_dhcp_proxy.cc', |
| 614 | 'mock_diagnostics_reporter.cc', |
| 615 | 'mock_dns_client.cc', |
| 616 | 'mock_dns_client_factory.cc', |
Peter Qiu | d670d03 | 2014-06-03 15:04:43 -0700 | [diff] [blame] | 617 | 'mock_dns_server_tester.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 618 | 'mock_eap_credentials.cc', |
| 619 | 'mock_eap_listener.cc', |
| 620 | 'mock_ethernet.cc', |
| 621 | 'mock_ethernet_eap_provider.cc', |
| 622 | 'mock_ethernet_service.cc', |
| 623 | 'mock_event_dispatcher.cc', |
| 624 | 'mock_external_task.cc', |
| 625 | 'mock_glib.cc', |
| 626 | 'mock_http_request.cc', |
| 627 | 'mock_ip_address_store.cc', |
| 628 | 'mock_ipconfig.cc', |
| 629 | 'mock_link_monitor.cc', |
| 630 | 'mock_log.cc', |
| 631 | 'mock_log_unittest.cc', |
Prathmesh Prabhu | 3b6bffa | 2014-09-17 22:47:03 -0700 | [diff] [blame] | 632 | 'mock_mac80211_monitor.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 633 | 'mock_manager.cc', |
| 634 | 'mock_metrics.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 635 | 'mock_pending_activation_store.cc', |
| 636 | 'mock_portal_detector.cc', |
| 637 | 'mock_power_manager.cc', |
| 638 | 'mock_power_manager_proxy.cc', |
| 639 | 'mock_ppp_device.cc', |
| 640 | 'mock_ppp_device_factory.cc', |
| 641 | 'mock_process_killer.cc', |
| 642 | 'mock_profile.cc', |
| 643 | 'mock_property_store.cc', |
| 644 | 'mock_proxy_factory.cc', |
| 645 | 'mock_resolver.cc', |
| 646 | 'mock_routing_table.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 647 | 'mock_scan_session.cc', |
| 648 | 'mock_service.cc', |
| 649 | 'mock_socket_info_reader.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 650 | 'mock_store.cc', |
| 651 | 'mock_supplicant_bss_proxy.cc', |
| 652 | 'mock_supplicant_eap_state_handler.cc', |
| 653 | 'mock_supplicant_interface_proxy.cc', |
| 654 | 'mock_supplicant_network_proxy.cc', |
| 655 | 'mock_supplicant_process_proxy.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 656 | 'mock_traffic_monitor.cc', |
| 657 | 'mock_virtual_device.cc', |
Samuel Tan | fb02175 | 2014-10-21 19:56:56 -0700 | [diff] [blame] | 658 | 'mock_wake_on_wifi.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 659 | 'mock_wifi.cc', |
| 660 | 'mock_wifi_provider.cc', |
| 661 | 'mock_wifi_service.cc', |
Peter Qiu | 02e3dc3 | 2014-10-31 10:15:00 -0700 | [diff] [blame] | 662 | 'net/byte_string_unittest.cc', |
| 663 | 'net/ip_address_unittest.cc', |
| 664 | 'net/netlink_manager_unittest.cc', |
| 665 | 'net/netlink_message_unittest.cc', |
| 666 | 'net/netlink_socket_unittest.cc', |
| 667 | 'net/rtnl_handler_unittest.cc', |
| 668 | 'net/rtnl_listener_unittest.cc', |
| 669 | 'net/rtnl_message_unittest.cc', |
| 670 | 'net/shill_time_unittest.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 671 | 'nice_mock_control.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 672 | 'pending_activation_store_unittest.cc', |
| 673 | 'portal_detector_unittest.cc', |
| 674 | 'power_manager_unittest.cc', |
| 675 | 'ppp_device_unittest.cc', |
| 676 | 'process_killer_unittest.cc', |
| 677 | 'profile_dbus_property_exporter_unittest.cc', |
| 678 | 'profile_unittest.cc', |
| 679 | 'property_accessor_unittest.cc', |
Paul Stewart | 0153cf0 | 2014-06-02 11:53:36 -0700 | [diff] [blame] | 680 | 'property_observer_unittest.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 681 | 'property_store_unittest.cc', |
| 682 | 'resolver_unittest.cc', |
| 683 | 'result_aggregator_unittest.cc', |
| 684 | 'routing_table_unittest.cc', |
| 685 | 'rpc_task_unittest.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 686 | 'scan_session_unittest.cc', |
| 687 | 'scope_logger_unittest.cc', |
| 688 | 'service_property_change_test.cc', |
| 689 | 'service_under_test.cc', |
| 690 | 'service_unittest.cc', |
| 691 | 'shill_unittest.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 692 | 'shims/netfilter_queue_processor.cc', |
| 693 | 'shims/netfilter_queue_processor_unittest.cc', |
| 694 | 'socket_info_reader_unittest.cc', |
| 695 | 'socket_info_unittest.cc', |
| 696 | 'static_ip_parameters_unittest.cc', |
| 697 | 'supplicant_eap_state_handler_unittest.cc', |
| 698 | 'technology_unittest.cc', |
| 699 | 'testrunner.cc', |
| 700 | 'traffic_monitor_unittest.cc', |
| 701 | 'virtual_device_unittest.cc', |
Ben Chan | 2240e8c | 2014-11-06 13:37:18 -0800 | [diff] [blame^] | 702 | 'vpn/mock_vpn_provider.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 703 | 'wifi_endpoint_unittest.cc', |
| 704 | 'wifi_provider_unittest.cc', |
| 705 | 'wifi_service_unittest.cc', |
| 706 | 'wifi_unittest.cc', |
Samuel Tan | d03b95d | 2014-08-14 11:16:57 -0700 | [diff] [blame] | 707 | 'wake_on_wifi_unittest.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 708 | 'wpa_supplicant_unittest.cc', |
| 709 | ], |
| 710 | 'conditions': [ |
| 711 | ['USE_cellular == 1', { |
Paul Stewart | 2010bd9 | 2014-09-03 19:42:17 -0700 | [diff] [blame] | 712 | 'variables': { |
| 713 | 'deps': [ |
| 714 | 'ModemManager', |
| 715 | ], |
| 716 | }, |
Liam McLoughlin | 52139ca | 2013-10-31 14:37:38 +0000 | [diff] [blame] | 717 | 'sources': [ |
Ben Chan | c54afe5 | 2014-11-05 10:28:08 -0800 | [diff] [blame] | 718 | 'cellular/active_passive_out_of_credits_detector_unittest.cc', |
| 719 | 'cellular/cellular_bearer_unittest.cc', |
| 720 | 'cellular/cellular_capability_cdma_unittest.cc', |
| 721 | 'cellular/cellular_capability_classic_unittest.cc', |
| 722 | 'cellular/cellular_capability_gsm_unittest.cc', |
| 723 | 'cellular/cellular_capability_universal_cdma_unittest.cc', |
| 724 | 'cellular/cellular_capability_universal_unittest.cc', |
| 725 | 'cellular/cellular_error_unittest.cc', |
| 726 | 'cellular/cellular_service_unittest.cc', |
| 727 | 'cellular/cellular_unittest.cc', |
| 728 | 'cellular/mobile_operator_info_unittest.cc', |
| 729 | 'cellular/mock_cellular.cc', |
| 730 | 'cellular/mock_cellular_service.cc', |
| 731 | 'cellular/mock_dbus_objectmanager_proxy.cc', |
| 732 | 'cellular/mock_mm1_bearer_proxy.cc', |
| 733 | 'cellular/mock_mm1_modem_location_proxy.cc', |
| 734 | 'cellular/mock_mm1_modem_modem3gpp_proxy.cc', |
| 735 | 'cellular/mock_mm1_modem_modemcdma_proxy.cc', |
| 736 | 'cellular/mock_mm1_modem_proxy.cc', |
| 737 | 'cellular/mock_mm1_modem_simple_proxy.cc', |
| 738 | 'cellular/mock_mm1_modem_time_proxy.cc', |
| 739 | 'cellular/mock_mm1_sim_proxy.cc', |
| 740 | 'cellular/mock_mobile_operator_info.cc', |
| 741 | 'cellular/mock_modem.cc', |
| 742 | 'cellular/mock_modem_cdma_proxy.cc', |
| 743 | 'cellular/mock_modem_gobi_proxy.cc', |
| 744 | 'cellular/mock_modem_gsm_card_proxy.cc', |
| 745 | 'cellular/mock_modem_gsm_network_proxy.cc', |
| 746 | 'cellular/mock_modem_info.cc', |
| 747 | 'cellular/mock_modem_manager_proxy.cc', |
| 748 | 'cellular/mock_modem_proxy.cc', |
| 749 | 'cellular/mock_modem_simple_proxy.cc', |
| 750 | 'cellular/mock_out_of_credits_detector.cc', |
| 751 | 'cellular/modem_1_unittest.cc', |
| 752 | 'cellular/modem_info_unittest.cc', |
| 753 | 'cellular/modem_manager_unittest.cc', |
| 754 | 'cellular/modem_unittest.cc', |
| 755 | 'cellular/subscription_state_out_of_credits_detector_unittest.cc', |
Liam McLoughlin | 52139ca | 2013-10-31 14:37:38 +0000 | [diff] [blame] | 756 | ], |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 757 | }], |
| 758 | ['USE_vpn == 1', { |
| 759 | 'sources': [ |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 760 | 'shims/environment.cc', |
| 761 | 'shims/environment_unittest.cc', |
| 762 | 'shims/task_proxy.cc', |
Ben Chan | 2240e8c | 2014-11-06 13:37:18 -0800 | [diff] [blame^] | 763 | 'vpn/l2tp_ipsec_driver_unittest.cc', |
| 764 | 'vpn/mock_openvpn_driver.cc', |
| 765 | 'vpn/mock_openvpn_management_server.cc', |
| 766 | 'vpn/mock_vpn_driver.cc', |
| 767 | 'vpn/mock_vpn_service.cc', |
| 768 | 'vpn/openvpn_driver_unittest.cc', |
| 769 | 'vpn/openvpn_management_server_unittest.cc', |
| 770 | 'vpn/third_party_vpn_driver_unittest.cc', |
| 771 | 'vpn/vpn_driver_unittest.cc', |
| 772 | 'vpn/vpn_provider_unittest.cc', |
| 773 | 'vpn/vpn_service_unittest.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 774 | ], |
| 775 | }], |
Ben Chan | 520eb17 | 2013-10-30 20:51:04 -0700 | [diff] [blame] | 776 | ['USE_wimax == 1', { |
| 777 | 'sources': [ |
Ben Chan | c3d707d | 2014-10-31 08:56:05 -0700 | [diff] [blame] | 778 | 'wimax/mock_wimax.cc', |
| 779 | 'wimax/mock_wimax_device_proxy.cc', |
| 780 | 'wimax/mock_wimax_manager_proxy.cc', |
| 781 | 'wimax/mock_wimax_network_proxy.cc', |
| 782 | 'wimax/mock_wimax_provider.cc', |
| 783 | 'wimax/mock_wimax_service.cc', |
| 784 | 'wimax/wimax_provider_unittest.cc', |
| 785 | 'wimax/wimax_service_unittest.cc', |
| 786 | 'wimax/wimax_unittest.cc', |
Ben Chan | 520eb17 | 2013-10-30 20:51:04 -0700 | [diff] [blame] | 787 | ], |
| 788 | }], |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 789 | ], |
| 790 | }, |
| 791 | ], |
| 792 | }], |
| 793 | ], |
| 794 | } |