2013-04-01 22:36:59 +04:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-26 00:47:20 +04:00
|
|
|
# vim: set filetype=python:
|
|
|
|
# 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/.
|
|
|
|
|
2013-03-12 21:17:46 +04:00
|
|
|
XPIDL_SOURCES += [
|
|
|
|
'nsIDOMCameraManager.idl',
|
|
|
|
]
|
|
|
|
|
2013-03-12 09:00:00 +04:00
|
|
|
XPIDL_MODULE = 'dom_camera'
|
|
|
|
|
2013-03-19 22:47:00 +04:00
|
|
|
MODULE = 'dom'
|
|
|
|
|
2013-04-16 23:24:43 +04:00
|
|
|
EXPORTS += [
|
|
|
|
'CameraCommon.h',
|
2013-05-02 15:59:58 +04:00
|
|
|
'CameraPreviewMediaStream.h',
|
2013-04-16 23:24:43 +04:00
|
|
|
'DOMCameraManager.h',
|
2013-05-08 22:31:52 +04:00
|
|
|
'GonkCameraControl.h',
|
2013-04-16 23:24:43 +04:00
|
|
|
]
|
|
|
|
|
2013-04-24 01:54:15 +04:00
|
|
|
CPP_SOURCES += [
|
|
|
|
'CameraControlImpl.cpp',
|
|
|
|
'CameraPreviewMediaStream.cpp',
|
|
|
|
'CameraRecorderProfiles.cpp',
|
|
|
|
'DOMCameraCapabilities.cpp',
|
|
|
|
'DOMCameraControl.cpp',
|
|
|
|
'DOMCameraManager.cpp',
|
|
|
|
'DOMCameraPreview.cpp',
|
|
|
|
]
|
|
|
|
|
|
|
|
if CONFIG['MOZ_B2G_CAMERA']:
|
|
|
|
CPP_SOURCES += [
|
|
|
|
'GonkCameraManager.cpp',
|
|
|
|
'GonkCameraControl.cpp',
|
|
|
|
'GonkCameraHwMgr.cpp',
|
|
|
|
'GonkRecorder.cpp',
|
|
|
|
'GonkCameraSource.cpp',
|
|
|
|
'AudioParameter.cpp',
|
|
|
|
'GonkRecorderProfiles.cpp',
|
|
|
|
]
|
|
|
|
else:
|
|
|
|
CPP_SOURCES += [
|
|
|
|
'FallbackCameraManager.cpp',
|
|
|
|
'FallbackCameraControl.cpp',
|
|
|
|
]
|
2013-08-22 10:55:59 +04:00
|
|
|
|
|
|
|
FAIL_ON_WARNINGS = True
|
|
|
|
|