summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rw-r--r--js/build.ts6
-rw-r--r--js/build_test.ts4
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);
-});