phoneplugins/infowidgetplugin/infowidgetprovider/infowidgetprovider.pro
changeset 22 6bb1b21d2484
child 27 2f8f8080a020
equal deleted inserted replaced
21:92ab7f8d0eab 22:6bb1b21d2484
       
     1 #
       
     2 # Copyright (c) 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:
       
    15 #
       
    16 #
       
    17  
       
    18 
       
    19 TEMPLATE = lib
       
    20 CONFIG += plugin hb svg mobility
       
    21 MOBILITY = serviceframework
       
    22 
       
    23 TRANSLATIONS = operator_widget.ts
       
    24 
       
    25 MOC_DIR = moc
       
    26 RCC_DIR = rcc
       
    27 
       
    28 symbian: {
       
    29 LIBS += -lhswidgetmodel \
       
    30     -lnetworkhandling \
       
    31     -lcbsclient \
       
    32     -lcbsmcnclient \
       
    33     -lxqsettingsmanager
       
    34 }
       
    35    
       
    36 INCLUDEPATH += ./inc \
       
    37     ./infowidget/inc 
       
    38     
       
    39 symbian: { 
       
    40     load(data_caging_paths)
       
    41     INCLUDEPATH += $$APP_LAYER_SYSTEMINCLUDE
       
    42     TARGET.UID3 = 0x20029F28
       
    43     TARGET.EPOCALLOWDLLDATA = 1
       
    44     TARGET.CAPABILITY = ALL \
       
    45         -TCB
       
    46     deploy.path = c:
       
    47     
       
    48     DEPLOYMENT += exportheaders  
       
    49         
       
    50     BLD_INF_RULES.prj_exports +=  \
       
    51      "$${LITERAL_HASH}include <platform_paths.hrh>" \
       
    52      "./rom/infowidgetprovider.iby    CORE_APP_LAYER_IBY_EXPORT_PATH(infowidgetprovider.iby)" \
       
    53 	 "./rom/infowidgetprovider_resources.iby LANGUAGE_APP_LAYER_IBY_EXPORT_PATH(infowidgetprovider_resources.iby)" 
       
    54 }
       
    55 win32: { 
       
    56     INCLUDEPATH += ../../../../homescreensrv/homescreensrv_plat/hswidgetmodel_api
       
    57     include(infowidgetprovider_installs_win32.pri)
       
    58 }
       
    59 RESOURCES = infowidgetprovider.qrc
       
    60 
       
    61 symbian: PLUGIN_SUBDIR = /private/20022F35/import/widgetregistry/20029F28
       
    62 win32: PLUGIN_SUBDIR = /hsresources/import/widgetregistry/20029F28
       
    63 OUTPUT_DIR = ./bin
       
    64 SOURCE_DIR = ./inc
       
    65 OBJECTS_DIR = $$OUTPUT_DIR/tmp/$$TARGET
       
    66 DESTDIR = $$OUTPUT_DIR
       
    67 MOC_DIR = $$OUTPUT_DIR/tmp/$$TARGET/moc
       
    68 RCC_DIR = $$OUTPUT_DIR/tmp/$$TARGET/rcc
       
    69 UI_DIR = $$OUTPUT_DIR/tmp/$$TARGET/ui
       
    70 LIBS += -L$$DESTDIR
       
    71 DEPENDPATH += . $$SOURCE_DIR
       
    72 INCLUDEPATH += . $$SOURCE_DIR
       
    73 INCLUDEPATH += $$MOC_DIR
       
    74 plugin: !isEmpty(PLUGIN_SUBDIR): DESTDIR = $$OUTPUT_DIR/$$PLUGIN_SUBDIR
       
    75 
       
    76 include(infowidgetprovider.pri)
       
    77 
       
    78 exportResources(./resource/*.manifest, $$PLUGIN_SUBDIR)
       
    79 exportResources(./resource/*.png, $$PLUGIN_SUBDIR)