diff options
author | VlkrS <47375452+VlkrS@users.noreply.github.com> | 2023-06-12 12:14:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-12 13:14:27 +0300 |
commit | ea97af312f73f28d2a46b49a0cea570a90810e42 (patch) | |
tree | 60cf58e479470607a9244285779a6bb31cae3038 /tools | |
parent | 7f15126f23d97f20a4fb33e43136cd4d13825863 (diff) |
feat: Adaptations to support OpenBSD port (#19153)
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/napi/generate_symbols_lists.js | 2 | ||||
-rw-r--r-- | tools/wpt/utils.ts | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/tools/napi/generate_symbols_lists.js b/tools/napi/generate_symbols_lists.js index 9c334c00c..01693f4e7 100755 --- a/tools/napi/generate_symbols_lists.js +++ b/tools/napi/generate_symbols_lists.js @@ -7,6 +7,8 @@ import exports from "../../cli/napi/sym/symbol_exports.json" assert { const symbolExportLists = { linux: `{ ${exports.symbols.map((s) => `"${s}"`).join("; ")}; };`, + openbsd: `{ ${exports.symbols.map((s) => `"${s}"`).join("; ")}; };`, + freebsd: `{ ${exports.symbols.map((s) => `"${s}"`).join("; ")}; };`, windows: `LIBRARY\nEXPORTS\n${ exports.symbols .map((symbol) => " " + symbol) diff --git a/tools/wpt/utils.ts b/tools/wpt/utils.ts index 8aa27a664..33cb9782a 100644 --- a/tools/wpt/utils.ts +++ b/tools/wpt/utils.ts @@ -176,6 +176,8 @@ export async function generateRunInfo(): Promise<unknown> { "windows": "win", "darwin": "mac", "linux": "linux", + "freebsd": "freebsd", + "openbsd": "openbsd", }; const proc = await new Deno.Command("git", { args: ["rev-parse", "HEAD"], |