0
|
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: Configuration file for CDS script
|
|
15 |
#
|
|
16 |
|
|
17 |
# --- PLATFORM VERSION ---
|
|
18 |
|
|
19 |
# This is used as in platform's xml-description as a version-id.
|
|
20 |
# By default, the version string is used also in report and error log filenames.
|
12
|
21 |
# Allowed values are: '5.0', '9.1','9.2','10.1'
|
|
22 |
PLATFORM_VERSION = '10.1'
|
|
23 |
BUILD = 'wk16_2010'
|
0
|
24 |
|
|
25 |
# --- REPORT FILENAME ---
|
|
26 |
REPORT_FILENAME = 's60_platform_data_temp'
|
|
27 |
|
|
28 |
# --- PLATFORM_PATHS.HRH FILE NAME AND LOCATION ---
|
|
29 |
|
|
30 |
# Platform_paths.hrh file is searched from the following directory with the given filename.
|
12
|
31 |
PLATFORM_PATHS_HRH_LOCATION = r'C:\Build_C\MCL_92_201016_hw79\epoc32\include\'
|
0
|
32 |
PLATFORM_PATHS_HRH_FILE = r'platform_paths.hrh'
|
|
33 |
|
|
34 |
# --- SUB-DIRECTORIES THAT ARE NOT SCANNED ---
|
|
35 |
|
|
36 |
# All source code directories with following names are ignored and left out from the scan
|
|
37 |
IGNORED_FOLDERS = (
|
|
38 |
'tsrc',
|
|
39 |
'internal',
|
|
40 |
'integtest',
|
|
41 |
'test',
|
|
42 |
'unittest',
|
|
43 |
'inttest'
|
|
44 |
)
|
|
45 |
|
|
46 |
# --- TOOL OUTPUT DIRECTORY ---
|
|
47 |
|
|
48 |
# --- Report, logs etc. are saved here: ---
|
|
49 |
TOOL_DIR = 'C:\\TEMP'
|
|
50 |
|
|
51 |
REPORT_FULLNAME = TOOL_DIR + '\\' + REPORT_FILENAME + '.xml'
|
|
52 |
|
|
53 |
# --- ERROR LOG FILENAME ---
|
|
54 |
ERROR_LOG_FILENAME = TOOL_DIR + '\\log\\s60_platform_' + PLATFORM_VERSION + '.log'
|
|
55 |
|
|
56 |
# --- PROCESSOR CONFIGURATION ---
|
|
57 |
ACTIVE_PROCESSORS = (
|
|
58 |
'processors.scanner',
|
|
59 |
)
|
|
60 |
|
|
61 |
# --- SCANNER CONFIGURATION ---
|
|
62 |
ACTIVE_SCANNERS = (
|
|
63 |
'processors.scanners.bld_inf_scanner',
|
|
64 |
'processors.scanners.mmp_scanner',
|
|
65 |
'processors.scanners.src_scanner',
|
|
66 |
)
|
|
67 |
|
|
68 |
# --- SOURCE CODE PATHS ---
|
|
69 |
# Tuples of (path, removed prefix)
|
|
70 |
SCANNER_PATHS = (
|
12
|
71 |
(r'C:\Build_C\MCL_92_201016_hw79\sf', r'C:\Build_C\MCL_92_201016_hw79'),
|
|
72 |
# (r'C:\Build_C\MCL_92_201016_hw79\ext', r'C:\Build_C\MCL_92_201016_hw79'), #[if added any extra source path]
|
0
|
73 |
)
|
|
74 |
|
|
75 |
# --- OUTPUT FILE LOCATIONS ---
|
|
76 |
WARN_FILENAME = TOOL_DIR + '\\results\\warns.txt'
|
|
77 |
LOG_FILENAME = TOOL_DIR + '\\results\\scanner.log'
|
|
78 |
|
|
79 |
# --- OPTIONAL API INFO FIELD ( options 'yes' or 'no') ---
|
|
80 |
API_INFO_NEEDED = 'yes'
|
|
81 |
|
|
82 |
# --- OPTIONAL IF API INFO NEEDED, MENTION THE SDK INDEX,
|
12
|
83 |
# --- ex: for 5.0 release_index 155,
|
|
84 |
# --- for 9.1 sdk, release_index 154 and for 9.2 release_index 250,for 10.1 release_index is 251.
|
|
85 |
|
0
|
86 |
#If not mentioned, then any release will be taken.
|
|
87 |
#Else while generating the platform data script , we can get the updated release index from kevlar for each sdk.
|
|
88 |
|
12
|
89 |
API_REL_INDX ='251' |