Get the default tool for this platform (from scripts/ dir).
(tool_name)
| 271 | |
| 272 | |
| 273 | def get_default_tool_path(tool_name): |
| 274 | """Get the default tool for this platform (from scripts/ dir).""" |
| 275 | if is_android(): |
| 276 | # For android devices, we do symbolization on the host machine, which is |
| 277 | # linux. So, we use the linux version of llvm-symbolizer. |
| 278 | platform_override = 'linux' |
| 279 | else: |
| 280 | # No override needed, use default. |
| 281 | platform_override = None |
| 282 | |
| 283 | tool_filename = get_executable_filename(tool_name) |
| 284 | tool_path = os.path.join( |
| 285 | get_platform_resources_directory(platform_override), tool_filename) |
| 286 | return tool_path |
| 287 | |
| 288 | |
| 289 | def get_environment_settings_as_string(): |
no test coverage detected