apicompatanamdw/compatanalysercmd/checkbc/scripts/cds/config.py
changeset 12 a0eee409ff14
parent 3 ebe3f8f03b59
equal deleted inserted replaced
11:bdd2944b914b 12:a0eee409ff14
    16 
    16 
    17 # --- PLATFORM VERSION ---
    17 # --- PLATFORM VERSION ---
    18 
    18 
    19 # This is used as in platform's xml-description as a version-id.
    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.
    20 # By default, the version string is used also in report and error log filenames.
    21 # Allowed values are: '3.0', '3.1', 3.2', '5.0', '5.1' and '5.2'
    21 # Allowed values are: '5.0', '9.1','9.2','10.1'
    22 PLATFORM_VERSION = '5.0'
    22 PLATFORM_VERSION = '10.1'
    23 BUILD = 'wk26_2008'
    23 BUILD = 'wk16_2010'
    24 
    24 
    25 # --- REPORT FILENAME ---
    25 # --- REPORT FILENAME ---
    26 REPORT_FILENAME = 's60_platform_data_temp'
    26 REPORT_FILENAME = 's60_platform_data_temp'
    27 
    27 
    28 # --- PLATFORM_PATHS.HRH FILE NAME AND LOCATION ---
    28 # --- PLATFORM_PATHS.HRH FILE NAME AND LOCATION ---
    29 
    29 
    30 # Platform_paths.hrh file is searched from the following directory with the given filename.
    30 # Platform_paths.hrh file is searched from the following directory with the given filename.
    31 PLATFORM_PATHS_HRH_LOCATION = r'C:\Build_C\S60_5_0_200826\epoc32\include\domain\osextensions'
    31 PLATFORM_PATHS_HRH_LOCATION = r'C:\Build_C\MCL_92_201016_hw79\epoc32\include\'
    32 PLATFORM_PATHS_HRH_FILE = r'platform_paths.hrh'
    32 PLATFORM_PATHS_HRH_FILE = r'platform_paths.hrh'
    33 
    33 
    34 # --- SUB-DIRECTORIES THAT ARE NOT SCANNED ---
    34 # --- SUB-DIRECTORIES THAT ARE NOT SCANNED ---
    35 
    35 
    36 # All source code directories with following names are ignored and left out from the scan
    36 # All source code directories with following names are ignored and left out from the scan
    66 )
    66 )
    67 
    67 
    68 # --- SOURCE CODE PATHS ---
    68 # --- SOURCE CODE PATHS ---
    69 # Tuples of (path, removed prefix)
    69 # Tuples of (path, removed prefix)
    70 SCANNER_PATHS = (
    70 SCANNER_PATHS = (
    71 (r'C:\Build_C\S60_5_0_200826\src', r'C:\Build_C\S60_5_0_200826'),
    71 (r'C:\Build_C\MCL_92_201016_hw79\sf', r'C:\Build_C\MCL_92_201016_hw79'),
    72 (r'C:\Build_C\S60_5_0_200826\S60', r'C:\Build_C\S60_5_0_200826'),
    72 # (r'C:\Build_C\MCL_92_201016_hw79\ext', r'C:\Build_C\MCL_92_201016_hw79'), #[if added any extra source path]
    73 )
    73 )
    74 
    74 
    75 # --- OUTPUT FILE LOCATIONS ---
    75 # --- OUTPUT FILE LOCATIONS ---
    76 WARN_FILENAME = TOOL_DIR + '\\results\\warns.txt'
    76 WARN_FILENAME = TOOL_DIR + '\\results\\warns.txt'
    77 LOG_FILENAME = TOOL_DIR + '\\results\\scanner.log'
    77 LOG_FILENAME = TOOL_DIR + '\\results\\scanner.log'
    78 
    78 
    79 # --- OPTIONAL API INFO FIELD ( options 'yes' or 'no') ---
    79 # --- OPTIONAL API INFO FIELD ( options 'yes' or 'no') ---
    80 API_INFO_NEEDED = 'yes'
    80 API_INFO_NEEDED = 'yes'
    81 
    81 
    82 # --- OPTIONAL IF API INFO NEEDED, MENTION THE SDK INDEX,
    82 # --- OPTIONAL IF API INFO NEEDED, MENTION THE SDK INDEX,
    83 # --- ex: For 3.2 sdk , release_index 132 , for 5.0 release_index 155,
    83 # --- ex: for 5.0 release_index 155,
    84 # ---     for 5.1 sdk, release_index 154 and for 5.2 release_index 150.
    84 # ---     for 9.1 sdk, release_index 154 and for 9.2 release_index 250,for 10.1 release_index is 251.
    85 # ---     for 3.0 and 3.1 sdks, keep release index 12
    85 
    86 #If not mentioned, then any release will be taken.
    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.
    87 #Else while generating the platform data script , we can get the updated release index from kevlar for each sdk.
    88 
    88 
    89 API_REL_INDX ='155'
    89 API_REL_INDX ='251'