diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2019-08-05 18:00:45 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-05 18:00:45 -0400 |
commit | a517513182221aa351528cf15d28c449b49fea13 (patch) | |
tree | ca0bfbf99ec4b121a5e8175d484e70fb55df43bf /js | |
parent | ddee2dff14772ade16e282ad18eda6f5054ce94e (diff) |
Remove Deno.build.args feature (#2728)
This is a minor feature which complicates the build signifigantly.
Removing to ease refactoring the build system:
https://github.com/denoland/deno/issues/2608
Diffstat (limited to 'js')
-rw-r--r-- | js/build.ts | 6 | ||||
-rw-r--r-- | js/build_test.ts | 4 |
2 files changed, 1 insertions, 9 deletions
diff --git a/js/build.ts b/js/build.ts index 6866e42a2..1b02e7862 100644 --- a/js/build.ts +++ b/js/build.ts @@ -12,9 +12,6 @@ export interface BuildInfo { /** The operating system. */ os: OperatingSystem; - - /** The arguments passed to GN during build. See `gn help buildargs`. */ - args: string; } // 'build' is injected by rollup.config.js at compile time. @@ -23,8 +20,7 @@ export const build: BuildInfo = { /* eslint-disable-next-line @typescript-eslint/no-explicit-any */ arch: `ROLLUP_REPLACE_ARCH` as any, /* eslint-disable-next-line @typescript-eslint/no-explicit-any */ - os: `ROLLUP_REPLACE_OS` as any, - args: `ROLLUP_REPLACE_GN_ARGS` + os: `ROLLUP_REPLACE_OS` as any }; // TODO(kevinkassimo): deprecate Deno.platform diff --git a/js/build_test.ts b/js/build_test.ts index 4a254e7a6..4423de338 100644 --- a/js/build_test.ts +++ b/js/build_test.ts @@ -8,7 +8,3 @@ test(function buildInfo(): void { assert(arch === "x64"); assert(os === "mac" || os === "win" || os === "linux"); }); - -test(function buildGnArgs(): void { - assert(Deno.build.args.length > 100); -}); |