dom/wifi/moz.build
author Mike Hommey <mh+mozilla@glandium.org>
Thu, 26 Mar 2015 12:07:17 +0900
changeset 258314 fc1e894eec2fbd34b745cd94f505080427d24705
parent 244619 b14b9b335d4e1cf2a6e6ee0af1739b49506906ac
child 292691 c646a88160d7b65f755f4dcfa5dec8626a77bcd5
permissions -rw-r--r--
Bug 1147207 - Add a ComposedFinder class that acts like a FileFinder proxy over multiple FileFinders. r=gps, a=sledru

# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

XPIDL_SOURCES += [
    'nsIWifi.idl',
    'nsIWifiCertService.idl',
    'nsIWifiService.idl',
]

XPIDL_MODULE = 'dom_wifi'

EXTRA_COMPONENTS += [
    'DOMWifiManager.js',
    'DOMWifiManager.manifest',
    'DOMWifiP2pManager.js',
    'DOMWifiP2pManager.manifest',
    'WifiWorker.js',
    'WifiWorker.manifest',
]

EXTRA_JS_MODULES += [
    'StateMachine.jsm',
    'WifiCommand.jsm',
    'WifiNetUtil.jsm',
    'WifiP2pManager.jsm',
    'WifiP2pWorkerObserver.jsm',
]

if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk':
    UNIFIED_SOURCES = [
        'WifiCertService.cpp',
        'WifiHotspotUtils.cpp',
        'WifiProxyService.cpp',
        'WifiUtils.cpp',
    ]

FINAL_LIBRARY = 'xul'

FAIL_ON_WARNINGS = True