Commit 8711bd0
committed
gn: Simplify logic for finding Clang resource directory
This code was using a convoluted way of determining the resource directory
that doesn't always work (for example, the resource directory is not
guaranteed to have a /clang/ component). Replace it with a call to
`clang -print-resource-dir`.1 parent ab21398 commit 8711bd0
1 file changed
Lines changed: 5 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
61 | 54 | | |
62 | 55 | | |
63 | 56 | | |
| |||
0 commit comments