2012-07-30 14:59:05 -07:00
|
|
|
# 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/.
|
|
|
|
|
2012-08-04 11:26:44 -07:00
|
|
|
DEPTH = @DEPTH@
|
2012-07-30 14:59:05 -07:00
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
|
|
|
LIBRARY_NAME = domcamera_s
|
|
|
|
LIBXUL_LIBRARY = 1
|
|
|
|
FORCE_STATIC_LIB = 1
|
2012-09-20 00:55:36 -07:00
|
|
|
FAIL_ON_WARNINGS := 1
|
2012-07-30 14:59:05 -07:00
|
|
|
|
|
|
|
include $(topsrcdir)/dom/dom-config.mk
|
|
|
|
|
|
|
|
CPPSRCS = \
|
|
|
|
DOMCameraManager.cpp \
|
2012-09-04 18:01:56 -07:00
|
|
|
DOMCameraControl.cpp \
|
|
|
|
DOMCameraPreview.cpp \
|
|
|
|
DOMCameraCapabilities.cpp \
|
|
|
|
CameraControlImpl.cpp \
|
2012-10-23 15:30:28 -07:00
|
|
|
CameraRecorderProfiles.cpp \
|
2013-03-20 07:07:46 -07:00
|
|
|
CameraPreviewMediaStream.cpp \
|
2012-07-30 14:59:05 -07:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
ifeq ($(MOZ_B2G_CAMERA),1)
|
|
|
|
CPPSRCS += \
|
|
|
|
GonkCameraManager.cpp \
|
|
|
|
GonkCameraControl.cpp \
|
|
|
|
GonkCameraHwMgr.cpp \
|
|
|
|
GonkNativeWindow.cpp \
|
2013-03-08 11:43:33 -08:00
|
|
|
GonkNativeWindowClient.cpp \
|
2012-09-28 22:30:52 -07:00
|
|
|
GonkRecorder.cpp \
|
|
|
|
GonkCameraSource.cpp \
|
|
|
|
AudioParameter.cpp \
|
2012-10-23 15:30:28 -07:00
|
|
|
GonkRecorderProfiles.cpp \
|
2012-07-30 14:59:05 -07:00
|
|
|
$(NULL)
|
2013-05-02 14:21:22 -07:00
|
|
|
else ifeq ($(MOZ_OMX_DECODER),1)
|
2012-09-26 21:33:42 -07:00
|
|
|
CPPSRCS += \
|
|
|
|
FallbackCameraManager.cpp \
|
|
|
|
FallbackCameraControl.cpp \
|
|
|
|
GonkNativeWindow.cpp \
|
2013-03-08 11:43:33 -08:00
|
|
|
GonkNativeWindowClient.cpp \
|
2012-09-26 21:33:42 -07:00
|
|
|
$(NULL)
|
2012-07-30 14:59:05 -07:00
|
|
|
else
|
|
|
|
CPPSRCS += \
|
|
|
|
FallbackCameraManager.cpp \
|
|
|
|
FallbackCameraControl.cpp \
|
|
|
|
$(NULL)
|
|
|
|
endif
|
|
|
|
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
2012-08-17 03:56:55 -07:00
|
|
|
include $(topsrcdir)/ipc/chromium/chromium-config.mk
|
2012-08-24 13:01:30 -07:00
|
|
|
|