2013-04-01 18:36:59 +00:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-25 20:47:20 +00: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 16:51:51 +00:00
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk':
|
|
|
|
TEST_DIRS += ['test']
|
|
|
|
|
2013-04-16 19:24:43 +00:00
|
|
|
EXPORTS += [
|
|
|
|
'CameraCommon.h',
|
2014-06-19 13:20:49 +00:00
|
|
|
'CameraPreferences.h',
|
2013-04-16 19:24:43 +00:00
|
|
|
'DOMCameraManager.h',
|
|
|
|
]
|
|
|
|
|
2013-10-24 23:23:05 +00:00
|
|
|
SOURCES += [
|
2013-04-23 21:54:15 +00:00
|
|
|
'CameraControlImpl.cpp',
|
2014-06-19 13:20:49 +00:00
|
|
|
'CameraPreferences.cpp',
|
2013-04-23 21:54:15 +00:00
|
|
|
'CameraPreviewMediaStream.cpp',
|
|
|
|
'CameraRecorderProfiles.cpp',
|
|
|
|
'DOMCameraCapabilities.cpp',
|
|
|
|
'DOMCameraControl.cpp',
|
2014-02-14 22:41:07 +00:00
|
|
|
'DOMCameraControlListener.cpp',
|
2014-04-09 15:52:10 +00:00
|
|
|
'DOMCameraDetectedFace.cpp',
|
2013-04-23 21:54:15 +00:00
|
|
|
'DOMCameraManager.cpp',
|
|
|
|
]
|
|
|
|
|
|
|
|
if CONFIG['MOZ_B2G_CAMERA']:
|
2013-10-24 23:23:05 +00:00
|
|
|
SOURCES += [
|
2013-04-23 21:54:15 +00:00
|
|
|
'GonkCameraControl.cpp',
|
|
|
|
'GonkCameraHwMgr.cpp',
|
2013-10-23 23:00:23 +00:00
|
|
|
'GonkCameraManager.cpp',
|
2014-02-14 22:41:07 +00:00
|
|
|
'GonkCameraParameters.cpp',
|
2013-04-23 21:54:15 +00:00
|
|
|
'GonkCameraSource.cpp',
|
2013-10-23 23:00:23 +00:00
|
|
|
'GonkRecorder.cpp',
|
2013-04-23 21:54:15 +00:00
|
|
|
'GonkRecorderProfiles.cpp',
|
2014-04-25 20:28:15 +00:00
|
|
|
'TestGonkCameraControl.cpp',
|
2014-02-20 04:18:52 +00:00
|
|
|
'TestGonkCameraHardware.cpp',
|
2013-04-23 21:54:15 +00:00
|
|
|
]
|
|
|
|
else:
|
2013-10-24 23:23:05 +00:00
|
|
|
SOURCES += [
|
2013-04-23 21:54:15 +00:00
|
|
|
'FallbackCameraControl.cpp',
|
2013-10-23 23:00:23 +00:00
|
|
|
'FallbackCameraManager.cpp',
|
2013-04-23 21:54:15 +00:00
|
|
|
]
|
2013-08-22 06:55:59 +00:00
|
|
|
|
|
|
|
FAIL_ON_WARNINGS = True
|
|
|
|
|
2013-10-23 21:20:55 +00:00
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'../base',
|
|
|
|
]
|
2013-10-02 17:17:55 +00:00
|
|
|
|
2013-10-23 21:20:55 +00:00
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
2013-11-19 02:47:14 +00:00
|
|
|
|
|
|
|
FINAL_LIBRARY = 'gklayout'
|