toolkit/components/remote/moz.build
author Dave Townsend <dtownsend@oxymoronical.com>
Wed, 27 Feb 2019 15:45:51 -0800
changeset 520636 d1f158c2928f02fe725038bdda99b13c4366bc6c
parent 520632 3d8dd3615c4589c9cafe613a471152323078b5d9
child 520637 2ac2c7a2a9a61bb33802721ff73163a1403f3c54
permissions -rw-r--r--
Bug 1518639: Break out the remote server pieces from nsRemoteService and deCOMtaminate. r=jimm This code is only ever used from c++ so does not need to be an XPCOM component. Broken out a single nsRemoteService that is responsible for choosing the server implementation to use. Differential Revision: https://phabricator.services.mozilla.com/D19067

# -*- 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 = ('Toolkit', 'Startup and Profile System')

SOURCES += [
    'nsRemoteService.cpp',
]

if 'gtk' in CONFIG['MOZ_WIDGET_TOOLKIT']:
    SOURCES += [
        'nsGTKRemoteServer.cpp',
        'nsUnixRemoteServer.cpp',
        'nsXRemoteServer.cpp',
    ]
    if CONFIG['MOZ_ENABLE_DBUS']:
        SOURCES += [
            'nsDBusRemoteServer.cpp',
        ]
        CXXFLAGS += CONFIG['MOZ_DBUS_GLIB_CFLAGS']
    CXXFLAGS += CONFIG['TK_CFLAGS']

FINAL_LIBRARY = 'xul'