From a517513182221aa351528cf15d28c449b49fea13 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Mon, 5 Aug 2019 18:00:45 -0400 Subject: 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 --- js/build.ts | 6 +----- js/build_test.ts | 4 ---- 2 files changed, 1 insertion(+), 9 deletions(-) (limited to 'js') 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); -}); -- cgit v1.2.3