Flutter Engine
The Flutter Engine
Functions
dart::bin::test Namespace Reference

Functions

const char * GetFileName (const char *name)
 

Function Documentation

◆ GetFileName()

const char * dart::bin::test::GetFileName ( const char *  name)

Definition at line 12 of file test_utils.cc.

12 {
13 if (bin::File::Exists(nullptr, name)) {
14 return name;
15 } else {
16 const int kRuntimeLength = strlen("runtime/");
17 return name + kRuntimeLength;
18 }
19}
DEF_SWITCHES_START aot vmservice shared library name
Definition: switches.h:32