Commit 406136f
committed
chore: add nix.gni fallback for non-Nix builds and fix compiler warnings
CMakeLists.txt previously required a nix.gni file (generated by the Nix
shell hook) containing platform-specific GN args. Builds outside Nix
failed with "file STRINGS file nix.gni cannot be read". Now falls back
to sensible defaults (is_clang=true, use_lld=false,
clang_use_chrome_plugins=false) when the file doesn't exist.
Also add a default UknownError path for ErrorFactory::DOMExceptionNameToString1 parent a02f94b commit 406136f
2 files changed
Lines changed: 14 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
188 | | - | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
189 | 200 | | |
190 | 201 | | |
191 | 202 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| 97 | + | |
| 98 | + | |
97 | 99 | | |
98 | 100 | | |
99 | 101 | | |
| |||
0 commit comments