gecko-dev/toolkit/components/remote/moz.build
Dave Townsend 3a2c94b730 Bug 1518639: Add boilerplate support for a windows remote client and server. r=jimm,froydnj
Adds build config and stubs for a windows implementation of the remote client
and server.

Differential Revision: https://phabricator.services.mozilla.com/D19074

--HG--
extra : source : abd7789e9637c92978efcf745361b98c5abf847a
extra : intermediate-source : 276ca640adc8ff16ff3ff7252e8aa5016205b1e0
2019-02-06 11:09:06 -08:00

39 lines
1 KiB
Python

# -*- 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',
'nsXRemoteClient.cpp',
'nsXRemoteServer.cpp',
'RemoteUtils.cpp',
]
if CONFIG['MOZ_ENABLE_DBUS']:
SOURCES += [
'nsDBusRemoteClient.cpp',
'nsDBusRemoteServer.cpp',
]
CXXFLAGS += CONFIG['MOZ_DBUS_GLIB_CFLAGS']
CXXFLAGS += CONFIG['TK_CFLAGS']
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
SOURCES += [
'nsWinRemoteClient.cpp',
'nsWinRemoteServer.cpp',
]
LOCAL_INCLUDES += [
'../../profile',
]
FINAL_LIBRARY = 'xul'