mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
392f4dff11
--- dom/bluetooth/BluetoothAdapter.cpp | 16 ++++++++++++++- dom/bluetooth/Makefile.in | 1 + .../nsIDOMBluetoothDeviceAddressEvent.idl | 21 ++++++++++++++++++++ js/xpconnect/src/event_impl_gen.conf.in | 3 +++ 4 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 dom/bluetooth/nsIDOMBluetoothDeviceAddressEvent.idl
90 lines
2.4 KiB
Makefile
90 lines
2.4 KiB
Makefile
# Copyright 2012 Mozilla Foundation and Mozilla contributors
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
DEPTH = @DEPTH@
|
|
topsrcdir = @top_srcdir@
|
|
srcdir = @srcdir@
|
|
VPATH = @srcdir@
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
MODULE = dom
|
|
LIBRARY_NAME = dombluetooth_s
|
|
XPIDL_MODULE = dom_bluetooth
|
|
LIBXUL_LIBRARY = 1
|
|
FORCE_STATIC_LIB = 1
|
|
|
|
include $(topsrcdir)/dom/dom-config.mk
|
|
|
|
CPPSRCS += \
|
|
BluetoothService.cpp \
|
|
BluetoothManager.cpp \
|
|
BluetoothAdapter.cpp \
|
|
BluetoothDevice.cpp \
|
|
BluetoothDeviceEvent.cpp \
|
|
BluetoothPropertyEvent.cpp \
|
|
BluetoothPairingEvent.cpp \
|
|
BluetoothReplyRunnable.cpp \
|
|
BluetoothPropertyContainer.cpp \
|
|
BluetoothUtils.cpp \
|
|
$(NULL)
|
|
|
|
XPIDLSRCS = \
|
|
nsIDOMNavigatorBluetooth.idl \
|
|
nsIDOMBluetoothManager.idl \
|
|
nsIDOMBluetoothAdapter.idl \
|
|
nsIDOMBluetoothDevice.idl \
|
|
nsIDOMBluetoothDeviceEvent.idl \
|
|
nsIDOMBluetoothDeviceAddressEvent.idl \
|
|
nsIDOMBluetoothPropertyEvent.idl \
|
|
nsIDOMBluetoothPairingEvent.idl \
|
|
$(NULL)
|
|
|
|
ifeq (gonk,$(MOZ_WIDGET_TOOLKIT))
|
|
VPATH += \
|
|
$(srcdir)/linux \
|
|
$(srcdir)/gonk \
|
|
$(NULL)
|
|
LOCAL_INCLUDES += $(MOZ_DBUS_CFLAGS)
|
|
CPPSRCS += \
|
|
BluetoothDBusService.cpp \
|
|
BluetoothGonkService.cpp \
|
|
BluetoothGonkServiceFactory.cpp \
|
|
$(NULL)
|
|
else
|
|
ifdef MOZ_ENABLE_DBUS
|
|
VPATH += $(srcdir)/linux
|
|
LOCAL_INCLUDES += $(MOZ_DBUS_CFLAGS)
|
|
CPPSRCS += \
|
|
BluetoothDBusService.cpp \
|
|
BluetoothDBusServiceFactory.cpp \
|
|
$(NULL)
|
|
CFLAGS += $(MOZ_DBUS_GLIB_CFLAGS)
|
|
CXXFLAGS += $(MOZ_DBUS_GLIB_CFLAGS) -DHAVE_PTHREADS
|
|
else
|
|
CPPSRCS += BluetoothNullServiceFactory.cpp
|
|
endif
|
|
endif
|
|
|
|
LOCAL_INCLUDES += -I$(DEPTH)/ipc/ipdl/_ipdlheaders/mozilla/dom/bluetooth/
|
|
|
|
# Add VPATH to LOCAL_INCLUDES so we are going to include the correct backend
|
|
# subdirectory
|
|
LOCAL_INCLUDES += $(VPATH:%=-I%)
|
|
|
|
include $(topsrcdir)/config/config.mk
|
|
include $(topsrcdir)/ipc/chromium/chromium-config.mk
|
|
include $(topsrcdir)/config/rules.mk
|
|
|