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-09-10 20:51:51 +04:00
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk':
|
2014-07-26 10:17:24 +04:00
|
|
|
MOCHITEST_MANIFESTS += ['test/mochitest.ini']
|
2013-09-10 20:51:51 +04:00
|
|
|
|
2013-04-16 23:24:43 +04:00
|
|
|
EXPORTS += [
|
|
|
|
'CameraCommon.h',
|
2014-06-19 17:20:49 +04:00
|
|
|
'CameraPreferences.h',
|
2013-04-16 23:24:43 +04:00
|
|
|
'DOMCameraManager.h',
|
|
|
|
]
|
|
|
|
|
2014-09-25 02:43:26 +04:00
|
|
|
UNIFIED_SOURCES += [
|
2013-04-24 01:54:15 +04:00
|
|
|
'CameraControlImpl.cpp',
|
2014-06-19 17:20:49 +04:00
|
|
|
'CameraPreferences.cpp',
|
2013-04-24 01:54:15 +04:00
|
|
|
'CameraPreviewMediaStream.cpp',
|
|
|
|
'CameraRecorderProfiles.cpp',
|
|
|
|
'DOMCameraCapabilities.cpp',
|
|
|
|
'DOMCameraControl.cpp',
|
2014-02-15 02:41:07 +04:00
|
|
|
'DOMCameraControlListener.cpp',
|
2014-04-09 19:52:10 +04:00
|
|
|
'DOMCameraDetectedFace.cpp',
|
2013-04-24 01:54:15 +04:00
|
|
|
'DOMCameraManager.cpp',
|
|
|
|
]
|
|
|
|
|
|
|
|
if CONFIG['MOZ_B2G_CAMERA']:
|
2014-09-25 23:36:54 +04:00
|
|
|
UNIFIED_SOURCES += [
|
2013-04-24 01:54:15 +04:00
|
|
|
'GonkCameraControl.cpp',
|
|
|
|
'GonkCameraHwMgr.cpp',
|
2013-10-24 03:00:23 +04:00
|
|
|
'GonkCameraManager.cpp',
|
2014-02-15 02:41:07 +04:00
|
|
|
'GonkCameraParameters.cpp',
|
2013-04-24 01:54:15 +04:00
|
|
|
'GonkCameraSource.cpp',
|
2013-10-24 03:00:23 +04:00
|
|
|
'GonkRecorder.cpp',
|
2013-04-24 01:54:15 +04:00
|
|
|
'GonkRecorderProfiles.cpp',
|
2014-04-26 00:28:15 +04:00
|
|
|
'TestGonkCameraControl.cpp',
|
2014-02-20 08:18:52 +04:00
|
|
|
'TestGonkCameraHardware.cpp',
|
2013-04-24 01:54:15 +04:00
|
|
|
]
|
|
|
|
else:
|
2014-09-25 02:43:26 +04:00
|
|
|
UNIFIED_SOURCES += [
|
2013-04-24 01:54:15 +04:00
|
|
|
'FallbackCameraControl.cpp',
|
2013-10-24 03:00:23 +04:00
|
|
|
'FallbackCameraManager.cpp',
|
2013-04-24 01:54:15 +04:00
|
|
|
]
|
2013-08-22 10:55:59 +04:00
|
|
|
|
|
|
|
FAIL_ON_WARNINGS = True
|
|
|
|
|
2013-10-24 01:20:55 +04:00
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'../base',
|
|
|
|
]
|
2013-10-02 21:17:55 +04:00
|
|
|
|
2013-10-24 01:20:55 +04:00
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
2013-11-19 06:47:14 +04:00
|
|
|
|
2014-07-23 03:37:51 +04:00
|
|
|
FINAL_LIBRARY = 'xul'
|