|
1 # |
|
2 # Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies). |
|
3 # All rights reserved. |
|
4 # This component and the accompanying materials are made available |
|
5 # under the terms of "Eclipse Public License v1.0" |
|
6 # which accompanies this distribution, and is available |
|
7 # at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 # |
|
9 # Initial Contributors: |
|
10 # Nokia Corporation - initial contribution. |
|
11 # |
|
12 # Contributors: |
|
13 # |
|
14 # Description: |
|
15 # |
|
16 |
|
17 include(../camerax.pri) |
|
18 !symbian { |
|
19 CONFIG += staticlib |
|
20 CONFIG += HB |
|
21 HB += hbcore hbwidgets |
|
22 } else { |
|
23 CONFIG += dll |
|
24 DEFINES += CAMERAX_ENGINE_LIBRARY |
|
25 } |
|
26 |
|
27 TEMPLATE = lib |
|
28 TARGET = |
|
29 DEPENDPATH += inc inc/api src/dummyengine |
|
30 INCLUDEPATH += inc \ |
|
31 inc/sensor \ |
|
32 inc/api \ |
|
33 src/dummyengine \ |
|
34 traces \ |
|
35 ../extensions/inc |
|
36 |
|
37 VPATH += src |
|
38 MOC_DIR = tmp |
|
39 |
|
40 symbian { |
|
41 TARGET.CAPABILITY = ALL -TCB -DRM |
|
42 TARGET.UID3 = 0x20027016 |
|
43 # Fix for QMake translating INCLUDEPATH to SYSTEMINCLUDE |
|
44 # and TraceCompiler needing USERINCLUDE. |
|
45 MMP_RULES += "USERINCLUDE traces" |
|
46 MMP_RULES += SMPSAFE |
|
47 |
|
48 # Libs |
|
49 LIBS += -lecam |
|
50 LIBS += -lecamadvsettings |
|
51 LIBS += -lecamsnapshot |
|
52 LIBS += -lfbscli |
|
53 LIBS += -lbitgdi |
|
54 LIBS += -lgdi |
|
55 LIBS += -lws32 |
|
56 LIBS += -lcone |
|
57 LIBS += -lecamdirectviewfinder |
|
58 LIBS += -lmediaclientvideo |
|
59 LIBS += -lefsrv |
|
60 LIBS += -lsysutil |
|
61 LIBS += -lbafl |
|
62 LIBS += -lmediaclientaudio |
|
63 LIBS += -lecom |
|
64 LIBS += -lecampluginsupport |
|
65 LIBS += -lmmfcontrollerframework |
|
66 LIBS += -lplatformenv |
|
67 LIBS += -lxqsettingsmanager |
|
68 LIBS += -lsensrvclient |
|
69 LIBS += -lsensrvutil |
|
70 LIBS += -limagingconfigmanager |
|
71 LIBS += -lharvesterclient |
|
72 LIBS += -lthumbnailmanagerqt |
|
73 LIBS += -lxqserviceutil |
|
74 LIBS += -loommonitor |
|
75 LIBS += -lhal |
|
76 LIBS += -llocationmanager |
|
77 |
|
78 TARGET.EPOCALLOWDLLDATA = 1 // TODO: check this out?? |
|
79 } |
|
80 |
|
81 # dependencies |
|
82 #cxeenginecenrep.sources = cenrep/20027017.txt cenrep/20027018.txt |
|
83 #cxeenginecenrep.path = /private/10202be9 |
|
84 # deploy it |
|
85 #DEPLOYMENT += cxeenginecenrep |
|
86 |
|
87 |
|
88 # Sound files |
|
89 symbian { |
|
90 CXENGINE_DIR = $$section(PWD,":",1) |
|
91 BLD_INF_RULES.prj_exports += "$$CXENGINE_DIR/data/autoFocus.wav /epoc32/data/z/system/sounds/digital/autoFocus.wav" |
|
92 BLD_INF_RULES.prj_exports += "$$CXENGINE_DIR/data/capture.wav /epoc32/data/z/system/sounds/digital/capture.wav" |
|
93 BLD_INF_RULES.prj_exports += "$$CXENGINE_DIR/data/videoStart.wav /epoc32/data/z/system/sounds/digital/videoStart.wav" |
|
94 BLD_INF_RULES.prj_exports += "$$CXENGINE_DIR/data/videoStop.wav /epoc32/data/z/system/sounds/digital/videoStop.wav" |
|
95 } |
|
96 |
|
97 # confml, crml files |
|
98 symbian { |
|
99 CXENGINE_DIR = $$section(PWD,":",1) |
|
100 BLD_INF_RULES.prj_exports += "$${LITERAL_HASH}include <platform_paths.hrh>" |
|
101 BLD_INF_RULES.prj_exports += "$$CXENGINE_DIR/conf/camerax.confml APP_LAYER_CONFML(camerax.confml) |
|
102 BLD_INF_RULES.prj_exports += "$$CXENGINE_DIR/conf/camerax_20027017.crml APP_LAYER_CRML(camerax_20027017.crml) |
|
103 BLD_INF_RULES.prj_exports += "$$CXENGINE_DIR/conf/cameraxvariation.confml APP_LAYER_CONFML(cameraxvariation.confml) |
|
104 BLD_INF_RULES.prj_exports += "$$CXENGINE_DIR/conf/cameraxvariation_20027018.crml APP_LAYER_CRML(cameraxvariation_20027018.crml) |
|
105 } |
|
106 |
|
107 |
|
108 # Input |
|
109 HEADERS += cxengine_global.h \ |
|
110 cxememorymonitor.h \ |
|
111 cxememorymonitorprivate.h \ |
|
112 cxecameradevicecontrol.h \ |
|
113 cxeengine.h \ |
|
114 cxutils.h \ |
|
115 cxeerror.h \ |
|
116 cxenamespace.h \ |
|
117 cxesettings.h \ |
|
118 cxesettingsimp.h \ |
|
119 cxefeaturemanager.h \ |
|
120 cxefeaturemanagerimp.h \ |
|
121 cxestatemachine.h \ |
|
122 cxestate.h \ |
|
123 cxestatemachinebase.h \ |
|
124 cxestillimage.h \ |
|
125 cxestillcapturecontrol.h \ |
|
126 cxefilesavethread.h \ |
|
127 cxesensoreventhandler.h \ |
|
128 cxesettingsstore.h \ |
|
129 cxequalitydetails.h \ |
|
130 cxequalitypresets.h \ |
|
131 cxeautofocuscontrol.h \ |
|
132 cxevideocapturecontrol.h \ |
|
133 cxeimagedataitem.h \ |
|
134 cxeimagedataqueue.h \ |
|
135 cxezoomcontrol.h \ |
|
136 cxeviewfindercontrol.h \ |
|
137 cxegeotaggingtrail.h \ |
|
138 cxeexception.h \ |
|
139 cxescenemodestore.h |
|
140 |
|
141 symbian { |
|
142 |
|
143 HEADERS+= cxequalitypresetssymbian.h \ |
|
144 cxecameradevicecontrolsymbian.h \ |
|
145 cxecameradevice.h \ |
|
146 cxeviewfindercontrolsymbian.h \ |
|
147 cxevideocapturecontrolsymbian.h \ |
|
148 cxesettingscontrolsymbian.h \ |
|
149 cxestillcapturecontrolsymbian.h \ |
|
150 cxeenginesymbian.h \ |
|
151 cxeautofocuscontrolsymbian.h \ |
|
152 cxezoomcontrolsymbian.h \ |
|
153 cxeimagedataqueuesymbian.h \ |
|
154 cxeimagedataitemsymbian.h \ |
|
155 cxefilenamegeneratorsymbian.h \ |
|
156 cxeerrormappingsymbian.h \ |
|
157 cxesoundplayersymbian.h \ |
|
158 cxevideorecorderutility.h \ |
|
159 cxevideorecorderutilitysymbian.h \ |
|
160 cxestillimagesymbian.h \ |
|
161 cxesettingsmappersymbian.h \ |
|
162 cxefilesavethreadsymbian.h \ |
|
163 cxesensoreventhandlersymbian.h \ |
|
164 cxesettingscenrepstore.h \ |
|
165 cxesysutil.h \ |
|
166 cxevideocontainer.h \ |
|
167 cxedummycamera.h \ |
|
168 cxeharvestercontrolsymbian.h \ |
|
169 cxethumbnailmanagersymbian.h \ |
|
170 cxediskmonitor.h \ |
|
171 cxediskmonitorprivate.h \ |
|
172 cxesnapshotcontrol.h \ |
|
173 cxesnapshotcontrolprivate.h \ |
|
174 cxegeotaggingtrail_symbian_p.h \ |
|
175 sensor/xqsensor.h \ |
|
176 sensor/xqaccsensor.h \ |
|
177 sensor/xqdeviceorientation.h \ |
|
178 sensor/xqdeviceorientation_p.h \ |
|
179 sensor/xqsensor_p.h \ |
|
180 sensor/xqaccsensor_p.h \ |
|
181 traces/OstTraceDefinitions.h |
|
182 |
|
183 } else { |
|
184 HEADERS += cxeautofocuscontroldesktop.h \ |
|
185 cxecameradevicecontroldesktop.h \ |
|
186 cxeviewfindercontroldesktop.h \ |
|
187 cxezoomcontroldesktop.h \ |
|
188 cxefilenamegeneratordesktop.h \ |
|
189 cxefilesavethreaddesktop.h \ |
|
190 cxeimagedataitemdesktop.h \ |
|
191 cxeimagedataqueuedesktop.h \ |
|
192 cxevideocapturecontroldesktop.h \ |
|
193 cxestillimagedesktop.h \ |
|
194 cxestillcapturecontroldesktop.h \ |
|
195 cxequalitypresets.h \ |
|
196 cxequalitypresetsdesktop.h \ |
|
197 cxesensoreventhandlerdesktop.h \ |
|
198 cxesettingsstoredesktop.h \ |
|
199 cxecameradevicedesktop.h \ |
|
200 cxeviewfinderwidgetdesktop.h \ |
|
201 cxegeotaggingtrail_desktop_p.h \ |
|
202 cxeenginedesktop.h |
|
203 } |
|
204 |
|
205 SOURCES += cxeengine.cpp \ |
|
206 cxefeaturemanagerimp.cpp \ |
|
207 cxememorymonitor.cpp \ |
|
208 cxememorymonitorprivate.cpp \ |
|
209 cxestatemachine.cpp \ |
|
210 cxestate.cpp \ |
|
211 cxestatemachinebase.cpp \ |
|
212 cxefilesavethread.cpp \ |
|
213 cxegeotaggingtrail.cpp \ |
|
214 cxesettingsimp.cpp \ |
|
215 cxescenemodestore.cpp |
|
216 |
|
217 symbian { |
|
218 SOURCES += cxedummycamera.cpp \ |
|
219 cxesysutil.cpp \ |
|
220 cxevideocontainer.cpp \ |
|
221 cxeenginesymbian.cpp \ |
|
222 cxeviewfindercontrolsymbian.cpp \ |
|
223 cxestillcapturecontrolsymbian.cpp \ |
|
224 cxevideocapturecontrolsymbian.cpp \ |
|
225 cxesettingscontrolsymbian.cpp \ |
|
226 cxeautofocuscontrolsymbian.cpp \ |
|
227 cxezoomcontrolsymbian.cpp \ |
|
228 cxeimagedataqueuesymbian.cpp \ |
|
229 cxeimagedataitemsymbian.cpp \ |
|
230 cxefilenamegeneratorsymbian.cpp \ |
|
231 cxecameradevice.cpp \ |
|
232 cxesoundplayersymbian.cpp \ |
|
233 cxecameradevicecontrolsymbian.cpp \ |
|
234 cxeerrormappingsymbian.cpp \ |
|
235 cxestillimagesymbian.cpp \ |
|
236 cxevideorecorderutilitysymbian.cpp \ |
|
237 cxesettingsmappersymbian.cpp \ |
|
238 cxefilesavethreadsymbian.cpp \ |
|
239 cxesensoreventhandlersymbian.cpp \ |
|
240 cxesettingscenrepstore.cpp \ |
|
241 cxequalitypresetssymbian.cpp \ |
|
242 cxeharvestercontrolsymbian.cpp \ |
|
243 cxethumbnailmanagersymbian.cpp \ |
|
244 cxediskmonitor.cpp \ |
|
245 cxediskmonitorprivate.cpp \ |
|
246 cxesnapshotcontrol.cpp \ |
|
247 cxesnapshotcontrolprivate.cpp \ |
|
248 cxegeotaggingtrail_symbian_p.cpp \ |
|
249 sensor/xqsensor.cpp \ |
|
250 sensor/xqaccsensor.cpp \ |
|
251 sensor/xqdeviceorientation.cpp \ |
|
252 sensor/xqdeviceorientation_p.cpp \ |
|
253 sensor/xqsensor_p.cpp \ |
|
254 sensor/xqaccsensor_p.cpp |
|
255 |
|
256 } else { |
|
257 SOURCES += cxeautofocuscontroldesktop.cpp \ |
|
258 cxecameradevicecontroldesktop.cpp \ |
|
259 cxeviewfindercontroldesktop.cpp \ |
|
260 cxezoomcontroldesktop.cpp \ |
|
261 cxefilenamegeneratordesktop.cpp \ |
|
262 cxefilesavethreaddesktop.cpp \ |
|
263 cxeimagedataqueuedesktop.cpp \ |
|
264 cxeimagedataitemdesktop.cpp \ |
|
265 cxevideocapturecontroldesktop.cpp \ |
|
266 cxestillimagedesktop.cpp \ |
|
267 cxestillcapturecontroldesktop.cpp \ |
|
268 cxequalitypresetsdesktop.cpp \ |
|
269 cxesensoreventhandlerdesktop.cpp \ |
|
270 cxesettingsstoredesktop.cpp \ |
|
271 cxecameradevicedesktop.cpp \ |
|
272 cxeviewfinderwidgetdesktop.cpp \ |
|
273 cxegeotaggingtrail_desktop_p.cpp \ |
|
274 cxeenginedesktop.cpp |
|
275 } |