b2g/app.mozbuild
author Daniel Stenberg <daniel@haxx.se>
Fri, 29 Aug 2014 01:18:00 -0400
changeset 202352 fc191ae0a0e8aed804a77b3918cf827ca2a2b0da
parent 198219 5bdf577bf6e0b1e7d60abc01f306dfeca26c7505
child 208284 23eb4e460b71abd665b6c872b1a395b34134410b
permissions -rw-r--r--
Bug 939318 - Detect network interface changes on windows properly. r=mcmanus Now supports IPv6 as well if a new enough windows version is used. Which notification function to use is detect at run-time. Now sends CHANGED event if the online interface(s) are different in any way since it was previously checked and considered UP. CHANGED is sent before UP in case both are detected. nIOService: split up the network event receiver function from the network status init function and have the event receiver act on the incoming event. DNSservice: acts on network changes (flushes the host cache) HttpHandler: acts on network changes

# 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/.

if not CONFIG['LIBXUL_SDK']:
    include('/toolkit/toolkit.mozbuild')
elif CONFIG['ENABLE_TESTS']:
    add_tier_dir('testharness', 'testing/mochitest')

if CONFIG['MOZ_EXTENSIONS']:
    add_tier_dir('app', 'extensions')

add_tier_dir('app', CONFIG['MOZ_BRANDING_DIRECTORY'])
add_tier_dir('app', 'b2g')