sysstatemgmt/systemstateplugins/gsapolicy/group/sspluginsgsa.iby
changeset 0 4e1aa6a622a0
child 59 0f7422b6b602
equal deleted inserted replaced
-1:000000000000 0:4e1aa6a622a0
       
     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 #ifndef __SSPLUGINSGSA_IBY__
       
    18 #define __SSPLUGINSGSA_IBY__
       
    19 
       
    20 file=ABI_DIR\BUILD_DIR\ssm.state.policy.hw.0000.dll		sys\bin\ssm.state.policy.0000.dll
       
    21 file=ABI_DIR\BUILD_DIR\ssm.state.policy.0001.dll		sys\bin\ssm.state.policy.0001.dll
       
    22 file=ABI_DIR\BUILD_DIR\ssm.state.policy.hw.0002.dll		sys\bin\ssm.state.policy.0002.dll
       
    23 file=ABI_DIR\BUILD_DIR\ssm.state.policy.hw.0003.dll		sys\bin\ssm.state.policy.0003.dll
       
    24 
       
    25 // rsc files for the rom
       
    26 data=EPOCROOT##epoc32\data\z\private\2000d75b\startup\fallback\fallbacktosysstart_target.rsc		private\2000d75b\startup\fallback\fallbacktosysstart.rsc
       
    27 
       
    28 data=EPOCROOT##epoc32\data\z\private\2000d75b\normal\gsanormalcmdlist.rsc		private\2000d75b\normal\gsanormalcmdlist.rsc
       
    29 data=EPOCROOT##epoc32\data\z\private\2000d75b\shutdown\gsashutdowncmdlist.rsc		private\2000d75b\shutdown\gsashutdowncmdlist.rsc
       
    30 data=EPOCROOT##epoc32\data\z\private\2000d75b\fail\gsafailcmdlist.rsc			private\2000d75b\fail\gsafailcmdlist.rsc
       
    31 
       
    32 REM Simple startup configuration - install a single resource file 
       
    33 REM as the default "mode 0" file.
       
    34 REM Note this is a Techview specific way of including just the 
       
    35 REM SCL required in the ROM. Licensees are expected to include more 
       
    36 REM than one SCL in their devices.
       
    37 
       
    38 REM If _STARTUPMODE, _STARTUPMODE1, _STARTUPMODE2 etc. are defined
       
    39 REM then SysStart fallback should be used so no SCL rss files will be included
       
    40 REM thus forcing the startup policy to use 
       
    41 REM The macro for selecting SCL lists is _SSMSTARTUPMODE
       
    42 
       
    43 #if (defined(_STARTUPMODE) || \
       
    44 	defined(_STARTUPMODE0) || \
       
    45 	defined(_STARTUPMODE1) || \
       
    46 	defined(_STARTUPMODE2) || \
       
    47 	defined(_STARTUPMODE3) || \
       
    48 	defined(_STARTUPMODE4) || \
       
    49 	defined(_STARTUPMODE5) || \
       
    50 	defined(_STARTUPMODE8))
       
    51 
       
    52 REM SysStart startup mode defines found, using SysStart startup
       
    53 WARNING "Use _SSMSTARTUPMODE instead of _STARTUPMODE as it is deprecated."
       
    54 WARNING "_STARTUPMODE can only be used for testing fallback on SysStart by including sysstart.iby and sysstartconfig.iby in buildrom command " 
       
    55 
       
    56 #else
       
    57 
       
    58 REM No legacy SysStart startup mode defines found, using SSM startup
       
    59 #ifdef _SSMSTARTUPMODE
       
    60 
       
    61 define _2000D75B_MODE _SSMSTARTUPMODE
       
    62 
       
    63 #else
       
    64 
       
    65 // default to mode 0
       
    66 define _2000D75B_MODE 0         // Normal
       
    67 
       
    68 #endif // _SSMSTARTUPMODE
       
    69 
       
    70 REM Selected mode _2000D75B_MODE startup resource file
       
    71 
       
    72 #ifndef SSMA_MINIMAL_BOOT
       
    73 
       
    74 #if (_SSMSTARTUPMODE == 1) 
       
    75 data=MULTI_LINGUIFY(RSC EPOCROOT##epoc32\data\z\private\2000d75b\startup\##_2000D75B_MODE##\gsastartupcmdlist##_2000D75B_MODE##		private\2000d75b\startup\0\gsastartupcmdlist##_2000D75B_MODE##)
       
    76 #else
       
    77 data=MULTI_LINGUIFY(RSC EPOCROOT##epoc32\data\z\private\2000d75b\startup\##_2000D75B_MODE##\gsastartupcmdlist##_2000D75B_MODE##_target		private\2000d75b\startup\0\gsastartupcmdlist##_2000D75B_MODE##)
       
    78 #endif
       
    79 
       
    80 #else
       
    81 
       
    82 data=MULTI_LINGUIFY(RSC EPOCROOT##epoc32\data\z\private\2000d75b\startup\##_2000D75B_MODE##\gsastartupcmdlist_gtcminconfig##_2000D75B_MODE##_target		private\2000d75b\startup\0\gsastartupcmdlist##_2000D75B_MODE##)
       
    83 
       
    84 #endif // SSMA_MINIMAL_BOOT
       
    85 
       
    86 #endif // Legacy SysStart mode defines not found
       
    87 
       
    88 #endif // __SSPLUGINSGSA_IBY__