mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
48 lines
1.0 KiB
Makefile
48 lines
1.0 KiB
Makefile
# 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/.
|
|
|
|
DEPTH = @DEPTH@
|
|
topsrcdir = @top_srcdir@
|
|
srcdir = @srcdir@
|
|
VPATH = @srcdir@
|
|
FAIL_ON_WARNINGS = 1
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
LIBRARY_NAME = nkdevice_s
|
|
FORCE_STATIC_LIB = 1
|
|
LIBXUL_LIBRARY = 1
|
|
|
|
CPPSRCS = \
|
|
nsDeviceChannel.cpp \
|
|
nsDeviceProtocolHandler.cpp \
|
|
$(NULL)
|
|
|
|
ifeq (android,$(MOZ_WIDGET_TOOLKIT))
|
|
CPPSRCS += AndroidCaptureProvider.cpp \
|
|
CameraStreamImpl.cpp \
|
|
$(NULL)
|
|
|
|
EXPORTS_NAMESPACES = mozilla/net
|
|
|
|
EXPORTS_mozilla/net += \
|
|
CameraStreamImpl.h \
|
|
$(NULL)
|
|
|
|
endif
|
|
|
|
ifeq (gonk,$(MOZ_WIDGET_TOOLKIT))
|
|
CPPSRCS += GonkCaptureProvider.cpp \
|
|
$(NULL)
|
|
endif
|
|
|
|
LOCAL_INCLUDES = -I$(srcdir)/../../base/src/ \
|
|
$(NULL)
|
|
|
|
include $(topsrcdir)/config/config.mk
|
|
include $(topsrcdir)/ipc/chromium/chromium-config.mk
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
DEFINES += -DIMPL_NS_NET
|