mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
65 lines
1.4 KiB
Makefile
65 lines
1.4 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@
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
MODULE = dom
|
|
LIBRARY_NAME = domcamera_s
|
|
LIBXUL_LIBRARY = 1
|
|
FORCE_STATIC_LIB = 1
|
|
FAIL_ON_WARNINGS := 1
|
|
|
|
include $(topsrcdir)/dom/dom-config.mk
|
|
|
|
CPPSRCS = \
|
|
DOMCameraManager.cpp \
|
|
DOMCameraControl.cpp \
|
|
DOMCameraPreview.cpp \
|
|
DOMCameraCapabilities.cpp \
|
|
CameraControlImpl.cpp \
|
|
CameraRecorderProfiles.cpp \
|
|
$(NULL)
|
|
|
|
ifeq ($(MOZ_B2G_CAMERA),1)
|
|
CPPSRCS += \
|
|
GonkCameraManager.cpp \
|
|
GonkCameraControl.cpp \
|
|
GonkCameraHwMgr.cpp \
|
|
GonkNativeWindow.cpp \
|
|
GonkNativeWindowClient.cpp \
|
|
GonkRecorder.cpp \
|
|
GonkCameraSource.cpp \
|
|
AudioParameter.cpp \
|
|
GonkRecorderProfiles.cpp \
|
|
$(NULL)
|
|
else ifeq (gonk,$(MOZ_WIDGET_TOOLKIT))
|
|
CPPSRCS += \
|
|
FallbackCameraManager.cpp \
|
|
FallbackCameraControl.cpp \
|
|
GonkNativeWindow.cpp \
|
|
GonkNativeWindowClient.cpp \
|
|
$(NULL)
|
|
else
|
|
CPPSRCS += \
|
|
FallbackCameraManager.cpp \
|
|
FallbackCameraControl.cpp \
|
|
$(NULL)
|
|
endif
|
|
|
|
EXPORTS = \
|
|
CameraCommon.h \
|
|
DOMCameraManager.h \
|
|
GonkNativeWindow.h \
|
|
GonkNativeWindowClient.h \
|
|
$(NULL)
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
include $(topsrcdir)/ipc/chromium/chromium-config.mk
|
|
|