rjw | 6c1fd8f | 2022-11-30 14:33:01 +0800 | [diff] [blame] | 1 | #----------------------------------------------------
|
| 2 | # This is a setting file for objcheck.pl
|
| 3 | #
|
| 4 | # Usage:
|
| 5 | #
|
| 6 | # <info mcuPath="\\serverName\driveName\mcu"/> (mcu path, only used on local dir)
|
| 7 | # <info prjName="projectName"/> (project name, only used on local dir)
|
| 8 | #
|
| 9 | # <objcheck>
|
| 10 | # <info filename="xxx"/> (target file name, e.g. ScrMemMgr.h)
|
| 11 | # <info path="aaa\bbb\ccc"/> (target file path, e.g. plutommi\mmi\inc)
|
| 12 | # <info parsingInc="0"/> (parse all included files or not)
|
| 13 | # <info type="macro"/> ("obj" for union/struct type, "macro" for #define type, default to "obj".
|
| 14 | # you may use ',' to concatenate more cmds, e.g. "obj,macro")
|
| 15 | #
|
| 16 | # <addModuleInc>
|
| 17 | # add *.inc here for module include path
|
| 18 | # </addModuleInc>
|
| 19 | #
|
| 20 | # <addIncPath>
|
| 21 | # add additional include path here
|
| 22 | # </addIncPath>
|
| 23 | #
|
| 24 | # <addIncFiles>
|
| 25 | # add additional include files here
|
| 26 | # </addIncFiles>
|
| 27 | #
|
| 28 | # <addLines>
|
| 29 | # add additional lines here (will be added to the beginning of checking file)
|
| 30 | # </addLines>
|
| 31 | #
|
| 32 | # <addPostLines>
|
| 33 | # add post additional lines (will be added at the end)
|
| 34 | # </addPostLines>
|
| 35 | #
|
| 36 | # <addFeaturesToWatch>
|
| 37 | # add additional features to watch
|
| 38 | # </addFeaturesToWatch>
|
| 39 | # </objcheck>
|
| 40 | #
|
| 41 | #----------------------------------------------------
|
| 42 |
|
| 43 | # global setting info (do not edit this unless necessary)
|
| 44 | <info removeTmpFile="1"/>
|
| 45 | <info alsoProcessDisabledFeatures="1"/>
|
| 46 |
|
| 47 | #----------------------------------------------------
|
| 48 | # med_mem.h
|
| 49 | #----------------------------------------------------
|
| 50 | <objcheck>
|
| 51 | <info filename="med_mem.h"/>
|
| 52 | <info path="media\common\include"/>
|
| 53 | <info parsingInc="0"/>
|
| 54 | <info type="obj,macro"/>
|
| 55 |
|
| 56 | <addIncFiles>
|
| 57 | MMI_features.h
|
| 58 | </addIncFiles>
|
| 59 | </objcheck>
|
| 60 |
|
| 61 | #----------------------------------------------------
|
| 62 | # app_mem_config.h
|
| 63 | #----------------------------------------------------
|
| 64 | <objcheck>
|
| 65 | <info filename="app_mem_config.h"/>
|
| 66 | <info path="applib\mem\include"/>
|
| 67 | <info parsingInc="0"/>
|
| 68 | <info type="obj,macro"/>
|
| 69 |
|
| 70 | <addModuleInc>
|
| 71 | plutommi
|
| 72 | venus
|
| 73 | kal
|
| 74 | applib
|
| 75 | venusmmi
|
| 76 | </addModuleInc>
|
| 77 |
|
| 78 | <addIncFiles>
|
| 79 | MMI_features.h
|
| 80 | kal_release.h
|
| 81 | MMIDataType.h
|
| 82 | app_mem.h
|
| 83 | </addIncFiles>
|
| 84 |
|
| 85 | <addIncPath>
|
| 86 | plutommi\Customer\CustomerInc
|
| 87 | venusmmi\app\Cosmos\interface\app
|
| 88 | </addIncPath>
|
| 89 |
|
| 90 | <addLines>
|
| 91 | #define APP_MEM_C // define this since app_mem_config.h can only used in app_mem.c
|
| 92 | </addLines>
|
| 93 |
|
| 94 | <addLines type="obj_expand">
|
| 95 | #define __MMI_RP_APP_DATA_H__ // define this for not expand mmi_rp_app_data.h
|
| 96 | #define __MMI_RP_APP_MEM_CONFIG_H__ // define this for not expand mmi_rp_app_mem_config.h
|
| 97 | </addLines>
|
| 98 |
|
| 99 | <addLines type="macro">
|
| 100 | #define __SKIP_MACRO_EXPANSION__
|
| 101 | </addLines>
|
| 102 | </objcheck>
|
| 103 |
|
| 104 | #----------------------------------------------------
|
| 105 | # mmi_rp_app_mem_config.h
|
| 106 | #----------------------------------------------------
|
| 107 | <objcheck>
|
| 108 | <info filename="mmi_rp_app_mem_config.h"/>
|
| 109 | <info path="plutommi\Customer\CustomerInc"/>
|
| 110 | <info parsingInc="0"/>
|
| 111 | <info type="obj2"/>
|
| 112 |
|
| 113 | <addModuleInc>
|
| 114 | plutommi
|
| 115 | venus
|
| 116 | kal
|
| 117 | applib
|
| 118 | venusmmi
|
| 119 | </addModuleInc>
|
| 120 |
|
| 121 | <addIncFiles>
|
| 122 | MMI_features.h
|
| 123 | kal_release.h
|
| 124 | MMIDataType.h
|
| 125 | app_mem.h
|
| 126 | app_mem_config.h
|
| 127 | </addIncFiles>
|
| 128 |
|
| 129 | <addIncPath>
|
| 130 | plutommi\Customer\CustomerInc
|
| 131 | venusmmi\app\Cosmos\interface\app
|
| 132 | </addIncPath>
|
| 133 |
|
| 134 | <addLines>
|
| 135 | #define APP_MEM_C // define this since app_mem_config.h can only used in app_mem.c
|
| 136 | </addLines>
|
| 137 | </objcheck>
|
| 138 |
|
| 139 | #----------------------------------------------------
|
| 140 | # mmi_rp_app_data.h
|
| 141 | #----------------------------------------------------
|
| 142 | <objcheck>
|
| 143 | <info filename="mmi_rp_app_data.h"/>
|
| 144 | <info path="plutommi\Customer\CustomerInc"/>
|
| 145 | <info parsingInc="0"/>
|
| 146 | <info type="macro"/>
|
| 147 |
|
| 148 | <addModuleInc>
|
| 149 | plutommi
|
| 150 | venus
|
| 151 | venusmmi
|
| 152 | </addModuleInc>
|
| 153 |
|
| 154 | <addIncFiles>
|
| 155 | </addIncFiles>
|
| 156 |
|
| 157 | <addIncPath>
|
| 158 | plutommi\Customer\CustomerInc
|
| 159 | venusmmi\app\Cosmos\interface\app
|
| 160 | </addIncPath>
|
| 161 |
|
| 162 | <addLines>
|
| 163 | #define __SKIP_MACRO_EXPANSION__
|
| 164 | </addLines>
|
| 165 | </objcheck>
|
| 166 |
|
| 167 | #----------------------------------------------------
|
| 168 | # ScrMemMgr.h
|
| 169 | #----------------------------------------------------
|
| 170 | <objcheck>
|
| 171 | <info filename="ScrMemMgr.h"/>
|
| 172 | <info path="plutommi\MMI\Inc"/>
|
| 173 | <info parsingInc="0"/>
|
| 174 | <info type="obj,macro"/>
|
| 175 |
|
| 176 | <addModuleInc>
|
| 177 | plutommi
|
| 178 | venus
|
| 179 | kal
|
| 180 | venusmmi
|
| 181 | </addModuleInc>
|
| 182 |
|
| 183 | <addIncFiles>
|
| 184 | MMI_features.h
|
| 185 | kal_release.h
|
| 186 | MMIDataType.h
|
| 187 | wgui_fixed_menuitems.h
|
| 188 | wgui_fixed_menus.h
|
| 189 | </addIncFiles>
|
| 190 |
|
| 191 | <addIncPath>
|
| 192 | venusmmi\app\Cosmos\interface\app
|
| 193 | </addIncPath>
|
| 194 |
|
| 195 | <addPostLines>
|
| 196 | #undef assert // some files define 'assert' to 'ASSERT', will cause error
|
| 197 | </addPostLines>
|
| 198 | </objcheck>
|
| 199 |
|
| 200 | #----------------------------------------------------
|
| 201 | # hal_custom_video_if.h
|
| 202 | #----------------------------------------------------
|
| 203 | <objcheck>
|
| 204 | <info filename="hal_custom_video_if.h"/>
|
| 205 | <info path="custom\video"/>
|
| 206 | <info parsingInc="0"/>
|
| 207 | <info type="macro"/>
|
| 208 | </objcheck>
|
| 209 |
|
| 210 | #----------------------------------------------------
|
| 211 | # hw_video_encode_custom.h
|
| 212 | #----------------------------------------------------
|
| 213 | <objcheck>
|
| 214 | <info filename="hw_video_encode_custom.h"/>
|
| 215 | <info path="hal\video\custom"/>
|
| 216 | <info parsingInc="0"/>
|
| 217 | <info type="macro"/>
|
| 218 | </objcheck>
|
| 219 |
|
| 220 | #----------------------------------------------------
|
| 221 | # sw_video_encode_custom.h
|
| 222 | #----------------------------------------------------
|
| 223 | <objcheck>
|
| 224 | <info filename="sw_video_encode_custom.h"/>
|
| 225 | <info path="hal\video\custom"/>
|
| 226 | <info parsingInc="0"/>
|
| 227 | <info type="macro"/>
|
| 228 | </objcheck>
|
| 229 |
|
| 230 | #----------------------------------------------------
|
| 231 | # hw_video_decode_custom.h
|
| 232 | #----------------------------------------------------
|
| 233 | <objcheck>
|
| 234 | <info filename="hw_video_decode_custom.h"/>
|
| 235 | <info path="hal\video\custom"/>
|
| 236 | <info parsingInc="0"/>
|
| 237 | <info type="macro"/>
|
| 238 | </objcheck>
|
| 239 |
|
| 240 | #----------------------------------------------------
|
| 241 | # sw_video_decode_custom.h
|
| 242 | #----------------------------------------------------
|
| 243 | <objcheck>
|
| 244 | <info filename="sw_video_decode_custom.h"/>
|
| 245 | <info path="hal\video\custom"/>
|
| 246 | <info parsingInc="0"/>
|
| 247 | <info type="macro"/>
|
| 248 | </objcheck>
|
| 249 |
|
| 250 | #----------------------------------------------------
|
| 251 | # video_codec_mem_custom_v2.h
|
| 252 | #----------------------------------------------------
|
| 253 | <objcheck>
|
| 254 | <info filename="video_codec_mem_custom_v2.h"/>
|
| 255 | <info path="hal\video\custom"/>
|
| 256 | <info parsingInc="0"/>
|
| 257 | <info type="macro"/>
|
| 258 | </objcheck>
|
| 259 |
|
| 260 | #----------------------------------------------------
|
| 261 | # video_codec_mem_v2.h
|
| 262 | #----------------------------------------------------
|
| 263 | <objcheck>
|
| 264 | <info filename="video_codec_mem_v2.h"/>
|
| 265 | <info path="hal\video\custom"/>
|
| 266 | <info parsingInc="0"/>
|
| 267 | <info type="macro"/>
|
| 268 | </objcheck>
|
| 269 |
|
| 270 | #----------------------------------------------------
|
| 271 | # video_memory_usage_v2.h
|
| 272 | #----------------------------------------------------
|
| 273 | <objcheck>
|
| 274 | <info filename="video_memory_usage_v2.h"/>
|
| 275 | <info path="interface\hal\video"/>
|
| 276 | <info parsingInc="0"/>
|
| 277 | <info type="macro"/>
|
| 278 | </objcheck>
|
| 279 |
|
| 280 | #----------------------------------------------------
|
| 281 | # media_provider_mem_usage.h
|
| 282 | #----------------------------------------------------
|
| 283 | <objcheck>
|
| 284 | <info filename="media_provider_mem_usage.h"/>
|
| 285 | <info path="interface\hal\video"/>
|
| 286 | <info parsingInc="0"/>
|
| 287 | <info type="macro"/>
|
| 288 | </objcheck>
|
| 289 |
|
| 290 | #----------------------------------------------------
|
| 291 | # cal_mem_def.h
|
| 292 | #----------------------------------------------------
|
| 293 | <objcheck>
|
| 294 | <info filename="cal_mem_def.h"/>
|
| 295 | <info path="interface\hal\camera"/>
|
| 296 | <info parsingInc="0"/>
|
| 297 | <info type="obj,macro"/>
|
| 298 | </objcheck>
|