| 1 |
{ |
| 2 |
'version': 0, |
| 3 |
'use-external-names': false, |
| 4 |
'fallthrough': false, |
| 5 |
'roots': [ |
| 6 |
{ 'name': '/tests', 'type': 'directory', |
| 7 |
'contents': [ |
| 8 |
{ 'name': 'vfsroot-include.c', 'type': 'file', |
| 9 |
'external-contents': 'TEST_DIR/vfsroot-include.c' |
| 10 |
}, |
| 11 |
{ 'name': 'vfsroot-with-overlay.c', 'type': 'file', |
| 12 |
'external-contents': 'TEST_DIR/vfsroot-with-overlay.c' |
| 13 |
}, |
| 14 |
{ 'name': 'vfsroot-module.m', 'type': 'file', |
| 15 |
'external-contents': 'TEST_DIR/vfsroot-module.m' |
| 16 |
} |
| 17 |
] |
| 18 |
}, |
| 19 |
{ 'name': '/direct-vfs-root-files', 'type': 'directory', |
| 20 |
'contents': [ |
| 21 |
{ 'name': 'not_real.h', 'type': 'file', |
| 22 |
'external-contents': 'TEST_DIR/Inputs/actual_header.h' |
| 23 |
}, |
| 24 |
{ 'name': 'vfsoverlay.yaml', 'type': 'file', |
| 25 |
'external-contents': 'OUT_DIR/vfsoverlay.yaml' |
| 26 |
} |
| 27 |
] |
| 28 |
}, |
| 29 |
{ 'name': '/indirect-vfs-root-files', 'type': 'directory', |
| 30 |
'contents': [ |
| 31 |
{ 'name': 'actual_header.h', 'type': 'file', |
| 32 |
'external-contents': 'TEST_DIR/Inputs/actual_header.h' |
| 33 |
} |
| 34 |
] |
| 35 |
}, |
| 36 |
{ 'name': 'TEST_DIR/Inputs/Broken.framework', 'type': 'directory', |
| 37 |
'contents': [ |
| 38 |
{ 'name': 'Headers/A.h', 'type': 'file', |
| 39 |
'external-contents': 'TEST_DIR/Inputs/Broken.framework/VFSHeaders/A.h' |
| 40 |
}, |
| 41 |
{ 'name': 'Modules/module.modulemap', 'type': 'file', |
| 42 |
'external-contents': 'TEST_DIR/Inputs/Broken.framework/Modules/module.modulemap' |
| 43 |
} |
| 44 |
] |
| 45 |
}, |
| 46 |
# Locations for modules. |
| 47 |
{ 'name': 'OUT_DIR/cache', 'type': 'directory', |
| 48 |
'contents': [ |
| 49 |
{ 'name': 'Broken.pcm', 'type': 'file', |
| 50 |
'external-contents': 'OUT_DIR/cache/Broken.pcm' |
| 51 |
} |
| 52 |
] |
| 53 |
} |
| 54 |
] |
| 55 |
} |