1 # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
2 # vim: set filetype=python:
3 # This Source Code Form is subject to the terms of the Mozilla Public
4 # License, v. 2.0. If a copy of the MPL was not distributed with this
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 'nsIDOMCameraManager.idl',
11 if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk':
14 XPIDL_MODULE = 'dom_camera'
18 'CameraPreviewMediaStream.h',
20 'GonkCameraControl.h',
24 'CameraControlImpl.cpp',
25 'CameraPreviewMediaStream.cpp',
26 'CameraRecorderProfiles.cpp',
27 'DOMCameraCapabilities.cpp',
28 'DOMCameraControl.cpp',
29 'DOMCameraManager.cpp',
30 'DOMCameraPreview.cpp',
33 if CONFIG['MOZ_B2G_CAMERA']:
35 'GonkCameraControl.cpp',
36 'GonkCameraHwMgr.cpp',
37 'GonkCameraManager.cpp',
38 'GonkCameraSource.cpp',
40 'GonkRecorderProfiles.cpp',
44 'FallbackCameraControl.cpp',
45 'FallbackCameraManager.cpp',
48 FAIL_ON_WARNINGS = True
54 include('/ipc/chromium/chromium-config.mozbuild')
56 FINAL_LIBRARY = 'gklayout'