mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
3d2258b3e6
These new classes encasulate file-descriptor watchers, basic file descriptors, and socket connections. Each class contains callback methods for it's implemented functionality. Users should inherit from the classes and overload the callback with their own code.
30 lines
770 B
Python
30 lines
770 B
Python
# -*- 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/.
|
|
|
|
DIRS += [
|
|
'chromium',
|
|
'glue',
|
|
'ipdl',
|
|
'testshell',
|
|
]
|
|
|
|
if CONFIG['MOZ_B2G_RIL']:
|
|
DIRS += ['ril']
|
|
|
|
if CONFIG['MOZ_B2G_BT_BLUEZ']:
|
|
DIRS += ['dbus']
|
|
|
|
if CONFIG['MOZ_NFC']:
|
|
DIRS += ['nfc']
|
|
|
|
if CONFIG['MOZ_B2G_RIL'] or CONFIG['MOZ_B2G_BT'] or CONFIG['MOZ_NFC'] or CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk':
|
|
DIRS += ['unixfd', 'unixsocket']
|
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk':
|
|
DIRS += ['keystore', 'netd']
|
|
|
|
TOOL_DIRS += ['app']
|