camerauis/cameraapp/build/cameraapp.mmp
changeset 19 d9aefe59d544
parent 3 8b2d6d0384b0
child 21 fa6d9f75d6a6
child 28 3075d9b614e6
equal deleted inserted replaced
3:8b2d6d0384b0 19:d9aefe59d544
     1 /*
       
     2 * Copyright (c) 2007-2009 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:  Project definition file for project cameraapp
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #if defined(WINS) || defined(WINSCW)
       
    20 // During linking WINS or WINSCW flag is set instead of __WINS__ or __WINSCW__.
       
    21 // Set those flags here, so the product feature flags can be set correctly in
       
    22 //   also during linking.
       
    23 #define			__WINSCW__
       
    24 #define			__WINS__
       
    25 #endif
       
    26 
       
    27 #if defined(WINS) || defined(WINSCW)
       
    28 MACRO       FORCE_DUMMY_ENGINE
       
    29 #define     FORCE_DUMMY_ENGINE
       
    30 #endif
       
    31 
       
    32 // Use this #define if dynamic settings should be reset to defaults
       
    33 // on switching from photo to video mode and vice versa.
       
    34 #undef RESET_DYNAMIC_SETTINGS_WHEN_SWITCH_MODE
       
    35 
       
    36 #define _RESOURCES_INC_ 		../generic/data/resource_inc
       
    37  
       
    38 #include "../group/camproductconfig.mmh"
       
    39 #include "../generic/inc/CamAppUid.h"
       
    40 #include "../generic/inc/cameracontroller/camcameracontrollerflags.hrh"
       
    41 #include <defaultcaps.hrh>
       
    42 #include <data_caging_paths.hrh>
       
    43 #include <platform_paths.hrh>
       
    44 
       
    45 TARGET          cameraapp.exe
       
    46 TARGETTYPE      exe
       
    47 EPOCSTACKSIZE   0x5000
       
    48 EPOCHEAPSIZE    0x4000 0x2380000
       
    49 UID	0x100039CE  0x101F857A  //KCameraappUID replaced with real value due to the OST compiler limitations
       
    50 VENDORID        VID_DEFAULT
       
    51 CAPABILITY      CAP_APPLICATION MultimediaDD SurroundingsDD PowerMgmt
       
    52 
       
    53 START RESOURCE ../generic/data/cameraapp.rss
       
    54 HEADER 
       
    55 TARGETPATH APP_RESOURCE_DIR
       
    56 LANGUAGE_IDS
       
    57 END  // RESOURCE
       
    58 
       
    59 START RESOURCE ../generic/data/cameraapp_reg.rss
       
    60 DEPENDS cameraapp.rsg
       
    61 TARGETPATH /private/10003a3f/apps
       
    62 END  // RESOURCE
       
    63 
       
    64 // NHD Camera settings resources      
       
    65 START RESOURCE ../generic/data/nhdcamsettings.rss
       
    66 TARGETPATH APP_RESOURCE_DIR
       
    67 HEADER
       
    68 LANGUAGE_IDS
       
    69 END  // RESOURCE
       
    70 
       
    71 
       
    72 // VGA Camera settings resources      
       
    73 START RESOURCE ../generic/data/vgacamsettings.rss
       
    74 TARGETPATH APP_RESOURCE_DIR
       
    75 HEADER
       
    76 LANGUAGE_IDS
       
    77 END  // RESOURCE
       
    78 
       
    79 // ---------------------------------------------------------------------------
       
    80 // Source files
       
    81 SOURCEPATH        ../generic/common/src
       
    82 SOURCE            CamVideoQualityLevel.cpp
       
    83 SOURCE            CamStaticSettingsModel.cpp
       
    84 SOURCE            CamUtility.cpp
       
    85 SOURCE            CamPanic.cpp
       
    86 SOURCE		      CamWaitDialog.cpp
       
    87 SOURCE            CamCollectionManagerAo.cpp
       
    88 SOURCE            caminfolistboxitembase.cpp
       
    89 SOURCE            CamCaptureSetupListItem.cpp
       
    90 SOURCE            CamCaptureSetupListBox.cpp
       
    91 SOURCE            CamCaptureSetupListBoxModel.cpp
       
    92 SOURCE            CamCaptureSetupListItemDrawer.cpp
       
    93 
       
    94 SOURCE            camconfiguration.cpp
       
    95 SOURCE            camconfigurationutility.cpp
       
    96 
       
    97 SOURCEPATH        ../generic/src
       
    98 SOURCE            CamApp.cpp 
       
    99 SOURCE            CamAppui.cpp
       
   100 SOURCE            CamDocument.cpp 
       
   101 SOURCE            CamAppController.cpp
       
   102 SOURCE            CamTimer.cpp
       
   103 SOURCE            CamNaviCounterControl.cpp
       
   104 SOURCE            CamNaviCounterModel.cpp
       
   105 SOURCE            CamNaviProgressBarControl.cpp
       
   106 SOURCE            CamNaviProgressBarModel.cpp
       
   107 SOURCE            CamSelfTimer.cpp
       
   108 SOURCE            CamDefaultNameSettingItem.cpp
       
   109 SOURCE            Camdefaultnamesettingpage.cpp
       
   110 SOURCE            CamViewBase.cpp
       
   111 SOURCE            CamPostCaptureViewBase.cpp
       
   112 SOURCE            CamPreCaptureViewBase.cpp
       
   113 SOURCE            CamStillPreCaptureView.cpp
       
   114 SOURCE            CamStillPostCaptureView.cpp
       
   115 SOURCE            CamStillUserSceneSetupView.cpp
       
   116 SOURCE            CamUserSceneSetupViewBase.cpp
       
   117 SOURCE            CamVideoPreCaptureView.cpp
       
   118 SOURCE            CamVideoPostCaptureView.cpp
       
   119 SOURCE            CamBurstThumbnailView.cpp
       
   120 SOURCE            CamContainerBase.cpp
       
   121 SOURCE            CamPreCaptureContainerBase.cpp
       
   122 SOURCE            CamPostCaptureContainer.cpp
       
   123 SOURCE            CamShootingModeContainer.cpp
       
   124 SOURCE            CamUserSceneSetupContainer.cpp
       
   125 SOURCE            CamBurstThumbnailContainer.cpp
       
   126 SOURCE            CamBurstThumbnailGrid.cpp
       
   127 SOURCE            CamBurstThumbnailGridModel.cpp
       
   128 SOURCE            CamSidePane.cpp
       
   129 SOURCE            CamIndicator.cpp
       
   130 SOURCE            CamIndicatorResourceReader.cpp
       
   131 SOURCE            CamIndicatorData.cpp
       
   132 SOURCE            CamBurstThumbnailGridSizer.cpp
       
   133 SOURCE            CamSettingsModel.cpp
       
   134 
       
   135 SOURCE            CamZoomPane.cpp
       
   136 SOURCE            CamZoomModel.cpp
       
   137 SOURCE            CamZoomUpdateManager.cpp
       
   138 SOURCE            CamCaptureSetupControlHandler.cpp
       
   139 SOURCE            CamCaptureSetupContainer.cpp
       
   140 SOURCE            CamCaptureSetupViewBase.cpp
       
   141 SOURCE            CamCaptureSetupMenuListItem.cpp
       
   142 SOURCE            CamCaptureSetupMenuListBox.cpp
       
   143 SOURCE            CamCaptureSetupMenuListBoxModel.cpp
       
   144 SOURCE            CamCaptureSetupMenuListItemDrawer.cpp
       
   145 SOURCE            CamCaptureSetupMenu.cpp
       
   146 SOURCE            CamCaptureSetupSlider.cpp
       
   147 SOURCE            CamVideoPreCaptureContainer.cpp
       
   148 SOURCE            CamStillPreCaptureContainer.cpp
       
   149 SOURCE            CamBurstCaptureArray.cpp
       
   150 SOURCE            CamStandbyContainer.cpp
       
   151 SOURCE            CamUserSceneSetupItemArray.cpp
       
   152 SOURCE            CamUserSceneSetupListItem.cpp
       
   153 SOURCE            CamImageSaveActive.cpp
       
   154 SOURCE            CamFileCheckAo.cpp
       
   155 
       
   156 SOURCE            CamDecorator.cpp
       
   157 SOURCE            CamObserverHandler.cpp
       
   158 SOURCE            CamRecordingIconDecoration.cpp
       
   159 SOURCE            CamNewFileService.cpp
       
   160 SOURCE            CamServer.cpp
       
   161 
       
   162 SOURCE            CamCallStateAo.cpp
       
   163 SOURCE            CamPropertyWatcher.cpp
       
   164 SOURCE            camactivepalettehandler.cpp
       
   165 SOURCE            CamCommandHandlerAo.cpp
       
   166 SOURCE 	          CamSceneListBox.cpp
       
   167 SOURCE 	          CamSceneListBoxModel.cpp
       
   168 SOURCE            CamBmpRotatorAo.cpp
       
   169 SOURCE            CamVolumeKeyObserver.cpp
       
   170 SOURCE            CamSyncRotatorAo.cpp
       
   171 SOURCE            CamPerformanceLogger.cpp
       
   172 SOURCE            CamInfoListBox.cpp
       
   173 SOURCE            CamInfoListBoxModel.cpp
       
   174 SOURCE            CamInfoListBoxContainer.cpp
       
   175 SOURCE            CamTimeLapseUtility.cpp
       
   176 
       
   177 SOURCE            camlinevfgriddrawer.cpp
       
   178 SOURCE            camvfgridfactory.cpp
       
   179 SOURCE            cambatterypanecontroller.cpp
       
   180 SOURCE            cambatterypanedrawer.cpp
       
   181 
       
   182 SOURCE            CamLocationIconController.cpp
       
   183 
       
   184 SOURCE          camflashstatus.cpp
       
   185 SOURCE          camfolderutility.cpp
       
   186 SOURCE          camtextitem.cpp
       
   187 SOURCE          cambitmapitem.cpp
       
   188 SOURCE          camvideotime.cpp
       
   189 SOURCE          CamDriveChangeNotifier.cpp
       
   190 SOURCE          camoneclickuploadutility.cpp
       
   191 SOURCE          CamMemoryMonitor.cpp
       
   192 SOURCE 	        cambackupcontainer.cpp
       
   193 SOURCE          camsnapshotrotator.cpp
       
   194 
       
   195 // Camera controller sources
       
   196 SOURCEPATH      ../generic/src/cameracontroller
       
   197 SOURCE          cambuffer.cpp
       
   198 SOURCE          cambuffershare.cpp
       
   199 SOURCE          camimagedecoder.cpp
       
   200 SOURCE          camimageencoder.cpp
       
   201 SOURCE          cambitmapscaler.cpp
       
   202 SOURCE          camsnapshot.cpp
       
   203 SOURCE          camsnapshotprovider.cpp
       
   204 SOURCE          camcameracontroller.cpp
       
   205 SOURCE          camcameracontrolleractive.cpp
       
   206 SOURCE          camconstantsettingprovider.cpp
       
   207 SOURCE          camsettingconversion.cpp
       
   208 SOURCE          camsettingprovider.cpp
       
   209 #ifdef CAMERAAPP_FLASH_SIMULATOR
       
   210 SOURCE          camflashsimulator.cpp
       
   211 #endif
       
   212 #ifdef CAMERAAPP_CAPI_EMULATOR
       
   213 SOURCE            CamCamera.cpp
       
   214 SOURCE            CamCameraCallback.cpp
       
   215 #ifndef FORCE_DUMMY_ENGINE
       
   216 SOURCE            CameraappTestBitmapManager.cpp
       
   217 #endif
       
   218 #endif //CAMERAAPP_CAPI_EMULATOR
       
   219 
       
   220 // Audio player sources
       
   221 SOURCEPATH      ../generic/src/audioplayer
       
   222 SOURCE camaudioplayercontroller.cpp
       
   223 SOURCE camaudioplayerwrapper.cpp
       
   224 SOURCE camtoneplayerwrapper.cpp
       
   225 
       
   226 // Test code sources
       
   227 SOURCEPATH        ../generic/dummyengine
       
   228 
       
   229 // Use dummy engine if this is defined
       
   230 #ifdef FORCE_DUMMY_ENGINE
       
   231 SOURCE            CameraappDummyEngine.cpp
       
   232 SOURCE            CameraappDummyCallbackActive.cpp
       
   233 SOURCE            CameraappTestBitmapManager.cpp
       
   234 #endif
       
   235 
       
   236 // ---------------------------------------------------------------------------
       
   237 // Header folders
       
   238 
       
   239 USERINCLUDE       ../generic/inc
       
   240 USERINCLUDE       ../generic/common/inc
       
   241 USERINCLUDE       ../generic/common/data
       
   242 USERINCLUDE       ../generic/inc/cameracontroller
       
   243 USERINCLUDE       ../generic/inc/audioplayer
       
   244 USERINCLUDE       ../generic/camerauiconfigmanager/inc
       
   245 
       
   246 USERINCLUDE       ../generic/dummyengine
       
   247 
       
   248 APP_LAYER_SYSTEMINCLUDE
       
   249 
       
   250 // ---------------------------------------------------------------------------
       
   251 // Libraries
       
   252 
       
   253 LIBRARY ecom.lib
       
   254 LIBRARY GSEcomPlugin.lib
       
   255 LIBRARY euser.lib 
       
   256 LIBRARY apparc.lib 
       
   257 LIBRARY cone.lib 
       
   258 LIBRARY eikcore.lib  
       
   259 LIBRARY eikcoctl.lib 
       
   260 LIBRARY avkon.lib 
       
   261 LIBRARY caeengine.lib
       
   262 LIBRARY AknSkins.lib
       
   263 LIBRARY efsrv.lib 
       
   264 LIBRARY PlatformEnv.lib // PathInfo
       
   265 LIBRARY SysUtil.lib
       
   266 LIBRARY fbscli.lib 
       
   267 LIBRARY bitgdi.lib 
       
   268 LIBRARY ws32.lib 
       
   269 LIBRARY commonengine.lib
       
   270 LIBRARY egul.lib
       
   271 LIBRARY bafl.lib
       
   272 LIBRARY sendui.lib
       
   273 LIBRARY CdlEngine.lib
       
   274 LIBRARY BitmapTransforms.lib
       
   275 LIBRARY commondialogs.lib
       
   276 LIBRARY featmgr.lib
       
   277 LIBRARY ServiceHandler.lib  // AIW library
       
   278 LIBRARY AknIcon.lib
       
   279 LIBRARY MediaClientAudio.lib
       
   280 LIBRARY eikctl.lib
       
   281 LIBRARY apgrfx.lib
       
   282 LIBRARY charconv.lib
       
   283 LIBRARY hlplch.lib // Help Launcher
       
   284 LIBRARY CommonUi.lib        // CDocumentHandler
       
   285 LIBRARY apmime.lib          // TDataType
       
   286 LIBRARY CentralRepository.lib
       
   287 LIBRARY eikdlg.lib
       
   288 LIBRARY numberconversion.lib 
       
   289 LIBRARY NewService.lib
       
   290 LIBRARY camerauiconfigmanager.lib
       
   291 LIBRARY CFClient.lib
       
   292 LIBRARY CFServices.lib
       
   293 LIBRARY ActivePalette.lib
       
   294 LIBRARY aknlayout2.lib
       
   295 
       
   296 // Remote Controller framework
       
   297 LIBRARY RemConCoreApi.lib
       
   298 LIBRARY RemConInterfaceBase.lib
       
   299 
       
   300 LIBRARY aknlayout2scalable.lib
       
   301 LIBRARY gdi.lib
       
   302 LIBRARY estor.lib // RWriteStream
       
   303 
       
   304 LIBRARY ecam.lib
       
   305 #ifdef CAMERAAPP_CAPI_V2
       
   306 LIBRARY         ecamadvsettings.lib
       
   307 LIBRARY         ecamdirectviewfinder.lib
       
   308 #ifdef CAMERAAPP_CAPI_V2_SS
       
   309 LIBRARY         ecamsnapshot.lib
       
   310 #endif
       
   311 LIBRARY         ecamhistogram.lib
       
   312 LIBRARY         ecamoverlay.lib
       
   313 #endif // CAMERAAPP_CAPI_V2
       
   314 
       
   315 LIBRARY ImageConversion.lib
       
   316 LIBRARY exiflib.lib          // CExifRead
       
   317 LIBRARY hal.lib              // HAL, HALData
       
   318 
       
   319 LIBRARY         ecampluginsupport.lib
       
   320 
       
   321 LIBRARY SensrvClient.lib
       
   322 LIBRARY sensrvutil.lib
       
   323 
       
   324 #ifdef CAMERAAPP_LOGGING
       
   325 LIBRARY flogger.lib
       
   326 #endif
       
   327 
       
   328 LIBRARY cntmodel.lib 
       
   329 
       
   330 #ifndef __WINSCW__
       
   331 LIBRARY locationtrail.lib
       
   332 #ifdef RD_MDS_2_5
       
   333 LIBRARY locationmanager.lib
       
   334 #endif //RD_MDS_2_5
       
   335 #endif //WINSCW
       
   336 
       
   337 LIBRARY oommonitor.lib
       
   338 LIBRARY aknnotify.lib
       
   339 
       
   340 LIBRARY imagingconfigmanager.lib
       
   341 LIBRARY touchfeedback.lib 
       
   342 
       
   343 #ifdef RD_UI_TRANSITION_EFFECTS_LIST
       
   344 LIBRARY aknlistloadertfx.lib
       
   345 #endif //RD_UI_TRANSITION_EFFECTS_LIST
       
   346 // MC photos related lib
       
   347 LIBRARY glxuiutilities.lib
       
   348 LIBRARY glxcollectionmanager.lib
       
   349 LIBRARY glxmetadatadialog.lib
       
   350 
       
   351 LIBRARY thumbnailmanager.lib
       
   352 
       
   353 
       
   354 // ---------------------------------------------------------------------------
       
   355 #ifdef FORCE_DUMMY_ENGINE
       
   356 
       
   357 START BITMAP DummyViewFinder.mbm
       
   358   HEADER
       
   359   TARGETPATH  /system/apps/cameraapp
       
   360   SOURCEPATH  ../generic/data/bitmaps
       
   361 
       
   362   SOURCE       c24 DummyViewfinder.bmp
       
   363   SOURCE       c24 DummyViewfinder2.bmp
       
   364   SOURCE       c24 DummyViewfinder3.bmp
       
   365 END
       
   366 
       
   367 #endif // FORCE_DUMMY_ENGINE
       
   368 // ---------------------------------------------------------------------------
       
   369 
       
   370 #if defined(RD_MDS_2_5) && !defined(__WINSCW__) && !defined(__WINS__)
       
   371 LIBRARY harvesterclient.lib
       
   372 #endif // defined(RD_MDS_2_5) && !defined(__WINSCW__) && !defined(__WINS__)
       
   373 
       
   374 USERINCLUDE ../generic/data/resource_inc 
       
   375 USERINCLUDE ../traces