netwerk/moz.build
author Tom Tromey <tom@tromey.com>
Tue, 15 Jan 2019 09:59:22 +0000
changeset 453947 d7d3b47d3a775c7fa45d5e0c3a6eba850cc394e8
parent 450521 d31813cff66441ab82f42037f49396efa19cd483
permissions -rw-r--r--
Bug 1520003 - make ExecutableAllocator.py work with Python 2; r=nbp ExecutableAllocator.py's PoolIterator is a Python 3 iterator in that it defines the __next__ method. Defining |next| as well lets this code work in Python 2. MozReview-Commit-ID: JlkSsZHZkpw Differential Revision: https://phabricator.services.mozilla.com/D16500

# -*- Mode: python; 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/.

with Files('**'):
    BUG_COMPONENT = ('Core', 'Networking')

DIRS += [
    'base',
    'cookie',
    'dns',
    'socket',
    'mime',
    'streamconv',
    'cache',
    'cache2',
    'protocol',
    'system',
    'ipc',
    'url-classifier'
]

if CONFIG['MOZ_SRTP']:
    DIRS += ['srtp/src']

if CONFIG['MOZ_SCTP']:
    DIRS += ['sctp/src', 'sctp/datachannel']

if CONFIG['NECKO_WIFI']:
    DIRS += ['wifi']

DIRS += ['locales']

DIRS += ['build']
TEST_DIRS += ['test']

CONFIGURE_DEFINE_FILES += ['necko-config.h']
EXPORTS += ['!necko-config.h']