1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/dom/wifi/moz.build Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,40 @@ 1.4 +# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- 1.5 +# vim: set filetype=python: 1.6 +# This Source Code Form is subject to the terms of the Mozilla Public 1.7 +# License, v. 2.0. If a copy of the MPL was not distributed with this 1.8 +# file, You can obtain one at http://mozilla.org/MPL/2.0/. 1.9 + 1.10 +XPIDL_SOURCES += [ 1.11 + 'nsIDOMMozWifiConnectionInfoEvent.idl', 1.12 + 'nsIDOMMozWifiP2pStatusChangeEvent.idl', 1.13 + 'nsIDOMMozWifiStatusChangeEvent.idl', 1.14 + 'nsIWifi.idl', 1.15 + 'nsIWifiService.idl', 1.16 +] 1.17 + 1.18 +XPIDL_MODULE = 'dom_wifi' 1.19 + 1.20 +EXTRA_COMPONENTS += [ 1.21 + 'DOMWifiManager.js', 1.22 + 'DOMWifiManager.manifest', 1.23 + 'DOMWifiP2pManager.js', 1.24 + 'DOMWifiP2pManager.manifest', 1.25 + 'WifiWorker.js', 1.26 + 'WifiWorker.manifest', 1.27 +] 1.28 + 1.29 +EXTRA_JS_MODULES += [ 1.30 + 'StateMachine.jsm', 1.31 + 'WifiCommand.jsm', 1.32 + 'WifiNetUtil.jsm', 1.33 + 'WifiP2pManager.jsm', 1.34 + 'WifiP2pWorkerObserver.jsm', 1.35 +] 1.36 + 1.37 +if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk': 1.38 + SOURCES = [ 1.39 + 'WifiProxyService.cpp', 1.40 + 'WifiUtils.cpp', 1.41 + ] 1.42 + 1.43 +FINAL_LIBRARY = 'xul'