ipc/moz.build
author Nicholas Nethercote <nnethercote@mozilla.com>
Fri, 19 Aug 2016 09:03:04 +1000
changeset 335989 6a81bba012c8d4283978ae3c6920843916817bfc
parent 331170 3ec6380fca8207fa199693206a3ca24975bf9833
child 345760 22e62e6b9783b9ff92a37b4318421b15cb411b1b
permissions -rw-r--r--
Bug 1293596 (part 2) - Rework nsIWidget bounds getters. r=mstange. This patch makes GetBounds(), GetScreenBounds() and GetClientBounds() more obviously infallible, like existing functions such as GetNaturalBounds() and GetClientSize(). This results in clearer behaviour in nsCocoaWindow.mm if Objective C exceptions occur. Along the way, the patch removes some useless failure checks for these functions. The patch also removes the NS_IMETHOD from GetRestoredBounds and makes that function MOZ_MUST_USE.

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

DIRS += [
    'chromium',
    'glue',
    'ipdl',
    'testshell',
]

if CONFIG['MOZ_B2G_RIL']:
    DIRS += ['ril']

if CONFIG['MOZ_ENABLE_DBUS'] or 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 += ['hal', 'keystore', 'netd']

if CONFIG['MOZ_WIDGET_TOOLKIT'] != 'android':
    DIRS += ['contentproc']

if CONFIG['OS_ARCH'] == 'WINNT':
    DIRS += ['mscom']

DIRS += ['app']