gecko/dom/camera/Makefile.in
Mike Habicher 991f26aa4b Bug 779139 - Make DOM-facing camera objects cycle collection participants. r=jst
--HG--
rename : dom/camera/CameraControl.h => dom/camera/CameraControlImpl.h
rename : dom/camera/GonkCameraCapabilities.cpp => dom/camera/DOMCameraCapabilities.cpp
2012-09-04 21:01:56 -04:00

59 lines
1.2 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
XPIDL_MODULE = dom_camera
LIBXUL_LIBRARY = 1
FORCE_STATIC_LIB = 1
include $(topsrcdir)/dom/dom-config.mk
CPPSRCS = \
DOMCameraManager.cpp \
DOMCameraControl.cpp \
DOMCameraPreview.cpp \
DOMCameraCapabilities.cpp \
CameraControlImpl.cpp \
$(NULL)
ifeq ($(MOZ_B2G_CAMERA),1)
CPPSRCS += \
GonkCameraManager.cpp \
GonkCameraControl.cpp \
GonkCameraHwMgr.cpp \
GonkNativeWindow.cpp \
$(NULL)
else
CPPSRCS += \
FallbackCameraManager.cpp \
FallbackCameraControl.cpp \
$(NULL)
endif
XPIDLSRCS = \
nsIDOMNavigatorCamera.idl \
nsIDOMCameraManager.idl \
$(NULL)
EXPORTS = \
DOMCameraManager.h \
$(NULL)
include $(topsrcdir)/config/rules.mk
include $(topsrcdir)/ipc/chromium/chromium-config.mk
XPIDL_FLAGS += \
-I$(topsrcdir)/dom/base \
-I$(topsrcdir)/dom/interfaces/base \
-I$(topsrcdir)/dom/media \
$(NULL)