michael@0: # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- michael@0: # vim: set filetype=python: michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: # file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: XPIDL_SOURCES += [ michael@0: 'nsIDOMMozWifiConnectionInfoEvent.idl', michael@0: 'nsIDOMMozWifiP2pStatusChangeEvent.idl', michael@0: 'nsIDOMMozWifiStatusChangeEvent.idl', michael@0: 'nsIWifi.idl', michael@0: 'nsIWifiService.idl', michael@0: ] michael@0: michael@0: XPIDL_MODULE = 'dom_wifi' michael@0: michael@0: EXTRA_COMPONENTS += [ michael@0: 'DOMWifiManager.js', michael@0: 'DOMWifiManager.manifest', michael@0: 'DOMWifiP2pManager.js', michael@0: 'DOMWifiP2pManager.manifest', michael@0: 'WifiWorker.js', michael@0: 'WifiWorker.manifest', michael@0: ] michael@0: michael@0: EXTRA_JS_MODULES += [ michael@0: 'StateMachine.jsm', michael@0: 'WifiCommand.jsm', michael@0: 'WifiNetUtil.jsm', michael@0: 'WifiP2pManager.jsm', michael@0: 'WifiP2pWorkerObserver.jsm', michael@0: ] michael@0: michael@0: if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk': michael@0: SOURCES = [ michael@0: 'WifiProxyService.cpp', michael@0: 'WifiUtils.cpp', michael@0: ] michael@0: michael@0: FINAL_LIBRARY = 'xul'