Commit 93e5db5f authored by Jakob Gruber's avatar Jakob Gruber Committed by Commit Bot

Remove the js minifier

V8 is almost completely JS-free. There's no need to ship the minifier
any more.

Bug: v8:7624,v8:5505,v8:4240,v8:4235,v8:4188,v8:1557
Change-Id: Iee15bf68c66bac27a67fe70e10b1edd4dcef89d1
Reviewed-on: https://chromium-review.googlesource.com/c/1386146Reviewed-by: 's avatarYang Guo <yangguo@chromium.org>
Commit-Queue: Jakob Gruber <jgruber@chromium.org>
Cr-Commit-Position: refs/heads/master@{#58392}
parent b29c0459
......@@ -720,12 +720,6 @@ action("js2c") {
script = "tools/js2c.py"
# The script depends on this other script, this rule causes a rebuild if it
# changes.
inputs = [
"tools/jsmin.py",
]
# NOSORT
sources = [
"src/js/macros.py",
......@@ -756,12 +750,6 @@ action("js2c_extras") {
script = "tools/js2c.py"
# The script depends on this other script, this rule causes a rebuild if it
# changes.
inputs = [
"tools/jsmin.py",
]
sources = v8_extra_library_files
outputs = [
......@@ -787,12 +775,6 @@ action("js2c_experimental_extras") {
script = "tools/js2c.py"
# The script depends on this other script, this rule causes a rebuild if it
# changes.
inputs = [
"tools/jsmin.py",
]
sources = v8_experimental_extra_library_files
outputs = [
......
......@@ -416,12 +416,6 @@ action("resources") {
script = "../../tools/js2c.py"
# The script depends on this other script, this rule causes a rebuild if it
# changes.
inputs = [
"../../tools/jsmin.py",
]
# NOSORT
sources = [
"../../tools/splaytree.js",
......
......@@ -33,7 +33,6 @@
import os, re
import optparse
import jsmin
import textwrap
......@@ -343,7 +342,6 @@ def BuildFilterChain(macro_filename, message_template_file):
ExpandInlineMacros,
ExpandInlineConstants,
Validate,
jsmin.JavaScriptMinifier().JSMinify
])
def chain(f1, f2):
......
This diff is collapsed.
......@@ -447,7 +447,6 @@ class SourceProcessor(SourceFileProcessor):
'fasta.js',
'injected-script.cc',
'injected-script.h',
'jsmin.py',
'libraries.cc',
'libraries-empty.cc',
'lua_binarytrees.js',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment