homescreenpluginsrv/inc/hsps_builds_cfg.hrh
changeset 0 79c6a41cd166
child 1 844b978f8d5e
equal deleted inserted replaced
-1:000000000000 0:79c6a41cd166
       
     1 /*
       
     2 * Copyright (c) 2008 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:  Build-flag definition file for HSPS R&D. Should be deleted in product.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef __HSPS_BUILDS_HRH__
       
    20 #define __HSPS_BUILDS_HRH__
       
    21 
       
    22 #include <bldvariant.hrh>
       
    23  
       
    24 // Define following build flag if you are building internal test builds. 
       
    25 // By default, should be undefined in official production builds. 
       
    26 #undef _hsps_INTERNAL_
       
    27 
       
    28 // If ____HSPS_CFG_LOG_ON____ is defined, then logging is on.
       
    29 // By default, should be undefined in official production builds. 
       
    30 #undef ____HSPS_CFG_LOG_ON____
       
    31 
       
    32 // Controls whether access right should be eneabled.
       
    33 // Thus an application can access configurations with specific uids only.
       
    34 // By default, should be defined in official production builds
       
    35 #undef _hsps_SECURITY_NOT_IN_USE_
       
    36 
       
    37 // Controls whether an test application should be built. 
       
    38 // By default, should be undefined in official production builds.
       
    39 #undef _HSPS_TESTAPP_
       
    40 
       
    41 // Controls whether internal test themes should be installed into the ROM drive.
       
    42 // By default, should be undefined in official production builds.
       
    43 #undef _HSPS_AUTOINSTALL_TEST_THEMES_
       
    44 
       
    45 // Controls whether old RDebug-prints should be processed. 
       
    46 // By default, should be undefined in official production builds. 
       
    47 #undef _hsps_DEBUG_
       
    48 
       
    49 // Controls whether performace tests should be logged
       
    50 // By default, should be undefined in official production builds.
       
    51 #undef _hsps_PERFORMANCE_TEST_
       
    52 
       
    53 // Control support for detecting file changes in emulator
       
    54 // By default, should be undefined in official production builds.
       
    55 #undef _hsps_EMULATOR_SUPPORT_
       
    56 
       
    57 // Define this macro to enable server shutdown. If not defined, then server
       
    58 // will be up until phone is restarted.
       
    59 #undef _hsps_SERVER_SHUTDOWN_ENABLED_
       
    60 
       
    61     
       
    62 
       
    63 // ***********************************************
       
    64 // Override definitions for internal test builds
       
    65 // ***********************************************
       
    66 #ifdef _hsps_INTERNAL_
       
    67     #define ____HSPS_CFG_LOG_ON____
       
    68     #define _HSPS_TESTAPP_
       
    69     #define _HSPS_AUTOINSTALL_TEST_THEMES_    
       
    70     #define _hsps_DEBUG_
       
    71     #define _hsps_SERVER_SHUTDOWN_ENABLED_
       
    72 
       
    73     #ifdef _hsps_DEBUG_
       
    74         #define _hsps_PERFORMANCE_TEST_
       
    75         #if defined(WINSCW) || defined(__WINS__)          
       
    76             #define _hsps_EMULATOR_SUPPORT_
       
    77         #endif
       
    78     #endif
       
    79 #endif // _hsps_INTERNAL_
       
    80 
       
    81 #endif// __HSPS_BUILDS_HRH__