blob: 2d48d3aa705e9769c464c04f5f51184a9ee467c4 [file] [log] [blame]
{
'target_defaults': {
'variables': {
'deps': [
'libchrome-<(libbase_ver)',
'libchromeos-<(libbase_ver)',
],
# shill uses try/catch to interact with dbus-c++.
'enable_exceptions': 1,
},
'cflags': [
'-Wextra',
'-Werror',
'-Wno-unused-parameter', # for pppd_plugin.c, base/tuple.h
],
'cflags_cc': [
'-fno-strict-aliasing',
'-Woverloaded-virtual',
'-Wno-missing-field-initializers', # for LAZY_INSTANCE_INITIALIZER
],
'defines': [
'RUNDIR="/var/run/shill"',
'SHIMDIR="<(libdir)/shill/shims"',
],
'conditions': [
['USE_cellular == 0', {
'defines': [
'DISABLE_CELLULAR',
],
}],
['USE_pppoe == 0', {
'defines': [
'DISABLE_PPPOE',
],
}],
['USE_vpn == 0', {
'defines': [
'DISABLE_VPN',
],
}],
['USE_wake_on_wifi == 0', {
'defines': [
'DISABLE_WAKE_ON_WIFI',
],
}],
['USE_wifi == 0', {
'defines': [
'DISABLE_WIFI',
],
}],
['USE_wimax == 0', {
'defines': [
'DISABLE_WIMAX',
],
}],
['USE_wired_8021x == 0', {
'defines': [
'DISABLE_WIRED_8021X',
],
}],
],
},
'includes': [
'shill.gypi',
],
'targets': [
{
'target_name': 'mobile_operator_db-protos',
'type': 'static_library',
'variables': {
'proto_in_dir': 'mobile_operator_db',
'proto_out_dir':
'include/shill/proto_bindings/mobile_operator_db'
},
'sources': [
'<(proto_in_dir)/mobile_operator_db.proto'
],
'includes': ['../common-mk/protoc.gypi'],
},
{
'target_name': 'mobile_operator_db-db',
'type': 'none',
'variables' : {
'protoc_proto_dir': 'mobile_operator_db',
'protoc_proto_def': 'mobile_operator_db.proto',
'protoc_text_dir': 'mobile_operator_db',
'protoc_bin_dir': '<(PRODUCT_DIR)',
'protoc_message_name': 'shill.mobile_operator_db.MobileOperatorDB',
},
'sources': [
'<(protoc_text_dir)/serviceproviders.prototxt',
],
'includes': ['../common-mk/protoctxt.gypi'],
},
{
'target_name': 'mobile_operator_db',
'type': 'static_library',
'dependencies': [
'mobile_operator_db-protos',
'mobile_operator_db-db',
],
},
{
'target_name': 'shill-adaptors',
'type': 'none',
'variables': {
'xml2cpp_type': 'adaptor',
'xml2cpp_in_dir': 'dbus_bindings',
'xml2cpp_out_dir': 'include/shill/dbus_adaptors',
},
'sources': [
'<(xml2cpp_in_dir)/org.chromium.flimflam.Device.xml',
'<(xml2cpp_in_dir)/org.chromium.flimflam.IPConfig.xml',
'<(xml2cpp_in_dir)/org.chromium.flimflam.Manager.xml',
'<(xml2cpp_in_dir)/org.chromium.flimflam.Profile.xml',
'<(xml2cpp_in_dir)/org.chromium.flimflam.Service.xml',
'<(xml2cpp_in_dir)/org.chromium.flimflam.Task.xml',
'<(xml2cpp_in_dir)/org.chromium.flimflam.ThirdPartyVpn.xml',
],
'includes': ['../common-mk/xml2cpp.gypi'],
},
{
'target_name': 'shim-protos',
'type': 'static_library',
'variables': {
'proto_in_dir': 'shims/protos',
'proto_out_dir': 'include/shill/proto_bindings/shims/protos',
},
'sources': [
'<(proto_in_dir)/crypto_util.proto',
],
'includes': ['../common-mk/protoc.gypi'],
},
{
'target_name': 'crypto_util',
'type': 'executable',
'dependencies': ['shim-protos'],
'variables': {
'deps': [
'openssl',
'protobuf-lite',
]
},
'sources': [
'shims/crypto_util.cc',
],
},
{
'target_name': 'libshill-net-<(libbase_ver)',
'type': 'shared_library',
'variables': {
'exported_deps': [
'libnl-3.0',
'libnl-genl-3.0',
],
'deps': ['<@(exported_deps)'],
},
'sources': [
'net/attribute_list.cc',
'net/byte_string.cc',
'net/control_netlink_attribute.cc',
'net/event_history.cc',
'net/generic_netlink_message.cc',
'net/io_handler_factory.cc',
'net/io_handler_factory_container.cc',
'net/io_input_handler.cc',
'net/io_ready_handler.cc',
'net/ip_address.cc',
'net/netlink_attribute.cc',
'net/netlink_manager.cc',
'net/netlink_message.cc',
'net/netlink_socket.cc',
'net/nl80211_attribute.cc',
'net/nl80211_message.cc',
'net/rtnl_handler.cc',
'net/rtnl_listener.cc',
'net/rtnl_message.cc',
'net/shill_time.cc',
'net/sockets.cc',
],
'includes': ['../common-mk/deps.gypi'],
},
{
'target_name': 'libshill',
'type': 'static_library',
'dependencies': [
'mobile_operator_db',
'shill-adaptors',
'shill-proxies',
'shim-protos',
'libshill-net-<(libbase_ver)',
],
'variables': {
'exported_deps': [
'dbus-c++-1',
'gio-2.0',
'glib-2.0',
'libcares',
'libmetrics-<(libbase_ver)',
'protobuf-lite',
],
'deps': ['<@(exported_deps)'],
},
'all_dependent_settings': {
'variables': {
'deps': [
'<@(exported_deps)',
],
},
},
'link_settings': {
'variables': {
'deps': [
'dbus-c++-1',
'gio-2.0',
'glib-2.0',
'libcares',
'libnl-3.0',
'libnl-genl-3.0',
# system_api depends on protobuf (or protobuf-lite). It must appear
# before protobuf here or the linker flags won't be in the right
# order.
'system_api',
'protobuf-lite',
],
},
'libraries': [
'-lrootdev',
'-lrt'
],
},
'conditions': [
['USE_cellular == 1', {
'dependencies': [
'../common-mk/external_dependencies.gyp:modemmanager-dbus-proxies',
],
'variables': {
'deps': [
'ModemManager',
],
},
'sources': [
'cellular/active_passive_out_of_credits_detector.cc',
'cellular/cellular.cc',
'cellular/cellular_bearer.cc',
'cellular/cellular_capability.cc',
'cellular/cellular_capability_cdma.cc',
'cellular/cellular_capability_classic.cc',
'cellular/cellular_capability_gsm.cc',
'cellular/cellular_capability_universal.cc',
'cellular/cellular_capability_universal_cdma.cc',
'cellular/cellular_error.cc',
'cellular/cellular_error_mm1.cc',
'cellular/cellular_service.cc',
'cellular/dbus_objectmanager_proxy.cc',
'cellular/mm1_bearer_proxy.cc',
'cellular/mm1_modem_location_proxy.cc',
'cellular/mm1_modem_modem3gpp_proxy.cc',
'cellular/mm1_modem_modemcdma_proxy.cc',
'cellular/mm1_modem_proxy.cc',
'cellular/mm1_modem_simple_proxy.cc',
'cellular/mm1_modem_time_proxy.cc',
'cellular/mm1_sim_proxy.cc',
'cellular/mobile_operator_info.cc',
'cellular/mobile_operator_info_impl.cc',
'cellular/modem.cc',
'cellular/modem_1.cc',
'cellular/modem_cdma_proxy.cc',
'cellular/modem_classic.cc',
'cellular/modem_gobi_proxy.cc',
'cellular/modem_gsm_card_proxy.cc',
'cellular/modem_gsm_network_proxy.cc',
'cellular/modem_info.cc',
'cellular/modem_manager.cc',
'cellular/modem_manager_1.cc',
'cellular/modem_manager_proxy.cc',
'cellular/modem_proxy.cc',
'cellular/modem_simple_proxy.cc',
'cellular/out_of_credits_detector.cc',
'cellular/subscription_state_out_of_credits_detector.cc',
'protobuf_lite_streams.cc',
],
}],
['USE_vpn == 1', {
'sources': [
'vpn/l2tp_ipsec_driver.cc',
'vpn/openvpn_driver.cc',
'vpn/openvpn_management_server.cc',
'vpn/third_party_vpn_dbus_adaptor.cc',
'vpn/third_party_vpn_driver.cc',
],
}],
['USE_wifi == 1', {
'sources': [
'supplicant/supplicant_bss_proxy.cc',
'wifi/callback80211_metrics.cc',
'wifi/mac80211_monitor.cc',
'wifi/scan_session.cc',
'wifi/wake_on_wifi.cc',
'wifi/wifi.cc',
'wifi/wifi_endpoint.cc',
'wifi/wifi_provider.cc',
'wifi/wifi_service.cc',
],
}],
['USE_wifi == 1 or USE_wired_8021x == 1', {
'sources': [
'eap_credentials.cc',
'eap_listener.cc',
'supplicant/supplicant_eap_state_handler.cc',
'supplicant/supplicant_interface_proxy.cc',
'supplicant/supplicant_network_proxy.cc',
'supplicant/supplicant_process_proxy.cc',
'supplicant/wpa_supplicant.cc',
],
}],
['USE_wimax == 1', {
'sources': [
'wimax/wimax.cc',
'wimax/wimax_device_proxy.cc',
'wimax/wimax_manager_proxy.cc',
'wimax/wimax_network_proxy.cc',
'wimax/wimax_provider.cc',
'wimax/wimax_service.cc',
],
}],
['USE_wired_8021x == 1', {
'sources': [
'ethernet/ethernet_eap_provider.cc',
'ethernet/ethernet_eap_service.cc',
],
}],
],
'sources': [
'active_link_monitor.cc',
'arp_client.cc',
'arp_packet.cc',
'async_connection.cc',
'certificate_file.cc',
'connection.cc',
'connection_health_checker.cc',
'connection_info.cc',
'connection_info_reader.cc',
'connection_tester.cc',
'connectivity_trial.cc',
'crypto_des_cbc.cc',
'crypto_provider.cc',
'crypto_rot47.cc',
'crypto_util_proxy.cc',
'dbus_adaptor.cc',
'dbus_control.cc',
'dbus_manager.cc',
'dbus_name_watcher.cc',
'dbus_properties.cc',
'dbus_properties_proxy.cc',
'dbus_service_proxy.cc',
'default_profile.cc',
'device.cc',
'device_claimer.cc',
'device_dbus_adaptor.cc',
'device_info.cc',
'dhcp_config.cc',
'dhcp_provider.cc',
'dhcpcd_proxy.cc',
'diagnostics_reporter.cc',
'dns_client.cc',
'dns_client_factory.cc',
'dns_server_tester.cc',
'endpoint.cc',
'ephemeral_profile.cc',
'error.cc',
'ethernet/ethernet.cc',
'ethernet/ethernet_service.cc',
'ethernet/virtio_ethernet.cc',
'event_dispatcher.cc',
'external_task.cc',
'file_io.cc',
'file_reader.cc',
'geolocation_info.cc',
'glib.cc',
'glib_io_handler_factory.cc',
'glib_io_input_handler.cc',
'glib_io_ready_handler.cc',
'hook_table.cc',
'http_proxy.cc',
'http_request.cc',
'http_url.cc',
'icmp.cc',
'ip_address_store.cc',
'ipconfig.cc',
'ipconfig_dbus_adaptor.cc',
'key_file_store.cc',
'key_value_store.cc',
'link_monitor.cc',
'logging.cc',
'manager.cc',
'manager_dbus_adaptor.cc',
'metrics.cc',
'passive_link_monitor.cc',
'pending_activation_store.cc',
'permission_broker_proxy.cc',
'portal_detector.cc',
'power_manager.cc',
'power_manager_proxy.cc',
'ppp_daemon.cc',
'ppp_device.cc',
'ppp_device_factory.cc',
'pppoe/pppoe_service.cc',
'process_killer.cc',
'profile.cc',
'profile_dbus_adaptor.cc',
'property_store.cc',
'proxy_factory.cc',
'resolver.cc',
'result_aggregator.cc',
'routing_table.cc',
'rpc_task.cc',
'rpc_task_dbus_adaptor.cc',
'scope_logger.cc',
'scoped_umask.cc',
'service.cc',
'service_dbus_adaptor.cc',
'service_property_change_notifier.cc',
'shared_dbus_connection.cc',
'shill_ares.cc',
'shill_config.cc',
'shill_daemon.cc',
'shill_test_config.cc',
'socket_info.cc',
'socket_info_reader.cc',
'static_ip_parameters.cc',
'technology.cc',
'tethering.cc',
'traffic_monitor.cc',
'upstart/upstart.cc',
'upstart/upstart_proxy.cc',
'virtual_device.cc',
'vpn/vpn_driver.cc',
'vpn/vpn_provider.cc',
'vpn/vpn_service.cc',
],
},
{
'target_name': 'shill',
'type': 'executable',
'dependencies': ['libshill'],
'sources': [
'shill_main.cc',
]
},
{
'target_name': 'crypto-util',
'type': 'executable',
'dependencies': ['shim-protos'],
'variables': {
'deps': [
'openssl',
'protobuf-lite',
],
},
'sources': [
'shims/crypto_util.cc',
]
},
{
'target_name': 'net-diags-upload',
'type': 'executable',
'sources': [
'shims/net_diags_upload.cc',
]
},
{
'target_name': 'netfilter-queue-helper',
'type': 'executable',
'variables': {
'deps': [
'libnetfilter_queue',
'libnfnetlink',
],
},
'sources': [
'shims/netfilter_queue_helper.cc',
'shims/netfilter_queue_processor.cc',
]
},
{
'target_name': 'openvpn-script',
'type': 'executable',
'dependencies': ['shill-proxies'],
'variables': {
'deps': [
'dbus-c++-1',
],
},
'sources': [
'shims/environment.cc',
'shims/openvpn_script.cc',
'shims/task_proxy.cc',
]
},
],
'conditions': [
['USE_cellular == 1', {
'targets': [
{
'target_name': 'set-apn-helper',
'type': 'executable',
'variables': {
'deps': [
'dbus-glib-1'
]
},
'sources': [
'shims/set_apn_helper.c',
],
},
],
}],
['USE_cellular == 1 or USE_vpn == 1 or USE_pppoe == 1', {
'targets': [
{
'target_name': 'shill-pppd-plugin',
'type': 'shared_library',
'dependencies': ['shill-proxies'],
'variables': {
'deps': [
'dbus-c++-1',
],
},
'sources': [
'shims/c_ppp.cc',
'shims/environment.cc',
'shims/ppp.cc',
'shims/pppd_plugin.c',
'shims/task_proxy.cc',
],
},
],
}],
['USE_test == 1', {
'targets': [
{
'target_name': 'shill_unittest',
'type': 'executable',
'dependencies': [
'libshill',
],
'includes': ['../common-mk/common_test.gypi'],
'variables': {
'deps': [
'libnetfilter_queue',
'libnfnetlink',
],
},
'defines': [
'SYSROOT="<(sysroot)"',
],
'sources': [
'active_link_monitor_unittest.cc',
'arp_client_test_helper.cc',
'arp_client_unittest.cc',
'arp_packet_unittest.cc',
'async_connection_unittest.cc',
'certificate_file_unittest.cc',
'connection_health_checker_unittest.cc',
'connection_info_reader_unittest.cc',
'connection_info_unittest.cc',
'connection_tester_unittest.cc',
'connection_unittest.cc',
'connectivity_trial_unittest.cc',
'crypto_des_cbc_unittest.cc',
'crypto_provider_unittest.cc',
'crypto_rot47_unittest.cc',
'crypto_util_proxy_unittest.cc',
'dbus_adaptor_unittest.cc',
'dbus_manager_unittest.cc',
'dbus_name_watcher_unittest.cc',
'dbus_properties_unittest.cc',
'dbus_variant_gmock_printer.cc',
'default_profile_unittest.cc',
'device_claimer_unittest.cc',
'device_info_unittest.cc',
'device_unittest.cc',
'dhcp_config_unittest.cc',
'dhcp_provider_unittest.cc',
'diagnostics_reporter_unittest.cc',
'dns_client_unittest.cc',
'dns_server_tester_unittest.cc',
'error_unittest.cc',
'ethernet/ethernet_service_unittest.cc',
'ethernet/ethernet_unittest.cc',
'ethernet/mock_ethernet.cc',
'ethernet/mock_ethernet_service.cc',
'external_task_unittest.cc',
'file_reader_unittest.cc',
'hook_table_unittest.cc',
'http_proxy_unittest.cc',
'http_request_unittest.cc',
'http_url_unittest.cc',
'icmp_unittest.cc',
'ip_address_store_unittest.cc',
'ipconfig_unittest.cc',
'key_file_store_unittest.cc',
'key_value_store_unittest.cc',
'link_monitor_unittest.cc',
'manager_unittest.cc',
'metrics_unittest.cc',
'mock_active_link_monitor.cc',
'mock_adaptors.cc',
'mock_ares.cc',
'mock_arp_client.cc',
'mock_async_connection.cc',
'mock_certificate_file.cc',
'mock_connection.cc',
'mock_connection_health_checker.cc',
'mock_connection_info_reader.cc',
'mock_connectivity_trial.cc',
'mock_control.cc',
'mock_crypto_util_proxy.cc',
'mock_dbus_manager.cc',
'mock_dbus_properties_proxy.cc',
'mock_dbus_service_proxy.cc',
'mock_device.cc',
'mock_device_claimer.cc',
'mock_device_info.cc',
'mock_dhcp_config.cc',
'mock_dhcp_provider.cc',
'mock_dhcp_proxy.cc',
'mock_diagnostics_reporter.cc',
'mock_dns_client.cc',
'mock_dns_client_factory.cc',
'mock_dns_server_tester.cc',
'mock_event_dispatcher.cc',
'mock_external_task.cc',
'mock_glib.cc',
'mock_http_request.cc',
'mock_ip_address_store.cc',
'mock_ipconfig.cc',
'mock_link_monitor.cc',
'mock_log.cc',
'mock_log_unittest.cc',
'mock_manager.cc',
'mock_metrics.cc',
'mock_passive_link_monitor.cc',
'mock_pending_activation_store.cc',
'mock_portal_detector.cc',
'mock_power_manager.cc',
'mock_power_manager_proxy.cc',
'mock_ppp_device.cc',
'mock_ppp_device_factory.cc',
'mock_process_killer.cc',
'mock_profile.cc',
'mock_property_store.cc',
'mock_proxy_factory.cc',
'mock_resolver.cc',
'mock_routing_table.cc',
'mock_service.cc',
'mock_socket_info_reader.cc',
'mock_store.cc',
'mock_traffic_monitor.cc',
'mock_virtual_device.cc',
'net/byte_string_unittest.cc',
'net/event_history_unittest.cc',
'net/ip_address_unittest.cc',
'net/rtnl_handler_unittest.cc',
'net/rtnl_listener_unittest.cc',
'net/rtnl_message_unittest.cc',
'net/shill_time_unittest.cc',
'nice_mock_control.cc',
'passive_link_monitor_unittest.cc',
'pending_activation_store_unittest.cc',
'portal_detector_unittest.cc',
'power_manager_unittest.cc',
'ppp_daemon_unittest.cc',
'ppp_device_unittest.cc',
'pppoe/pppoe_service_unittest.cc',
'process_killer_unittest.cc',
'profile_unittest.cc',
'property_accessor_unittest.cc',
'property_observer_unittest.cc',
'property_store_unittest.cc',
'resolver_unittest.cc',
'result_aggregator_unittest.cc',
'routing_table_unittest.cc',
'rpc_task_unittest.cc',
'scope_logger_unittest.cc',
'service_property_change_test.cc',
'service_under_test.cc',
'service_unittest.cc',
'shill_unittest.cc',
'shims/netfilter_queue_processor.cc',
'shims/netfilter_queue_processor_unittest.cc',
'socket_info_reader_unittest.cc',
'socket_info_unittest.cc',
'static_ip_parameters_unittest.cc',
'technology_unittest.cc',
'testrunner.cc',
'traffic_monitor_unittest.cc',
'upstart/mock_upstart.cc',
'upstart/mock_upstart_proxy.cc',
'upstart/upstart_unittest.cc',
'virtual_device_unittest.cc',
'vpn/mock_vpn_provider.cc',
],
'conditions': [
['USE_cellular == 1', {
'variables': {
'deps': [
'ModemManager',
],
},
'sources': [
'cellular/active_passive_out_of_credits_detector_unittest.cc',
'cellular/cellular_bearer_unittest.cc',
'cellular/cellular_capability_cdma_unittest.cc',
'cellular/cellular_capability_classic_unittest.cc',
'cellular/cellular_capability_gsm_unittest.cc',
'cellular/cellular_capability_universal_cdma_unittest.cc',
'cellular/cellular_capability_universal_unittest.cc',
'cellular/cellular_error_unittest.cc',
'cellular/cellular_service_unittest.cc',
'cellular/cellular_unittest.cc',
'cellular/mobile_operator_info_unittest.cc',
'cellular/mock_cellular.cc',
'cellular/mock_cellular_service.cc',
'cellular/mock_dbus_objectmanager_proxy.cc',
'cellular/mock_mm1_bearer_proxy.cc',
'cellular/mock_mm1_modem_location_proxy.cc',
'cellular/mock_mm1_modem_modem3gpp_proxy.cc',
'cellular/mock_mm1_modem_modemcdma_proxy.cc',
'cellular/mock_mm1_modem_proxy.cc',
'cellular/mock_mm1_modem_simple_proxy.cc',
'cellular/mock_mm1_modem_time_proxy.cc',
'cellular/mock_mm1_sim_proxy.cc',
'cellular/mock_mobile_operator_info.cc',
'cellular/mock_modem.cc',
'cellular/mock_modem_cdma_proxy.cc',
'cellular/mock_modem_gobi_proxy.cc',
'cellular/mock_modem_gsm_card_proxy.cc',
'cellular/mock_modem_gsm_network_proxy.cc',
'cellular/mock_modem_info.cc',
'cellular/mock_modem_manager_proxy.cc',
'cellular/mock_modem_proxy.cc',
'cellular/mock_modem_simple_proxy.cc',
'cellular/mock_out_of_credits_detector.cc',
'cellular/modem_1_unittest.cc',
'cellular/modem_info_unittest.cc',
'cellular/modem_manager_unittest.cc',
'cellular/modem_unittest.cc',
'cellular/subscription_state_out_of_credits_detector_unittest.cc',
],
}],
['USE_vpn == 1', {
'sources': [
'shims/environment.cc',
'shims/environment_unittest.cc',
'shims/task_proxy.cc',
'vpn/l2tp_ipsec_driver_unittest.cc',
'vpn/mock_openvpn_driver.cc',
'vpn/mock_openvpn_management_server.cc',
'vpn/mock_vpn_driver.cc',
'vpn/mock_vpn_service.cc',
'vpn/openvpn_driver_unittest.cc',
'vpn/openvpn_management_server_unittest.cc',
'vpn/third_party_vpn_driver_unittest.cc',
'vpn/vpn_driver_unittest.cc',
'vpn/vpn_provider_unittest.cc',
'vpn/vpn_service_unittest.cc',
],
}],
['USE_wifi == 1', {
'sources': [
'net/netlink_manager_unittest.cc',
'net/netlink_message_unittest.cc',
'net/netlink_socket_unittest.cc',
'supplicant/mock_supplicant_bss_proxy.cc',
'wifi/callback80211_metrics_unittest.cc',
'wifi/mac80211_monitor_unittest.cc',
'wifi/mock_mac80211_monitor.cc',
'wifi/mock_scan_session.cc',
'wifi/mock_wake_on_wifi.cc',
'wifi/mock_wifi.cc',
'wifi/mock_wifi_provider.cc',
'wifi/mock_wifi_service.cc',
'wifi/scan_session_unittest.cc',
'wifi/wake_on_wifi_unittest.cc',
'wifi/wifi_endpoint_unittest.cc',
'wifi/wifi_provider_unittest.cc',
'wifi/wifi_service_unittest.cc',
'wifi/wifi_unittest.cc',
],
}],
['USE_wifi == 1 or USE_wired_8021x == 1', {
'sources': [
'eap_credentials_unittest.cc',
'eap_listener_unittest.cc',
'mock_eap_credentials.cc',
'mock_eap_listener.cc',
'supplicant/mock_supplicant_eap_state_handler.cc',
'supplicant/mock_supplicant_interface_proxy.cc',
'supplicant/mock_supplicant_network_proxy.cc',
'supplicant/mock_supplicant_process_proxy.cc',
'supplicant/supplicant_eap_state_handler_unittest.cc',
'supplicant/wpa_supplicant_unittest.cc',
],
}],
['USE_wimax == 1', {
'sources': [
'wimax/mock_wimax.cc',
'wimax/mock_wimax_device_proxy.cc',
'wimax/mock_wimax_manager_proxy.cc',
'wimax/mock_wimax_network_proxy.cc',
'wimax/mock_wimax_provider.cc',
'wimax/mock_wimax_service.cc',
'wimax/wimax_provider_unittest.cc',
'wimax/wimax_service_unittest.cc',
'wimax/wimax_unittest.cc',
],
}],
['USE_wired_8021x == 1', {
'sources': [
'ethernet/ethernet_eap_provider_unittest.cc',
'ethernet/ethernet_eap_service_unittest.cc',
'ethernet/mock_ethernet_eap_provider.cc',
],
}],
],
},
{
'target_name': 'shill_setup_wifi',
'type': 'executable',
'sources': [
'setup_wifi/main.cc'
],
'actions': [
{
'action_name': 'generate-shill-proxies',
'variables': {
'proxy_output_file':
'include/shill/dbus_proxies/shill_proxies.h',
},
'sources': [
'dbus_bindings/org.chromium.flimflam.Manager.xml',
'dbus_bindings/org.chromium.flimflam.Service.xml',
],
'includes': ['../common-mk/generate-dbus-proxies.gypi'],
},
],
},
],
}],
],
}