Peter Qiu | c0beca5 | 2015-09-03 11:25:46 -0700 | [diff] [blame] | 1 | # |
| 2 | # Copyright (C) 2015 The Android Open Source Project |
| 3 | # |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | # you may not use this file except in compliance with the License. |
| 6 | # You may obtain a copy of the License at |
| 7 | # |
| 8 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | # |
| 10 | # Unless required by applicable law or agreed to in writing, software |
| 11 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | # See the License for the specific language governing permissions and |
| 14 | # limitations under the License. |
| 15 | # |
| 16 | |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 17 | { |
| 18 | 'target_defaults': { |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 19 | 'variables': { |
| 20 | 'deps': [ |
Peter Qiu | bd33511 | 2015-09-12 22:35:05 -0700 | [diff] [blame] | 21 | 'dbus-1', |
Alex Vakulenko | 7709670 | 2015-10-27 11:40:30 -0700 | [diff] [blame] | 22 | 'libbrillo-<(libbase_ver)', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 23 | 'libchrome-<(libbase_ver)', |
| 24 | ], |
Ningyuan Wang | 3d644b7 | 2015-09-28 14:14:14 -0700 | [diff] [blame] | 25 | 'enable_exceptions': 1, |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 26 | }, |
| 27 | 'cflags': [ |
mukesh agrawal | bd46136 | 2013-11-08 17:34:22 -0800 | [diff] [blame] | 28 | '-Wextra', |
| 29 | '-Werror', |
| 30 | '-Wno-unused-parameter', # for pppd_plugin.c, base/tuple.h |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 31 | ], |
| 32 | 'cflags_cc': [ |
| 33 | '-fno-strict-aliasing', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 34 | '-Woverloaded-virtual', |
mukesh agrawal | bd46136 | 2013-11-08 17:34:22 -0800 | [diff] [blame] | 35 | '-Wno-missing-field-initializers', # for LAZY_INSTANCE_INITIALIZER |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 36 | ], |
| 37 | 'defines': [ |
Peter Qiu | bd33511 | 2015-09-12 22:35:05 -0700 | [diff] [blame] | 38 | 'ENABLE_CHROMEOS_DBUS', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 39 | 'RUNDIR="/var/run/shill"', |
Paul Stewart | c466475 | 2013-10-25 17:00:09 -0700 | [diff] [blame] | 40 | 'SHIMDIR="<(libdir)/shill/shims"', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 41 | ], |
| 42 | 'conditions': [ |
| 43 | ['USE_cellular == 0', { |
| 44 | 'defines': [ |
| 45 | 'DISABLE_CELLULAR', |
| 46 | ], |
| 47 | }], |
mukesh agrawal | e0442f2 | 2015-08-17 12:57:17 -0700 | [diff] [blame] | 48 | ['USE_dhcpv6 == 0', { |
| 49 | 'defines': [ |
| 50 | 'DISABLE_DHCPV6', |
| 51 | ], |
| 52 | }], |
mukesh agrawal | 0414747 | 2015-08-18 13:25:28 -0700 | [diff] [blame] | 53 | ['USE_json_store == 1', { |
| 54 | 'defines': [ |
| 55 | 'ENABLE_JSON_STORE', |
| 56 | ], |
| 57 | }], |
Garret Kelly | 65a5672 | 2015-02-03 14:48:25 -0500 | [diff] [blame] | 58 | ['USE_pppoe == 0', { |
| 59 | 'defines': [ |
| 60 | 'DISABLE_PPPOE', |
| 61 | ], |
| 62 | }], |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 63 | ['USE_vpn == 0', { |
| 64 | 'defines': [ |
| 65 | 'DISABLE_VPN', |
| 66 | ], |
| 67 | }], |
Samuel Tan | fb02175 | 2014-10-21 19:56:56 -0700 | [diff] [blame] | 68 | ['USE_wake_on_wifi == 0', { |
| 69 | 'defines': [ |
| 70 | 'DISABLE_WAKE_ON_WIFI', |
| 71 | ], |
| 72 | }], |
Peter Qiu | 1a72f54 | 2015-04-14 16:31:36 -0700 | [diff] [blame] | 73 | ['USE_wifi == 0', { |
| 74 | 'defines': [ |
| 75 | 'DISABLE_WIFI', |
| 76 | ], |
| 77 | }], |
Ben Chan | 520eb17 | 2013-10-30 20:51:04 -0700 | [diff] [blame] | 78 | ['USE_wimax == 0', { |
| 79 | 'defines': [ |
| 80 | 'DISABLE_WIMAX', |
| 81 | ], |
| 82 | }], |
Peter Qiu | 1a72f54 | 2015-04-14 16:31:36 -0700 | [diff] [blame] | 83 | ['USE_wired_8021x == 0', { |
| 84 | 'defines': [ |
| 85 | 'DISABLE_WIRED_8021X', |
| 86 | ], |
| 87 | }], |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 88 | ], |
Peter Qiu | d913551 | 2015-09-11 14:35:02 -0700 | [diff] [blame] | 89 | 'include_dirs': [ |
| 90 | # We need this include dir because we include all the local code as |
| 91 | # # "shill/...". |
| 92 | '<(platform2_root)/../aosp/system/connectivity', |
| 93 | ], |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 94 | }, |
Bertrand SIMONNET | 24e1f1c | 2014-10-16 16:21:26 -0700 | [diff] [blame] | 95 | 'includes': [ |
| 96 | 'shill.gypi', |
| 97 | ], |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 98 | 'targets': [ |
| 99 | { |
Prathmesh Prabhu | 2fa7bc4 | 2014-03-28 11:48:25 -0700 | [diff] [blame] | 100 | 'target_name': 'mobile_operator_db-protos', |
| 101 | 'type': 'static_library', |
| 102 | 'variables': { |
| 103 | 'proto_in_dir': 'mobile_operator_db', |
| 104 | 'proto_out_dir': |
Samuel Tan | 9151894 | 2015-09-15 17:31:22 -0700 | [diff] [blame] | 105 | 'include/shill/mobile_operator_db' |
Prathmesh Prabhu | 2fa7bc4 | 2014-03-28 11:48:25 -0700 | [diff] [blame] | 106 | }, |
| 107 | 'sources': [ |
| 108 | '<(proto_in_dir)/mobile_operator_db.proto' |
| 109 | ], |
Peter Qiu | d913551 | 2015-09-11 14:35:02 -0700 | [diff] [blame] | 110 | 'includes': ['../../../../platform2/common-mk/protoc.gypi'], |
Prathmesh Prabhu | 2fa7bc4 | 2014-03-28 11:48:25 -0700 | [diff] [blame] | 111 | }, |
| 112 | { |
| 113 | 'target_name': 'mobile_operator_db-db', |
| 114 | 'type': 'none', |
| 115 | 'variables' : { |
| 116 | 'protoc_proto_dir': 'mobile_operator_db', |
| 117 | 'protoc_proto_def': 'mobile_operator_db.proto', |
| 118 | 'protoc_text_dir': 'mobile_operator_db', |
| 119 | 'protoc_bin_dir': '<(PRODUCT_DIR)', |
| 120 | 'protoc_message_name': 'shill.mobile_operator_db.MobileOperatorDB', |
| 121 | }, |
| 122 | 'sources': [ |
| 123 | '<(protoc_text_dir)/serviceproviders.prototxt', |
Prathmesh Prabhu | 2fa7bc4 | 2014-03-28 11:48:25 -0700 | [diff] [blame] | 124 | ], |
Peter Qiu | d913551 | 2015-09-11 14:35:02 -0700 | [diff] [blame] | 125 | 'includes': ['../../../../platform2/common-mk/protoctxt.gypi'], |
Prathmesh Prabhu | 2fa7bc4 | 2014-03-28 11:48:25 -0700 | [diff] [blame] | 126 | }, |
| 127 | { |
| 128 | 'target_name': 'mobile_operator_db', |
| 129 | 'type': 'static_library', |
| 130 | 'dependencies': [ |
| 131 | 'mobile_operator_db-protos', |
| 132 | 'mobile_operator_db-db', |
| 133 | ], |
| 134 | }, |
| 135 | { |
Peter Qiu | 72e7e25 | 2015-06-26 16:23:46 -0700 | [diff] [blame] | 136 | 'target_name': 'shill-chromeos-dbus-adaptors', |
| 137 | 'type': 'none', |
| 138 | 'variables': { |
Samuel Tan | e4aa2cb | 2015-09-17 12:35:13 -0700 | [diff] [blame] | 139 | 'dbus_adaptors_out_dir': 'include/dbus_bindings', |
Samuel Tan | 0886327 | 2015-09-16 15:58:22 -0700 | [diff] [blame] | 140 | 'dbus_xml_extension': 'dbus-xml', |
Peter Qiu | 72e7e25 | 2015-06-26 16:23:46 -0700 | [diff] [blame] | 141 | }, |
| 142 | 'sources': [ |
Samuel Tan | 0886327 | 2015-09-16 15:58:22 -0700 | [diff] [blame] | 143 | 'dbus_bindings/org.chromium.flimflam.Device.dbus-xml', |
| 144 | 'dbus_bindings/org.chromium.flimflam.IPConfig.dbus-xml', |
| 145 | 'dbus_bindings/org.chromium.flimflam.Manager.dbus-xml', |
| 146 | 'dbus_bindings/org.chromium.flimflam.Profile.dbus-xml', |
| 147 | 'dbus_bindings/org.chromium.flimflam.Service.dbus-xml', |
| 148 | 'dbus_bindings/org.chromium.flimflam.Task.dbus-xml', |
| 149 | 'dbus_bindings/org.chromium.flimflam.ThirdPartyVpn.dbus-xml', |
Peter Qiu | 72e7e25 | 2015-06-26 16:23:46 -0700 | [diff] [blame] | 150 | ], |
Peter Qiu | d913551 | 2015-09-11 14:35:02 -0700 | [diff] [blame] | 151 | 'includes': ['../../../../platform2/common-mk/generate-dbus-adaptors.gypi'], |
Peter Qiu | 72e7e25 | 2015-06-26 16:23:46 -0700 | [diff] [blame] | 152 | }, |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 153 | { |
| 154 | 'target_name': 'shim-protos', |
| 155 | 'type': 'static_library', |
| 156 | 'variables': { |
| 157 | 'proto_in_dir': 'shims/protos', |
Samuel Tan | 9151894 | 2015-09-15 17:31:22 -0700 | [diff] [blame] | 158 | 'proto_out_dir': 'include/shill/shims/protos', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 159 | }, |
| 160 | 'sources': [ |
| 161 | '<(proto_in_dir)/crypto_util.proto', |
| 162 | ], |
Peter Qiu | d913551 | 2015-09-11 14:35:02 -0700 | [diff] [blame] | 163 | 'includes': ['../../../../platform2/common-mk/protoc.gypi'], |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 164 | }, |
| 165 | { |
| 166 | 'target_name': 'crypto_util', |
| 167 | 'type': 'executable', |
| 168 | 'dependencies': ['shim-protos'], |
Bertrand SIMONNET | 44ce011 | 2014-06-04 12:08:34 -0700 | [diff] [blame] | 169 | 'variables': { |
| 170 | 'deps': [ |
| 171 | 'openssl', |
| 172 | 'protobuf-lite', |
| 173 | ] |
Paul Stewart | 2010bd9 | 2014-09-03 19:42:17 -0700 | [diff] [blame] | 174 | }, |
| 175 | 'sources': [ |
| 176 | 'shims/crypto_util.cc', |
| 177 | ], |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 178 | }, |
| 179 | { |
Peter Qiu | 8d6b597 | 2014-10-28 15:33:34 -0700 | [diff] [blame] | 180 | 'target_name': 'libshill-net-<(libbase_ver)', |
| 181 | 'type': 'shared_library', |
Peter Qiu | 8d6b597 | 2014-10-28 15:33:34 -0700 | [diff] [blame] | 182 | 'sources': [ |
Peter Qiu | 02e3dc3 | 2014-10-31 10:15:00 -0700 | [diff] [blame] | 183 | 'net/attribute_list.cc', |
Peter Qiu | 8d6b597 | 2014-10-28 15:33:34 -0700 | [diff] [blame] | 184 | 'net/byte_string.cc', |
Peter Qiu | 02e3dc3 | 2014-10-31 10:15:00 -0700 | [diff] [blame] | 185 | 'net/control_netlink_attribute.cc', |
Samuel Tan | 07dfabc | 2015-01-20 15:10:39 -0800 | [diff] [blame] | 186 | 'net/event_history.cc', |
Peter Qiu | 02e3dc3 | 2014-10-31 10:15:00 -0700 | [diff] [blame] | 187 | 'net/generic_netlink_message.cc', |
Peter Qiu | 8d6b597 | 2014-10-28 15:33:34 -0700 | [diff] [blame] | 188 | 'net/io_handler_factory.cc', |
Peter Qiu | 40a0148 | 2014-10-31 11:54:23 -0700 | [diff] [blame] | 189 | 'net/io_handler_factory_container.cc', |
Peter Qiu | 8d6b597 | 2014-10-28 15:33:34 -0700 | [diff] [blame] | 190 | 'net/io_input_handler.cc', |
| 191 | 'net/io_ready_handler.cc', |
| 192 | 'net/ip_address.cc', |
Peter Qiu | 02e3dc3 | 2014-10-31 10:15:00 -0700 | [diff] [blame] | 193 | 'net/netlink_attribute.cc', |
| 194 | 'net/netlink_manager.cc', |
| 195 | 'net/netlink_message.cc', |
Paul Stewart | 6017384 | 2015-07-20 15:27:08 -0700 | [diff] [blame] | 196 | 'net/netlink_packet.cc', |
Peter Qiu | 02e3dc3 | 2014-10-31 10:15:00 -0700 | [diff] [blame] | 197 | 'net/netlink_socket.cc', |
| 198 | 'net/nl80211_attribute.cc', |
| 199 | 'net/nl80211_message.cc', |
Peter Qiu | 8d6b597 | 2014-10-28 15:33:34 -0700 | [diff] [blame] | 200 | 'net/rtnl_handler.cc', |
| 201 | 'net/rtnl_listener.cc', |
| 202 | 'net/rtnl_message.cc', |
| 203 | 'net/shill_time.cc', |
| 204 | 'net/sockets.cc', |
| 205 | ], |
Peter Qiu | d913551 | 2015-09-11 14:35:02 -0700 | [diff] [blame] | 206 | 'includes': ['../../../../platform2/common-mk/deps.gypi'], |
Peter Qiu | 8d6b597 | 2014-10-28 15:33:34 -0700 | [diff] [blame] | 207 | }, |
| 208 | { |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 209 | 'target_name': 'libshill', |
| 210 | 'type': 'static_library', |
| 211 | 'dependencies': [ |
Prathmesh Prabhu | 2fa7bc4 | 2014-03-28 11:48:25 -0700 | [diff] [blame] | 212 | 'mobile_operator_db', |
Peter Qiu | bd33511 | 2015-09-12 22:35:05 -0700 | [diff] [blame] | 213 | 'shill-chromeos-dbus-adaptors', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 214 | 'shim-protos', |
Peter Qiu | 8d6b597 | 2014-10-28 15:33:34 -0700 | [diff] [blame] | 215 | 'libshill-net-<(libbase_ver)', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 216 | ], |
| 217 | 'variables': { |
| 218 | 'exported_deps': [ |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 219 | 'libcares', |
Bertrand SIMONNET | f62f508 | 2014-06-20 15:34:36 -0700 | [diff] [blame] | 220 | 'libmetrics-<(libbase_ver)', |
Peter Qiu | bd33511 | 2015-09-12 22:35:05 -0700 | [diff] [blame] | 221 | 'libpermission_broker-client', |
| 222 | 'libpower_manager-client', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 223 | 'protobuf-lite', |
| 224 | ], |
Peter Qiu | 00b1868 | 2015-09-09 16:40:07 -0700 | [diff] [blame] | 225 | 'deps': [ |
| 226 | '<@(exported_deps)', |
| 227 | 'libshill-client', |
| 228 | ], |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 229 | }, |
| 230 | 'all_dependent_settings': { |
| 231 | 'variables': { |
| 232 | 'deps': [ |
| 233 | '<@(exported_deps)', |
| 234 | ], |
| 235 | }, |
| 236 | }, |
| 237 | 'link_settings': { |
| 238 | 'variables': { |
| 239 | 'deps': [ |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 240 | 'libcares', |
Bertrand SIMONNET | 2d27ffd | 2014-06-18 10:49:57 -0700 | [diff] [blame] | 241 | # system_api depends on protobuf (or protobuf-lite). It must appear |
| 242 | # before protobuf here or the linker flags won't be in the right |
| 243 | # order. |
| 244 | 'system_api', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 245 | 'protobuf-lite', |
| 246 | ], |
| 247 | }, |
| 248 | 'libraries': [ |
Bertrand SIMONNET | 51aa28f | 2015-07-27 15:47:35 -0700 | [diff] [blame] | 249 | '-lbootstat', |
Gaurav Shah | 5981ecf | 2014-04-18 15:22:55 -0700 | [diff] [blame] | 250 | '-lrootdev', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 251 | '-lrt' |
| 252 | ], |
| 253 | }, |
| 254 | 'conditions': [ |
| 255 | ['USE_cellular == 1', { |
Chris Masone | 3d6b238 | 2013-11-11 14:05:28 -0800 | [diff] [blame] | 256 | 'dependencies': [ |
Peter Qiu | d913551 | 2015-09-11 14:35:02 -0700 | [diff] [blame] | 257 | '../../../../platform2/common-mk/external_dependencies.gyp:modemmanager-dbus-proxies', |
Chris Masone | 3d6b238 | 2013-11-11 14:05:28 -0800 | [diff] [blame] | 258 | ], |
Liam McLoughlin | 52139ca | 2013-10-31 14:37:38 +0000 | [diff] [blame] | 259 | 'variables': { |
| 260 | 'deps': [ |
| 261 | 'ModemManager', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 262 | ], |
| 263 | }, |
Liam McLoughlin | 52139ca | 2013-10-31 14:37:38 +0000 | [diff] [blame] | 264 | 'sources': [ |
Ben Chan | c54afe5 | 2014-11-05 10:28:08 -0800 | [diff] [blame] | 265 | 'cellular/active_passive_out_of_credits_detector.cc', |
| 266 | 'cellular/cellular.cc', |
| 267 | 'cellular/cellular_bearer.cc', |
| 268 | 'cellular/cellular_capability.cc', |
| 269 | 'cellular/cellular_capability_cdma.cc', |
| 270 | 'cellular/cellular_capability_classic.cc', |
| 271 | 'cellular/cellular_capability_gsm.cc', |
| 272 | 'cellular/cellular_capability_universal.cc', |
| 273 | 'cellular/cellular_capability_universal_cdma.cc', |
| 274 | 'cellular/cellular_error.cc', |
| 275 | 'cellular/cellular_error_mm1.cc', |
| 276 | 'cellular/cellular_service.cc', |
Ben Chan | c54afe5 | 2014-11-05 10:28:08 -0800 | [diff] [blame] | 277 | 'cellular/mobile_operator_info.cc', |
| 278 | 'cellular/mobile_operator_info_impl.cc', |
| 279 | 'cellular/modem.cc', |
| 280 | 'cellular/modem_1.cc', |
Ben Chan | c54afe5 | 2014-11-05 10:28:08 -0800 | [diff] [blame] | 281 | 'cellular/modem_classic.cc', |
Ben Chan | c54afe5 | 2014-11-05 10:28:08 -0800 | [diff] [blame] | 282 | 'cellular/modem_info.cc', |
| 283 | 'cellular/modem_manager.cc', |
| 284 | 'cellular/modem_manager_1.cc', |
Ben Chan | c54afe5 | 2014-11-05 10:28:08 -0800 | [diff] [blame] | 285 | 'cellular/out_of_credits_detector.cc', |
| 286 | 'cellular/subscription_state_out_of_credits_detector.cc', |
Peter Qiu | bd33511 | 2015-09-12 22:35:05 -0700 | [diff] [blame] | 287 | 'dbus/chromeos_dbus_objectmanager_proxy.cc', |
| 288 | 'dbus/chromeos_dbus_properties_proxy.cc', |
| 289 | 'dbus/chromeos_mm1_modem_modem3gpp_proxy.cc', |
| 290 | 'dbus/chromeos_mm1_modem_modemcdma_proxy.cc', |
| 291 | 'dbus/chromeos_mm1_modem_proxy.cc', |
| 292 | 'dbus/chromeos_mm1_modem_simple_proxy.cc', |
| 293 | 'dbus/chromeos_mm1_sim_proxy.cc', |
| 294 | 'dbus/chromeos_modem_cdma_proxy.cc', |
| 295 | 'dbus/chromeos_modem_gobi_proxy.cc', |
| 296 | 'dbus/chromeos_modem_gsm_card_proxy.cc', |
| 297 | 'dbus/chromeos_modem_gsm_network_proxy.cc', |
| 298 | 'dbus/chromeos_modem_manager_proxy.cc', |
| 299 | 'dbus/chromeos_modem_proxy.cc', |
| 300 | 'dbus/chromeos_modem_simple_proxy.cc', |
Prathmesh Prabhu | 28b4a3b | 2014-03-28 11:52:09 -0700 | [diff] [blame] | 301 | 'protobuf_lite_streams.cc', |
Liam McLoughlin | 52139ca | 2013-10-31 14:37:38 +0000 | [diff] [blame] | 302 | ], |
Peter Qiu | 71c9c65 | 2015-07-21 09:44:41 -0700 | [diff] [blame] | 303 | 'actions': [ |
| 304 | { |
Peter Qiu | bd33511 | 2015-09-12 22:35:05 -0700 | [diff] [blame] | 305 | 'action_name': 'generate-cellular-proxies', |
Peter Qiu | 65a049b | 2015-07-24 11:29:01 -0700 | [diff] [blame] | 306 | 'variables': { |
Peter Qiu | bd33511 | 2015-09-12 22:35:05 -0700 | [diff] [blame] | 307 | 'proxy_output_file': 'include/cellular/dbus-proxies.h', |
| 308 | 'modemmanager_in_dir': '<(sysroot)/usr/share/dbus-1/interfaces/', |
Peter Qiu | 65a049b | 2015-07-24 11:29:01 -0700 | [diff] [blame] | 309 | }, |
| 310 | 'sources': [ |
Samuel Tan | 0886327 | 2015-09-16 15:58:22 -0700 | [diff] [blame] | 311 | 'dbus_bindings/dbus-objectmanager.dbus-xml', |
| 312 | 'dbus_bindings/dbus-properties.dbus-xml', |
| 313 | 'dbus_bindings/modem-gobi.dbus-xml', |
Peter Qiu | bd33511 | 2015-09-12 22:35:05 -0700 | [diff] [blame] | 314 | '<(modemmanager_in_dir)/org.freedesktop.ModemManager.Modem.Cdma.xml', |
| 315 | '<(modemmanager_in_dir)/org.freedesktop.ModemManager.Modem.Gsm.Card.xml', |
| 316 | '<(modemmanager_in_dir)/org.freedesktop.ModemManager.Modem.Gsm.Network.xml', |
| 317 | '<(modemmanager_in_dir)/org.freedesktop.ModemManager.Modem.Simple.xml', |
| 318 | '<(modemmanager_in_dir)/org.freedesktop.ModemManager.Modem.xml', |
| 319 | '<(modemmanager_in_dir)/org.freedesktop.ModemManager.xml', |
| 320 | '<(modemmanager_in_dir)/org.freedesktop.ModemManager1.Modem.Modem3gpp.xml', |
| 321 | '<(modemmanager_in_dir)/org.freedesktop.ModemManager1.Modem.ModemCdma.xml', |
| 322 | '<(modemmanager_in_dir)/org.freedesktop.ModemManager1.Modem.Simple.xml', |
| 323 | '<(modemmanager_in_dir)/org.freedesktop.ModemManager1.Modem.xml', |
| 324 | '<(modemmanager_in_dir)/org.freedesktop.ModemManager1.Sim.xml', |
Peter Qiu | 71c9c65 | 2015-07-21 09:44:41 -0700 | [diff] [blame] | 325 | ], |
Peter Qiu | d913551 | 2015-09-11 14:35:02 -0700 | [diff] [blame] | 326 | 'includes': ['../../../../platform2/common-mk/generate-dbus-proxies.gypi'], |
Peter Qiu | 71c9c65 | 2015-07-21 09:44:41 -0700 | [diff] [blame] | 327 | }, |
Peter Qiu | 72e7e25 | 2015-06-26 16:23:46 -0700 | [diff] [blame] | 328 | ], |
| 329 | }], |
mukesh agrawal | bb813e8 | 2015-08-17 17:13:36 -0700 | [diff] [blame] | 330 | ['USE_json_store == 0', { |
mukesh agrawal | b9c5c2e | 2015-09-18 16:15:10 -0700 | [diff] [blame] | 331 | 'link_settings': { |
| 332 | 'variables': { |
| 333 | 'deps': [ |
| 334 | 'gio-2.0', # for g_type_init() |
| 335 | 'glib-2.0', # for g_key_*(), etc. |
| 336 | ], |
| 337 | }, |
| 338 | }, |
mukesh agrawal | bb813e8 | 2015-08-17 17:13:36 -0700 | [diff] [blame] | 339 | 'sources': [ |
| 340 | 'key_file_store.cc', |
| 341 | ], |
mukesh agrawal | b9c5c2e | 2015-09-18 16:15:10 -0700 | [diff] [blame] | 342 | 'variables': { |
| 343 | 'exported_deps': [ |
| 344 | 'gio-2.0', # for g_type_init() |
| 345 | 'glib-2.0', # for g_key_*(), etc. |
| 346 | ], |
| 347 | 'deps': ['<@(exported_deps)'], |
| 348 | }, |
mukesh agrawal | bb813e8 | 2015-08-17 17:13:36 -0700 | [diff] [blame] | 349 | }], |
| 350 | ['USE_json_store == 1', { |
| 351 | 'sources': [ |
| 352 | 'json_store.cc', |
| 353 | ], |
| 354 | }], |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 355 | ['USE_vpn == 1', { |
Liam McLoughlin | 52139ca | 2013-10-31 14:37:38 +0000 | [diff] [blame] | 356 | 'sources': [ |
Ben Chan | 2240e8c | 2014-11-06 13:37:18 -0800 | [diff] [blame] | 357 | 'vpn/l2tp_ipsec_driver.cc', |
| 358 | 'vpn/openvpn_driver.cc', |
| 359 | 'vpn/openvpn_management_server.cc', |
Ben Chan | 2240e8c | 2014-11-06 13:37:18 -0800 | [diff] [blame] | 360 | 'vpn/third_party_vpn_driver.cc', |
Liam McLoughlin | 52139ca | 2013-10-31 14:37:38 +0000 | [diff] [blame] | 361 | ], |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 362 | }], |
Peter Qiu | 1a72f54 | 2015-04-14 16:31:36 -0700 | [diff] [blame] | 363 | ['USE_wifi == 1', { |
| 364 | 'sources': [ |
Peter Qiu | 1a72f54 | 2015-04-14 16:31:36 -0700 | [diff] [blame] | 365 | 'wifi/callback80211_metrics.cc', |
| 366 | 'wifi/mac80211_monitor.cc', |
| 367 | 'wifi/scan_session.cc', |
Peter Qiu | 618d9d7 | 2015-05-04 13:29:19 -0700 | [diff] [blame] | 368 | 'wifi/tdls_manager.cc', |
Peter Qiu | 1a72f54 | 2015-04-14 16:31:36 -0700 | [diff] [blame] | 369 | 'wifi/wake_on_wifi.cc', |
| 370 | 'wifi/wifi.cc', |
| 371 | 'wifi/wifi_endpoint.cc', |
| 372 | 'wifi/wifi_provider.cc', |
| 373 | 'wifi/wifi_service.cc', |
| 374 | ], |
| 375 | }], |
| 376 | ['USE_wifi == 1 or USE_wired_8021x == 1', { |
| 377 | 'sources': [ |
Peter Qiu | bd33511 | 2015-09-12 22:35:05 -0700 | [diff] [blame] | 378 | 'dbus/chromeos_supplicant_bss_proxy.cc', |
| 379 | 'dbus/chromeos_supplicant_interface_proxy.cc', |
| 380 | 'dbus/chromeos_supplicant_network_proxy.cc', |
| 381 | 'dbus/chromeos_supplicant_process_proxy.cc', |
Peter Qiu | 1a72f54 | 2015-04-14 16:31:36 -0700 | [diff] [blame] | 382 | 'eap_credentials.cc', |
| 383 | 'eap_listener.cc', |
| 384 | 'supplicant/supplicant_eap_state_handler.cc', |
Peter Qiu | 1a72f54 | 2015-04-14 16:31:36 -0700 | [diff] [blame] | 385 | 'supplicant/wpa_supplicant.cc', |
| 386 | ], |
Peter Qiu | bd33511 | 2015-09-12 22:35:05 -0700 | [diff] [blame] | 387 | 'actions': [ |
| 388 | { |
| 389 | 'action_name': 'generate-supplicant-proxies', |
| 390 | 'variables': { |
| 391 | 'proxy_output_file': 'include/supplicant/dbus-proxies.h', |
| 392 | }, |
Peter Qiu | 3cf54dd | 2015-07-17 14:13:23 -0700 | [diff] [blame] | 393 | 'sources': [ |
Samuel Tan | 0886327 | 2015-09-16 15:58:22 -0700 | [diff] [blame] | 394 | 'dbus_bindings/supplicant-bss.dbus-xml', |
| 395 | 'dbus_bindings/supplicant-interface.dbus-xml', |
| 396 | 'dbus_bindings/supplicant-network.dbus-xml', |
| 397 | 'dbus_bindings/supplicant-process.dbus-xml', |
Peter Qiu | 3cf54dd | 2015-07-17 14:13:23 -0700 | [diff] [blame] | 398 | ], |
Peter Qiu | bd33511 | 2015-09-12 22:35:05 -0700 | [diff] [blame] | 399 | 'includes': ['../../../../platform2/common-mk/generate-dbus-proxies.gypi'], |
| 400 | }, |
Peter Qiu | 3cf54dd | 2015-07-17 14:13:23 -0700 | [diff] [blame] | 401 | ], |
Peter Qiu | 1a72f54 | 2015-04-14 16:31:36 -0700 | [diff] [blame] | 402 | }], |
Ben Chan | 520eb17 | 2013-10-30 20:51:04 -0700 | [diff] [blame] | 403 | ['USE_wimax == 1', { |
Peter Qiu | d156962 | 2015-09-11 22:09:05 -0700 | [diff] [blame] | 404 | 'variables': { |
| 405 | 'exported_deps': [ |
| 406 | 'libwimax_manager-client', |
| 407 | ], |
| 408 | 'deps': ['<@(exported_deps)'], |
| 409 | }, |
| 410 | 'all_dependent_settings': { |
| 411 | 'variables': { |
| 412 | 'deps': [ |
| 413 | '<@(exported_deps)', |
| 414 | ], |
| 415 | }, |
| 416 | }, |
Ben Chan | 520eb17 | 2013-10-30 20:51:04 -0700 | [diff] [blame] | 417 | 'sources': [ |
Peter Qiu | bd33511 | 2015-09-12 22:35:05 -0700 | [diff] [blame] | 418 | 'dbus/chromeos_wimax_device_proxy.cc', |
| 419 | 'dbus/chromeos_wimax_manager_proxy.cc', |
| 420 | 'dbus/chromeos_wimax_network_proxy.cc', |
Ben Chan | c3d707d | 2014-10-31 08:56:05 -0700 | [diff] [blame] | 421 | 'wimax/wimax.cc', |
Ben Chan | c3d707d | 2014-10-31 08:56:05 -0700 | [diff] [blame] | 422 | 'wimax/wimax_provider.cc', |
| 423 | 'wimax/wimax_service.cc', |
Ben Chan | 520eb17 | 2013-10-30 20:51:04 -0700 | [diff] [blame] | 424 | ], |
| 425 | }], |
Peter Qiu | 1a72f54 | 2015-04-14 16:31:36 -0700 | [diff] [blame] | 426 | ['USE_wired_8021x == 1', { |
| 427 | 'sources': [ |
| 428 | 'ethernet/ethernet_eap_provider.cc', |
| 429 | 'ethernet/ethernet_eap_service.cc', |
| 430 | ], |
| 431 | }], |
Peter Qiu | b255a76 | 2015-06-10 10:09:12 -0700 | [diff] [blame] | 432 | ['USE_dhcpv6 == 1', { |
| 433 | 'sources': [ |
| 434 | 'dhcp/dhcpv6_config.cc', |
| 435 | ], |
| 436 | }], |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 437 | ], |
| 438 | 'sources': [ |
Peter Qiu | d788102 | 2015-01-21 12:27:41 -0800 | [diff] [blame] | 439 | 'active_link_monitor.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 440 | 'arp_client.cc', |
| 441 | 'arp_packet.cc', |
| 442 | 'async_connection.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 443 | 'certificate_file.cc', |
| 444 | 'connection.cc', |
Samuel Tan | 1b9546a | 2015-06-29 18:53:41 -0700 | [diff] [blame] | 445 | 'connection_diagnostics.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 446 | 'connection_health_checker.cc', |
| 447 | 'connection_info.cc', |
| 448 | 'connection_info_reader.cc', |
Ben Chan | 3cee3ce | 2014-10-18 10:41:23 -0700 | [diff] [blame] | 449 | 'connection_tester.cc', |
| 450 | 'connectivity_trial.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 451 | 'crypto_des_cbc.cc', |
| 452 | 'crypto_provider.cc', |
| 453 | 'crypto_rot47.cc', |
| 454 | 'crypto_util_proxy.cc', |
Samuel Tan | 59b397b | 2016-01-20 11:25:21 -0800 | [diff] [blame] | 455 | 'daemon_task.cc', |
Peter Qiu | bd33511 | 2015-09-12 22:35:05 -0700 | [diff] [blame] | 456 | 'dbus/chromeos_dbus_adaptor.cc', |
| 457 | 'dbus/chromeos_dbus_control.cc', |
Peter Qiu | bd33511 | 2015-09-12 22:35:05 -0700 | [diff] [blame] | 458 | 'dbus/chromeos_dbus_service_watcher.cc', |
| 459 | 'dbus/chromeos_device_dbus_adaptor.cc', |
| 460 | 'dbus/chromeos_dhcpcd_listener.cc', |
| 461 | 'dbus/chromeos_dhcpcd_proxy.cc', |
| 462 | 'dbus/chromeos_ipconfig_dbus_adaptor.cc', |
| 463 | 'dbus/chromeos_manager_dbus_adaptor.cc', |
| 464 | 'dbus/chromeos_permission_broker_proxy.cc', |
| 465 | 'dbus/chromeos_power_manager_proxy.cc', |
| 466 | 'dbus/chromeos_profile_dbus_adaptor.cc', |
| 467 | 'dbus/chromeos_rpc_task_dbus_adaptor.cc', |
| 468 | 'dbus/chromeos_service_dbus_adaptor.cc', |
| 469 | 'dbus/chromeos_third_party_vpn_dbus_adaptor.cc', |
| 470 | 'dbus/chromeos_upstart_proxy.cc', |
Kevin Cernekee | dec30b2 | 2016-01-18 15:52:14 -0800 | [diff] [blame] | 471 | 'dbus/dbus_service_watcher_factory.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 472 | 'default_profile.cc', |
| 473 | 'device.cc', |
Peter Qiu | 7e8b8ee | 2014-11-25 13:55:57 -0800 | [diff] [blame] | 474 | 'device_claimer.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 475 | 'device_info.cc', |
Alex Vakulenko | 7709670 | 2015-10-27 11:40:30 -0700 | [diff] [blame] | 476 | 'dhcp_properties.cc', |
Peter Qiu | 675d0b0 | 2015-06-03 13:08:09 -0700 | [diff] [blame] | 477 | 'dhcp/dhcp_config.cc', |
| 478 | 'dhcp/dhcp_provider.cc', |
Peter Qiu | 8e0151e | 2015-06-04 09:41:47 -0700 | [diff] [blame] | 479 | 'dhcp/dhcpv4_config.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 480 | 'dns_client.cc', |
| 481 | 'dns_client_factory.cc', |
Peter Qiu | d670d03 | 2014-06-03 15:04:43 -0700 | [diff] [blame] | 482 | 'dns_server_tester.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 483 | 'ephemeral_profile.cc', |
Peter Qiu | 3161caa | 2014-10-29 09:47:22 -0700 | [diff] [blame] | 484 | 'error.cc', |
Ben Chan | 8760251 | 2014-11-07 20:50:05 -0800 | [diff] [blame] | 485 | 'ethernet/ethernet.cc', |
Ben Chan | 8760251 | 2014-11-07 20:50:05 -0800 | [diff] [blame] | 486 | 'ethernet/ethernet_service.cc', |
Peter Qiu | 6fc1a8c | 2015-04-28 15:47:37 -0700 | [diff] [blame] | 487 | 'ethernet/ethernet_temporary_service.cc', |
Ben Chan | 8760251 | 2014-11-07 20:50:05 -0800 | [diff] [blame] | 488 | 'ethernet/virtio_ethernet.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 489 | 'event_dispatcher.cc', |
| 490 | 'external_task.cc', |
| 491 | 'file_io.cc', |
| 492 | 'file_reader.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 493 | 'geolocation_info.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 494 | 'hook_table.cc', |
| 495 | 'http_proxy.cc', |
| 496 | 'http_request.cc', |
| 497 | 'http_url.cc', |
Paul Stewart | 960d469 | 2013-12-09 07:41:59 -0800 | [diff] [blame] | 498 | 'icmp.cc', |
Samuel Tan | f66080e | 2015-06-18 15:53:00 -0700 | [diff] [blame] | 499 | 'icmp_session.cc', |
Samuel Tan | 1c0debc | 2015-07-24 13:26:21 -0700 | [diff] [blame] | 500 | 'icmp_session_factory.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 501 | 'ip_address_store.cc', |
| 502 | 'ipconfig.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 503 | 'key_value_store.cc', |
| 504 | 'link_monitor.cc', |
Prathmesh Prabhu | f002cdb | 2014-09-17 22:41:05 -0700 | [diff] [blame] | 505 | 'logging.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 506 | 'manager.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 507 | 'metrics.cc', |
Peter Qiu | fcc00ee | 2015-01-16 15:38:45 -0800 | [diff] [blame] | 508 | 'passive_link_monitor.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 509 | 'pending_activation_store.cc', |
| 510 | 'portal_detector.cc', |
| 511 | 'power_manager.cc', |
Garret Kelly | cb832e8 | 2015-01-14 16:37:27 -0500 | [diff] [blame] | 512 | 'ppp_daemon.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 513 | 'ppp_device.cc', |
| 514 | 'ppp_device_factory.cc', |
Garret Kelly | 2dc218e | 2015-01-30 11:16:34 -0500 | [diff] [blame] | 515 | 'pppoe/pppoe_service.cc', |
Peter Qiu | 1774626 | 2015-08-04 22:52:47 -0700 | [diff] [blame] | 516 | 'process_manager.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 517 | 'profile.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 518 | 'property_store.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 519 | 'resolver.cc', |
| 520 | 'result_aggregator.cc', |
| 521 | 'routing_table.cc', |
| 522 | 'rpc_task.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 523 | 'scope_logger.cc', |
mukesh agrawal | 3ff527c | 2014-04-08 17:07:56 -0700 | [diff] [blame] | 524 | 'scoped_umask.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 525 | 'service.cc', |
Paul Stewart | 0153cf0 | 2014-06-02 11:53:36 -0700 | [diff] [blame] | 526 | 'service_property_change_notifier.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 527 | 'shill_ares.cc', |
| 528 | 'shill_config.cc', |
Samuel Tan | 60ea15d | 2016-01-19 15:31:26 -0800 | [diff] [blame] | 529 | 'shill_daemon.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 530 | 'shill_test_config.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 531 | 'socket_info.cc', |
| 532 | 'socket_info_reader.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 533 | 'static_ip_parameters.cc', |
mukesh agrawal | 0414747 | 2015-08-18 13:25:28 -0700 | [diff] [blame] | 534 | 'store_factory.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 535 | 'technology.cc', |
Paul Stewart | fa11e28 | 2013-12-02 22:04:25 -0800 | [diff] [blame] | 536 | 'tethering.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 537 | 'traffic_monitor.cc', |
Paul Stewart | 59a8cba | 2015-01-09 15:48:19 -0800 | [diff] [blame] | 538 | 'upstart/upstart.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 539 | 'virtual_device.cc', |
Ben Chan | 2240e8c | 2014-11-06 13:37:18 -0800 | [diff] [blame] | 540 | 'vpn/vpn_driver.cc', |
| 541 | 'vpn/vpn_provider.cc', |
| 542 | 'vpn/vpn_service.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 543 | ], |
Peter Qiu | bd33511 | 2015-09-12 22:35:05 -0700 | [diff] [blame] | 544 | 'actions': [ |
| 545 | { |
| 546 | 'action_name': 'generate-dhcpcd-proxies', |
| 547 | 'variables': { |
| 548 | 'proxy_output_file': 'include/dhcpcd/dbus-proxies.h', |
| 549 | }, |
| 550 | 'sources': [ |
Samuel Tan | 0886327 | 2015-09-16 15:58:22 -0700 | [diff] [blame] | 551 | 'dbus_bindings/dhcpcd.dbus-xml', |
Peter Qiu | bd33511 | 2015-09-12 22:35:05 -0700 | [diff] [blame] | 552 | ], |
| 553 | 'includes': ['../../../../platform2/common-mk/generate-dbus-proxies.gypi'], |
| 554 | }, |
| 555 | { |
| 556 | 'action_name': 'generate-upstart-proxies', |
| 557 | 'variables': { |
| 558 | 'proxy_output_file': 'include/upstart/dbus-proxies.h', |
| 559 | }, |
| 560 | 'sources': [ |
Samuel Tan | 0886327 | 2015-09-16 15:58:22 -0700 | [diff] [blame] | 561 | 'dbus_bindings/upstart.dbus-xml', |
Peter Qiu | bd33511 | 2015-09-12 22:35:05 -0700 | [diff] [blame] | 562 | ], |
| 563 | 'includes': ['../../../../platform2/common-mk/generate-dbus-proxies.gypi'], |
| 564 | }, |
| 565 | ], |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 566 | }, |
| 567 | { |
| 568 | 'target_name': 'shill', |
| 569 | 'type': 'executable', |
| 570 | 'dependencies': ['libshill'], |
| 571 | 'sources': [ |
| 572 | 'shill_main.cc', |
| 573 | ] |
| 574 | }, |
| 575 | { |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 576 | 'target_name': 'crypto-util', |
| 577 | 'type': 'executable', |
| 578 | 'dependencies': ['shim-protos'], |
| 579 | 'variables': { |
| 580 | 'deps': [ |
| 581 | 'openssl', |
| 582 | 'protobuf-lite', |
| 583 | ], |
| 584 | }, |
| 585 | 'sources': [ |
| 586 | 'shims/crypto_util.cc', |
| 587 | ] |
| 588 | }, |
| 589 | { |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 590 | 'target_name': 'netfilter-queue-helper', |
| 591 | 'type': 'executable', |
| 592 | 'variables': { |
| 593 | 'deps': [ |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 594 | 'libnetfilter_queue', |
| 595 | 'libnfnetlink', |
| 596 | ], |
| 597 | }, |
| 598 | 'sources': [ |
| 599 | 'shims/netfilter_queue_helper.cc', |
| 600 | 'shims/netfilter_queue_processor.cc', |
| 601 | ] |
| 602 | }, |
| 603 | { |
| 604 | 'target_name': 'openvpn-script', |
| 605 | 'type': 'executable', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 606 | 'variables': { |
| 607 | 'deps': [ |
Peter Qiu | 00b1868 | 2015-09-09 16:40:07 -0700 | [diff] [blame] | 608 | 'libshill-client', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 609 | ], |
| 610 | }, |
| 611 | 'sources': [ |
| 612 | 'shims/environment.cc', |
| 613 | 'shims/openvpn_script.cc', |
| 614 | 'shims/task_proxy.cc', |
| 615 | ] |
| 616 | }, |
| 617 | ], |
| 618 | 'conditions': [ |
| 619 | ['USE_cellular == 1', { |
| 620 | 'targets': [ |
| 621 | { |
| 622 | 'target_name': 'set-apn-helper', |
| 623 | 'type': 'executable', |
Bertrand SIMONNET | 44ce011 | 2014-06-04 12:08:34 -0700 | [diff] [blame] | 624 | 'variables': { |
| 625 | 'deps': [ |
| 626 | 'dbus-glib-1' |
| 627 | ] |
Paul Stewart | 2010bd9 | 2014-09-03 19:42:17 -0700 | [diff] [blame] | 628 | }, |
| 629 | 'sources': [ |
| 630 | 'shims/set_apn_helper.c', |
| 631 | ], |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 632 | }, |
| 633 | ], |
| 634 | }], |
Garret Kelly | 2dc218e | 2015-01-30 11:16:34 -0500 | [diff] [blame] | 635 | ['USE_cellular == 1 or USE_vpn == 1 or USE_pppoe == 1', { |
Chris Masone | 3d6b238 | 2013-11-11 14:05:28 -0800 | [diff] [blame] | 636 | 'targets': [ |
| 637 | { |
| 638 | 'target_name': 'shill-pppd-plugin', |
| 639 | 'type': 'shared_library', |
Paul Stewart | 2010bd9 | 2014-09-03 19:42:17 -0700 | [diff] [blame] | 640 | 'variables': { |
| 641 | 'deps': [ |
Peter Qiu | 00b1868 | 2015-09-09 16:40:07 -0700 | [diff] [blame] | 642 | 'libshill-client', |
Paul Stewart | 2010bd9 | 2014-09-03 19:42:17 -0700 | [diff] [blame] | 643 | ], |
| 644 | }, |
Chris Masone | 3d6b238 | 2013-11-11 14:05:28 -0800 | [diff] [blame] | 645 | 'sources': [ |
| 646 | 'shims/c_ppp.cc', |
| 647 | 'shims/environment.cc', |
| 648 | 'shims/ppp.cc', |
| 649 | 'shims/pppd_plugin.c', |
| 650 | 'shims/task_proxy.cc', |
Paul Stewart | 2010bd9 | 2014-09-03 19:42:17 -0700 | [diff] [blame] | 651 | ], |
Chris Masone | 3d6b238 | 2013-11-11 14:05:28 -0800 | [diff] [blame] | 652 | }, |
| 653 | ], |
| 654 | }], |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 655 | ['USE_test == 1', { |
| 656 | 'targets': [ |
| 657 | { |
| 658 | 'target_name': 'shill_unittest', |
| 659 | 'type': 'executable', |
Peter Qiu | 8d6b597 | 2014-10-28 15:33:34 -0700 | [diff] [blame] | 660 | 'dependencies': [ |
| 661 | 'libshill', |
Peter Qiu | 8d6b597 | 2014-10-28 15:33:34 -0700 | [diff] [blame] | 662 | ], |
Peter Qiu | d913551 | 2015-09-11 14:35:02 -0700 | [diff] [blame] | 663 | 'includes': ['../../../../platform2/common-mk/common_test.gypi'], |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 664 | 'variables': { |
| 665 | 'deps': [ |
Alex Vakulenko | ccab3f9 | 2015-06-15 12:53:22 -0700 | [diff] [blame] | 666 | 'libchrome-test-<(libbase_ver)', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 667 | 'libnetfilter_queue', |
| 668 | 'libnfnetlink', |
| 669 | ], |
| 670 | }, |
| 671 | 'defines': [ |
| 672 | 'SYSROOT="<(sysroot)"', |
| 673 | ], |
| 674 | 'sources': [ |
Peter Qiu | d788102 | 2015-01-21 12:27:41 -0800 | [diff] [blame] | 675 | 'active_link_monitor_unittest.cc', |
Peter Qiu | e9b7580 | 2015-01-20 15:24:15 -0800 | [diff] [blame] | 676 | 'arp_client_test_helper.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 677 | 'arp_client_unittest.cc', |
| 678 | 'arp_packet_unittest.cc', |
| 679 | 'async_connection_unittest.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 680 | 'certificate_file_unittest.cc', |
Samuel Tan | 1b9546a | 2015-06-29 18:53:41 -0700 | [diff] [blame] | 681 | 'connection_diagnostics_unittest.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 682 | 'connection_health_checker_unittest.cc', |
| 683 | 'connection_info_reader_unittest.cc', |
| 684 | 'connection_info_unittest.cc', |
Ben Chan | 3cee3ce | 2014-10-18 10:41:23 -0700 | [diff] [blame] | 685 | 'connection_tester_unittest.cc', |
Ben Chan | d6a8b51 | 2014-11-18 10:45:15 -0800 | [diff] [blame] | 686 | 'connection_unittest.cc', |
Ben Chan | 3cee3ce | 2014-10-18 10:41:23 -0700 | [diff] [blame] | 687 | 'connectivity_trial_unittest.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 688 | 'crypto_des_cbc_unittest.cc', |
| 689 | 'crypto_provider_unittest.cc', |
| 690 | 'crypto_rot47_unittest.cc', |
| 691 | 'crypto_util_proxy_unittest.cc', |
Samuel Tan | 59b397b | 2016-01-20 11:25:21 -0800 | [diff] [blame] | 692 | 'daemon_task_unittest.cc', |
Peter Qiu | bd33511 | 2015-09-12 22:35:05 -0700 | [diff] [blame] | 693 | 'dbus/chromeos_dbus_adaptor_unittest.cc', |
Samuel Tan | a2555de | 2016-01-19 16:28:05 -0800 | [diff] [blame] | 694 | 'dbus/chromeos_manager_dbus_adaptor_unittest.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 695 | 'default_profile_unittest.cc', |
Peter Qiu | 7e8b8ee | 2014-11-25 13:55:57 -0800 | [diff] [blame] | 696 | 'device_claimer_unittest.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 697 | 'device_info_unittest.cc', |
| 698 | 'device_unittest.cc', |
Peter Qiu | 675d0b0 | 2015-06-03 13:08:09 -0700 | [diff] [blame] | 699 | 'dhcp/dhcp_config_unittest.cc', |
| 700 | 'dhcp/dhcp_provider_unittest.cc', |
Peter Qiu | 8e0151e | 2015-06-04 09:41:47 -0700 | [diff] [blame] | 701 | 'dhcp/dhcpv4_config_unittest.cc', |
Peter Qiu | 675d0b0 | 2015-06-03 13:08:09 -0700 | [diff] [blame] | 702 | 'dhcp/mock_dhcp_config.cc', |
| 703 | 'dhcp/mock_dhcp_provider.cc', |
| 704 | 'dhcp/mock_dhcp_proxy.cc', |
Alex Vakulenko | 7709670 | 2015-10-27 11:40:30 -0700 | [diff] [blame] | 705 | 'dhcp_properties_unittest.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 706 | 'dns_client_unittest.cc', |
Peter Qiu | d670d03 | 2014-06-03 15:04:43 -0700 | [diff] [blame] | 707 | 'dns_server_tester_unittest.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 708 | 'error_unittest.cc', |
Ben Chan | 8760251 | 2014-11-07 20:50:05 -0800 | [diff] [blame] | 709 | 'ethernet/ethernet_service_unittest.cc', |
| 710 | 'ethernet/ethernet_unittest.cc', |
| 711 | 'ethernet/mock_ethernet.cc', |
Ben Chan | 8760251 | 2014-11-07 20:50:05 -0800 | [diff] [blame] | 712 | 'ethernet/mock_ethernet_service.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 713 | 'external_task_unittest.cc', |
mukesh agrawal | fbac24b | 2015-08-24 14:11:01 -0700 | [diff] [blame] | 714 | 'fake_store.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 715 | 'file_reader_unittest.cc', |
| 716 | 'hook_table_unittest.cc', |
| 717 | 'http_proxy_unittest.cc', |
| 718 | 'http_request_unittest.cc', |
| 719 | 'http_url_unittest.cc', |
Paul Stewart | 960d469 | 2013-12-09 07:41:59 -0800 | [diff] [blame] | 720 | 'icmp_unittest.cc', |
Samuel Tan | f66080e | 2015-06-18 15:53:00 -0700 | [diff] [blame] | 721 | 'icmp_session_unittest.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 722 | 'ip_address_store_unittest.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 723 | 'ipconfig_unittest.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 724 | 'key_value_store_unittest.cc', |
| 725 | 'link_monitor_unittest.cc', |
| 726 | 'manager_unittest.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 727 | 'metrics_unittest.cc', |
Peter Qiu | d788102 | 2015-01-21 12:27:41 -0800 | [diff] [blame] | 728 | 'mock_active_link_monitor.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 729 | 'mock_adaptors.cc', |
| 730 | 'mock_ares.cc', |
| 731 | 'mock_arp_client.cc', |
| 732 | 'mock_async_connection.cc', |
| 733 | 'mock_certificate_file.cc', |
| 734 | 'mock_connection.cc', |
| 735 | 'mock_connection_health_checker.cc', |
| 736 | 'mock_connection_info_reader.cc', |
Prathmesh Prabhu | 3b6bffa | 2014-09-17 22:47:03 -0700 | [diff] [blame] | 737 | 'mock_connectivity_trial.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 738 | 'mock_control.cc', |
| 739 | 'mock_crypto_util_proxy.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 740 | 'mock_device.cc', |
Peter Qiu | 7e8b8ee | 2014-11-25 13:55:57 -0800 | [diff] [blame] | 741 | 'mock_device_claimer.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 742 | 'mock_device_info.cc', |
Rebecca Silberstein | a77c5e2 | 2015-10-08 14:40:31 -0700 | [diff] [blame] | 743 | 'mock_dhcp_properties.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 744 | 'mock_dns_client.cc', |
| 745 | 'mock_dns_client_factory.cc', |
Peter Qiu | d670d03 | 2014-06-03 15:04:43 -0700 | [diff] [blame] | 746 | 'mock_dns_server_tester.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 747 | 'mock_event_dispatcher.cc', |
| 748 | 'mock_external_task.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 749 | 'mock_http_request.cc', |
Samuel Tan | f66080e | 2015-06-18 15:53:00 -0700 | [diff] [blame] | 750 | 'mock_icmp.cc', |
Samuel Tan | 1c0debc | 2015-07-24 13:26:21 -0700 | [diff] [blame] | 751 | 'mock_icmp_session.cc', |
| 752 | 'mock_icmp_session_factory.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 753 | 'mock_ip_address_store.cc', |
| 754 | 'mock_ipconfig.cc', |
| 755 | 'mock_link_monitor.cc', |
| 756 | 'mock_log.cc', |
| 757 | 'mock_log_unittest.cc', |
| 758 | 'mock_manager.cc', |
| 759 | 'mock_metrics.cc', |
Peter Qiu | fcc00ee | 2015-01-16 15:38:45 -0800 | [diff] [blame] | 760 | 'mock_passive_link_monitor.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 761 | 'mock_pending_activation_store.cc', |
| 762 | 'mock_portal_detector.cc', |
| 763 | 'mock_power_manager.cc', |
| 764 | 'mock_power_manager_proxy.cc', |
| 765 | 'mock_ppp_device.cc', |
| 766 | 'mock_ppp_device_factory.cc', |
Peter Qiu | 1774626 | 2015-08-04 22:52:47 -0700 | [diff] [blame] | 767 | 'mock_process_manager.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 768 | 'mock_profile.cc', |
| 769 | 'mock_property_store.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 770 | 'mock_resolver.cc', |
| 771 | 'mock_routing_table.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 772 | 'mock_service.cc', |
| 773 | 'mock_socket_info_reader.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 774 | 'mock_store.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 775 | 'mock_traffic_monitor.cc', |
| 776 | 'mock_virtual_device.cc', |
Paul Stewart | 979f851 | 2015-07-27 16:54:26 -0700 | [diff] [blame] | 777 | 'net/attribute_list_unittest.cc', |
Peter Qiu | 02e3dc3 | 2014-10-31 10:15:00 -0700 | [diff] [blame] | 778 | 'net/byte_string_unittest.cc', |
Samuel Tan | 07dfabc | 2015-01-20 15:10:39 -0800 | [diff] [blame] | 779 | 'net/event_history_unittest.cc', |
Peter Qiu | 02e3dc3 | 2014-10-31 10:15:00 -0700 | [diff] [blame] | 780 | 'net/ip_address_unittest.cc', |
Paul Stewart | 979f851 | 2015-07-27 16:54:26 -0700 | [diff] [blame] | 781 | 'net/netlink_attribute_unittest.cc', |
Peter Qiu | 02e3dc3 | 2014-10-31 10:15:00 -0700 | [diff] [blame] | 782 | 'net/rtnl_handler_unittest.cc', |
| 783 | 'net/rtnl_listener_unittest.cc', |
| 784 | 'net/rtnl_message_unittest.cc', |
| 785 | 'net/shill_time_unittest.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 786 | 'nice_mock_control.cc', |
Peter Qiu | fcc00ee | 2015-01-16 15:38:45 -0800 | [diff] [blame] | 787 | 'passive_link_monitor_unittest.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 788 | 'pending_activation_store_unittest.cc', |
| 789 | 'portal_detector_unittest.cc', |
| 790 | 'power_manager_unittest.cc', |
Garret Kelly | cb832e8 | 2015-01-14 16:37:27 -0500 | [diff] [blame] | 791 | 'ppp_daemon_unittest.cc', |
Garret Kelly | 2dc218e | 2015-01-30 11:16:34 -0500 | [diff] [blame] | 792 | 'ppp_device_unittest.cc', |
| 793 | 'pppoe/pppoe_service_unittest.cc', |
Peter Qiu | 1774626 | 2015-08-04 22:52:47 -0700 | [diff] [blame] | 794 | 'process_manager_unittest.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 795 | 'profile_unittest.cc', |
| 796 | 'property_accessor_unittest.cc', |
Paul Stewart | 0153cf0 | 2014-06-02 11:53:36 -0700 | [diff] [blame] | 797 | 'property_observer_unittest.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 798 | 'property_store_unittest.cc', |
| 799 | 'resolver_unittest.cc', |
| 800 | 'result_aggregator_unittest.cc', |
| 801 | 'routing_table_unittest.cc', |
| 802 | 'rpc_task_unittest.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 803 | 'scope_logger_unittest.cc', |
| 804 | 'service_property_change_test.cc', |
| 805 | 'service_under_test.cc', |
| 806 | 'service_unittest.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 807 | 'shims/netfilter_queue_processor.cc', |
| 808 | 'shims/netfilter_queue_processor_unittest.cc', |
| 809 | 'socket_info_reader_unittest.cc', |
| 810 | 'socket_info_unittest.cc', |
| 811 | 'static_ip_parameters_unittest.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 812 | 'technology_unittest.cc', |
| 813 | 'testrunner.cc', |
| 814 | 'traffic_monitor_unittest.cc', |
Paul Stewart | 59a8cba | 2015-01-09 15:48:19 -0800 | [diff] [blame] | 815 | 'upstart/mock_upstart.cc', |
| 816 | 'upstart/mock_upstart_proxy.cc', |
| 817 | 'upstart/upstart_unittest.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 818 | 'virtual_device_unittest.cc', |
Ben Chan | 2240e8c | 2014-11-06 13:37:18 -0800 | [diff] [blame] | 819 | 'vpn/mock_vpn_provider.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 820 | ], |
| 821 | 'conditions': [ |
| 822 | ['USE_cellular == 1', { |
Paul Stewart | 2010bd9 | 2014-09-03 19:42:17 -0700 | [diff] [blame] | 823 | 'variables': { |
| 824 | 'deps': [ |
| 825 | 'ModemManager', |
| 826 | ], |
| 827 | }, |
Liam McLoughlin | 52139ca | 2013-10-31 14:37:38 +0000 | [diff] [blame] | 828 | 'sources': [ |
Ben Chan | c54afe5 | 2014-11-05 10:28:08 -0800 | [diff] [blame] | 829 | 'cellular/active_passive_out_of_credits_detector_unittest.cc', |
| 830 | 'cellular/cellular_bearer_unittest.cc', |
| 831 | 'cellular/cellular_capability_cdma_unittest.cc', |
| 832 | 'cellular/cellular_capability_classic_unittest.cc', |
| 833 | 'cellular/cellular_capability_gsm_unittest.cc', |
| 834 | 'cellular/cellular_capability_universal_cdma_unittest.cc', |
| 835 | 'cellular/cellular_capability_universal_unittest.cc', |
| 836 | 'cellular/cellular_error_unittest.cc', |
| 837 | 'cellular/cellular_service_unittest.cc', |
| 838 | 'cellular/cellular_unittest.cc', |
| 839 | 'cellular/mobile_operator_info_unittest.cc', |
| 840 | 'cellular/mock_cellular.cc', |
| 841 | 'cellular/mock_cellular_service.cc', |
| 842 | 'cellular/mock_dbus_objectmanager_proxy.cc', |
Ben Chan | c54afe5 | 2014-11-05 10:28:08 -0800 | [diff] [blame] | 843 | 'cellular/mock_mm1_modem_modem3gpp_proxy.cc', |
| 844 | 'cellular/mock_mm1_modem_modemcdma_proxy.cc', |
| 845 | 'cellular/mock_mm1_modem_proxy.cc', |
| 846 | 'cellular/mock_mm1_modem_simple_proxy.cc', |
Ben Chan | c54afe5 | 2014-11-05 10:28:08 -0800 | [diff] [blame] | 847 | 'cellular/mock_mm1_sim_proxy.cc', |
| 848 | 'cellular/mock_mobile_operator_info.cc', |
| 849 | 'cellular/mock_modem.cc', |
| 850 | 'cellular/mock_modem_cdma_proxy.cc', |
| 851 | 'cellular/mock_modem_gobi_proxy.cc', |
| 852 | 'cellular/mock_modem_gsm_card_proxy.cc', |
| 853 | 'cellular/mock_modem_gsm_network_proxy.cc', |
| 854 | 'cellular/mock_modem_info.cc', |
| 855 | 'cellular/mock_modem_manager_proxy.cc', |
| 856 | 'cellular/mock_modem_proxy.cc', |
| 857 | 'cellular/mock_modem_simple_proxy.cc', |
| 858 | 'cellular/mock_out_of_credits_detector.cc', |
| 859 | 'cellular/modem_1_unittest.cc', |
| 860 | 'cellular/modem_info_unittest.cc', |
| 861 | 'cellular/modem_manager_unittest.cc', |
| 862 | 'cellular/modem_unittest.cc', |
| 863 | 'cellular/subscription_state_out_of_credits_detector_unittest.cc', |
Peter Qiu | 05d87e3 | 2015-08-14 23:46:21 -0700 | [diff] [blame] | 864 | 'mock_dbus_properties_proxy.cc', |
Liam McLoughlin | 52139ca | 2013-10-31 14:37:38 +0000 | [diff] [blame] | 865 | ], |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 866 | }], |
Peter Qiu | b255a76 | 2015-06-10 10:09:12 -0700 | [diff] [blame] | 867 | ['USE_dhcpv6 == 1', { |
| 868 | 'sources': [ |
| 869 | 'dhcp/dhcpv6_config_unittest.cc', |
| 870 | ], |
| 871 | }], |
mukesh agrawal | bb813e8 | 2015-08-17 17:13:36 -0700 | [diff] [blame] | 872 | ['USE_json_store == 0', { |
| 873 | 'sources': [ |
| 874 | 'key_file_store_unittest.cc', |
| 875 | ], |
| 876 | }], |
| 877 | ['USE_json_store == 1', { |
| 878 | 'sources': [ |
| 879 | 'json_store_unittest.cc', |
| 880 | ], |
| 881 | }], |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 882 | ['USE_vpn == 1', { |
| 883 | 'sources': [ |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 884 | 'shims/environment.cc', |
| 885 | 'shims/environment_unittest.cc', |
Ben Chan | 2240e8c | 2014-11-06 13:37:18 -0800 | [diff] [blame] | 886 | 'vpn/l2tp_ipsec_driver_unittest.cc', |
| 887 | 'vpn/mock_openvpn_driver.cc', |
| 888 | 'vpn/mock_openvpn_management_server.cc', |
| 889 | 'vpn/mock_vpn_driver.cc', |
| 890 | 'vpn/mock_vpn_service.cc', |
| 891 | 'vpn/openvpn_driver_unittest.cc', |
| 892 | 'vpn/openvpn_management_server_unittest.cc', |
| 893 | 'vpn/third_party_vpn_driver_unittest.cc', |
| 894 | 'vpn/vpn_driver_unittest.cc', |
| 895 | 'vpn/vpn_provider_unittest.cc', |
| 896 | 'vpn/vpn_service_unittest.cc', |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 897 | ], |
| 898 | }], |
Peter Qiu | 1a72f54 | 2015-04-14 16:31:36 -0700 | [diff] [blame] | 899 | ['USE_wifi == 1', { |
| 900 | 'sources': [ |
| 901 | 'net/netlink_manager_unittest.cc', |
| 902 | 'net/netlink_message_unittest.cc', |
Paul Stewart | 6017384 | 2015-07-20 15:27:08 -0700 | [diff] [blame] | 903 | 'net/netlink_packet_unittest.cc', |
Peter Qiu | 1a72f54 | 2015-04-14 16:31:36 -0700 | [diff] [blame] | 904 | 'net/netlink_socket_unittest.cc', |
Paul Stewart | 6f50d01 | 2015-10-30 11:40:06 -0700 | [diff] [blame] | 905 | 'net/nl80211_attribute_unittest.cc', |
Peter Qiu | 1a72f54 | 2015-04-14 16:31:36 -0700 | [diff] [blame] | 906 | 'supplicant/mock_supplicant_bss_proxy.cc', |
| 907 | 'wifi/callback80211_metrics_unittest.cc', |
| 908 | 'wifi/mac80211_monitor_unittest.cc', |
| 909 | 'wifi/mock_mac80211_monitor.cc', |
| 910 | 'wifi/mock_scan_session.cc', |
Peter Qiu | 618d9d7 | 2015-05-04 13:29:19 -0700 | [diff] [blame] | 911 | 'wifi/mock_tdls_manager.cc', |
Peter Qiu | 1a72f54 | 2015-04-14 16:31:36 -0700 | [diff] [blame] | 912 | 'wifi/mock_wake_on_wifi.cc', |
| 913 | 'wifi/mock_wifi.cc', |
| 914 | 'wifi/mock_wifi_provider.cc', |
| 915 | 'wifi/mock_wifi_service.cc', |
| 916 | 'wifi/scan_session_unittest.cc', |
Peter Qiu | 618d9d7 | 2015-05-04 13:29:19 -0700 | [diff] [blame] | 917 | 'wifi/tdls_manager_unittest.cc', |
Peter Qiu | 1a72f54 | 2015-04-14 16:31:36 -0700 | [diff] [blame] | 918 | 'wifi/wake_on_wifi_unittest.cc', |
| 919 | 'wifi/wifi_endpoint_unittest.cc', |
| 920 | 'wifi/wifi_provider_unittest.cc', |
| 921 | 'wifi/wifi_service_unittest.cc', |
| 922 | 'wifi/wifi_unittest.cc', |
| 923 | ], |
| 924 | }], |
| 925 | ['USE_wifi == 1 or USE_wired_8021x == 1', { |
| 926 | 'sources': [ |
| 927 | 'eap_credentials_unittest.cc', |
| 928 | 'eap_listener_unittest.cc', |
| 929 | 'mock_eap_credentials.cc', |
| 930 | 'mock_eap_listener.cc', |
| 931 | 'supplicant/mock_supplicant_eap_state_handler.cc', |
| 932 | 'supplicant/mock_supplicant_interface_proxy.cc', |
| 933 | 'supplicant/mock_supplicant_network_proxy.cc', |
| 934 | 'supplicant/mock_supplicant_process_proxy.cc', |
| 935 | 'supplicant/supplicant_eap_state_handler_unittest.cc', |
| 936 | 'supplicant/wpa_supplicant_unittest.cc', |
| 937 | ], |
| 938 | }], |
Ben Chan | 520eb17 | 2013-10-30 20:51:04 -0700 | [diff] [blame] | 939 | ['USE_wimax == 1', { |
| 940 | 'sources': [ |
Ben Chan | c3d707d | 2014-10-31 08:56:05 -0700 | [diff] [blame] | 941 | 'wimax/mock_wimax.cc', |
| 942 | 'wimax/mock_wimax_device_proxy.cc', |
| 943 | 'wimax/mock_wimax_manager_proxy.cc', |
| 944 | 'wimax/mock_wimax_network_proxy.cc', |
| 945 | 'wimax/mock_wimax_provider.cc', |
| 946 | 'wimax/mock_wimax_service.cc', |
| 947 | 'wimax/wimax_provider_unittest.cc', |
| 948 | 'wimax/wimax_service_unittest.cc', |
| 949 | 'wimax/wimax_unittest.cc', |
Ben Chan | 520eb17 | 2013-10-30 20:51:04 -0700 | [diff] [blame] | 950 | ], |
| 951 | }], |
Peter Qiu | 1a72f54 | 2015-04-14 16:31:36 -0700 | [diff] [blame] | 952 | ['USE_wired_8021x == 1', { |
| 953 | 'sources': [ |
| 954 | 'ethernet/ethernet_eap_provider_unittest.cc', |
| 955 | 'ethernet/ethernet_eap_service_unittest.cc', |
| 956 | 'ethernet/mock_ethernet_eap_provider.cc', |
| 957 | ], |
| 958 | }], |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 959 | ], |
| 960 | }, |
Paul Stewart | 523f403 | 2015-01-16 16:07:34 -0800 | [diff] [blame] | 961 | { |
| 962 | 'target_name': 'shill_setup_wifi', |
| 963 | 'type': 'executable', |
Alex Deymo | 433f245 | 2015-09-03 17:48:03 -0700 | [diff] [blame] | 964 | 'variables': { |
| 965 | 'deps': [ |
| 966 | 'libshill-client', |
| 967 | ], |
| 968 | }, |
Paul Stewart | 523f403 | 2015-01-16 16:07:34 -0800 | [diff] [blame] | 969 | 'sources': [ |
| 970 | 'setup_wifi/main.cc' |
| 971 | ], |
Paul Stewart | 523f403 | 2015-01-16 16:07:34 -0800 | [diff] [blame] | 972 | }, |
Liam McLoughlin | ef342b4 | 2013-09-13 21:05:36 +0100 | [diff] [blame] | 973 | ], |
| 974 | }], |
| 975 | ], |
| 976 | } |