diff options
-rw-r--r-- | js/build.ts | 6 | ||||
-rw-r--r-- | js/build_test.ts | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/js/build.ts b/js/build.ts index b2f52dbc1..e883cdba0 100644 --- a/js/build.ts +++ b/js/build.ts @@ -9,8 +9,8 @@ export interface BuildInfo { /** The operating system platform. */ os: OSType; - /** The GN build arguments */ - gnArgs: string; + /** The arguments passed to GN during build. See `gn help buildargs`. */ + args: string; } /** The operating system platform. */ @@ -26,7 +26,7 @@ export const build: BuildInfo = { // These string will be replaced by rollup arch: `ROLLUP_REPLACE_ARCH` as any, os: `ROLLUP_REPLACE_OS` as any, - gnArgs: `ROLLUP_REPLACE_GN_ARGS` + args: `ROLLUP_REPLACE_GN_ARGS` /* eslint-enable @typescript-eslint/no-explicit-any */ }; diff --git a/js/build_test.ts b/js/build_test.ts index 7ef39a040..106b5b184 100644 --- a/js/build_test.ts +++ b/js/build_test.ts @@ -10,5 +10,5 @@ test(function buildInfo() { }); test(function buildGnArgs() { - assert(Deno.build.gnArgs.length > 100); + assert(Deno.build.args.length > 100); }); |